about · email me · subscribe
Spurious correlation #2,386 · 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 McDonald's stock price (MCD).  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

The gravitational tug-of-war created a ripple effect, leading people to crave those golden arches just a little bit more.

Model: dalle-3
Prompt: Using the style [An image that looks like it is a scene from 'Star Wars'], depict a scene of a highway with multiple McDonald's restaurants lining it. In the background, showcase the vast expanse of space with Neptune and Uranus, two distant planets, each twinkling in the darkness. As the gap between the planets widens, depict a subtle gravitational force causing the cars on the highway to drive towards the McDonald's restaurants. Include the feeling of increased sales and a rise in McDonald's stock price, much to the joy of shareholders. Ensure that the visual depiction is simple and does not include any words or speech bubbles. 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 McDonald's stock price (MCD). 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: Voxel art Data cyber art a Polaroid photo An image that looks like it is a scene from 'Star Wars' Macabre
ChatGPT: An image that looks like it is a scene from 'Star Wars'

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 McDonald's stock price (MCD), in the following situation: As the gap widened, it created a gravitational pull leading people to drive past more McDonald's locations, boosting sales and delighting shareholders. Apparently, even planets can't resist the siren call of golden arches!. Keep the description simple.
ChatGPT: Imagine a vast expanse of space with Neptune and Uranus, two distant planets, each twinkling in the darkness. In the foreground, there are multiple McDonald's restaurants lining a busy highway with cars driving past. As the gap between the planets widens, a subtle gravitational force is felt, causing the cars to drive towards the McDonald's restaurants, leading to increased sales and a rise in McDonald's stock price, much to the joy of shareholders.

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: [ An image that looks like it is a scene from 'Star Wars' ] and depicting this scene: Imagine a vast expanse of space with Neptune and Uranus, two distant planets, each twinkling in the darkness. In the foreground, there are multiple McDonald's restaurants lining a busy highway with cars driving past. As the gap between the planets widens, a subtle gravitational force is felt, causing the cars to drive towards the McDonald's restaurants, leading to increased sales and a rise in McDonald's stock price, much to the joy of shareholders. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Using the style [An image that looks like it is a scene from 'Star Wars'], depict a scene of a highway with multiple McDonald's restaurants lining it. In the background, showcase the vast expanse of space with Neptune and Uranus, two distant planets, each twinkling in the darkness. As the gap between the planets widens, depict a subtle gravitational force causing the cars on the highway to drive towards the McDonald's restaurants. Include the feeling of increased sales and a rise in McDonald's stock price, much to the joy of shareholders. Ensure that the visual depiction is simple and does not include any words or speech bubbles.

*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 McDonald's stock price (MCD) to increase.

AI academic paper

(Because p < 0.01)
Planetary Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price

The Journal of Celestial Economics and Galactic Finance

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 witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). 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, just make it sound clever.

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.9598542 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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
"Planetary Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The enigmatic connection between celestial bodies and earthly affairs has been a perennial source of curiosity, mystique, and bemusement. While most scholarly inquiries in this realm have traditionally focused on topics such as gravitational interactions, cosmic collisions, and astronomical phenomena, the intersection of planetary movements and stock market dynamics has remained an uncharted and, some might say, otherworldly domain.

In this paper, we embark on a celestial odyssey to untangle the interplay between Neptune's rhythmic orbit and Uranus' cosmic waltz with the stock price of McDonald's (MCD). Our quest takes us into the interstellar realm of astronomical observations and financial analytics, seeking to demystify the seemingly whimsical relationship between a planetary pair and a fast-food giant.

We acknowledge the inherent skepticism that may accompany such a peculiar endeavor. After all, one might initially question the rationale behind juxtaposing the incomprehensible vastness of our solar system with the corporate granularity of a renowned hamburger emporium. However, as venerable scholars of perplexing puzzles and cosmic conundrums, we are prompted by the age-old adage: "Fortune favors the bold, and perhaps the slightly eccentric."

Our investigation is driven by empirical data sourced from Astropy and LSEG Analytics (Refinitiv), allowing us to traverse the dimensions of both celestial mechanics and financial fluctuations. Through meticulous statistical analysis, we unveil a singular correlation coefficient of 0.9598542, accompanied by a p-value that gleefully dances below the conventional significance threshold.

The time frame of our analysis spans from 2002 to 2023, encompassing a cosmic tapestry that provides a kaleidoscopic view of the elusive interrelationship we seek to elucidate. As we navigate this cosmic expedition, we not only unravel the machinations of stock price dynamics but also stumble upon echoes of the whimsy inherent in the cosmic ballet of our distant planetary neighbors.

Join us as we traverse galaxies of data and orbits of empirical inquiry, where the wisdom of the stars converges with the capricious world of stock market dynamics. We invite the reader to don their cosmic spectacles, for in this voyage, enlightenment may arise from the depths of the enigmatic and the embrace of the unexpected.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). 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 name some movies that you watched that are tangentially related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
"Planetary Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The enigmatic connection between celestial bodies and earthly affairs has been a perennial source of curiosity, mystique, and bemusement. While most scholarly inquiries in this realm have traditionally focused on topics such as gravitational interactions, cosmic collisions, and astronomical phenomena, the intersection of planetary movements and stock market dynamics has remained an uncharted and, some might say, otherworldly domain.
In this paper, we embark on a celestial odyssey to untangle the interplay between Neptune's rhythmic orbit and Uranus' cosmic waltz with the stock price of McDonald's (MCD). Our quest takes us into the interstellar realm of astronomical observations and financial analytics, seeking to demystify the seemingly whimsical relationship between a planetary pair and a fast-food giant.
We acknowledge the inherent skepticism that may accompany such a peculiar endeavor. After all, one might initially question the rationale behind juxtaposing the incomprehensible vastness of our solar system with the corporate granularity of a renowned hamburger emporium. However, as venerable scholars of perplexing puzzles and cosmic conundrums, we are prompted by the age-old adage: "Fortune favors the bold, and perhaps the slightly eccentric."
Our investigation is driven by empirical data sourced from Astropy and LSEG Analytics (Refinitiv), allowing us to traverse the dimensions of both celestial mechanics and financial fluctuations. Through meticulous statistical analysis, we unveil a singular correlation coefficient of 0.9598542, accompanied by a p-value that gleefully dances below the conventional significance threshold.
The time frame of our analysis spans from 2002 to 2023, encompassing a cosmic tapestry that provides a kaleidoscopic view of the elusive interrelationship we seek to elucidate. As we navigate this cosmic expedition, we not only unravel the machinations of stock price dynamics but also stumble upon echoes of the whimsy inherent in the cosmic ballet of our distant planetary neighbors.
Join us as we traverse galaxies of data and orbits of empirical inquiry, where the wisdom of the stars converges with the capricious world of stock market dynamics. We invite the reader to don their cosmic spectacles, for in this voyage, enlightenment may arise from the depths of the enigmatic and the embrace of the unexpected.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Celestial Musings: Exploring the Influence of Planetary Orbits on Earthly Phenomena," Smith et al. (2015) delve into the uncharted territory of celestial correlations. While their focus is primarily on weather patterns and agricultural cycles, their exploration of the broader influence of planetary orbits paves the way for our own cosmic odyssey. Similarly, Doe and Jones (2018), in their work "Planetary Paradoxes: Unraveling Cosmic Conundrums," venture into the realm of celestial conundrums, challenging traditional paradigms of celestial influence on human affairs.

Venturing beyond the confines of traditional academic literature, we find illumination in non-fiction works such as "Cosmic Connections: The Enigmatic Interplay Between Neptune and Uranus" by Dr. Stella Starlight (2017), offering a whimsical yet thought-provoking perspective on celestial synchronicity. Additionally, the renowned astrophysicist Dr. Galileo Galilei's seminal work, "Planetary Potpourri and Puzzling Predictions" (1609), serves as a timeless source of inspiration for unearthing cosmic enigmas.

While fictional narratives may seem tangential to our scholarly pursuits, the works of science fiction luminary Isaac Asimov, particularly "Astrological Antics: A Cosmic Comedy" (1952), evoke the imaginative space where celestial whimsy meets human intrigue. Furthermore, Terry Pratchett's "Stars and Stocks: An Anecdotal Anthology" (1992) offers a lighthearted yet insightful exploration of cosmic curiosities within the realm of economics.

Drawing unexpected parallels between disparate domains, we turn our gaze to cinematic expressions that subtly intertwine celestial themes with financial flairs. Films such as "The Big Dipper Debacle" (1999) and "The Comet's Currency: Tales of Celestial Coincidences" (2007) playfully tease the interplay of cosmic phenomena and fiscal fortunes, inviting viewers into a whimsical world where the boundaries of celestial influence blur with stock market shenanigans.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

[[INTRODUCTION]]
The enigmatic connection between celestial bodies and earthly affairs has been a perennial source of curiosity, mystique, and bemusement. While most scholarly inquiries in this realm have traditionally focused on topics such as gravitational interactions, cosmic collisions, and astronomical phenomena, the intersection of planetary movements and stock market dynamics has remained an uncharted and, some might say, otherworldly domain.
In this paper, we embark on a celestial odyssey to untangle the interplay between Neptune's rhythmic orbit and Uranus' cosmic waltz with the stock price of McDonald's (MCD). Our quest takes us into the interstellar realm of astronomical observations and financial analytics, seeking to demystify the seemingly whimsical relationship between a planetary pair and a fast-food giant.
We acknowledge the inherent skepticism that may accompany such a peculiar endeavor. After all, one might initially question the rationale behind juxtaposing the incomprehensible vastness of our solar system with the corporate granularity of a renowned hamburger emporium. However, as venerable scholars of perplexing puzzles and cosmic conundrums, we are prompted by the age-old adage: "Fortune favors the bold, and perhaps the slightly eccentric."
Our investigation is driven by empirical data sourced from Astropy and LSEG Analytics (Refinitiv), allowing us to traverse the dimensions of both celestial mechanics and financial fluctuations. Through meticulous statistical analysis, we unveil a singular correlation coefficient of 0.9598542, accompanied by a p-value that gleefully dances below the conventional significance threshold.
The time frame of our analysis spans from 2002 to 2023, encompassing a cosmic tapestry that provides a kaleidoscopic view of the elusive interrelationship we seek to elucidate. As we navigate this cosmic expedition, we not only unravel the machinations of stock price dynamics but also stumble upon echoes of the whimsy inherent in the cosmic ballet of our distant planetary neighbors.
Join us as we traverse galaxies of data and orbits of empirical inquiry, where the wisdom of the stars converges with the capricious world of stock market dynamics. We invite the reader to don their cosmic spectacles, for in this voyage, enlightenment may arise from the depths of the enigmatic and the embrace of the unexpected.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the cosmic caper of planetary positions and stock prices, we embarked on a multidimensional quest, traversing the celestial tapestry and the financial labyrinth with steadfast resolve and a pinch of cosmic curiosity. Our research team meticulously gathered data, employing a mix of technological wizardry and celestial musings while maintaining a healthy dose of skepticism and a generous serving of cosmic intrigue.

Data Collection:
To unravel the enigmatic relationship between the distance separating Neptune and Uranus and the stock price of McDonald's (MCD), we cunningly collected information from various sources. Our primary founts of data were the holy grails of astrophysical numerology, Astropy, and the financial constellation, LSEG Analytics (Refinitiv). Through relentless scouring of virtual observatories and financial archives, we amassed a trove of interstellar and market data spanning the years 2002 to 2023. Our cosmic sleuths left no byte unturned as they sifted through the digital cosmos, procuring a bounty of planetary positions and stock price shenanigans.

Planetary Positions:
The celestial movements of Neptune and Uranus were harnessed from the arcane records of celestial ephemera. Leveraging the transcendent capabilities of Astropy, we secured precise coordinates of the distant planetary pairs at regular intervals throughout our chronological epoch. With a keen eye on the celestial dance, we meticulously tracked the distance between Neptune and Uranus, capturing their cosmic twirls and gravitational pirouettes with meticulous precision.

Stock Price Dynamics:
Turning our gaze to the earthly stage, we tapped into the markets' pulse, delving into the enigmatic world of stock price dynamics. The tantalizing waltz of McDonald's (MCD) stock price was traced through the financial constellations, harnessing the analytic charms of LSEG Analytics (Refinitiv). With financial sorcery at our disposal, we extracted the daily closing prices of MCD, undeterred by the capricious whims of market volatility and the intermittent cosmic alignment of earnings reports.

Statistical Sorcery:
Armed with our data treasure chest, we embarked on a statistical soiree, inviting correlation coefficients and p-values to dance with the stars and market musings. With the sacred incantations of statistical software, we summoned the mighty forces of correlation analysis, bestowing our dataset with measures of association and significance. Unveiling the unity of correlated movements, we unleashed the power of the correlation coefficient, accompanied by the mystical maneuver of a p-value, guiding us through the cosmic junction of significance.

Cosmic Caper Unveiled:
Through these multifaceted methodologies, we orchestrated a harmonious symphony of celestial observations and financial frolics. Our statistical stargazing and market mirages forged a cosmic connection, revealing the bewitching interplay between the planets' cosmic waltz and the stock price shenanigans of McDonald's. As we present our findings, we invite fellow cosmic travelers and financial inquirers to partake in this enchanting rendezvous with the celestial and the fiscal, where the unexpected unearths cosmic truths in the stock market's stellar dance.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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.9598542, r-squared of 0.9213201, 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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The enigmatic connection between celestial bodies and earthly affairs has been a perennial source of curiosity, mystique, and bemusement. While most scholarly inquiries in this realm have traditionally focused on topics such as gravitational interactions, cosmic collisions, and astronomical phenomena, the intersection of planetary movements and stock market dynamics has remained an uncharted and, some might say, otherworldly domain.
In this paper, we embark on a celestial odyssey to untangle the interplay between Neptune's rhythmic orbit and Uranus' cosmic waltz with the stock price of McDonald's (MCD). Our quest takes us into the interstellar realm of astronomical observations and financial analytics, seeking to demystify the seemingly whimsical relationship between a planetary pair and a fast-food giant.
We acknowledge the inherent skepticism that may accompany such a peculiar endeavor. After all, one might initially question the rationale behind juxtaposing the incomprehensible vastness of our solar system with the corporate granularity of a renowned hamburger emporium. However, as venerable scholars of perplexing puzzles and cosmic conundrums, we are prompted by the age-old adage: "Fortune favors the bold, and perhaps the slightly eccentric."
Our investigation is driven by empirical data sourced from Astropy and LSEG Analytics (Refinitiv), allowing us to traverse the dimensions of both celestial mechanics and financial fluctuations. Through meticulous statistical analysis, we unveil a singular correlation coefficient of 0.9598542, accompanied by a p-value that gleefully dances below the conventional significance threshold.
The time frame of our analysis spans from 2002 to 2023, encompassing a cosmic tapestry that provides a kaleidoscopic view of the elusive interrelationship we seek to elucidate. As we navigate this cosmic expedition, we not only unravel the machinations of stock price dynamics but also stumble upon echoes of the whimsy inherent in the cosmic ballet of our distant planetary neighbors.
Join us as we traverse galaxies of data and orbits of empirical inquiry, where the wisdom of the stars converges with the capricious world of stock market dynamics. We invite the reader to don their cosmic spectacles, for in this voyage, enlightenment may arise from the depths of the enigmatic and the embrace of the unexpected.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The investigation into the perplexing interplay between the cosmic choreography of Neptune and Uranus and the stock price of McDonald's yielded an astoundingly robust correlation coefficient of 0.9598542. The r-squared value of 0.9213201 further underscores the compelling nature of this unearthly relationship. Moreover, the p-value of less than 0.01 gleefully prances into the realm of statistical significance, affirming the solidity of this unexpected cosmic bond.

The visual representation of this cosmic spectacle is encapsulated in Fig. 1, where a scatterplot encapsulates the whimsical yet firm connection between the distance separating these celestial entities and the stock price of the golden arches. This figure elegantly portrays the celestial tango of Neptune and Uranus mirrored in the undulating trajectory of McDonald's stock price.

The temporal scope of our scrutiny spanned from 2002 to 2023, providing a comprehensive snapshot of this peculiar linkage. These empirical foundations echo the overarching ethos of this cosmic escapade, where the seemingly unrelated spheres of planetary orbits and financial markets reconcile in a harmonious dance of data and statistical revelation.

In conclusion, our celestial odyssey not only unraveled the statistical rigidity of this correlation but also shed light on the intertwining of the whimsical and the empirical in the cosmic ballet of planetary neighbors. This unlikely union of interstellar mechanics and financial dynamics challenges traditional paradigms, reminding us that in the vast expanse of the cosmos, even the most extraordinary connections may await discovery.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

[[LITERATURE REVIEW]]
In "Celestial Musings: Exploring the Influence of Planetary Orbits on Earthly Phenomena," Smith et al. (2015) delve into the uncharted territory of celestial correlations. While their focus is primarily on weather patterns and agricultural cycles, their exploration of the broader influence of planetary orbits paves the way for our own cosmic odyssey. Similarly, Doe and Jones (2018), in their work "Planetary Paradoxes: Unraveling Cosmic Conundrums," venture into the realm of celestial conundrums, challenging traditional paradigms of celestial influence on human affairs.
Venturing beyond the confines of traditional academic literature, we find illumination in non-fiction works such as "Cosmic Connections: The Enigmatic Interplay Between Neptune and Uranus" by Dr. Stella Starlight (2017), offering a whimsical yet thought-provoking perspective on celestial synchronicity. Additionally, the renowned astrophysicist Dr. Galileo Galilei's seminal work, "Planetary Potpourri and Puzzling Predictions" (1609), serves as a timeless source of inspiration for unearthing cosmic enigmas.
While fictional narratives may seem tangential to our scholarly pursuits, the works of science fiction luminary Isaac Asimov, particularly "Astrological Antics: A Cosmic Comedy" (1952), evoke the imaginative space where celestial whimsy meets human intrigue. Furthermore, Terry Pratchett's "Stars and Stocks: An Anecdotal Anthology" (1992) offers a lighthearted yet insightful exploration of cosmic curiosities within the realm of economics.
Drawing unexpected parallels between disparate domains, we turn our gaze to cinematic expressions that subtly intertwine celestial themes with financial flairs. Films such as "The Big Dipper Debacle" (1999) and "The Comet's Currency: Tales of Celestial Coincidences" (2007) playfully tease the interplay of cosmic phenomena and fiscal fortunes, inviting viewers into a whimsical world where the boundaries of celestial influence blur with stock market shenanigans.

[[RESULTS]]
The investigation into the perplexing interplay between the cosmic choreography of Neptune and Uranus and the stock price of McDonald's yielded an astoundingly robust correlation coefficient of 0.9598542. The r-squared value of 0.9213201 further underscores the compelling nature of this unearthly relationship. Moreover, the p-value of less than 0.01 gleefully prances into the realm of statistical significance, affirming the solidity of this unexpected cosmic bond.
The visual representation of this cosmic spectacle is encapsulated in Fig. 1, where a scatterplot encapsulates the whimsical yet firm connection between the distance separating these celestial entities and the stock price of the golden arches. This figure elegantly portrays the celestial tango of Neptune and Uranus mirrored in the undulating trajectory of McDonald's stock price.
The temporal scope of our scrutiny spanned from 2002 to 2023, providing a comprehensive snapshot of this peculiar linkage. These empirical foundations echo the overarching ethos of this cosmic escapade, where the seemingly unrelated spheres of planetary orbits and financial markets reconcile in a harmonious dance of data and statistical revelation.
In conclusion, our celestial odyssey not only unraveled the statistical rigidity of this correlation but also shed light on the intertwining of the whimsical and the empirical in the cosmic ballet of planetary neighbors. This unlikely union of interstellar mechanics and financial dynamics challenges traditional paradigms, reminding us that in the vast expanse of the cosmos, even the most extraordinary connections may await discovery.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our exploration into the celestial tango between Neptune and Uranus and its enigmatic relationship with the stock price of McDonald's (MCD) has illuminated a curious and previously uncharted territory. While some may quip that our pursuit is a venture into the cosmic unknown, our findings support and extend prior research into the influence of planetary orbits on earthly phenomena.

Smith et al. (2015) delved into the influence of planetary orbits, though focusing primarily on weather patterns and agricultural cycles. Curiously, our investigation has added a celestial seasoning to the domain of financial markets, expanding the cosmic canvas onto the world of stock prices. Similarly, the work of Doe and Jones (2018) uncovered planetary paradoxes, laying the groundwork for our own cosmic conundrum, albeit with a more financial flair. By broadening the scope of celestial correlations, we have, quite literally, expanded the cosmic playing field onto Wall Street.

Venturing beyond the traditional academic literature, we found inspiration in the whimsical yet thought-provoking work of Dr. Stella Starlight (2017). While Dr. Starlight's work might be approached with a hint of cosmic whimsy, our findings affirm the intertwining of celestial mechanics and earthly economics, showcasing the profound implications of Neptune and Uranus's ethereal dance on the stock market's earthly performances. Additionally, the timeless work of Dr. Galileo Galilei (1609) has provided the groundwork for our own celestial odyssey, reminding us that even in antiquity, the cosmic mysteries tantalized human curiosity.

Our results confirm and extend these prior explorations by providing quantitative evidence of a remarkably robust correlation between the distance separating Neptune and Uranus and the stock price of McDonald's. Our statistical analysis, represented by a correlation coefficient of 0.9598542 and a p-value of less than 0.01, echoes the cosmic harmony of this relationship. This unexpected cosmic bond may challenge traditional paradigms, but the statistical rigor of our findings invites a reevaluation of the influence of celestial phenomena on earthly affairs.

In this cosmic escapade, we have merged the wisdom of the stars with the capricious world of stock price dynamics, revealing an intriguing fusion of the whimsical and the empirical. Our foray into this uncharted celestial territory not only shines a light on the intricacies of cosmic influence but also introduces a playful interplay between the seemingly unrelated domains of planetary orbits and financial markets. As we continue to probe the depths of this peculiar linkage, we invite fellow researchers to join us in embracing the unexpected and exploring the cosmic tapestry that intertwines with our economic realities.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics 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 McDonald's stock price (MCD). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price"

[[ABSTRACT]]
The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).

Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.

As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

[[INTRDUCTION]]
The enigmatic connection between celestial bodies and earthly affairs has been a perennial source of curiosity, mystique, and bemusement. While most scholarly inquiries in this realm have traditionally focused on topics such as gravitational interactions, cosmic collisions, and astronomical phenomena, the intersection of planetary movements and stock market dynamics has remained an uncharted and, some might say, otherworldly domain.
In this paper, we embark on a celestial odyssey to untangle the interplay between Neptune's rhythmic orbit and Uranus' cosmic waltz with the stock price of McDonald's (MCD). Our quest takes us into the interstellar realm of astronomical observations and financial analytics, seeking to demystify the seemingly whimsical relationship between a planetary pair and a fast-food giant.
We acknowledge the inherent skepticism that may accompany such a peculiar endeavor. After all, one might initially question the rationale behind juxtaposing the incomprehensible vastness of our solar system with the corporate granularity of a renowned hamburger emporium. However, as venerable scholars of perplexing puzzles and cosmic conundrums, we are prompted by the age-old adage: "Fortune favors the bold, and perhaps the slightly eccentric."
Our investigation is driven by empirical data sourced from Astropy and LSEG Analytics (Refinitiv), allowing us to traverse the dimensions of both celestial mechanics and financial fluctuations. Through meticulous statistical analysis, we unveil a singular correlation coefficient of 0.9598542, accompanied by a p-value that gleefully dances below the conventional significance threshold.
The time frame of our analysis spans from 2002 to 2023, encompassing a cosmic tapestry that provides a kaleidoscopic view of the elusive interrelationship we seek to elucidate. As we navigate this cosmic expedition, we not only unravel the machinations of stock price dynamics but also stumble upon echoes of the whimsy inherent in the cosmic ballet of our distant planetary neighbors.
Join us as we traverse galaxies of data and orbits of empirical inquiry, where the wisdom of the stars converges with the capricious world of stock market dynamics. We invite the reader to don their cosmic spectacles, for in this voyage, enlightenment may arise from the depths of the enigmatic and the embrace of the unexpected.

[[RESULTS]]
The investigation into the perplexing interplay between the cosmic choreography of Neptune and Uranus and the stock price of McDonald's yielded an astoundingly robust correlation coefficient of 0.9598542. The r-squared value of 0.9213201 further underscores the compelling nature of this unearthly relationship. Moreover, the p-value of less than 0.01 gleefully prances into the realm of statistical significance, affirming the solidity of this unexpected cosmic bond.
The visual representation of this cosmic spectacle is encapsulated in Fig. 1, where a scatterplot encapsulates the whimsical yet firm connection between the distance separating these celestial entities and the stock price of the golden arches. This figure elegantly portrays the celestial tango of Neptune and Uranus mirrored in the undulating trajectory of McDonald's stock price.
The temporal scope of our scrutiny spanned from 2002 to 2023, providing a comprehensive snapshot of this peculiar linkage. These empirical foundations echo the overarching ethos of this cosmic escapade, where the seemingly unrelated spheres of planetary orbits and financial markets reconcile in a harmonious dance of data and statistical revelation.
In conclusion, our celestial odyssey not only unraveled the statistical rigidity of this correlation but also shed light on the intertwining of the whimsical and the empirical in the cosmic ballet of planetary neighbors. This unlikely union of interstellar mechanics and financial dynamics challenges traditional paradigms, reminding us that in the vast expanse of the cosmos, even the most extraordinary connections may await discovery.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In our cosmic expedition, we have uncovered a surprisingly substantial correlation between the celestial minuet of Neptune and Uranus and the undulating trajectory of McDonald's stock price. The robust correlation coefficient of 0.9598542 and the r-squared value of 0.9213201 affirm the solidity of this unearthly relationship, leaving us marveling at the cosmic choreography at play.

The visual portrayal of this celestial tango in Fig. 1 encapsulates the whimsical yet firm connection between the spatial gyrations of our distant planetary neighbors and the fortunes of the golden arches. It's a dance of data that even celestial bodies cannot resist.

As we conclude this cosmic odyssey, we find ourselves awash with revelations and insights, reminding us that in the intermingling of the absurd and the empirical, new vistas of understanding may emerge. However, despite this otherworldly correlation, it would be prudent to remember that correlation does not imply causation, and we must approach our findings with cautious curiosity.

In the spirit of cosmic inquiry, we dare say that no matter how distant or bizarre the realms we explore, the cosmic dance of Neptune and Uranus and the unyielding march of McDonald's stock price shall remain a captivating conundrum. Yet, for now, it seems that this celestial puzzle has been sufficiently unraveled, and no further research into this enigmatic union is warranted. Or at least until the stars align once again in unforeseen ways.



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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Celestial Economics and Galactic Finance


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 Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Consortium for Celestial Dynamics 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 Planetary Puzzles and Stock Market Shenanigans: Unraveling the Relationship Between Neptune's Dance with Uranus and McDonald's Stock Price with an abstract of The celestial tango between Neptune and Uranus has long been a subject of fascination among astronomers and astrologers alike. In this study, we channel our inner cosmic sleuths to investigate the peculiar and seemingly whimsical link between the distance separating Neptune and Uranus and the stock price of the quintessential fast-food giant, McDonald's (MCD).
Drawing data from Astropy and LSEG Analytics (Refinitiv), we embark on a foray into the seemingly unrelated realms of planetary orbits and financial markets. Employing rigorous statistical analysis, we discover a correlation coefficient of 0.9598542, accompanied by a p-value of less than 0.01, indicating a strikingly robust relationship between the two seemingly disparate phenomena. Our findings cover the period from 2002 to 2023, providing a comprehensive snapshot of this cosmic-flavored economic enigma.
As we unravel this celestial conundrum, insights into the quirks of the stock market and the cosmic ballet of our distant planetary neighbors emerge. Join us on this cosmic escapade, where we merge the wisdom of the stars with the capricious world of stock price dynamics.

ChatGPT:

Neptune, Uranus, planetary orbits, stock price, correlation, Astropy, LSEG Analytics, Refinitiv, statistical analysis, financial markets, cosmic relationship, fast-food industry, celestial phenomena, astronomical data, astrological link, cosmic correlation, economic enigma

*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

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

See what else correlates with McDonald's stock price (MCD)

Correlation r = 0.9598542 (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.9213201 (Coefficient of determination)
This means 92.1% of the change in the one variable (i.e., McDonald's stock price (MCD)) 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.7E-12. 0.0000000000016624993151010750
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 1.7E-10% of random cases. Said differently, if you correlated 601,504,007,200 random variables You don't actually need 601 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.9, 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
McDonald's stock price (MCD) (Stock price)26.4716.1724.9531.634.2943.6559.4862.3862.6377.1101.3389.496.8194.13117.25121.86173.73175.41198214.49269.49263.53




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([26.47,16.17,24.95,31.6,34.29,43.65,59.48,62.38,62.63,77.1,101.33,89.4,96.81,94.13,117.25,121.86,173.73,175.41,198,214.49,269.49,263.53,])
array_1_name = "The distance between Neptune and Uranus"
array_2_name = "McDonald's stock price (MCD)"

# 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 is much appreciated!


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

CC BY 4.0