about · email me · subscribe
Spurious correlation #3,679 · 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 Uranus and the second variable is Archer-Daniels-Midland Company's stock price (ADM).  The chart goes from 2002 to 2023, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the icy blue planets drifted further apart, their gravitational pull inadvertently tugged on the Earth's economic decision-making processes. This cosmically influenced an uptick in the consumption of agricultural products, leading to higher demand for ADM's goods and ultimately boosting their stock price. After all, it's not every day that celestial bodies moonlight as the ultimate stock market influencers!

Model: dalle-3
Prompt: Generate an image showcasing Neptune and Uranus floating in the vast expanse of space, with a futuristic representation of orbital dynamics and their separation over time. Meanwhile, on Earth, depict a high-tech trading floor filled with futuristic stock traders captivated by advanced holographic displays and digital ticker tapes showing Archer-Daniels-Midland Company's rising stock price. Capture the essence of cosmic influence on earthly markets with a sleek and visually captivating amalgamation of space and technology. 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). 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: Magic realism Low poly Magic realism High-tech Charcoal
ChatGPT: High-tech

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 Uranus and Archer-Daniels-Midland Company's stock price (ADM), in the following situation: The increase in the distance between Neptune and Uranus caused Archer-Daniels-Midland Company's stock price (ADM) to increase because interplanetary alignment influenced the supply of corn for ethanol, boosting ADM's profitability.. Keep the description simple.
ChatGPT: In the vast expanse of space, Neptune and Uranus drift farther apart, their once-close orbits now stretching into the distance. Meanwhile, on Earth, stock traders watch closely as Archer-Daniels-Midland Company's (ADM) stock price rises on the digital ticker tape. The correlation becomes clear as the alignment of the planets influences the supply of corn for ethanol, ultimately driving ADM's profitability higher.

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: [ High-tech ] and depicting this scene: In the vast expanse of space, Neptune and Uranus drift farther apart, their once-close orbits now stretching into the distance. Meanwhile, on Earth, stock traders watch closely as Archer-Daniels-Midland Company's (ADM) stock price rises on the digital ticker tape. The correlation becomes clear as the alignment of the planets influences the supply of corn for ethanol, ultimately driving ADM's profitability higher. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image showcasing Neptune and Uranus floating in the vast expanse of space, with a futuristic representation of orbital dynamics and their separation over time. Meanwhile, on Earth, depict a high-tech trading floor filled with futuristic stock traders captivated by advanced holographic displays and digital ticker tapes showing Archer-Daniels-Midland Company's rising stock price. Capture the essence of cosmic influence on earthly markets with a sleek and visually captivating amalgamation of space and technology.

*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 an increase in The distance between Neptune and Uranus caused Archer-Daniels-Midland Company's stock price (ADM) to increase.

AI academic paper

(Because p < 0.01)
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

The Journal of Celestial Economics

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 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title punny if you can come up with clever pun. If not, make it sound serious.

Your research team used data from Caclculated using Astropy and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8333177 and p < 0.01 for 2002 to 2023.

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]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intriguing realm of finance and astronomy rarely intersect, yet as the adage goes, "the stars align in mysterious ways." In this study, we embark on an unconventional exploration, probing the potential relationship between the positioning of the distant giants Neptune and Uranus and the stock price performance of Archer-Daniels-Midland Company (ADM). This celestial and corporate tango, if you will, poses an enigmatic puzzle for discerning researchers seeking to unveil the hidden forces that may animate the terrestrial markets.

As we gaze beyond the confines of conventional financial analysis, our pursuit involves venturing into the cosmic arena, where the gravitational pull of Neptune and Uranus intertwines with the ebbs and flows of Archer-Daniels-Midland's stock price. With data sourced from Astropy and enriched with insights from LSEG Analytics (Refinitiv), we meticulously calibrated a temporal series spanning from 2002 to 2023. Through this cosmic odyssey and statistical acrobatics, we endeavored to discern any semblance of order in this celestial dance that may influence the market dynamics of ADM.

While the gravity of this study may appear to be lightyears away from the typical financial research terrain, our quest has brought forth an unexpected cosmic revelation. Imbued with a correlation coefficient of 0.8333177 and a jaw-dropping p-value of less than 0.01, the abstract juxtaposition of planetary positions and corporate performance has defied conventional wisdom. This unexpected harmony raises eyebrows in the statistical cosmos and invites us to ponder the potential cosmic threads that weave through financial markets.

In a world where "stellar" performances are often lauded, our study takes a whimsical leap, daring to consider the celestial choreography that may exude subtle influences on the earthly exchange. So, buckle your intergalactic seatbelts as we navigate this cosmic conundrum, illuminating the cosmic reverberations that echo through earthly markets.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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 devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading CVS receipts.

Here is the title and abstract of the paper:
[[TITLE]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intriguing realm of finance and astronomy rarely intersect, yet as the adage goes, "the stars align in mysterious ways." In this study, we embark on an unconventional exploration, probing the potential relationship between the positioning of the distant giants Neptune and Uranus and the stock price performance of Archer-Daniels-Midland Company (ADM). This celestial and corporate tango, if you will, poses an enigmatic puzzle for discerning researchers seeking to unveil the hidden forces that may animate the terrestrial markets.
As we gaze beyond the confines of conventional financial analysis, our pursuit involves venturing into the cosmic arena, where the gravitational pull of Neptune and Uranus intertwines with the ebbs and flows of Archer-Daniels-Midland's stock price. With data sourced from Astropy and enriched with insights from LSEG Analytics (Refinitiv), we meticulously calibrated a temporal series spanning from 2002 to 2023. Through this cosmic odyssey and statistical acrobatics, we endeavored to discern any semblance of order in this celestial dance that may influence the market dynamics of ADM.
While the gravity of this study may appear to be lightyears away from the typical financial research terrain, our quest has brought forth an unexpected cosmic revelation. Imbued with a correlation coefficient of 0.8333177 and a jaw-dropping p-value of less than 0.01, the abstract juxtaposition of planetary positions and corporate performance has defied conventional wisdom. This unexpected harmony raises eyebrows in the statistical cosmos and invites us to ponder the potential cosmic threads that weave through financial markets.
In a world where "stellar" performances are often lauded, our study takes a whimsical leap, daring to consider the celestial choreography that may exude subtle influences on the earthly exchange. So, buckle your intergalactic seatbelts as we navigate this cosmic conundrum, illuminating the cosmic reverberations that echo through earthly markets.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The concept of interplanetary asset correlations may seem astronomical, yet our odyssey through the annals of literature reveals intriguing glimpses into the unexpected bonds between celestial interactions and corporate performance.

Smith and Doe (2010) examined the celestial positioning of Neptune and Uranus in relation to financial markets, presenting a framework for probing the cosmic undercurrents that may influence stock prices. Their work laid the groundwork for our current investigation, eagerly delving into the abyss of celestial mechanics intertwined with economic variables. Meanwhile, Jones (2015) introduced the concept of "cosmic financialization," postulating the potential influence of planetary alignments on the ebb and flow of stock indices.

Turning to non-fiction books, "Astrology and the Stock Market" by Louise McWhirter offers a fascinating perspective on the celestial forces at play in financial markets, providing anecdotal evidence and historical correlations that may shed light on our own celestial odyssey. Additionally, "Astronomy for Dummies" by Stephen P. Maran equips us with a basic understanding of celestial mechanics, serving as a telescope to peer into the complex interplay between planetary positions and market dynamics.

Diverging into the realm of fiction, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams playfully explores the cosmic absurdity and the potential ramifications of interstellar influences on mundane events. Furthermore, "The Restaurant at the End of the Universe" by the same author tantalizes readers with the prospect of cosmic revelations that may extend to the financial cosmos, serving as a whimsical beacon in our celestial exploration.

In the pursuit of unconventional sources, we jestfully perused CVS receipts with unauthorized voyages into the unknown aisles of consumer goods, seeking hidden messages in the mundane purchases of everyday denizens. While our search yielded only mundane purchases and promotional offers, it did not deter our quest for the cosmic connection between Neptune, Uranus, and stock prices.

As our investigation meanders through the scholarly and whimsical labyrinth of literature, we tread carefully to discern the celestial threads that may weave through earthly markets, recognizing the inherent hilarity intertwined with the pursuit of knowledge.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and LSEG Analytics (Refinitiv) . You used data from 2002 to 2023

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]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

[[INTRODUCTION]]
The intriguing realm of finance and astronomy rarely intersect, yet as the adage goes, "the stars align in mysterious ways." In this study, we embark on an unconventional exploration, probing the potential relationship between the positioning of the distant giants Neptune and Uranus and the stock price performance of Archer-Daniels-Midland Company (ADM). This celestial and corporate tango, if you will, poses an enigmatic puzzle for discerning researchers seeking to unveil the hidden forces that may animate the terrestrial markets.
As we gaze beyond the confines of conventional financial analysis, our pursuit involves venturing into the cosmic arena, where the gravitational pull of Neptune and Uranus intertwines with the ebbs and flows of Archer-Daniels-Midland's stock price. With data sourced from Astropy and enriched with insights from LSEG Analytics (Refinitiv), we meticulously calibrated a temporal series spanning from 2002 to 2023. Through this cosmic odyssey and statistical acrobatics, we endeavored to discern any semblance of order in this celestial dance that may influence the market dynamics of ADM.
While the gravity of this study may appear to be lightyears away from the typical financial research terrain, our quest has brought forth an unexpected cosmic revelation. Imbued with a correlation coefficient of 0.8333177 and a jaw-dropping p-value of less than 0.01, the abstract juxtaposition of planetary positions and corporate performance has defied conventional wisdom. This unexpected harmony raises eyebrows in the statistical cosmos and invites us to ponder the potential cosmic threads that weave through financial markets.
In a world where "stellar" performances are often lauded, our study takes a whimsical leap, daring to consider the celestial choreography that may exude subtle influences on the earthly exchange. So, buckle your intergalactic seatbelts as we navigate this cosmic conundrum, illuminating the cosmic reverberations that echo through earthly markets.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Data Collection - Our research team embarked on a cosmic quest across the vast expanse of the internet, voyaging through virtual galaxies of information, to procure the dataset for this study. Utilizing the powerful tools of Astropy and LSEG Analytics (Refinitiv), we navigated the celestial highways to gather data on the distances between Neptune and Uranus and the stock price of Archer-Daniels-Midland Company (ADM). The dataset spanned from the terrestrial year of 2002 to the cosmic year of 2023, capturing the ebb and flow of celestial bodies and market trends over this temporal expanse.

Data Cleansing - Like astronomers meticulously sifting through cosmic dust to reveal the radiance of distant stars, our team rigorously cleansed and refined the dataset. We removed any celestial anomalies or financial outliers, ensuring that our dataset reflected the true essence of the cosmic and corporate dance under scrutiny.

Statistical Analysis - Armed with statistical telescopes and financial spectrometers, we subjected the data to an array of analytical techniques that were fitting for such an otherworldly investigation. From correlation analysis to regression modeling, we sought to unravel the perplexing interplay between the astronomical positioning of Neptune and Uranus and the stock price performance of ADM. Our statistical arsenal aimed to decipher and quantify the cosmic influences that may reverberate through the earthly realm of finance.

Cross-Validation - In the spirit of cosmic peer review, we sought to validate our findings and conclusions through robust cross-validation techniques. Just as astronomers confirm the existence of distant planets through cross-observational verification, we ensured that our statistical inferences were not mere illusions of statistical noise but held true even when subjected to rigorous validation processes.

Interdisciplinary Synthesis - Embracing the cosmic and corporate domains, we synthesized methodologies from astronomy and finance, crafting a celestial blend of statistical sorcery that sought to extract the essence of the celestial and corporate tango. Like alchemists transmuting base metals into gold, we sought to distill the cosmic ingredients that may infuse earthly market dynamics, weaving an intricate tapestry of statistical stardust and financial constellations.

Experimental Design - Our research design was akin to launching a probe into uncharted cosmic territory, carefully orchestrating the variables and ensuring that our statistical spacecraft was equipped to navigate the celestial and corporate dimensions. Just as space missions are meticulously planned and executed, our experimental design aimed to traverse this unexplored terrain of celestial and financial interactions, propelling the boundaries of conventional research into a cosmic dance of statistical inquiry.

Overall, our research methodology straddled the celestial and corporate divide, evolving into a cosmic expedition that sought to unmask the hidden interplay between planetary distances and stock price performance. Through a fusion of statistical wizardry and celestial intrigue, our methodology aimed to unravel the enigmatic forces that may orchestrate the cosmic symphony of financial markets.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and LSEG Analytics (Refinitiv) .

For the time period 2002 to 2023, you found a correlation 0.8333177, r-squared of 0.6944184, 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]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intriguing realm of finance and astronomy rarely intersect, yet as the adage goes, "the stars align in mysterious ways." In this study, we embark on an unconventional exploration, probing the potential relationship between the positioning of the distant giants Neptune and Uranus and the stock price performance of Archer-Daniels-Midland Company (ADM). This celestial and corporate tango, if you will, poses an enigmatic puzzle for discerning researchers seeking to unveil the hidden forces that may animate the terrestrial markets.
As we gaze beyond the confines of conventional financial analysis, our pursuit involves venturing into the cosmic arena, where the gravitational pull of Neptune and Uranus intertwines with the ebbs and flows of Archer-Daniels-Midland's stock price. With data sourced from Astropy and enriched with insights from LSEG Analytics (Refinitiv), we meticulously calibrated a temporal series spanning from 2002 to 2023. Through this cosmic odyssey and statistical acrobatics, we endeavored to discern any semblance of order in this celestial dance that may influence the market dynamics of ADM.
While the gravity of this study may appear to be lightyears away from the typical financial research terrain, our quest has brought forth an unexpected cosmic revelation. Imbued with a correlation coefficient of 0.8333177 and a jaw-dropping p-value of less than 0.01, the abstract juxtaposition of planetary positions and corporate performance has defied conventional wisdom. This unexpected harmony raises eyebrows in the statistical cosmos and invites us to ponder the potential cosmic threads that weave through financial markets.
In a world where "stellar" performances are often lauded, our study takes a whimsical leap, daring to consider the celestial choreography that may exude subtle influences on the earthly exchange. So, buckle your intergalactic seatbelts as we navigate this cosmic conundrum, illuminating the cosmic reverberations that echo through earthly markets.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis unfurled a cosmic revelation that may leave the financial world starry-eyed. Our study unearthed a compelling correlation between the distance separating Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). With a correlation coefficient of 0.8333177, an r-squared of 0.6944184, and a p-value of less than 0.01, the statistical constellations aligned to reveal a remarkably robust relationship.

Figure 1 presents a visual portrayal of the celestial and corporate dance, encapsulating the strong correlation between the astronomical distances and ADM's stock price. This captivating scatterplot breathes life into the otherwise esoteric connection, inviting readers to embark on a visual journey through the cosmic tapestry woven with financial yarns.

These findings fling the doors wide open to a cosmos of potential implications. The magnetic allure of celestial positions on earthly market behavior beckons to shatter conventional notions of financial analysis. As we crunch the numbers and gaze into the statistical abyss, this unlikely correlation whispers enigmatic melodies of the cosmic ballet that may sway the tides of financial fortune.

Our research skims the celestial surface, provoking a novel perspective that invites whimsy and contemplation. So, as we bid adieu to this section, we encourage readers to tune in to the cosmic symphony that may, ever so subtly, nudge the markets with its celestial rhythm.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

[[LITERATURE REVIEW]]
The concept of interplanetary asset correlations may seem astronomical, yet our odyssey through the annals of literature reveals intriguing glimpses into the unexpected bonds between celestial interactions and corporate performance.
Smith and Doe (2010) examined the celestial positioning of Neptune and Uranus in relation to financial markets, presenting a framework for probing the cosmic undercurrents that may influence stock prices. Their work laid the groundwork for our current investigation, eagerly delving into the abyss of celestial mechanics intertwined with economic variables. Meanwhile, Jones (2015) introduced the concept of "cosmic financialization," postulating the potential influence of planetary alignments on the ebb and flow of stock indices.
Turning to non-fiction books, "Astrology and the Stock Market" by Louise McWhirter offers a fascinating perspective on the celestial forces at play in financial markets, providing anecdotal evidence and historical correlations that may shed light on our own celestial odyssey. Additionally, "Astronomy for Dummies" by Stephen P. Maran equips us with a basic understanding of celestial mechanics, serving as a telescope to peer into the complex interplay between planetary positions and market dynamics.
Diverging into the realm of fiction, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams playfully explores the cosmic absurdity and the potential ramifications of interstellar influences on mundane events. Furthermore, "The Restaurant at the End of the Universe" by the same author tantalizes readers with the prospect of cosmic revelations that may extend to the financial cosmos, serving as a whimsical beacon in our celestial exploration.
In the pursuit of unconventional sources, we jestfully perused CVS receipts with unauthorized voyages into the unknown aisles of consumer goods, seeking hidden messages in the mundane purchases of everyday denizens. While our search yielded only mundane purchases and promotional offers, it did not deter our quest for the cosmic connection between Neptune, Uranus, and stock prices.
As our investigation meanders through the scholarly and whimsical labyrinth of literature, we tread carefully to discern the celestial threads that may weave through earthly markets, recognizing the inherent hilarity intertwined with the pursuit of knowledge.

[[RESULTS]]
The data analysis unfurled a cosmic revelation that may leave the financial world starry-eyed. Our study unearthed a compelling correlation between the distance separating Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). With a correlation coefficient of 0.8333177, an r-squared of 0.6944184, and a p-value of less than 0.01, the statistical constellations aligned to reveal a remarkably robust relationship.
Figure 1 presents a visual portrayal of the celestial and corporate dance, encapsulating the strong correlation between the astronomical distances and ADM's stock price. This captivating scatterplot breathes life into the otherwise esoteric connection, inviting readers to embark on a visual journey through the cosmic tapestry woven with financial yarns.
These findings fling the doors wide open to a cosmos of potential implications. The magnetic allure of celestial positions on earthly market behavior beckons to shatter conventional notions of financial analysis. As we crunch the numbers and gaze into the statistical abyss, this unlikely correlation whispers enigmatic melodies of the cosmic ballet that may sway the tides of financial fortune.
Our research skims the celestial surface, provoking a novel perspective that invites whimsy and contemplation. So, as we bid adieu to this section, we encourage readers to tune in to the cosmic symphony that may, ever so subtly, nudge the markets with its celestial rhythm.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The celestial and corporate tango continues to bewilder the research community with its unexpected twists and turns. As our findings twinkle in the statistical firmament, they not only align with prior research but elevate the cosmic comedy to a stellar performance.

Smith and Doe's pioneering investigation into the celestial positioning of Neptune and Uranus in relation to financial markets danced on the periphery of conventional economic analysis. Our results not only tangentially touch upon their work but pirouette directly into the heart of the cosmic financialization concept introduced by Jones. The distinct beats of our findings harmonize with these prior studies, only this time, the celestial orchestra crescendos in unison with the stock price movements of ADM.

The unexpected connections, reminiscent of Adams' playful exploration of cosmic absurdity in "The Hitchhiker's Guide to the Galaxy," resonate as a triumphant symphony in our current study. The celestial odyssey elucidated in McWhirter's "Astrology and the Stock Market" is not simply a whimsical notion; it resonates with a statistical crescendo that whimsically nudges the conventional boundaries of financial analysis.

As we peer through the cosmic lens, our study playfully frolics in the same space as Maran's "Astronomy for Dummies," elevating the basic understanding of celestial mechanics to a celestial ballet with earthly financial indices. The constellation of connections discovered in our research reaffirms the hilarity intertwined with the pursuit of knowledge, echoing the absurd revelations from "The Restaurant at the End of the Universe."

In a serendipitous turn of events, our analysis resembles the unauthorized voyages through the aisles of consumer goods on CVS receipts. While we found no hidden messages, our study illuminates a celestial message that may leave the financial world starry-eyed.

The profoundly robust correlation between the distance separating Neptune and Uranus and ADM's stock performance straddles the line between statistical significance and cosmic pertinence. This unlikely correlation, akin to a cosmic revelation, invites us to tune into the celestial symphony that may, ever so subtly, nudge the markets with its celestial rhythm.

As we embark on this cosmic adventure, it becomes evident that the whimsy intertwined with the pursuit of knowledge not only enriches our understanding but also bestows a celestial charm upon our research. With our feet firmly planted on the firmament, we eagerly await the next celestial dance in the bewildering tango of cosmic and corporate relationships.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Uranus and Archer-Daniels-Midland Company's stock price (ADM). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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]]
The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price

[[ABSTRACT]]
This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.

In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

[[INTRDUCTION]]
The intriguing realm of finance and astronomy rarely intersect, yet as the adage goes, "the stars align in mysterious ways." In this study, we embark on an unconventional exploration, probing the potential relationship between the positioning of the distant giants Neptune and Uranus and the stock price performance of Archer-Daniels-Midland Company (ADM). This celestial and corporate tango, if you will, poses an enigmatic puzzle for discerning researchers seeking to unveil the hidden forces that may animate the terrestrial markets.
As we gaze beyond the confines of conventional financial analysis, our pursuit involves venturing into the cosmic arena, where the gravitational pull of Neptune and Uranus intertwines with the ebbs and flows of Archer-Daniels-Midland's stock price. With data sourced from Astropy and enriched with insights from LSEG Analytics (Refinitiv), we meticulously calibrated a temporal series spanning from 2002 to 2023. Through this cosmic odyssey and statistical acrobatics, we endeavored to discern any semblance of order in this celestial dance that may influence the market dynamics of ADM.
While the gravity of this study may appear to be lightyears away from the typical financial research terrain, our quest has brought forth an unexpected cosmic revelation. Imbued with a correlation coefficient of 0.8333177 and a jaw-dropping p-value of less than 0.01, the abstract juxtaposition of planetary positions and corporate performance has defied conventional wisdom. This unexpected harmony raises eyebrows in the statistical cosmos and invites us to ponder the potential cosmic threads that weave through financial markets.
In a world where "stellar" performances are often lauded, our study takes a whimsical leap, daring to consider the celestial choreography that may exude subtle influences on the earthly exchange. So, buckle your intergalactic seatbelts as we navigate this cosmic conundrum, illuminating the cosmic reverberations that echo through earthly markets.

[[RESULTS]]
The data analysis unfurled a cosmic revelation that may leave the financial world starry-eyed. Our study unearthed a compelling correlation between the distance separating Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). With a correlation coefficient of 0.8333177, an r-squared of 0.6944184, and a p-value of less than 0.01, the statistical constellations aligned to reveal a remarkably robust relationship.
Figure 1 presents a visual portrayal of the celestial and corporate dance, encapsulating the strong correlation between the astronomical distances and ADM's stock price. This captivating scatterplot breathes life into the otherwise esoteric connection, inviting readers to embark on a visual journey through the cosmic tapestry woven with financial yarns.
These findings fling the doors wide open to a cosmos of potential implications. The magnetic allure of celestial positions on earthly market behavior beckons to shatter conventional notions of financial analysis. As we crunch the numbers and gaze into the statistical abyss, this unlikely correlation whispers enigmatic melodies of the cosmic ballet that may sway the tides of financial fortune.
Our research skims the celestial surface, provoking a novel perspective that invites whimsy and contemplation. So, as we bid adieu to this section, we encourage readers to tune in to the cosmic symphony that may, ever so subtly, nudge the markets with its celestial rhythm.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our unconventional odyssey across the celestial and corporate landscapes has not only defied the boundaries of traditional financial analysis but has also uncovered a cosmic correlation that may leave even the most seasoned researchers starstruck. The unexpected harmony between the positions of Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM) presents a cosmic revelation that may prompt us to reconsider the interplay of celestial mechanics and earthly financial dynamics.

As we orbit the conclusion of our research, it is imperative to acknowledge the inherent whimsy in exploring the cosmic reverberations that may influence financial markets. This serendipitous discovery challenges us to embrace a new dimension in financial analysis, where the gravitational pull of distant planets casts a subtle, yet statistically significant, shadow over ADM's stock performance.

It seems that, in the cosmic dance of celestial bodies and market forces, there may indeed be more than meets the eye. The statistical constellations have aligned to unveil a compelling correlation, reminiscent of a cosmic ballet that unfolds across both space and time. However, it is important to approach these findings with a sprinkle of intergalactic caution, as this correlation does not imply causation and prompts further exploration of the ever-expansive cosmic arena.

As we bid adieu to the cosmic symphony of correlations, it is with a light heart and a twinkle in our eyes that we assert that no further research in this area is needed. After all, in the words of the great Carl Sagan, "Somewhere, something incredible is waiting to be known," and perhaps, something delightfully ridiculous as well.


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 The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Celestial Economics


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 The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

Society for Planetary Economics and Market Analysis


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 The Celestial and Corporate Dance: Exploring the Relationship Between the Distance Between Neptune and Uranus and Archer-Daniels-Midland Company's Stock Price with an abstract of This study delves into the interplanetary and corporate realms, investigating the potential connection between the distance separating the enigmatic planets Neptune and Uranus and the stock performance of Archer-Daniels-Midland Company (ADM). Leveraging data meticulously calculated using Astropy and enriched with insights from LSEG Analytics (Refinitiv), we scrutinize the numerical interplay between astronomical positions and financial indices over the 2002 to 2023 period.
In a surprising twist of fate, our findings reveal a striking correlation coefficient of 0.8333177, accompanied by a staggering p-value of less than 0.01. While this cosmic correlation may seem light-years away from conventional financial indicators, our study colorfully illustrates the potential significance of celestial mechanics on earthly markets. Through this research, we invite readers to humor a not-so-literal interpretation of "stellar" stock performance and to ponder the cosmic dance that may influence earthly exchange.

ChatGPT:

"Neptune Uranus distance," "Archer-Daniels-Midland stock price correlation," "celestial mechanics in financial markets," "astronomical positions and stock performance," "correlation between planetary distance and stock price," "Astropy financial data analysis," "LSEG Analytics Refinitiv," "cosmic influence on stock performance," "financial astrology," "cosmic correlation to stock market"

*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 Uranus
Detailed data title: The average distance between Neptune and Uranus 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 Uranus

Archer-Daniels-Midland Company's stock price (ADM)
Detailed data title: Opening price of Archer-Daniels-Midland Company (ADM) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with Archer-Daniels-Midland Company's stock price (ADM)

Correlation r = 0.8333177 (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.6944184 (Coefficient of determination)
This means 69.4% of the change in the one variable (i.e., Archer-Daniels-Midland Company's stock price (ADM)) is predictable based on the change in the other (i.e., The distance between Neptune and Uranus) over the 22 years from 2002 through 2023.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.5E-6. 0.0000014727709893274414000000
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.83 in 0.00015% of random cases. Said differently, if you correlated 678,992 random variables You don't actually need 678 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 21 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 21 because we have two variables measured over a period of 22 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.63, 0.93 ] 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.
2002200320042005200620072008200920102011201220132014201520162017201820192020202120222023
The distance between Neptune and Uranus (Planetary distance (AU))12.394712.811913.257913.727514.21814.72715.253215.792516.343816.90617.479118.059718.647619.242319.844320.450721.061621.676822.297322.920423.546524.1757
Archer-Daniels-Midland Company's stock price (ADM) (Stock price)14.2212.515.2322.4724.7532.2846.3828.9331.4830.3929.1928.1443.2252.236.1145.6940.240.5746.5750.467.692.75




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([12.3947,12.8119,13.2579,13.7275,14.218,14.727,15.2532,15.7925,16.3438,16.906,17.4791,18.0597,18.6476,19.2423,19.8443,20.4507,21.0616,21.6768,22.2973,22.9204,23.5465,24.1757,])
array_2 = np.array([14.22,12.5,15.23,22.47,24.75,32.28,46.38,28.93,31.48,30.39,29.19,28.14,43.22,52.2,36.11,45.69,40.2,40.57,46.57,50.4,67.6,92.75,])
array_1_name = "The distance between Neptune and Uranus"
array_2_name = "Archer-Daniels-Midland Company's stock price (ADM)"

# 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?

Your rating skills are top-notch!


Correlation ID: 3679 · Black Variable ID: 1967 · Red Variable ID: 1762
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0