about · email me · subscribe
Spurious correlation #4,475 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The distance between Neptune and Earth and the second variable is Votes for the Republican Presidential candidate in Washington, D.C..  The chart goes from 1976 to 2020, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As Neptune inched closer, it created a stronger gravitational pull on the political landscape. This led to a 'republi-cant' situation for the Republican candidate, as their votes got lost in the cosmic chaos. It seems even in the far reaches of space, the stars just didn't align for the GOP in D.C.

Model: dalle-3
Prompt: Generate an image of a surreal cybernetic interpretation of space, with the icy blue planet Neptune looming large in the foreground, dominating the cosmic backdrop. The planet emanates a powerful gravitational force while fragments of data and digital elements orbit around it. Meanwhile, Earth is visible in the distance, with faint traces of Washington, D.C. below. In the midst of this cosmic chaos, the unseen representation of the Republican Presidential candidate's votes appear to be floating adrift, unable to find stability amidst the surreal and turbulent cybernetic environment. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: Cybernetic art Magic realism High-tech Hyper-realistic Cyberpunk
ChatGPT: Cybernetic art

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C., in the following situation: As Neptune inched closer, it created a stronger gravitational pull on the political landscape. This led to a 'republi-cant' situation for the Republican candidate, as their votes got lost in the cosmic chaos. It seems even in the far reaches of space, the stars just didn't align for the GOP in D.C.. Keep the description simple.
ChatGPT: In the vast expanse of space, Neptune looms closer to Earth, its icy blue presence casting a powerful gravitational pull. Meanwhile, in Washington, D.C., the Republican Presidential candidate's votes seem to be adrift in the cosmic chaos, unable to find solid ground amidst the political turbulence.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ Cybernetic art ] and depicting this scene: In the vast expanse of space, Neptune looms closer to Earth, its icy blue presence casting a powerful gravitational pull. Meanwhile, in Washington, D.C., the Republican Presidential candidate's votes seem to be adrift in the cosmic chaos, unable to find solid ground amidst the political turbulence. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a surreal cybernetic interpretation of space, with the icy blue planet Neptune looming large in the foreground, dominating the cosmic backdrop. The planet emanates a powerful gravitational force while fragments of data and digital elements orbit around it. Meanwhile, Earth is visible in the distance, with faint traces of Washington, D.C. below. In the midst of this cosmic chaos, the unseen representation of the Republican Presidential candidate's votes appear to be floating adrift, unable to find stability amidst the surreal and turbulent cybernetic environment.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in The distance between Neptune and Earth caused Votes for the Republican Presidential candidate in Washington, D.C. to decrease. Include one good pun.

AI academic paper

(Because p < 0.01)
Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C.

Journal of Political Astrology

Jan 2024

Reminder: This paper is AI-generated. Not real!
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Include a pun in the title.

Your research team used data from Caclculated using Astropy and MIT Election Data and Science Lab, Harvard Dataverse to assess this nagging question. You found a correlation coefficient of 0.9360959 and p < 0.01 for 1976 to 2020.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the introduction section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the introduction section of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The connection between celestial bodies and human behavior has long been a topic of fascination, often relegated to the realms of astrology or science fiction. However, as research delves deeper into the nuances of the universe, unexpected patterns and correlations come to light. In this study, we explore the relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. – a celestial conundrum with potential political implications.

It's no secret that the influence of distant planets on human affairs has been a subject of many a far-reaching debate. If politics truly does make strange bedfellows, as they say, then perhaps it's only fitting that we look beyond our earthly realm for some unconventional influences. After all, when it comes to cosmic connections, the absurd is sometimes just a pun away!

Washington, D.C., the epicenter of American politics, serves as a fascinating case study for examining the potential interplay between astronomical phenomena and voter behavior. The city's unique demographics, influenced by the ebb and flow of political tides, provide an ideal backdrop for uncovering any celestial influences that may sway the political pendulum. The question presents itself: Could political leanings in the nation's capital be influenced by forces not limited to just the earthly realm?

The data-driven convergence of political and astronomical datasets offers a novel lens through which to explore this celestial correlation. They say that truth is stranger than fiction, and in the case of our findings, it seems that the cosmic dance of Neptune and Earth may indeed have implications in the political arena – and we're not just "Neptuned" for attention!


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft a literature review section of an academic research paper, that starts out dry for the first few sentences but then becomes hilarious and goofy.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a literature review section of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Speak in the present tense for this section (the authors find...), as is common in academic research paper literature reviews. Name the sources in a format similar to this: In "Book," the authors find lorem and ipsum.

Make up the lorem and ipsum part, but make it sound related to the topic at hand.

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The connection between celestial bodies and human behavior has long been a topic of fascination, often relegated to the realms of astrology or science fiction. However, as research delves deeper into the nuances of the universe, unexpected patterns and correlations come to light. In this study, we explore the relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. – a celestial conundrum with potential political implications.
It's no secret that the influence of distant planets on human affairs has been a subject of many a far-reaching debate. If politics truly does make strange bedfellows, as they say, then perhaps it's only fitting that we look beyond our earthly realm for some unconventional influences. After all, when it comes to cosmic connections, the absurd is sometimes just a pun away!
Washington, D.C., the epicenter of American politics, serves as a fascinating case study for examining the potential interplay between astronomical phenomena and voter behavior. The city's unique demographics, influenced by the ebb and flow of political tides, provide an ideal backdrop for uncovering any celestial influences that may sway the political pendulum. The question presents itself: Could political leanings in the nation's capital be influenced by forces not limited to just the earthly realm?
The data-driven convergence of political and astronomical datasets offers a novel lens through which to explore this celestial correlation. They say that truth is stranger than fiction, and in the case of our findings, it seems that the cosmic dance of Neptune and Earth may indeed have implications in the political arena – and we're not just "Neptuned" for attention!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith et al.'s Astrophysical Journal," the authors find a compelling link between the distance of Neptune from Earth and its potential impact on political preferences. This study serves as a foundational exploration into the cosmic conundrum we are investigating. It's a stellar example of merging celestial phenomena with earthly affairs.

Speaking of stars, did you hear about the astronaut who stepped on a piece of gum? He got stuck in orbit! Now, back to the literature review.

Doe's "Astronomy and Politics: A Cosmic Exploration" delves into the potential influence of celestial bodies on human behavior, delving into the astrological aspects of politics. While the study may raise some eyebrows, it's undeniable that the celestial realm holds sway over our earthly existences – and perhaps even our voting tendencies!

Next up, we have Jones's "Planets and Presidents: A Celestial Perspective on American Politics," which examines the historical patterns of celestial events and political outcomes. Although the study is based on the premise of a cosmic connection, its findings offer thought-provoking insights into the interplay between the celestial and the political.

Now, shifting gears slightly, let's take a brief interlude to consider some relevant non-fiction books. "Cosmos" by Carl Sagan and "Astrophysics for People in a Hurry" by Neil deGrasse Tyson provide readers with an in-depth understanding of the cosmos and the potential influences it may have on human affairs. By the way, I tried to write a book on the cosmos once, but it didn't have any momentum – it didn't seem to have a point!

On the more fictional side, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams and "Contact" by Carl Sagan (yes, that Carl Sagan again!) offer imaginative perspectives on extraterrestrial influences and cosmic phenomena. While these works may be light-years away from academic discourse, they inspire us to ponder the cosmic unknowns.

In the realm of television, "The X-Files" and "Doctor Who" provide fictional accounts of intergalactic mysteries and unearthly encounters. As a dedicated scientist, I watched these shows purely for research purposes, of course. It's amazing how much you can learn about celestial phenomena from a sci-fi series – who knew?

To wrap up this literature review – pun intended – our investigation into the connection between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. stands at the intersection of the astronomical and the political, offering a cosmic tapestry of insights. As we journey through this celestial conundrum, let's remember that even in the vastness of the universe, a good dad joke can still bring us back down to Earth. After all, why did the astronaut break up with his girlfriend? Because he needed space!


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the methodology section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the methodology section of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and MIT Election Data and Science Lab, Harvard Dataverse . You used data from 1976 to 2020

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

[[INTRODUCTION]]
The connection between celestial bodies and human behavior has long been a topic of fascination, often relegated to the realms of astrology or science fiction. However, as research delves deeper into the nuances of the universe, unexpected patterns and correlations come to light. In this study, we explore the relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. – a celestial conundrum with potential political implications.
It's no secret that the influence of distant planets on human affairs has been a subject of many a far-reaching debate. If politics truly does make strange bedfellows, as they say, then perhaps it's only fitting that we look beyond our earthly realm for some unconventional influences. After all, when it comes to cosmic connections, the absurd is sometimes just a pun away!
Washington, D.C., the epicenter of American politics, serves as a fascinating case study for examining the potential interplay between astronomical phenomena and voter behavior. The city's unique demographics, influenced by the ebb and flow of political tides, provide an ideal backdrop for uncovering any celestial influences that may sway the political pendulum. The question presents itself: Could political leanings in the nation's capital be influenced by forces not limited to just the earthly realm?
The data-driven convergence of political and astronomical datasets offers a novel lens through which to explore this celestial correlation. They say that truth is stranger than fiction, and in the case of our findings, it seems that the cosmic dance of Neptune and Earth may indeed have implications in the political arena – and we're not just "Neptuned" for attention!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the potential link between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C., our research followed a comprehensive and somewhat peculiar methodology. First, we obtained data on the distance between Neptune and Earth from Astropy, utilizing its precise astronomical calculations to ascertain the exact distance at regular intervals throughout the years 1976 to 2020. We meticulously cross-referenced this celestial data with the voting patterns for the Republican presidential candidate in Washington, D.C., obtained from the MIT Election Data and Science Lab, Harvard Dataverse. It's almost as if Neptune was whispering its political predictions from across the cosmos!

In utilizing this data, our research team employed a multi-faceted statistical approach, combining time series analysis, regression modeling, and even a touch of astrological arithmetic - though we assure you, no crystal balls were harmed in the making of this study. We analyzed the time series data of Neptune's distance from Earth and the corresponding Republican votes in Washington, D.C., through rigorous regression models to ascertain any potential relationship, all while keeping our eyes on the sky and our feet firmly on the ground.

Furthermore, we conducted robust sensitivity analyses to account for any potential confounding variables that might have sneaked into our cosmic correlations. After all, it wouldn't do to have a rogue meteor shower skewing our findings! Our team utilized various control measures, including demographic factors, historical political trends, and a lunar phase calendar – just in case the moon was feeling a bit jealous of Neptune stealing the celestial spotlight.

Moreover, to ensure the robustness of our results, we also employed a novel approach to astrological analysis, incorporating the zodiac signs of the individuals who cast their votes in Washington, D.C. We took into account the alignment of Neptune and its relative positions with respect to the astrological symbols of the voters, though we admit that this may have been more for amusement than scientific rigor. Nonetheless, we couldn't resist the opportunity to add a touch of cosmic whimsy to our methodology!

In summary, our methodology aligned the orbits of statistical rigor and astronomical fascination to provide a comprehensive analysis of the potential connection between the distance of Neptune from Earth and Republican votes in Washington, D.C. This approach allowed us to navigate the cosmic unknown while ensuring that our findings were firmly anchored in the realm of empirical evidence and scientific inquiry. After all, when it comes to probing the mysteries of the cosmos, a touch of methodological mirth can never hurt!


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the results section of an academic research paper. You speak in the past tense (you found...).
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the results section of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and MIT Election Data and Science Lab, Harvard Dataverse .

For the time period 1976 to 2020, you found a correlation 0.9360959, r-squared of 0.8762755, and p < 0.01.

One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.

Here is the title and abstract of the paper:
[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The connection between celestial bodies and human behavior has long been a topic of fascination, often relegated to the realms of astrology or science fiction. However, as research delves deeper into the nuances of the universe, unexpected patterns and correlations come to light. In this study, we explore the relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. – a celestial conundrum with potential political implications.
It's no secret that the influence of distant planets on human affairs has been a subject of many a far-reaching debate. If politics truly does make strange bedfellows, as they say, then perhaps it's only fitting that we look beyond our earthly realm for some unconventional influences. After all, when it comes to cosmic connections, the absurd is sometimes just a pun away!
Washington, D.C., the epicenter of American politics, serves as a fascinating case study for examining the potential interplay between astronomical phenomena and voter behavior. The city's unique demographics, influenced by the ebb and flow of political tides, provide an ideal backdrop for uncovering any celestial influences that may sway the political pendulum. The question presents itself: Could political leanings in the nation's capital be influenced by forces not limited to just the earthly realm?
The data-driven convergence of political and astronomical datasets offers a novel lens through which to explore this celestial correlation. They say that truth is stranger than fiction, and in the case of our findings, it seems that the cosmic dance of Neptune and Earth may indeed have implications in the political arena – and we're not just "Neptuned" for attention!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Upon analyzing the data collected from 1976 to 2020, a remarkable correlation coefficient of 0.9360959 was observed between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. This strong positive correlation indicates a striking relationship between the celestial and the political, transcending conventional terrestrial influences. One might say that the Republican votes in the nation's capital truly have a "stellar" correlation with the cosmic dance of Neptune!

The coefficient of determination (r-squared) was calculated to be 0.8762755, reinforcing the robustness of the association between these seemingly disparate variables. Such a high r-squared value suggests that approximately 87.6% of the variation in Republican votes in Washington, D.C. can be explained by the distance of Neptune from Earth. It appears that when Neptune aligns just right, the political tides in the nation's capital may ebb and flow in the Republican direction – a true celestial confluence indeed.

The p-value for this correlation was found to be less than 0.01, signifying a statistically significant relationship between these cosmic and political parameters. This statistically fervent connection between Neptune's celestial magnificence and the unfolding of political events in Washington, D.C. may just leave one feeling "over the moon"!

Figure 1 depicts a scatterplot illustrating the strong positive correlation between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. As the saying goes, "The proof is in the pudding," or in this case, "The proof is in the plots" – celestial bodies and political preferences dance hand in hand in the nation's capital, a true political and astronomical waltz.

In summary, our research unearths a cosmic connection that has implications beyond the astronomical realm. The compelling correlation between the distance of Neptune from Earth and Republican votes in Washington, D.C. challenges traditional notions of political influence and raises intriguing questions about the interplay of cosmic phenomena and human behavior. As the stars would have it, the political landscape in the nation's capital may just be as influenced by the celestial as it is by the terrestrial – a celestial insight that is truly "out of this world!"


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the discussion section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the discussion section of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

Here are the title, abstract, literature review, and results sections. Please harken back to 1-2 of the goofy items in the literature review, but pretend to take them completely seriously. Discuss how your results supported the prior research.

Do not write a conclusion. I will add a conclusion after this.

[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

[[LITERATURE REVIEW]]
In "Smith et al.'s Astrophysical Journal," the authors find a compelling link between the distance of Neptune from Earth and its potential impact on political preferences. This study serves as a foundational exploration into the cosmic conundrum we are investigating. It's a stellar example of merging celestial phenomena with earthly affairs.
Speaking of stars, did you hear about the astronaut who stepped on a piece of gum? He got stuck in orbit! Now, back to the literature review.
Doe's "Astronomy and Politics: A Cosmic Exploration" delves into the potential influence of celestial bodies on human behavior, delving into the astrological aspects of politics. While the study may raise some eyebrows, it's undeniable that the celestial realm holds sway over our earthly existences – and perhaps even our voting tendencies!
Next up, we have Jones's "Planets and Presidents: A Celestial Perspective on American Politics," which examines the historical patterns of celestial events and political outcomes. Although the study is based on the premise of a cosmic connection, its findings offer thought-provoking insights into the interplay between the celestial and the political.
Now, shifting gears slightly, let's take a brief interlude to consider some relevant non-fiction books. "Cosmos" by Carl Sagan and "Astrophysics for People in a Hurry" by Neil deGrasse Tyson provide readers with an in-depth understanding of the cosmos and the potential influences it may have on human affairs. By the way, I tried to write a book on the cosmos once, but it didn't have any momentum – it didn't seem to have a point!
On the more fictional side, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams and "Contact" by Carl Sagan (yes, that Carl Sagan again!) offer imaginative perspectives on extraterrestrial influences and cosmic phenomena. While these works may be light-years away from academic discourse, they inspire us to ponder the cosmic unknowns.
In the realm of television, "The X-Files" and "Doctor Who" provide fictional accounts of intergalactic mysteries and unearthly encounters. As a dedicated scientist, I watched these shows purely for research purposes, of course. It's amazing how much you can learn about celestial phenomena from a sci-fi series – who knew?
To wrap up this literature review – pun intended – our investigation into the connection between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. stands at the intersection of the astronomical and the political, offering a cosmic tapestry of insights. As we journey through this celestial conundrum, let's remember that even in the vastness of the universe, a good dad joke can still bring us back down to Earth. After all, why did the astronaut break up with his girlfriend? Because he needed space!

[[RESULTS]]
Upon analyzing the data collected from 1976 to 2020, a remarkable correlation coefficient of 0.9360959 was observed between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. This strong positive correlation indicates a striking relationship between the celestial and the political, transcending conventional terrestrial influences. One might say that the Republican votes in the nation's capital truly have a "stellar" correlation with the cosmic dance of Neptune!
The coefficient of determination (r-squared) was calculated to be 0.8762755, reinforcing the robustness of the association between these seemingly disparate variables. Such a high r-squared value suggests that approximately 87.6% of the variation in Republican votes in Washington, D.C. can be explained by the distance of Neptune from Earth. It appears that when Neptune aligns just right, the political tides in the nation's capital may ebb and flow in the Republican direction – a true celestial confluence indeed.
The p-value for this correlation was found to be less than 0.01, signifying a statistically significant relationship between these cosmic and political parameters. This statistically fervent connection between Neptune's celestial magnificence and the unfolding of political events in Washington, D.C. may just leave one feeling "over the moon"!
Figure 1 depicts a scatterplot illustrating the strong positive correlation between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. As the saying goes, "The proof is in the pudding," or in this case, "The proof is in the plots" – celestial bodies and political preferences dance hand in hand in the nation's capital, a true political and astronomical waltz.
In summary, our research unearths a cosmic connection that has implications beyond the astronomical realm. The compelling correlation between the distance of Neptune from Earth and Republican votes in Washington, D.C. challenges traditional notions of political influence and raises intriguing questions about the interplay of cosmic phenomena and human behavior. As the stars would have it, the political landscape in the nation's capital may just be as influenced by the celestial as it is by the terrestrial – a celestial insight that is truly "out of this world!"

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings have unearthed a compelling correlation between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C., supporting prior research that hinted at a cosmic connection to political preferences. It appears that the "Neptune effect" exerts a tangible influence on the political landscape, prompting us to reevaluate traditional notions of voter behavior and celestial forces at play. While some may dismiss this correlation as far-fetched, it's certainly not something to "sweep under the Milky Way."

The foundational work by Smith et al. in the Astrophysical Journal piqued our interest and laid the groundwork for our investigation into this cosmic conundrum. Their elucidation of a potential celestial impact provided the impetus for our comprehensive analysis, and the striking correlation coefficient of 0.9360959 in our study adds weight to the celestial tug on political allegiances. One could say that this correlation truly reaches for the stars in its significance.

In parallel to Smith et al.'s work, Doe's exploration of the astrological aspects of politics may have raised a few eyebrows, but their insights into the potential influence of celestial bodies offered a prescient glimpse into the cosmic confluence we have uncovered. It goes to show that when it comes to Neptune's influence on political choices, the astronomical invariably intersects with the political, creating an astrophysical tapestry of electoral intricacies.

Moreover, Jones's examination of historical patterns of celestial events and political outcomes resonates with our findings, supporting the idea that the celestial and the political are not as disparate as they may seem. The historical context and celestial perspective provided by Jones's work align with our observations, signaling a consistent pattern that links Neptune's celestial ballet with the political choreography in the nation's capital.

As we examine the non-fiction and fictional sources that have shaped our understanding of the cosmic and the terrestrial, one cannot discount the significance of these influences in shaping the collective consciousness. While our research may appear light-years away from these literary and televisual renditions, it underlines the notion that society's fascination with the cosmic and the celestial is not merely a flight of fancy, but a tangible force that intricately weaves into our political fabric.

In conclusion, our study sheds light on a cosmic conundrum that challenges traditional paradigms and prompts us to gaze beyond the terrestrial realm for influences on human behavior. The robust correlation and statistically significant relationship between Neptune's distance and Republican votes in Washington, D.C. point to an interplay that transcends the mundane and delves into a cosmic dance of political preferences. The Neptune of Republican votes in Washington, D.C. may well be a celestial phenomenon worthy of further investigation, leaving us to ponder whether celestial choreography influences the terrestrial ballot box more than we once thought – a notion that is truly "beyond the pale blue dot."


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the discussion section of goofy academic research papers that sounds like it belongs based on the title and abstract provided.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The distance between Neptune and Earth and Votes for the Republican Presidential candidate in Washington, D.C.. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 300 tokens. At the very end, assert that no more research is needed in this area.

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C."

[[ABSTRACT]]
It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.

In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!

Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

[[INTRDUCTION]]
The connection between celestial bodies and human behavior has long been a topic of fascination, often relegated to the realms of astrology or science fiction. However, as research delves deeper into the nuances of the universe, unexpected patterns and correlations come to light. In this study, we explore the relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. – a celestial conundrum with potential political implications.
It's no secret that the influence of distant planets on human affairs has been a subject of many a far-reaching debate. If politics truly does make strange bedfellows, as they say, then perhaps it's only fitting that we look beyond our earthly realm for some unconventional influences. After all, when it comes to cosmic connections, the absurd is sometimes just a pun away!
Washington, D.C., the epicenter of American politics, serves as a fascinating case study for examining the potential interplay between astronomical phenomena and voter behavior. The city's unique demographics, influenced by the ebb and flow of political tides, provide an ideal backdrop for uncovering any celestial influences that may sway the political pendulum. The question presents itself: Could political leanings in the nation's capital be influenced by forces not limited to just the earthly realm?
The data-driven convergence of political and astronomical datasets offers a novel lens through which to explore this celestial correlation. They say that truth is stranger than fiction, and in the case of our findings, it seems that the cosmic dance of Neptune and Earth may indeed have implications in the political arena – and we're not just "Neptuned" for attention!

[[RESULTS]]
Upon analyzing the data collected from 1976 to 2020, a remarkable correlation coefficient of 0.9360959 was observed between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. This strong positive correlation indicates a striking relationship between the celestial and the political, transcending conventional terrestrial influences. One might say that the Republican votes in the nation's capital truly have a "stellar" correlation with the cosmic dance of Neptune!
The coefficient of determination (r-squared) was calculated to be 0.8762755, reinforcing the robustness of the association between these seemingly disparate variables. Such a high r-squared value suggests that approximately 87.6% of the variation in Republican votes in Washington, D.C. can be explained by the distance of Neptune from Earth. It appears that when Neptune aligns just right, the political tides in the nation's capital may ebb and flow in the Republican direction – a true celestial confluence indeed.
The p-value for this correlation was found to be less than 0.01, signifying a statistically significant relationship between these cosmic and political parameters. This statistically fervent connection between Neptune's celestial magnificence and the unfolding of political events in Washington, D.C. may just leave one feeling "over the moon"!
Figure 1 depicts a scatterplot illustrating the strong positive correlation between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. As the saying goes, "The proof is in the pudding," or in this case, "The proof is in the plots" – celestial bodies and political preferences dance hand in hand in the nation's capital, a true political and astronomical waltz.
In summary, our research unearths a cosmic connection that has implications beyond the astronomical realm. The compelling correlation between the distance of Neptune from Earth and Republican votes in Washington, D.C. challenges traditional notions of political influence and raises intriguing questions about the interplay of cosmic phenomena and human behavior. As the stars would have it, the political landscape in the nation's capital may just be as influenced by the celestial as it is by the terrestrial – a celestial insight that is truly "out of this world!"

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has illuminated a compelling connection between the distance of Neptune from Earth and votes for the Republican presidential candidate in Washington, D.C. The striking correlation coefficient of 0.9360959 and the statistically significant p-value of less than 0.01 underscore the substantive relationship between these seemingly unrelated variables. It seems that when it comes to political preferences in the nation's capital, the influence of celestial bodies reaches far beyond the earthly.

One could even say that the Republican votes in D.C. are on a "cosmic" trajectory, guided by the celestial dance of Neptune. It appears that the political pendulum in Washington, D.C. may indeed be subject to the gravitational pull of distant planets, offering a celestial twist to the political process.

As we reflect on these celestial revelations, it's clear that the sky's the limit when it comes to the potential influence of cosmic phenomena on human behavior. After all, in the words of our astronomical ancestors, "When Neptune aligns, Republican votes may incline."

However, it seems that our exploration of the interplay between Neptune's distance and political leanings in Washington, D.C. has reached its celestial zenith. Further research in this area may feel as unnecessary as a joke at a coronation – if you get my drift. It's time to leave this cosmic conundrum to rest, while we bask in the glory of our celestial discoveries and plan our next stellar endeavor.

In the words of the stars and stripes – pun intended – it's clear that no further research is needed on this heavenly matter.


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C.. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Political Astrology


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C.. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Extraterrestrial Political Research (SEPR)


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Looking Beyond the Stars: The Neptune of Republican Votes in Washington, D.C. with an abstract of It has long been questioned whether celestial bodies have any influence on human behavior, specifically in the realm of politics. This study aims to address this cosmic conundrum by exploring the possible relationship between the distance of Neptune from Earth and votes for the Republican presidential candidate in the District of Columbia. Utilizing data from Astropy and MIT Election Data and Science Lab, Harvard Dataverse, our research team delved into this celestial correlation spanning the years 1976 to 2020.
In our analysis, we discovered a striking correlation coefficient of 0.9360959, coupled with a statistically significant p-value of less than 0.01, linking the distance from Neptune to the political preferences of Washington, D.C. residents. With this astronomical association at play, one might say that the Republican votes in the nation's capital are truly out of this world!
Our findings shed light on a unique intersection of cosmic phenomena and human behavior, providing new fodder for both political and astronomical discourse. As the saying goes, "When it comes to political patterns, the sky's the limit" – and in this case, perhaps even beyond!

ChatGPT:

Neptune, Republican votes, Washington D.C., celestial bodies, human behavior, politics, celestial correlation, astrology, political preferences, distance from Neptune, Washington D.C. residents, correlation coefficient, p-value, astronomic phenomena, cosmic phenomena, political patterns, MIT Election Data and Science Lab, Harvard Dataverse, Astropy, celestial influence, presidential candidate votes, political discourse, astronomical discourse, 1976-2020.

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The distance between Neptune and Earth
Detailed data title: The average distance between Neptune and Earth as measured on the first day of each month
Source: Caclculated using Astropy
Additional Info: I wrote a Python script using Astropy to calculate the distance between the named planets on the first day of each month for every year.

See what else correlates with The distance between Neptune and Earth

Votes for the Republican Presidential candidate in Washington, D.C.
Detailed data title: Percentage of all votes cast for the Republican Presidential candidate in Washington, D.C.
Source: MIT Election Data and Science Lab, Harvard Dataverse
See what else correlates with Votes for the Republican Presidential candidate in Washington, D.C.

Correlation r = 0.9360959 (Pearson correlation coefficient)
Correlation is a measure of how much the variables move together. If it is 0.99, when one goes up the other goes up. If it is 0.02, the connection is very weak or non-existent. If it is -0.99, then when one goes up the other goes down. If it is 1.00, you probably messed up your correlation function.

r2 = 0.8762755 (Coefficient of determination)
This means 87.6% of the change in the one variable (i.e., Votes for the Republican Presidential candidate in Washington, D.C.) is predictable based on the change in the other (i.e., The distance between Neptune and Earth) over the 12 years from 1976 through 2020.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 7.5E-6. 0.0000075347331119611060000000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.94 in 0.00075% of random cases. Said differently, if you correlated 132,719 random variables You don't actually need 132 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 11 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 11 because we have two variables measured over a period of 12 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.78, 0.98 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
197619801984198819921996200020042008201220162020
The distance between Neptune and Earth (Planetary distance (AU))30.277930.26130.242330.205830.172930.143730.099430.057930.028929.990729.953229.9317
Votes for the Republican Presidential candidate in Washington, D.C. (Percentage of votes)16.509513.406813.729614.30459.095149.33588.951739.339776.532567.278294.070385.39732




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.
  4. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.




Try it yourself

You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.

Step 2: Open a plaintext editor like Notepad and paste the code below into it.

Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"

Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.

Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.

Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.

Step 7: Run the Python script by typing "python calculate_correlation.py"

If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:

"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."


# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats

# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):

    # Calculate Pearson correlation coefficient and p-value
    correlation, p_value = stats.pearsonr(array1, array2)

    # Calculate R-squared as the square of the correlation coefficient
    r_squared = correlation**2

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([30.2779,30.261,30.2423,30.2058,30.1729,30.1437,30.0994,30.0579,30.0289,29.9907,29.9532,29.9317,])
array_2 = np.array([16.5095,13.4068,13.7296,14.3045,9.09514,9.3358,8.95173,9.33977,6.53256,7.27829,4.07038,5.39732,])
array_1_name = "The distance between Neptune and Earth"
array_2_name = "Votes for the Republican Presidential candidate in Washington, D.C."

# Perform the calculation
print(f"Calculating the correlation between {array_1_name} and {array_2_name}...")
correlation, r_squared, p_value = calculate_correlation(array_1, array_2)

# Print the results
print("Correlation Coefficient:", correlation)
print("R-squared:", r_squared)
print("P-value:", p_value)



Reuseable content

You may re-use the images on this page for any purpose, even commercial purposes, without asking for permission. The only requirement is that you attribute Tyler Vigen. Attribution can take many different forms. If you leave the "tylervigen.com" link in the image, that satisfies it just fine. If you remove it and move it to a footnote, that's fine too. You can also just write "Charts courtesy of Tyler Vigen" at the bottom of an article.

You do not need to attribute "the spurious correlations website," and you don't even need to link here if you don't want to. I don't gain anything from pageviews. There are no ads on this site, there is nothing for sale, and I am not for hire.

For the record, I am just one person. Tyler Vigen, he/him/his. I do have degrees, but they should not go after my name unless you want to annoy my wife. If that is your goal, then go ahead and cite me as "Tyler Vigen, A.A. A.A.S. B.A. J.D." Otherwise it is just "Tyler Vigen."

When spoken, my last name is pronounced "vegan," like I don't eat meat.

Full license details.
For more on re-use permissions, or to get a signed release form, see tylervigen.com/permission.

Download images for these variables:


View another random correlation

How fun was this correlation?

You're the correlation whisperer we needed!


Correlation ID: 4475 · Black Variable ID: 1941 · Red Variable ID: 26075
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0