about · email me · subscribe
Spurious correlation #3,772 · 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 Diageo's stock price (DEO).  The chart goes from 2002 to 2023, and the two variables track closely in value over that time. Small Image

AI explanation

As the gap widened, it created a gravitational pull on Earth's liquid assets, leading to a surge in demand for alcoholic beverages, thereby boosting Diageo's stock price.

Model: dalle-3
Prompt: Create a hyper-realistic visual of the solar system, with Neptune and Uranus positioned in their usual orbits. However, depict a powerful surge of energy radiating from the space between the two planets, distorting the cosmic landscape. Meanwhile, display a stock price chart for Diageo (DEO) in the foreground, clearly showing a consistent upward trend. Capture the juxtaposition of the celestial disturbance and the earthly financial success with exquisite detail, emphasizing the interplay of cosmic forces and economic phenomena. 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 Diageo's stock price (DEO). 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: Psychedelic Brutalism Hyper-realistic A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s Hyper-realistic
ChatGPT: Hyper-realistic

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 Diageo's stock price (DEO), in the following situation: Because as the distance between Neptune and Uranus increased, it created a gravitational flux that disrupted the cosmic alignment of alcoholic spirits, causing an increase in demand for Diageo's products, thereby boosting their stock price.. Keep the description simple.
ChatGPT: In the vast expanse of outer space, the distance between Neptune and Uranus suddenly expanded, causing a cosmic ripple effect. As the gravitational flux disrupted the tranquil alignment of the planets, a surge of energy radiated towards Earth. Meanwhile, on Earth, Diageo's stock price (DEO) chart displayed a clear upward trend, reflecting the increased demand for their renowned alcoholic spirits.

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: [ Hyper-realistic ] and depicting this scene: In the vast expanse of outer space, the distance between Neptune and Uranus suddenly expanded, causing a cosmic ripple effect. As the gravitational flux disrupted the tranquil alignment of the planets, a surge of energy radiated towards Earth. Meanwhile, on Earth, Diageo's stock price (DEO) chart displayed a clear upward trend, reflecting the increased demand for their renowned alcoholic spirits. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create a hyper-realistic visual of the solar system, with Neptune and Uranus positioned in their usual orbits. However, depict a powerful surge of energy radiating from the space between the two planets, distorting the cosmic landscape. Meanwhile, display a stock price chart for Diageo (DEO) in the foreground, clearly showing a consistent upward trend. Capture the juxtaposition of the celestial disturbance and the earthly financial success with exquisite detail, emphasizing the interplay of cosmic forces and economic phenomena.

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

AI academic paper

(Because p < 0.01)
Planetary Proximity and Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

The Astronomical Alcoholic Review

Jan 2024
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 Diageo's stock price (DEO). Make lots of jokes, goofy observations, and puns.

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

Your research team used data from Caclculated using Astropy and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9373353 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 Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.


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 Diageo's stock price (DEO). Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Planetary Proximity and Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the saying goes, "When the stars align, your investments will shine." In this research study, we delve into the whimsical world of astro-finance by exploring the perplexing relationship between the astral duo of Neptune and Uranus and the intoxicating essence of Diageo's stock price. The cosmic dance between these distant planets and the fluctuations in one of the world's leading alcoholic beverage companies' stock prices has captivated our attention and piqued our curiosity.

It's not every day that one contemplates the possibility of interplanetary influences on earthly financial markets. However, as financial researchers, it is our duty to probe the depths of the universe, uncovering correlations that may appear as enigmatic as an alien language. Our journey led us to unearth a correlation coefficient so high that it seemed to defy the conventional boundaries of statistical significance. As we embarked on this celestial quest, we couldn't help but feel like modern-day alchemists, extracting hidden treasures from the depths of the cosmos.

As we set out to unravel this astronomical enigma, we couldn't help but ponder whether the celestial bodies, in their cosmic revelry, were subtly shaping the ebbs and flows of Diageo's stock price. Could it be that Neptune and Uranus, in their majestic embrace, are secretly nudging investors to sip to success? Or perhaps it's just a fortuitous alignment of celestial bodies, a cosmic coincidence that leaves us in awe.

Stay tuned as we navigate through the celestial corridors to unearth the mysterious connection between the distant planets and the tantalizing tides of Diageo's stock price. As we lift the veil on this cosmic connection, prepare to be star-struck and perhaps even enchanted by the unfolding narrative of planetary proximity and boozy booty. Grab your telescope and brace yourself for cosmic revelations that are truly out of this world.


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 Diageo's stock price (DEO). Make lots of 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. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
Planetary Proximity and Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the saying goes, "When the stars align, your investments will shine." In this research study, we delve into the whimsical world of astro-finance by exploring the perplexing relationship between the astral duo of Neptune and Uranus and the intoxicating essence of Diageo's stock price. The cosmic dance between these distant planets and the fluctuations in one of the world's leading alcoholic beverage companies' stock prices has captivated our attention and piqued our curiosity.
It's not every day that one contemplates the possibility of interplanetary influences on earthly financial markets. However, as financial researchers, it is our duty to probe the depths of the universe, uncovering correlations that may appear as enigmatic as an alien language. Our journey led us to unearth a correlation coefficient so high that it seemed to defy the conventional boundaries of statistical significance. As we embarked on this celestial quest, we couldn't help but feel like modern-day alchemists, extracting hidden treasures from the depths of the cosmos.
As we set out to unravel this astronomical enigma, we couldn't help but ponder whether the celestial bodies, in their cosmic revelry, were subtly shaping the ebbs and flows of Diageo's stock price. Could it be that Neptune and Uranus, in their majestic embrace, are secretly nudging investors to sip to success? Or perhaps it's just a fortuitous alignment of celestial bodies, a cosmic coincidence that leaves us in awe.
Stay tuned as we navigate through the celestial corridors to unearth the mysterious connection between the distant planets and the tantalizing tides of Diageo's stock price. As we lift the veil on this cosmic connection, prepare to be star-struck and perhaps even enchanted by the unfolding narrative of planetary proximity and boozy booty. Grab your telescope and brace yourself for cosmic revelations that are truly out of this world.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Numerous studies have investigated the interplay between celestial phenomena and financial markets, with notable works by Smith (2010), Doe (2015), and Jones (2018) addressing the potential influence of planetary positions on stock prices. While these studies primarily focused on the solar system's major planets, our research takes a unique turn by zeroing in on the intriguing connection between the distance separating Neptune and Uranus and the stock price of Diageo (DEO).

In "To the Distant Planets and Beyond: Exploring the Cosmic Impact on Markets," Smith (2010) posits a theoretical framework for analyzing the effect of planetary configurations on market trends, laying the groundwork for our investigation into the Neptune-Uranus correlation with Diageo's stock price. Doe (2015) further delves into the astrological aspects of financial forecasting in "Cosmic Fortunes: A Stellar Approach to Investment Strategies," offering valuable insights that inspire our exploration of celestial influences on the stock market. Jones (2018) contributes to this body of literature by examining the potential implications of interplanetary alignments on stock market volatility in "Stars, Stocks, and Statistical Significance," providing a springboard for our inquiry into the Neptune-Uranus relationship with Diageo's stock price.

Beyond the realm of academic literature, our inquiry draws inspiration from non-fiction works such as "The Planets" by Dava Sobel and "Astrophysics for People in a Hurry" by Neil deGrasse Tyson. These insightful volumes not only offer a deeper understanding of celestial mechanics but also spark imaginative ponderings about the cosmic forces that may echo into the financial world. On a more creative note, fictional narratives such as "The Hitchhiker's Guide to the Galaxy" by Douglas Adams and "The Restaurant at the End of the Universe" by the unmatchable humorist Terry Pratchett may infuse our analysis with a light-hearted perspective on the cosmic confluence of planetary distances and corporate stocks.

Moreover, the board game "Cosmic Encounter," known for its unpredictability and alliances among planetary civilizations, serves as a metaphorical backdrop to our study, reminding us of the intricate dynamics that can underpin seemingly unrelated phenomena.

As we embark on this cosmic caper, we find ourselves pondering whether the celestial bodies have indeed conspired to influence Diageo's stock price or if this correlation is merely a quirk of statistical fate. Stay tuned as we navigate the nebulous intersections of Neptune, Uranus, and buoyant market surges, uncovering the enigmatic interplay that may leave us starry-eyed and perhaps a tad tipsy from the cosmic revelations ahead.


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 Diageo's stock price (DEO). Make lots of 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 Proximity and Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

[[INTRODUCTION]]
As the saying goes, "When the stars align, your investments will shine." In this research study, we delve into the whimsical world of astro-finance by exploring the perplexing relationship between the astral duo of Neptune and Uranus and the intoxicating essence of Diageo's stock price. The cosmic dance between these distant planets and the fluctuations in one of the world's leading alcoholic beverage companies' stock prices has captivated our attention and piqued our curiosity.
It's not every day that one contemplates the possibility of interplanetary influences on earthly financial markets. However, as financial researchers, it is our duty to probe the depths of the universe, uncovering correlations that may appear as enigmatic as an alien language. Our journey led us to unearth a correlation coefficient so high that it seemed to defy the conventional boundaries of statistical significance. As we embarked on this celestial quest, we couldn't help but feel like modern-day alchemists, extracting hidden treasures from the depths of the cosmos.
As we set out to unravel this astronomical enigma, we couldn't help but ponder whether the celestial bodies, in their cosmic revelry, were subtly shaping the ebbs and flows of Diageo's stock price. Could it be that Neptune and Uranus, in their majestic embrace, are secretly nudging investors to sip to success? Or perhaps it's just a fortuitous alignment of celestial bodies, a cosmic coincidence that leaves us in awe.
Stay tuned as we navigate through the celestial corridors to unearth the mysterious connection between the distant planets and the tantalizing tides of Diageo's stock price. As we lift the veil on this cosmic connection, prepare to be star-struck and perhaps even enchanted by the unfolding narrative of planetary proximity and boozy booty. Grab your telescope and brace yourself for cosmic revelations that are truly out of this world.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the celestial secrets underlying the perplexing relationship between planetary positions and the stock price of Diageo (DEO), our research team embarked on an astro-financial odyssey fueled by curiosity and a good dose of cosmic humor. The data for our study was obtained from various sources across the vast expanse of the internet, with a keen focus on obtaining accurate and comprehensive information. We relied on data sets calculated using Astropy, a Python library for astronomy, and LSEG Analytics (Refinitiv), a reputable financial data provider, to ensure the rigor and reliability of our analyses.

The period under consideration for our investigation spans from 2002 to 2023, encompassing a substantial timeframe to capture the celestial waltz of Neptune and Uranus and its potential impact on the spirited fluctuations of Diageo's stock price. Through this timeframe, we aimed to capture the full array of interstellar interactions and cosmic capers that may have influenced the earthly escapades of stock trading.

Now, the arcane methods used to forge the connection between the distant celestial bodies and the spirited stock price involved intricate statistical analyses and esoteric astronomical calculations. Without delving into the minutiae of astro-finance wizardry, it suffices to say that our approach was a fusion of quantitative methods, time series analysis, and celestial mechanics. The convergence of these diverse disciplines allowed us to weave a tapestry of planetary proximities and stock market intricacies.

Harnessing the power of sophisticated statistical software and astronomical algorithms, we conducted intricate analyses to not only establish the correlation between the distance separating Neptune and Uranus and the stock price of Diageo but also to delve into the potential implications of this celestial connection. Through robust statistical techniques and astronomical modeling, we navigated the celestial corridors and financial markets with equal gusto, unearthing the obscured relationships that lay hidden amidst the cosmic dance of celestial bodies and the ever-fluctuating stock prices.

In the next section, we will present the enthralling findings of our astro-financial expedition, showcasing the statistical prominence of the Neptune-Uranus connection and its implications for the spirited world of stock trading. Get ready to witness the unveiling of celestial revelations that transcend the boundaries of conventional financial analyses, as we bring the cosmic cocktail of Neptune and Uranus to the forefront of financial discussions. Prepare to be entranced by the celestial symphony of statistical significance and planetary proximity, as we unravel the intertwining tales of distant planets and boozy booty. It's a cosmic journey not to be missed!


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 Diageo's stock price (DEO). Make lots of 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.9373353, r-squared of 0.8785975, 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 Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the saying goes, "When the stars align, your investments will shine." In this research study, we delve into the whimsical world of astro-finance by exploring the perplexing relationship between the astral duo of Neptune and Uranus and the intoxicating essence of Diageo's stock price. The cosmic dance between these distant planets and the fluctuations in one of the world's leading alcoholic beverage companies' stock prices has captivated our attention and piqued our curiosity.
It's not every day that one contemplates the possibility of interplanetary influences on earthly financial markets. However, as financial researchers, it is our duty to probe the depths of the universe, uncovering correlations that may appear as enigmatic as an alien language. Our journey led us to unearth a correlation coefficient so high that it seemed to defy the conventional boundaries of statistical significance. As we embarked on this celestial quest, we couldn't help but feel like modern-day alchemists, extracting hidden treasures from the depths of the cosmos.
As we set out to unravel this astronomical enigma, we couldn't help but ponder whether the celestial bodies, in their cosmic revelry, were subtly shaping the ebbs and flows of Diageo's stock price. Could it be that Neptune and Uranus, in their majestic embrace, are secretly nudging investors to sip to success? Or perhaps it's just a fortuitous alignment of celestial bodies, a cosmic coincidence that leaves us in awe.
Stay tuned as we navigate through the celestial corridors to unearth the mysterious connection between the distant planets and the tantalizing tides of Diageo's stock price. As we lift the veil on this cosmic connection, prepare to be star-struck and perhaps even enchanted by the unfolding narrative of planetary proximity and boozy booty. Grab your telescope and brace yourself for cosmic revelations that are truly out of this world.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our analysis yielded an astonishing correlation coefficient of 0.9373353, a striking demonstration of the improbable, yet robust, association between the distance separating Neptune and Uranus and the tantalizing fluctuations in Diageo's stock price. This celestial connection left us feeling cosmically enchanted and questioning if the stock market is not only influenced by economic indicators but also by the mesmerizing movements of planets.

In addition to the high correlation coefficient, the r-squared value of 0.8785975 further solidified the substantial relationship between these seemingly disparate spheres – the vast emptiness of space and the bustling world of stock trading. This strong r-squared value signifies that a substantial proportion of the variability in Diageo's stock price can be attributed to the cosmic tango of Neptune and Uranus.

Moreover, the p-value of less than 0.01 accentuated the statistical significance of this unearthed relationship, leaving us pleasantly surprised and somewhat incredulous at the compelling association we unraveled. The results not only piqued our interest but also inspired a newfound appreciation for the interconnectedness of the cosmos and financial markets.

Figure 1 depicts the scatterplot showcasing the robust correlation between the planetary proximity of Neptune and Uranus and Diageo's stock price – a visual testament to the enchanting dance of celestial bodies and earthly economics. This graphical representation serves as a captivating illustration of the cosmic influence on the intoxicating tremors of the stock market.

The alliance between the seemingly esoteric realms of planetary orbits and the captivating world of stock exchange offers a new lens through which to view financial markets. Our findings serve as a celestial symphony, enticing audiences to contemplate the cosmic forces at play in the thrilling game of stock trading. As we close this chapter of our research, it is with a cosmic twinkle in our eyes that we await further exploration of the interstellar forces subtly shaping the earthly ebb and flow of financial markets.


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 Diageo's stock price (DEO). Make lots of 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 Proximity and Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

[[LITERATURE REVIEW]]
Numerous studies have investigated the interplay between celestial phenomena and financial markets, with notable works by Smith (2010), Doe (2015), and Jones (2018) addressing the potential influence of planetary positions on stock prices. While these studies primarily focused on the solar system's major planets, our research takes a unique turn by zeroing in on the intriguing connection between the distance separating Neptune and Uranus and the stock price of Diageo (DEO).
In "To the Distant Planets and Beyond: Exploring the Cosmic Impact on Markets," Smith (2010) posits a theoretical framework for analyzing the effect of planetary configurations on market trends, laying the groundwork for our investigation into the Neptune-Uranus correlation with Diageo's stock price. Doe (2015) further delves into the astrological aspects of financial forecasting in "Cosmic Fortunes: A Stellar Approach to Investment Strategies," offering valuable insights that inspire our exploration of celestial influences on the stock market. Jones (2018) contributes to this body of literature by examining the potential implications of interplanetary alignments on stock market volatility in "Stars, Stocks, and Statistical Significance," providing a springboard for our inquiry into the Neptune-Uranus relationship with Diageo's stock price.
Beyond the realm of academic literature, our inquiry draws inspiration from non-fiction works such as "The Planets" by Dava Sobel and "Astrophysics for People in a Hurry" by Neil deGrasse Tyson. These insightful volumes not only offer a deeper understanding of celestial mechanics but also spark imaginative ponderings about the cosmic forces that may echo into the financial world. On a more creative note, fictional narratives such as "The Hitchhiker's Guide to the Galaxy" by Douglas Adams and "The Restaurant at the End of the Universe" by the unmatchable humorist Terry Pratchett may infuse our analysis with a light-hearted perspective on the cosmic confluence of planetary distances and corporate stocks.
Moreover, the board game "Cosmic Encounter," known for its unpredictability and alliances among planetary civilizations, serves as a metaphorical backdrop to our study, reminding us of the intricate dynamics that can underpin seemingly unrelated phenomena.
As we embark on this cosmic caper, we find ourselves pondering whether the celestial bodies have indeed conspired to influence Diageo's stock price or if this correlation is merely a quirk of statistical fate. Stay tuned as we navigate the nebulous intersections of Neptune, Uranus, and buoyant market surges, uncovering the enigmatic interplay that may leave us starry-eyed and perhaps a tad tipsy from the cosmic revelations ahead.

[[RESULTS]]
Our analysis yielded an astonishing correlation coefficient of 0.9373353, a striking demonstration of the improbable, yet robust, association between the distance separating Neptune and Uranus and the tantalizing fluctuations in Diageo's stock price. This celestial connection left us feeling cosmically enchanted and questioning if the stock market is not only influenced by economic indicators but also by the mesmerizing movements of planets.
In addition to the high correlation coefficient, the r-squared value of 0.8785975 further solidified the substantial relationship between these seemingly disparate spheres – the vast emptiness of space and the bustling world of stock trading. This strong r-squared value signifies that a substantial proportion of the variability in Diageo's stock price can be attributed to the cosmic tango of Neptune and Uranus.
Moreover, the p-value of less than 0.01 accentuated the statistical significance of this unearthed relationship, leaving us pleasantly surprised and somewhat incredulous at the compelling association we unraveled. The results not only piqued our interest but also inspired a newfound appreciation for the interconnectedness of the cosmos and financial markets.
Figure 1 depicts the scatterplot showcasing the robust correlation between the planetary proximity of Neptune and Uranus and Diageo's stock price – a visual testament to the enchanting dance of celestial bodies and earthly economics. This graphical representation serves as a captivating illustration of the cosmic influence on the intoxicating tremors of the stock market.
The alliance between the seemingly esoteric realms of planetary orbits and the captivating world of stock exchange offers a new lens through which to view financial markets. Our findings serve as a celestial symphony, enticing audiences to contemplate the cosmic forces at play in the thrilling game of stock trading. As we close this chapter of our research, it is with a cosmic twinkle in our eyes that we await further exploration of the interstellar forces subtly shaping the earthly ebb and flow of financial markets.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study not only confirm but also elevate the curious revelations of prior research in the captivating domain of celestial influences on financial markets. As we ponder the peculiar celestial tides and their confluence with stock prices, we are reminded of the whimsical musings of Smith (2010) and Doe (2015), who paved the path for our investigation into the cosmic dance between Neptune and Uranus and the captivating fluctuations in Diageo's stock price.

Smith's (2010) theoretical framework for analyzing planetary configurations as potential influencers of market trends becomes particularly poignant in light of our robust correlation coefficient of 0.9373353. It seems the celestial bodies may indeed hold sway over the earthly realms of finance, as suggested by Doe (2015) in their exploration of astrological aspects of financial forecasting. Additionally, the statistical significance we uncovered, with a p-value of less than 0.01, adds weight to Jones' (2018) reflections on interplanetary alignments and stock market volatility, underpinning the merit of interconnected analyses across realms seemingly lightyears apart.

Drawing inspiration from creative works and conceptual imaginings that might appear lighthearted at first glance, we find ourselves overcome with a newfound sense of cosmic seriousness and appreciation for the interplay between celestial mechanics and corporate stocks. The metaphorical backdrop of the board game "Cosmic Encounter" now seems less fanciful, serving as a poignant reminder of the intricate dynamics that underscore the seemingly unrelated phenomena playing out before our statistical gaze.

Our findings, with a high r-squared value of 0.8785975, reverberate through the cosmic firmament, indicating that a substantial proportion of the variability in Diageo's stock price can be attributed to the mesmerizing movements of Neptune and Uranus. This unearthed relationship not only piques our intellectual curiosity but also leaves us starry-eyed and perhaps a tad tipsy from the cosmic revelations ahead.

It is with a cosmic twinkle in our eyes that we await further exploration of the interstellar forces subtly shaping the earthly ebb and flow of financial markets. The celestial symphony uncovered in our study invites audiences to contemplate the cosmic forces at play in the thrilling game of stock trading, leaving us to wonder if the planets may indeed be pouring cosmic cocktails into the stock market. As we stand on the precipice of cosmic inquiry, we inquire: are we witnessing the financial world through a star-spangled looking glass, or have we simply stumbled upon a statistical celestial quirk?

Stay tuned as we navigate the nebulous intersections of Neptune, Uranus, and buoyant market surges, uncovering an enigmatic interplay that may leave us forever enchanted by the cosmic confluence of planetary distances and corporate stocks.


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 Diageo's stock price (DEO). Make lots of 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 Proximity and Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price

[[ABSTRACT]]
This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

[[INTRDUCTION]]
As the saying goes, "When the stars align, your investments will shine." In this research study, we delve into the whimsical world of astro-finance by exploring the perplexing relationship between the astral duo of Neptune and Uranus and the intoxicating essence of Diageo's stock price. The cosmic dance between these distant planets and the fluctuations in one of the world's leading alcoholic beverage companies' stock prices has captivated our attention and piqued our curiosity.
It's not every day that one contemplates the possibility of interplanetary influences on earthly financial markets. However, as financial researchers, it is our duty to probe the depths of the universe, uncovering correlations that may appear as enigmatic as an alien language. Our journey led us to unearth a correlation coefficient so high that it seemed to defy the conventional boundaries of statistical significance. As we embarked on this celestial quest, we couldn't help but feel like modern-day alchemists, extracting hidden treasures from the depths of the cosmos.
As we set out to unravel this astronomical enigma, we couldn't help but ponder whether the celestial bodies, in their cosmic revelry, were subtly shaping the ebbs and flows of Diageo's stock price. Could it be that Neptune and Uranus, in their majestic embrace, are secretly nudging investors to sip to success? Or perhaps it's just a fortuitous alignment of celestial bodies, a cosmic coincidence that leaves us in awe.
Stay tuned as we navigate through the celestial corridors to unearth the mysterious connection between the distant planets and the tantalizing tides of Diageo's stock price. As we lift the veil on this cosmic connection, prepare to be star-struck and perhaps even enchanted by the unfolding narrative of planetary proximity and boozy booty. Grab your telescope and brace yourself for cosmic revelations that are truly out of this world.

[[RESULTS]]
Our analysis yielded an astonishing correlation coefficient of 0.9373353, a striking demonstration of the improbable, yet robust, association between the distance separating Neptune and Uranus and the tantalizing fluctuations in Diageo's stock price. This celestial connection left us feeling cosmically enchanted and questioning if the stock market is not only influenced by economic indicators but also by the mesmerizing movements of planets.
In addition to the high correlation coefficient, the r-squared value of 0.8785975 further solidified the substantial relationship between these seemingly disparate spheres – the vast emptiness of space and the bustling world of stock trading. This strong r-squared value signifies that a substantial proportion of the variability in Diageo's stock price can be attributed to the cosmic tango of Neptune and Uranus.
Moreover, the p-value of less than 0.01 accentuated the statistical significance of this unearthed relationship, leaving us pleasantly surprised and somewhat incredulous at the compelling association we unraveled. The results not only piqued our interest but also inspired a newfound appreciation for the interconnectedness of the cosmos and financial markets.
Figure 1 depicts the scatterplot showcasing the robust correlation between the planetary proximity of Neptune and Uranus and Diageo's stock price – a visual testament to the enchanting dance of celestial bodies and earthly economics. This graphical representation serves as a captivating illustration of the cosmic influence on the intoxicating tremors of the stock market.
The alliance between the seemingly esoteric realms of planetary orbits and the captivating world of stock exchange offers a new lens through which to view financial markets. Our findings serve as a celestial symphony, enticing audiences to contemplate the cosmic forces at play in the thrilling game of stock trading. As we close this chapter of our research, it is with a cosmic twinkle in our eyes that we await further exploration of the interstellar forces subtly shaping the earthly ebb and flow of financial markets.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has illuminated a celestial connection that seems to defy the conventional boundaries of financial forecasting. The statistically significant correlation coefficient of 0.9373353 at p < 0.01 between Neptune-Uranus distance and Diageo's stock price has left us feeling like we stumbled upon the ultimate cosmic cocktail recipe. The r-squared value of 0.8785975 further solidified the substantial relationship, making us wonder if the planets are secretly whipping up some celestial brew to influence the stock market.

Our findings not only provide a novel perspective on financial forecasting but also leave us questioning whether stock trading may be more akin to stargazing than previously thought. The p-value of less than 0.01 accentuated the statistical significance of this unearthed relationship, leaving us both pleasantly surprised and slightly suspicious that the celestial bodies may have been toasting to our discovery all along.

As we wrap up this cosmic quest, we are inclined to believe that the distant dance between Neptune and Uranus may hold the key to unlocking the enigmatic rhythms of the stock market. With a celestial symphony playing in the background, our research begs the question: Could it be that the cosmos holds the secret recipe for stock market success?

However, despite the temptation to waltz further into the nebulous abyss of interstellar financial influences, we assert that no more research is needed in this area. It's time to raise our glasses to this cosmic revelation and acknowledge that the universe always keeps us guessing—even in the world of stock trading! Cheers to the mysteries of the cosmos and the whimsical wonders of astro-finance!


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 Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Astronomical Alcoholic Review


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 Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

Institute for Celestial Mixology Research


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 Boozy Booty: A Correlational Study of Neptune-Uranus Distance and Diageo's Stock Price with an abstract of This paper explores the unexpected yet captivating relationship between the celestial bodies Neptune and Uranus and the stock price of Diageo (DEO). Utilizing data from Caclculated using Astropy and LSEG Analytics (Refinitiv), our study presents a statistically significant correlation coefficient of 0.9373353 at p < 0.01 for the period spanning from 2002 to 2023. Through rigorous quantitative analysis, we demonstrate that the distance between Neptune and Uranus appears to exert a peculiar influence on the fluctuations in Diageo's stock price. Our findings not only offer a novel perspective on financial forecasting but also leave us wondering if the planets may be pouring cosmic cocktails into the stock market.

ChatGPT:

Neptune, Uranus, celestial bodies, stock price, Diageo, DEO, correlation, study, distance, astrological influence, financial forecasting, quantitative analysis, cosmic influence, planetary proximity, stock market fluctuations

*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

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

See what else correlates with Diageo's stock price (DEO)

Correlation r = 0.9373353 (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.8785975 (Coefficient of determination)
This means 87.9% of the change in the one variable (i.e., Diageo's stock price (DEO)) 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.3E-10. 0.0000000001299240585757186200
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.94 in 1.3E-8% of random cases. Said differently, if you correlated 7,696,803,894 random variables You don't actually need 7 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.85, 0.97 ] 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
Diageo's stock price (DEO) (Stock price)45.9944.153.7157.6558.979.6486.356.3569.9974.6188.11118.89131.38113.07107.77104.04147.06140.43167.68162.97219.94177.7




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([45.99,44.1,53.71,57.65,58.9,79.64,86.3,56.35,69.99,74.61,88.11,118.89,131.38,113.07,107.77,104.04,147.06,140.43,167.68,162.97,219.94,177.7,])
array_1_name = "The distance between Neptune and Uranus"
array_2_name = "Diageo's stock price (DEO)"

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

I'm genuinely thankful for your rating!


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

CC BY 4.0