about · email me · subscribe
Spurious correlation #3,757 · 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 Cummins' stock price (CMI).  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 gravitational pull between the two distant planets weakened, it created a ripple effect on Earth's magnetic field. This, in turn, enhanced the efficiency of Cummins' diesel generators, leading to lower production costs and higher profit margins.

Model: dalle-3
Prompt: Generate an image of a vibrant solar system, with Neptune and Uranus moving away from each other into the vast expanse of space. As they drift apart, their gravitational pull weakens, creating a serene and tranquil scene. Amidst this cosmic display, visualize a stock chart for Cummins (CMI) ascending steadily, defying the turbulent forces of the market and reaching new heights. The scene should exude a sense of calm and stability as the stock chart breaks free from the prevailing market volatility. 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 Cummins' stock price (CMI). 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: A Discovery magazine cover image a Polaroid photo Cyberpunk Glitch art Cybernetic art
ChatGPT: A Discovery magazine cover image

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 Cummins' stock price (CMI), in the following situation: Because as Neptune and Uranus moved further apart, the gravitational pull weakened, allowing Cummins' stock price to soar to new heights as it escaped the gravitational forces of market volatility.. Keep the description simple.
ChatGPT: Imagine a vast solar system with Neptune and Uranus drifting further and further apart. As the distance between them increases, their gravitational pull weakens and the intensity of market volatility subsides. In the midst of this celestial dance, a stock chart for Cummins (CMI) steadily climbs higher and higher, reaching new heights as it breaks free from the gravitational forces of market 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: [ A Discovery magazine cover image ] and depicting this scene: Imagine a vast solar system with Neptune and Uranus drifting further and further apart. As the distance between them increases, their gravitational pull weakens and the intensity of market volatility subsides. In the midst of this celestial dance, a stock chart for Cummins (CMI) steadily climbs higher and higher, reaching new heights as it breaks free from the gravitational forces of market turbulence. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a vibrant solar system, with Neptune and Uranus moving away from each other into the vast expanse of space. As they drift apart, their gravitational pull weakens, creating a serene and tranquil scene. Amidst this cosmic display, visualize a stock chart for Cummins (CMI) ascending steadily, defying the turbulent forces of the market and reaching new heights. The scene should exude a sense of calm and stability as the stock chart breaks free from the prevailing market volatility.

*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 Cummins' stock price (CMI) to increase. Make it feel plausible.

AI academic paper

(Because p < 0.01)
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

The International Journal of Astro-Economic Studies

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 dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Rhyme words in the title.

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.9557312 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]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The correlation between celestial bodies and earthly phenomena has long been a topic of curiosity and speculation. However, the notion of planetary positions affecting financial markets may seem like a "Uranus" concept to some. Yet, as astrophysicist Neil deGrasse Tyson once quipped, "The stock market is not so fundamentally different from casino gambling. The planets reward courage and risk."

In this paper, we explore the intriguing relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). This study emerged from a lighthearted conversation at the water cooler, where a researcher mused, "If Neptune and Uranus had an effect on stock prices, we could call it celestial income!"

The rationale for delving into this unconventional subject matter is based on the principle of conducting research without "Saturn" limitations. As the saying goes, "The sky's the limit," but in this case, we extend our investigation beyond the sky to the far reaches of our solar system.

Our investigation aims to provide empirical evidence to support or refute the notion that the positioning of Neptune and Uranus impacts the stock price of Cummins Inc. (CMI). We draw inspiration from the words of economist John Kenneth Galbraith, who suggested, "The only function of economic forecasting is to make astrology look respectable."

Now, some may dismiss the idea of celestial bodies influencing financial markets as pure "mumbo jumbo." Nevertheless, we are emboldened by the possibility of discovering an unexpected celestial force at play in economic affairs. After all, as the old adage goes, "When the stars align, the stock market may also align!"

This study not only addresses the academic interest in exploring unconventional correlations but also serves to engage the reader in a thought-provoking journey through the cosmos and the stock market. We invite our audience to join us on this celestial odyssey, where we explore whether the movements of distant planets could have an impact on the earthly matters of corporate finances. As we embark on this expedition, we assure the reader that our pursuit of knowledge is grounded in rigorous statistical analysis, even if the subject matter seems to be "out of this world."


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). 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 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]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The correlation between celestial bodies and earthly phenomena has long been a topic of curiosity and speculation. However, the notion of planetary positions affecting financial markets may seem like a "Uranus" concept to some. Yet, as astrophysicist Neil deGrasse Tyson once quipped, "The stock market is not so fundamentally different from casino gambling. The planets reward courage and risk."
In this paper, we explore the intriguing relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). This study emerged from a lighthearted conversation at the water cooler, where a researcher mused, "If Neptune and Uranus had an effect on stock prices, we could call it celestial income!"
The rationale for delving into this unconventional subject matter is based on the principle of conducting research without "Saturn" limitations. As the saying goes, "The sky's the limit," but in this case, we extend our investigation beyond the sky to the far reaches of our solar system.
Our investigation aims to provide empirical evidence to support or refute the notion that the positioning of Neptune and Uranus impacts the stock price of Cummins Inc. (CMI). We draw inspiration from the words of economist John Kenneth Galbraith, who suggested, "The only function of economic forecasting is to make astrology look respectable."
Now, some may dismiss the idea of celestial bodies influencing financial markets as pure "mumbo jumbo." Nevertheless, we are emboldened by the possibility of discovering an unexpected celestial force at play in economic affairs. After all, as the old adage goes, "When the stars align, the stock market may also align!"
This study not only addresses the academic interest in exploring unconventional correlations but also serves to engage the reader in a thought-provoking journey through the cosmos and the stock market. We invite our audience to join us on this celestial odyssey, where we explore whether the movements of distant planets could have an impact on the earthly matters of corporate finances. As we embark on this expedition, we assure the reader that our pursuit of knowledge is grounded in rigorous statistical analysis, even if the subject matter seems to be "out of this world."

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "The Influence of Celestial Bodies on Financial Markets," Smith et al. explore the potential impact of planetary positions on stock prices. The authors find a speculative relationship between the proximity of Neptune and Uranus and fluctuations in stock prices, suggesting that perhaps the celestial bodies exert an unforeseen influence on market trends. One might say they are reaching for the stars in their investigation.

Speaking of celestial bodies, in "Astrology and the Stock Market" by Doe, the author examines historical correlations between astronomical events and financial trends. The study presents compelling evidence of lunar cycles affecting market behavior, but the influence of outer planets such as Neptune and Uranus remains uncharted territory. It seems they have not yet aligned their research with the movements of the more distant planets.

Now, shifting our focus from academic studies to more general literature, "Solar System Economics" by Jones provides a comprehensive overview of the interplay between cosmic phenomena and economic systems. While the book predominantly focuses on the effects of solar flares and space weather on global economies, it also briefly touches upon the potential impact of planetary positions within the solar system.

Meanwhile, in the fictional realm, "The Martian Investor" by Andy Weir humorously portrays an astronaut stranded on Mars who becomes an inadvertent day trader with Earth's stock market. While the novel predominantly provides comedic relief through the protagonist's financial misadventures, it does pose intriguing hypothetical scenarios of interplanetary stock trading. Perhaps we could call it "stock market Martian Madness."

On a more ludicrous note, the authors also consulted a variety of unconventional sources, including horoscopes, Magic 8-Balls, and even the cryptic messages printed on CVS receipts. The extent to which these sources contributed to the understanding of celestial influences on stock prices remains dubious, though it may offer some "receipts" for out-of-this-world investment advice.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

[[INTRODUCTION]]
The correlation between celestial bodies and earthly phenomena has long been a topic of curiosity and speculation. However, the notion of planetary positions affecting financial markets may seem like a "Uranus" concept to some. Yet, as astrophysicist Neil deGrasse Tyson once quipped, "The stock market is not so fundamentally different from casino gambling. The planets reward courage and risk."
In this paper, we explore the intriguing relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). This study emerged from a lighthearted conversation at the water cooler, where a researcher mused, "If Neptune and Uranus had an effect on stock prices, we could call it celestial income!"
The rationale for delving into this unconventional subject matter is based on the principle of conducting research without "Saturn" limitations. As the saying goes, "The sky's the limit," but in this case, we extend our investigation beyond the sky to the far reaches of our solar system.
Our investigation aims to provide empirical evidence to support or refute the notion that the positioning of Neptune and Uranus impacts the stock price of Cummins Inc. (CMI). We draw inspiration from the words of economist John Kenneth Galbraith, who suggested, "The only function of economic forecasting is to make astrology look respectable."
Now, some may dismiss the idea of celestial bodies influencing financial markets as pure "mumbo jumbo." Nevertheless, we are emboldened by the possibility of discovering an unexpected celestial force at play in economic affairs. After all, as the old adage goes, "When the stars align, the stock market may also align!"
This study not only addresses the academic interest in exploring unconventional correlations but also serves to engage the reader in a thought-provoking journey through the cosmos and the stock market. We invite our audience to join us on this celestial odyssey, where we explore whether the movements of distant planets could have an impact on the earthly matters of corporate finances. As we embark on this expedition, we assure the reader that our pursuit of knowledge is grounded in rigorous statistical analysis, even if the subject matter seems to be "out of this world."

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To explore the potential correlation between the distance separating Neptune and Uranus and the stock price of Cummins Inc. (CMI), a robust and thorough methodology was employed. Data retrieval involved traversing the virtual cosmos, as information was extracted from two primary sources: Astropy, an astronomical library for Python, and the celestial financial data repository of LSEG Analytics (Refinitiv). Through this cosmic collaboration, data spanning from 2002 to 2023 was collected and compiled - a true meeting of the astrological and the economical.

The astral data regarding the distance between Neptune and Uranus was procured utilizing advanced astronomical algorithms and celestial mechanics models available within the Astropy library. These calculations were performed with precision to determine the exact distance between the two gas giants at each point in time over the specified period. We modeled their elliptical orbits with a level of meticulousness rivaled only by a Virgo in star system analysis.

Meanwhile, the financial data regarding the stock price of Cummins Inc. (CMI) was meticulously acquired from LSEG Analytics (Refinitiv). This involved navigating the labyrinth of financial databases and stock market archives to retrieve the relevant historical stock price information. The financial data was then cross-referenced with the astronomical data in a display of interdisciplinary cooperation that would make the gods of Mount Olympus proud.

Following the acquisition of the celestial and financial datasets, rigorous statistical analyses were conducted. The first step involved calculating the correlation coefficient to quantify the strength and direction of the relationship between the planetary distance and the stock price. Next, a series of regression analyses were conducted, ensuring that the models were statistically robust and astronomically sound.

The statistical analyses were accompanied by robust sensitivity tests and robustness checks. These served to confirm the stability of the findings and assure that the observed correlation was not a mere flash in the pan – or should we say, a meteorite amidst the stellar expanse?

To ensure the validity and reliability of the findings, extensive peer reviews and consultations with experts in both astrophysics and financial economics were conducted. As they say, two heads are better than one, especially when exploring celestial influences on stock prices!

And now, for a dad joke as stellar as the subject itself: Why did the astronomer bring a ladder to the star party? Because he wanted to reach for the stars, just like our methodology reaching for the most precise findings!


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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.9557312, r-squared of 0.9134222, 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]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The correlation between celestial bodies and earthly phenomena has long been a topic of curiosity and speculation. However, the notion of planetary positions affecting financial markets may seem like a "Uranus" concept to some. Yet, as astrophysicist Neil deGrasse Tyson once quipped, "The stock market is not so fundamentally different from casino gambling. The planets reward courage and risk."
In this paper, we explore the intriguing relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). This study emerged from a lighthearted conversation at the water cooler, where a researcher mused, "If Neptune and Uranus had an effect on stock prices, we could call it celestial income!"
The rationale for delving into this unconventional subject matter is based on the principle of conducting research without "Saturn" limitations. As the saying goes, "The sky's the limit," but in this case, we extend our investigation beyond the sky to the far reaches of our solar system.
Our investigation aims to provide empirical evidence to support or refute the notion that the positioning of Neptune and Uranus impacts the stock price of Cummins Inc. (CMI). We draw inspiration from the words of economist John Kenneth Galbraith, who suggested, "The only function of economic forecasting is to make astrology look respectable."
Now, some may dismiss the idea of celestial bodies influencing financial markets as pure "mumbo jumbo." Nevertheless, we are emboldened by the possibility of discovering an unexpected celestial force at play in economic affairs. After all, as the old adage goes, "When the stars align, the stock market may also align!"
This study not only addresses the academic interest in exploring unconventional correlations but also serves to engage the reader in a thought-provoking journey through the cosmos and the stock market. We invite our audience to join us on this celestial odyssey, where we explore whether the movements of distant planets could have an impact on the earthly matters of corporate finances. As we embark on this expedition, we assure the reader that our pursuit of knowledge is grounded in rigorous statistical analysis, even if the subject matter seems to be "out of this world."

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis revealed a strong and statistically significant correlation between the distance separating Neptune and Uranus in the solar system and the stock price of Cummins Inc. (CMI) for the time period of 2002 to 2023. The correlation coefficient of 0.9557312, with an r-squared value of 0.9134222, suggests a robust relationship between these two seemingly disparate entities. It seems that even in the vast expanse of space, there are connections waiting to be discovered – it's a whole new dimension of interstellar economics!

The p-value of less than 0.01 further solidifies the significance of this association, indicating that the likelihood of such a strong relationship occurring by chance is exceedingly low. One might say the odds of this correlation occurring randomly are as rare as finding a shooting star in broad daylight – a celestial event indeed!

We present the visual representation of this intriguing correlation in Fig. 1, where the scatterplot illustrates the striking alignment of Neptune and Uranus distance with the fluctuation of Cummins' stock price. The data points harmonize in such a way that it's as if the planets themselves are influencing the financial trajectory of CMI – talk about celestial market forces!

These compelling findings challenge conventional economic wisdom and expand our understanding of the potential factors exerting influence on stock prices. It seems that the effects of these celestial bodies' movements extend beyond the confines of their orbits and reach into the earthly realm of financial markets. This prompts us to consider whether there may be an astronomical aspect to economic forecasting after all – it's a cosmic twist on traditional financial analysis!

In conclusion, the evidence presented here suggests a meaningful association between the distance separating Neptune and Uranus and the stock price of Cummins Inc. (CMI). This discovery invites further exploration into the interplay of celestial phenomena and economic indicators, where the celestial playground extends beyond the "big dipper" and into the stock market. Who would have thought that the movements of planets millions of miles away could have such down-to-earth implications for corporate finances – it's a stellar revelation, to say the least!


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

[[LITERATURE REVIEW]]
In "The Influence of Celestial Bodies on Financial Markets," Smith et al. explore the potential impact of planetary positions on stock prices. The authors find a speculative relationship between the proximity of Neptune and Uranus and fluctuations in stock prices, suggesting that perhaps the celestial bodies exert an unforeseen influence on market trends. One might say they are reaching for the stars in their investigation.
Speaking of celestial bodies, in "Astrology and the Stock Market" by Doe, the author examines historical correlations between astronomical events and financial trends. The study presents compelling evidence of lunar cycles affecting market behavior, but the influence of outer planets such as Neptune and Uranus remains uncharted territory. It seems they have not yet aligned their research with the movements of the more distant planets.
Now, shifting our focus from academic studies to more general literature, "Solar System Economics" by Jones provides a comprehensive overview of the interplay between cosmic phenomena and economic systems. While the book predominantly focuses on the effects of solar flares and space weather on global economies, it also briefly touches upon the potential impact of planetary positions within the solar system.
Meanwhile, in the fictional realm, "The Martian Investor" by Andy Weir humorously portrays an astronaut stranded on Mars who becomes an inadvertent day trader with Earth's stock market. While the novel predominantly provides comedic relief through the protagonist's financial misadventures, it does pose intriguing hypothetical scenarios of interplanetary stock trading. Perhaps we could call it "stock market Martian Madness."
On a more ludicrous note, the authors also consulted a variety of unconventional sources, including horoscopes, Magic 8-Balls, and even the cryptic messages printed on CVS receipts. The extent to which these sources contributed to the understanding of celestial influences on stock prices remains dubious, though it may offer some "receipts" for out-of-this-world investment advice.

[[RESULTS]]
The analysis revealed a strong and statistically significant correlation between the distance separating Neptune and Uranus in the solar system and the stock price of Cummins Inc. (CMI) for the time period of 2002 to 2023. The correlation coefficient of 0.9557312, with an r-squared value of 0.9134222, suggests a robust relationship between these two seemingly disparate entities. It seems that even in the vast expanse of space, there are connections waiting to be discovered – it's a whole new dimension of interstellar economics!
The p-value of less than 0.01 further solidifies the significance of this association, indicating that the likelihood of such a strong relationship occurring by chance is exceedingly low. One might say the odds of this correlation occurring randomly are as rare as finding a shooting star in broad daylight – a celestial event indeed!
We present the visual representation of this intriguing correlation in Fig. 1, where the scatterplot illustrates the striking alignment of Neptune and Uranus distance with the fluctuation of Cummins' stock price. The data points harmonize in such a way that it's as if the planets themselves are influencing the financial trajectory of CMI – talk about celestial market forces!
These compelling findings challenge conventional economic wisdom and expand our understanding of the potential factors exerting influence on stock prices. It seems that the effects of these celestial bodies' movements extend beyond the confines of their orbits and reach into the earthly realm of financial markets. This prompts us to consider whether there may be an astronomical aspect to economic forecasting after all – it's a cosmic twist on traditional financial analysis!
In conclusion, the evidence presented here suggests a meaningful association between the distance separating Neptune and Uranus and the stock price of Cummins Inc. (CMI). This discovery invites further exploration into the interplay of celestial phenomena and economic indicators, where the celestial playground extends beyond the "big dipper" and into the stock market. Who would have thought that the movements of planets millions of miles away could have such down-to-earth implications for corporate finances – it's a stellar revelation, to say the least!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of this study provide robust support for the prior research that has speculated on the potential link between celestial bodies and stock prices. The findings substantiate the work of Smith et al., who reached for the stars in suggesting that the proximity of Neptune and Uranus may influence market trends. Similarly, the study by Doe, while mainly focused on lunar cycles, paved the way for our investigation into the influence of more distant planets on financial markets. It appears that the movements of these outer planets might indeed have an impact on earthly financial matters, making it a celestial matter of stock prices indeed!

The correlation coefficient of 0.9557312, as well as the p-value of less than 0.01, align with prior speculative research and provide quantitative evidence of a significant relationship between the distance separating Neptune and Uranus and Cummins' stock price. These statistical measures strengthen the argument that the celestial movements of these gas giants may have a palpable influence on market dynamics. It seems that the waves of celestial bodies are not just limited to oceans – they may have an equally profound effect on the ebb and flow of stock prices!

The unexpected correlation between astronomical distance and stock prices challenges traditional economic wisdom, suggesting that factors beyond the traditional purview of financial analysis may play a role in market fluctuations. Our findings introduce an intriguing cosmic twist to the conventional understanding of economic indicators, expanding the scope of potential influences on stock prices. It's as if the universe itself is giving us a wink and nod, saying, "there's more to the stars than meets the eye, especially when it comes to your financial pie!"

In light of these results, it becomes evident that the influence of celestial bodies on stock prices is not just a matter of stargazing, but potentially an overlooked aspect of economic forecasting. Perhaps it's time to broaden our horizons and consider a whole new dimension to financial analysis – one where the movements of planets millions of miles away could have tangible implications for corporate finances. It's a cosmic revelation, leading us to ponder whether our economic fate may be written in the stars – or at least, in the relative positions of Neptune and Uranus!


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Cummins' stock price (CMI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price

[[ABSTRACT]]
This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!

Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

[[INTRDUCTION]]
The correlation between celestial bodies and earthly phenomena has long been a topic of curiosity and speculation. However, the notion of planetary positions affecting financial markets may seem like a "Uranus" concept to some. Yet, as astrophysicist Neil deGrasse Tyson once quipped, "The stock market is not so fundamentally different from casino gambling. The planets reward courage and risk."
In this paper, we explore the intriguing relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). This study emerged from a lighthearted conversation at the water cooler, where a researcher mused, "If Neptune and Uranus had an effect on stock prices, we could call it celestial income!"
The rationale for delving into this unconventional subject matter is based on the principle of conducting research without "Saturn" limitations. As the saying goes, "The sky's the limit," but in this case, we extend our investigation beyond the sky to the far reaches of our solar system.
Our investigation aims to provide empirical evidence to support or refute the notion that the positioning of Neptune and Uranus impacts the stock price of Cummins Inc. (CMI). We draw inspiration from the words of economist John Kenneth Galbraith, who suggested, "The only function of economic forecasting is to make astrology look respectable."
Now, some may dismiss the idea of celestial bodies influencing financial markets as pure "mumbo jumbo." Nevertheless, we are emboldened by the possibility of discovering an unexpected celestial force at play in economic affairs. After all, as the old adage goes, "When the stars align, the stock market may also align!"
This study not only addresses the academic interest in exploring unconventional correlations but also serves to engage the reader in a thought-provoking journey through the cosmos and the stock market. We invite our audience to join us on this celestial odyssey, where we explore whether the movements of distant planets could have an impact on the earthly matters of corporate finances. As we embark on this expedition, we assure the reader that our pursuit of knowledge is grounded in rigorous statistical analysis, even if the subject matter seems to be "out of this world."

[[RESULTS]]
The analysis revealed a strong and statistically significant correlation between the distance separating Neptune and Uranus in the solar system and the stock price of Cummins Inc. (CMI) for the time period of 2002 to 2023. The correlation coefficient of 0.9557312, with an r-squared value of 0.9134222, suggests a robust relationship between these two seemingly disparate entities. It seems that even in the vast expanse of space, there are connections waiting to be discovered – it's a whole new dimension of interstellar economics!
The p-value of less than 0.01 further solidifies the significance of this association, indicating that the likelihood of such a strong relationship occurring by chance is exceedingly low. One might say the odds of this correlation occurring randomly are as rare as finding a shooting star in broad daylight – a celestial event indeed!
We present the visual representation of this intriguing correlation in Fig. 1, where the scatterplot illustrates the striking alignment of Neptune and Uranus distance with the fluctuation of Cummins' stock price. The data points harmonize in such a way that it's as if the planets themselves are influencing the financial trajectory of CMI – talk about celestial market forces!
These compelling findings challenge conventional economic wisdom and expand our understanding of the potential factors exerting influence on stock prices. It seems that the effects of these celestial bodies' movements extend beyond the confines of their orbits and reach into the earthly realm of financial markets. This prompts us to consider whether there may be an astronomical aspect to economic forecasting after all – it's a cosmic twist on traditional financial analysis!
In conclusion, the evidence presented here suggests a meaningful association between the distance separating Neptune and Uranus and the stock price of Cummins Inc. (CMI). This discovery invites further exploration into the interplay of celestial phenomena and economic indicators, where the celestial playground extends beyond the "big dipper" and into the stock market. Who would have thought that the movements of planets millions of miles away could have such down-to-earth implications for corporate finances – it's a stellar revelation, to say the least!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In closing, our investigation has shed light on an unexpected yet statistically significant relationship between the distance separating Neptune and Uranus in the solar system and the stock price of Cummins Inc. (CMI). It seems that celestial bodies may indeed hold sway over earthly financial matters – a notion that may seem "out of this world," but the data speaks for itself. As we embark on this celestial odyssey, we are reminded of the old joke among astrophysicists: "Why don't economists trust astrologers? Because economists think they always make the same 'cents'!"

The robust correlation coefficient of 0.9557312 and the p-value of less than 0.01 leave little room for doubt – it's as clear as night and day that there is a connection waiting to be explored further. It's as if the stock market is truly under the gravitational pull of these distant planets, or perhaps we should say, their "stock-tractive" forces!

With every scatterplot data point harmonizing like a celestial symphony, it's evident that Neptune and Uranus may be quietly orchestrating the financial ballet of Cummins' stock prices from afar. Who would have thought that the movements of planets millions of miles away could have such down-to-earth implications for corporate finances? It's a "Neptunian" concept, to be sure!

Therefore, it is safe to conclude that our findings call for a paradigm shift in economic analysis – one that considers the cosmic dance of planets as a legitimate influencer of stock prices. With that, we confidently assert that no further research is needed in this area. After all, you can't argue with the planetary alignment of statistical significance!


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 Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The International Journal of Astro-Economic Studies


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 Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Galactic Economics Institute


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 Planetary Proximity and Stock Prosperity: The Correlation between Neptune and Uranus Distance and Cummins' Stock Price with an abstract of This research delves into the peculiar relationship between the distance separating Neptune and Uranus in our solar system and the stock price of Cummins Inc. (CMI). Utilizing data acquired from Astropy and LSEG Analytics (Refinitiv) for the period spanning from 2002 to 2023, a startling correlation coefficient of 0.9557312 and p < 0.01 was unveiled. While some may brush off the astrological aspect, we assure you, it's not just a tall tale – or should we say, a tall tail, as in the celestial bodies' long orbits!
Through rigorous statistical analysis and thorough examination, we have unveiled a statistically significant connection between the astronomical distance and the fluctuation of CMI stock prices. This prompts us to question whether the movements of these gas giants have a more grounded effect on the earthly matters of corporate finances. One might say we're bridging the gap between astrology and economics, quite literally! So, prepare for a stellar journey through the cosmos and the stock market, where even the most distant planets may have an impact on earthly matters – perhaps Neptune is influencing earthly profits, or maybe Uranus is predicting ups and downs in stock trends.

ChatGPT:

Neptune, Uranus, planetary distance, stock price, correlation, Astropy, LSEG Analytics, Refinitiv, Cummins Inc., CMI, astrology, statistical analysis, gas giants, corporate finances, astrology and economics, planet influence on 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

Cummins' stock price (CMI)
Detailed data title: Opening price of Cummins (CMI) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with Cummins' stock price (CMI)

Correlation r = 0.9557312 (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.9134222 (Coefficient of determination)
This means 91.3% of the change in the one variable (i.e., Cummins' stock price (CMI)) 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 4.3E-12. 0.0000000000043438670757637750
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.96 in 4.3E-10% of random cases. Said differently, if you correlated 230,209,622,569 random variables You don't actually need 230 billion 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.89, 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.
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
Cummins' stock price (CMI) (Stock price)9.657.0512.2321.0322.5929.8163.7426.8246.35111.0890.45111.5140.43145.2286.75138.25177.51131.22180.02227.68218.71243.14




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([9.65,7.05,12.23,21.03,22.59,29.81,63.74,26.82,46.35,111.08,90.45,111.5,140.43,145.22,86.75,138.25,177.51,131.22,180.02,227.68,218.71,243.14,])
array_1_name = "The distance between Neptune and Uranus"
array_2_name = "Cummins' stock price (CMI)"

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

Kudos for rating!


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

CC BY 4.0