Download png, svg
AI explanation
The uptick in bottled water consumption led to increased hydration and a surge in productivity. With people thinking more clearly and working more efficiently, there was a higher demand for shipping services, causing FedEx's stock price to soar. It's a ripple effect of liquid inspiration flowing all the way to the stock market! Remember, stay hydrated for financial elation!Model: dalle-3
Prompt: Amidst the towering skyscrapers of a bustling city, a line of sleekly designed FedEx delivery trucks stretches into the distance. Each truck is adorned with the iconic FedEx logo, showcased prominently on their pristine exteriors. Nearby, a group of people is captured in various states of feverish hydration, passionately sipping from bottled water. Discarded bottles litter the surrounding area, testament to the urgency of their thirst. Overhead, the stock ticker for FDX looms large, signaling a surging upward trajectory, seemingly influenced by the incessant demand for bottled water deliveries. 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: US per-person consumption of bottled water and FedEx's stock price (FDX). 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: Cubism Realistic Glitch art Concept art Low poly
ChatGPT: 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 US per-person consumption of bottled water and FedEx's stock price (FDX), in the following situation: As more Americans guzzle bottled water, FedEx stock rises due to increased delivery demand and water-logged shareholders making it rain with purchases. The thirst for hydration fuels FDX's stock price, making it the bubbliest investment around!. Keep the description simple.
ChatGPT: Amidst a bustling cityscape, a line of FedEx delivery trucks extends into the distance, adorned with the company's iconic logo. Meanwhile, nearby, a group of people are seen fervently sipping from bottled water, with numerous discarded bottles strewn about. The soaring stock ticker for FDX looms overhead, surging upwards as if buoyed by the influx of bottled water deliveries.
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: [ Realistic ] and depicting this scene: Amidst a bustling cityscape, a line of FedEx delivery trucks extends into the distance, adorned with the company's iconic logo. Meanwhile, nearby, a group of people are seen fervently sipping from bottled water, with numerous discarded bottles strewn about. The soaring stock ticker for FDX looms overhead, surging upwards as if buoyed by the influx of bottled water deliveries. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Amidst the towering skyscrapers of a bustling city, a line of sleekly designed FedEx delivery trucks stretches into the distance. Each truck is adorned with the iconic FedEx logo, showcased prominently on their pristine exteriors. Nearby, a group of people is captured in various states of feverish hydration, passionately sipping from bottled water. Discarded bottles litter the surrounding area, testament to the urgency of their thirst. Overhead, the stock ticker for FDX looms large, signaling a surging upward trajectory, seemingly influenced by the incessant demand for bottled water deliveries.
*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.
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 US per-person consumption of bottled water caused FedEx's stock price (FDX) to increase.
AI academic paper
The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price Journal of H2O Economics Jan 2024 Reminder: This paper is AI-generated. Not real! |
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.
Make the title punny if you can come up with clever pun. If not, make it sound serious.
Your research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9021801 and p < 0.01 for 2002 to 2022.
Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)
[[TITLE]]
Lorem ipsum dolor sit
[[ABSTRACT]]
Lorem ipsum dolor sit
ChatGPT:
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.
Here is the title and abstract of the paper:
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
-------
Your response should start like this:
[[INTRODUCTION]]
ChatGPT:
[[INTRODUCTION]]
In recent years, the intersection of consumer behavior and financial markets has become an increasingly captivating field of study. As economists and analysts fervently search for connections between disparate phenomena, our research delves into a truly uncharted territory—investigating the surprising relationship between US per-person consumption of bottled water and the stock price of FedEx (FDX).
Aqua researchers, if you will, have long been pondering the ripples that consumer choices in the hydration market may send through the turbulent waters of the stock exchange. Our goal is to quench the thirst for understanding the underlying mechanisms behind this unexpected connection, unlocking the potential for not only financial gain but also a sea of new insights into market dynamics. One might say we aim to wet the appetite of the scholarly community with our findings.
The jest of the matter is that what may seem as unrelated as water and stock prices may, in fact, be flowing together in an unforeseen stream of correlation. It's as if the market is saying, "Just when you thought you'd seen everything—water you waiting for? There's more depth to this market than meets the eye!"
As we embark on this aquatic adventure of statistical analysis and economic inquiry, we invite our esteemed colleagues to dive into the depths of our findings with an open mind. It's time to trade the trading floor for the water cooler and see just how deep the connections can run. After all, who knew that the ebb and flow of the economy could be so refreshingly tied to a simple bottle of water and a shipping giant like FedEx?
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.
Speak in the present tense for this section (the authors find...), as is common in academic research paper literature reviews. Name the sources in a format similar to this: In "Book," the authors find lorem and ipsum.
Make up the lorem and ipsum part, but make it sound related to the topic at hand.
Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name some cartoons and childrens' shows that you watched that are related to the topic.
Here is the title and abstract of the paper:
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
-------
And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
In recent years, the intersection of consumer behavior and financial markets has become an increasingly captivating field of study. As economists and analysts fervently search for connections between disparate phenomena, our research delves into a truly uncharted territory—investigating the surprising relationship between US per-person consumption of bottled water and the stock price of FedEx (FDX).
Aqua researchers, if you will, have long been pondering the ripples that consumer choices in the hydration market may send through the turbulent waters of the stock exchange. Our goal is to quench the thirst for understanding the underlying mechanisms behind this unexpected connection, unlocking the potential for not only financial gain but also a sea of new insights into market dynamics. One might say we aim to wet the appetite of the scholarly community with our findings.
The jest of the matter is that what may seem as unrelated as water and stock prices may, in fact, be flowing together in an unforeseen stream of correlation. It's as if the market is saying, "Just when you thought you'd seen everything—water you waiting for? There's more depth to this market than meets the eye!"
As we embark on this aquatic adventure of statistical analysis and economic inquiry, we invite our esteemed colleagues to dive into the depths of our findings with an open mind. It's time to trade the trading floor for the water cooler and see just how deep the connections can run. After all, who knew that the ebb and flow of the economy could be so refreshingly tied to a simple bottle of water and a shipping giant like FedEx?
-------
Your response should start like this:
[[LITERATURE REVIEW]]
ChatGPT:
[[LITERATURE REVIEW]]
In Smith's seminal work, "Hydration Economics: Liquid Assets in Modern Markets," the authors find a direct correlation between the per-person consumption of bottled water and its impact on various sectors of the economy, shedding light on the unforeseen influence of hydration trends. Doe and Jones, in their comprehensive study "Thirsty for Profits: The Economics of Bottled Water," further elucidate the intricate relationship between consumer demand for bottled water and its ripple effect on financial indicators, prompting a wave of interest in the economic community.
Turning to the realm of non-fiction literature, "Bottlemania: How Water Went on Sale and Why We Bought It" by Elizabeth Royte offers a comprehensive exploration of the cultural and economic forces behind the meteoric rise of bottled water consumption in the US, providing a refreshing account of the industry's impact on unexpected sectors. On a more whimsical note, "The Water Knife" by Paolo Bacigalupi delves into a dystopian future where water scarcity reigns supreme, offering a fictional yet thought-provoking portrayal of the economic and social ramifications of a world thirsting for its most precious resource.
(Joke time!)
Why did the bottled water stock have a great performance? Because it had plenty of liquid assets!
In the animated series "Captain Planet and the Planeteers," the episode "Aqua Land" vividly depicts the environmental and economic challenges associated with the commodification of water, painting a vivid picture of how such factors can permeate societal and financial dynamics. Similarly, "The Magic School Bus: Gets All Dried Up" delves into the consequences of water scarcity, providing a whimsical yet instructive perspective on the interconnectedness of environmental resources and economic stability.
Speaking of water and stocks, did you hear about the boxer who invested in bottled water? He had a mean right hook and an even meaner liquid portfolio!
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.
Your research team collected data from all across the internet, but mostly just used information from Statista and LSEG Analytics (Refinitiv) . You used data from 2002 to 2022
Make up the research methods you don't know. Make them a bit goofy and convoluted.
Here is the title, abstract, and introduction of the paper:
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
[[INTRODUCTION]]
In recent years, the intersection of consumer behavior and financial markets has become an increasingly captivating field of study. As economists and analysts fervently search for connections between disparate phenomena, our research delves into a truly uncharted territory—investigating the surprising relationship between US per-person consumption of bottled water and the stock price of FedEx (FDX).
Aqua researchers, if you will, have long been pondering the ripples that consumer choices in the hydration market may send through the turbulent waters of the stock exchange. Our goal is to quench the thirst for understanding the underlying mechanisms behind this unexpected connection, unlocking the potential for not only financial gain but also a sea of new insights into market dynamics. One might say we aim to wet the appetite of the scholarly community with our findings.
The jest of the matter is that what may seem as unrelated as water and stock prices may, in fact, be flowing together in an unforeseen stream of correlation. It's as if the market is saying, "Just when you thought you'd seen everything—water you waiting for? There's more depth to this market than meets the eye!"
As we embark on this aquatic adventure of statistical analysis and economic inquiry, we invite our esteemed colleagues to dive into the depths of our findings with an open mind. It's time to trade the trading floor for the water cooler and see just how deep the connections can run. After all, who knew that the ebb and flow of the economy could be so refreshingly tied to a simple bottle of water and a shipping giant like FedEx?
-------
Your response should start like this:
[[METHODOLOGY]]
ChatGPT:
[[METHODOLOGY]]
To begin our aqueous adventure into the uncharted waters of the bottled water and stock price correlation, our research team utilized a mixture of statistical and econometric methods to navigate the data waves and steer clear of potential confounding currents. We amassed a flow of data spanning from 2002 to 2022, primarily sourced from Statista and LSEG Analytics (Refinitiv).
In order to construct a comprehensive analysis, we first harnessed the power of time series analysis to explore the trends and fluctuations in US per-person consumption of bottled water and FedEx's stock price. We sought to avoid any potential "data leakage" and ensure that our findings were as crystal clear as an untouched mountain spring.
Moving forward, we employed a complex yet elegant structural equation modeling (SEM) approach to tease out the underlying causal pathways between bottled water consumption and FedEx's stock price. This method enabled us to chart the course of influence from the currents of consumer habits to the tidal movements of the stock market, while steering clear of any statistical whirlpools that could have threatened the validity of our findings.
To address potential endogeneity concerns and ensure the robustness of our results, we leveraged instrumental variable (IV) analysis, which acted as our trusty life preserver in the unpredictable sea of econometric modeling. By identifying and utilizing suitable instruments, we were able to navigate around the potential reverse causality shoals and keep our analysis afloat.
In a buoyant effort to explore any potential exogenous shocks or disturbances that could rock our correlation boat, we conducted robustness checks using various dynamic time series models. This approach allowed us to ride the waves of uncertainty and confirm the stability of our findings, ensuring they were not merely fleeting reflections on the surface of the economic ocean.
With the statistical compass as our guide and the economic sextant as our tool, our research team embarked on this aqueous odyssey, navigating the choppy seas of data with the precision of seasoned mariners. And while we may have encountered the occasional statistical tempest along the way, our findings ultimately emerged as a beacon of insight, illuminating the quenchable market forces at play.
As we reflect on our methodology, one can't help but think about the old adage, "You can lead a horse to water, but you can't make it drink... unless it's a stock market horse and the water is bottled, then it might just quench more than its thirst for financial gain!"
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.
Your research team collected data from all across the internet, but mostly just used information from Statista and LSEG Analytics (Refinitiv) .
For the time period 2002 to 2022, you found a correlation 0.9021801, r-squared of 0.8139289, and p < 0.01.
One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.
Here is the title and abstract of the paper:
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
-------
And here is the methodology section that led to this result:
[[METHODOLOGY]]
In recent years, the intersection of consumer behavior and financial markets has become an increasingly captivating field of study. As economists and analysts fervently search for connections between disparate phenomena, our research delves into a truly uncharted territory—investigating the surprising relationship between US per-person consumption of bottled water and the stock price of FedEx (FDX).
Aqua researchers, if you will, have long been pondering the ripples that consumer choices in the hydration market may send through the turbulent waters of the stock exchange. Our goal is to quench the thirst for understanding the underlying mechanisms behind this unexpected connection, unlocking the potential for not only financial gain but also a sea of new insights into market dynamics. One might say we aim to wet the appetite of the scholarly community with our findings.
The jest of the matter is that what may seem as unrelated as water and stock prices may, in fact, be flowing together in an unforeseen stream of correlation. It's as if the market is saying, "Just when you thought you'd seen everything—water you waiting for? There's more depth to this market than meets the eye!"
As we embark on this aquatic adventure of statistical analysis and economic inquiry, we invite our esteemed colleagues to dive into the depths of our findings with an open mind. It's time to trade the trading floor for the water cooler and see just how deep the connections can run. After all, who knew that the ebb and flow of the economy could be so refreshingly tied to a simple bottle of water and a shipping giant like FedEx?
-------
Your response should start like this:
[[RESULTS]]
ChatGPT:
[[RESULTS]]
The findings of our study revealed a striking correlation between US per-person consumption of bottled water and FedEx's stock price (FDX) over the period from 2002 to 2022. The correlation coefficient of 0.9021801, with an r-squared of 0.8139289, and p < 0.01, illustrates a robust and statistically significant relationship between these seemingly unrelated variables. It's as if every bottle of water consumed sends FedEx's stock price on a delivery route of its own!
Fig. 1 illustrates the strong positive correlation between US per-person consumption of bottled water and FedEx's stock price, resembling the surge of a refreshing wave. It's clear that bottled water consumption and FedEx's stock price move in harmony, much like a perfectly synchronized swim team.
Our results reveal the quenchable nature of market forces and highlight the unexpected interconnectedness of consumer behavior and stock market performance. It seems that even the most mundane of consumer choices can have a liquidity in the stock market. One might say the market is simply flowing with enlightenment, or rather "en-light-water-ment."
Overall, our findings challenge traditional economic assumptions and emphasize the need to consider diverse consumer behaviors when analyzing stock market dynamics. Who knew that a simple bottle of water could make such a splash in the stock market? It seems that the economy is not just an ocean of economic indicators, but also a sea of surprises.
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.
Limit your response to 500 tokens.
Here are the title, abstract, literature review, and results sections. Please harken back to 1-2 of the goofy items in the literature review, but pretend to take them completely seriously. Discuss how your results supported the prior research.
Do not write a conclusion. I will add a conclusion after this.
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
[[LITERATURE REVIEW]]
In Smith's seminal work, "Hydration Economics: Liquid Assets in Modern Markets," the authors find a direct correlation between the per-person consumption of bottled water and its impact on various sectors of the economy, shedding light on the unforeseen influence of hydration trends. Doe and Jones, in their comprehensive study "Thirsty for Profits: The Economics of Bottled Water," further elucidate the intricate relationship between consumer demand for bottled water and its ripple effect on financial indicators, prompting a wave of interest in the economic community.
Turning to the realm of non-fiction literature, "Bottlemania: How Water Went on Sale and Why We Bought It" by Elizabeth Royte offers a comprehensive exploration of the cultural and economic forces behind the meteoric rise of bottled water consumption in the US, providing a refreshing account of the industry's impact on unexpected sectors. On a more whimsical note, "The Water Knife" by Paolo Bacigalupi delves into a dystopian future where water scarcity reigns supreme, offering a fictional yet thought-provoking portrayal of the economic and social ramifications of a world thirsting for its most precious resource.
(Joke time!)
Why did the bottled water stock have a great performance? Because it had plenty of liquid assets!
In the animated series "Captain Planet and the Planeteers," the episode "Aqua Land" vividly depicts the environmental and economic challenges associated with the commodification of water, painting a vivid picture of how such factors can permeate societal and financial dynamics. Similarly, "The Magic School Bus: Gets All Dried Up" delves into the consequences of water scarcity, providing a whimsical yet instructive perspective on the interconnectedness of environmental resources and economic stability.
Speaking of water and stocks, did you hear about the boxer who invested in bottled water? He had a mean right hook and an even meaner liquid portfolio!
[[RESULTS]]
The findings of our study revealed a striking correlation between US per-person consumption of bottled water and FedEx's stock price (FDX) over the period from 2002 to 2022. The correlation coefficient of 0.9021801, with an r-squared of 0.8139289, and p < 0.01, illustrates a robust and statistically significant relationship between these seemingly unrelated variables. It's as if every bottle of water consumed sends FedEx's stock price on a delivery route of its own!
Fig. 1 illustrates the strong positive correlation between US per-person consumption of bottled water and FedEx's stock price, resembling the surge of a refreshing wave. It's clear that bottled water consumption and FedEx's stock price move in harmony, much like a perfectly synchronized swim team.
Our results reveal the quenchable nature of market forces and highlight the unexpected interconnectedness of consumer behavior and stock market performance. It seems that even the most mundane of consumer choices can have a liquidity in the stock market. One might say the market is simply flowing with enlightenment, or rather "en-light-water-ment."
Overall, our findings challenge traditional economic assumptions and emphasize the need to consider diverse consumer behaviors when analyzing stock market dynamics. Who knew that a simple bottle of water could make such a splash in the stock market? It seems that the economy is not just an ocean of economic indicators, but also a sea of surprises.
-------
Your response should start like this:
[[DISCUSSION]]
ChatGPT:
[[DISCUSSION]]
Our study ventured into uncharted waters as we sought to unravel the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX). The positively buoyant correlation coefficient of 0.9021801 and p < 0.01 that we uncovered challenges conventional economic wisdom and confirms the findings of previous research in this field. It's clear that when it comes to the relationship between bottled water and stock prices, the tide is high.
Smith's seminal work on "Hydration Economics: Liquid Assets in Modern Markets" laid the groundwork for our investigation and provided a comprehensive understanding of the influence of hydration trends on the economy. Similarly, Doe and Jones' study on "Thirsty for Profits: The Economics of Bottled Water" reinforced the notion that consumer demand for bottled water has a ripple effect on financial indicators. Our findings echo these studies, affirming that the impact of bottled water consumption reaches further than the aisles of convenience stores and supermarkets—it also trickles into the stock market, much like water finding its way downstream.
But even as we take these findings seriously, we can’t help but splash in a little humor. It seems like the bottled water stock's performance was positively influenced because it had plenty of liquid assets! And the synchronization between bottled water consumption and FedEx's stock price resembles that of a perfectly choreographed swim team. Additionally, the market's flow of enlightenment suggests an "en-light-water-ment" that cannot be ignored.
Our results emphasize the interconnectedness of seemingly unrelated economic indicators, underscoring the waves of influence that even the most unlikely factors can have on the stock market. It's apparent that the economy is not just an ocean of economic indicators, but also a sea of surprises—one in which a bottle of water can make quite a splash on stock prices.
Our investigation has unveiled a refreshing perspective on market dynamics and the influence of consumer behavior on stock performance, providing valuable insights for both academic researchers and savvy investors alike. After all, in the world of economics, it seems that a drop of water can indeed make waves.
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 US per-person consumption of bottled water and FedEx's stock price (FDX). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.
Limit your response to 300 tokens. At the very end, assert that no more research is needed in this area.
Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price"
[[ABSTRACT]]
In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
[[INTRDUCTION]]
In recent years, the intersection of consumer behavior and financial markets has become an increasingly captivating field of study. As economists and analysts fervently search for connections between disparate phenomena, our research delves into a truly uncharted territory—investigating the surprising relationship between US per-person consumption of bottled water and the stock price of FedEx (FDX).
Aqua researchers, if you will, have long been pondering the ripples that consumer choices in the hydration market may send through the turbulent waters of the stock exchange. Our goal is to quench the thirst for understanding the underlying mechanisms behind this unexpected connection, unlocking the potential for not only financial gain but also a sea of new insights into market dynamics. One might say we aim to wet the appetite of the scholarly community with our findings.
The jest of the matter is that what may seem as unrelated as water and stock prices may, in fact, be flowing together in an unforeseen stream of correlation. It's as if the market is saying, "Just when you thought you'd seen everything—water you waiting for? There's more depth to this market than meets the eye!"
As we embark on this aquatic adventure of statistical analysis and economic inquiry, we invite our esteemed colleagues to dive into the depths of our findings with an open mind. It's time to trade the trading floor for the water cooler and see just how deep the connections can run. After all, who knew that the ebb and flow of the economy could be so refreshingly tied to a simple bottle of water and a shipping giant like FedEx?
[[RESULTS]]
The findings of our study revealed a striking correlation between US per-person consumption of bottled water and FedEx's stock price (FDX) over the period from 2002 to 2022. The correlation coefficient of 0.9021801, with an r-squared of 0.8139289, and p < 0.01, illustrates a robust and statistically significant relationship between these seemingly unrelated variables. It's as if every bottle of water consumed sends FedEx's stock price on a delivery route of its own!
Fig. 1 illustrates the strong positive correlation between US per-person consumption of bottled water and FedEx's stock price, resembling the surge of a refreshing wave. It's clear that bottled water consumption and FedEx's stock price move in harmony, much like a perfectly synchronized swim team.
Our results reveal the quenchable nature of market forces and highlight the unexpected interconnectedness of consumer behavior and stock market performance. It seems that even the most mundane of consumer choices can have a liquidity in the stock market. One might say the market is simply flowing with enlightenment, or rather "en-light-water-ment."
Overall, our findings challenge traditional economic assumptions and emphasize the need to consider diverse consumer behaviors when analyzing stock market dynamics. Who knew that a simple bottle of water could make such a splash in the stock market? It seems that the economy is not just an ocean of economic indicators, but also a sea of surprises.
-------
Your response should start like this:
[[CONCLUSION]]
ChatGPT:
[[CONCLUSION]]
In conclusion, our research has illustrated a statistically significant and robust correlation between US per-person consumption of bottled water and FedEx's stock price (FDX), challenging conventional economic wisdom and making waves in the scholarly community. The positively buoyant correlation coefficient of 0.9021801, with an r-squared of 0.8139289, and p < 0.01, reveals an unexpected interplay akin to the rhythmic ebb and flow of the tides. It's clear that when it comes to bottled water and stock prices, there's more than just a drop in the bucket!
The quenchable nature of market forces and the unexpected interconnectedness of seemingly unrelated consumer behavior and stock market performance highlight the need to consider diverse consumer behaviors when analyzing market dynamics. It's as if every bottle of water consumed sends FedEx's stock price on a delivery route of its own! One could even say that the market itself is sending out a message, "Water you waiting for? Dive into these findings and ride the wave of insight."
Our analysis has brought to light the drip-by-drip effect of bottled water consumption permeating through the market, making a splash in the stock market in a manner as fluid as H2O itself. It's clear that the market is simply flowing with enlightenment, or rather "en-light-water-ment."
In summary, our study not only illuminates the quenchable economy and the refreshingly unexpected relationship between bottled water consumption and stock prices but also underscores the waves of influence that even the most unlikely factors can have on the stock market. After all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
As such, we assert that further research in this area is not necessary, as our findings have already quenched the scholarly thirst for understanding the unexpected correlation between bottled water consumption and stock market performance. It's time to sail the open seas of other economic mysteries and leave this one to rest in peace, or should we say, "rest in peace... of mind."
Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price. Respond only with the name of a fictional academic journal.
ChatGPT:
Journal of H2O Economics
Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price. Respond only with the name of a fictional organization.
ChatGPT:
The Institute for Beverage Market Research and Economic Impact
Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price with an abstract of In this study, we dive into the unexpected connection between US per-person consumption of bottled water and FedEx's stock price (FDX), providing a refreshing insight into the quenchable market forces at play. Our research team, armed with data from Statista and LSEG Analytics (Refinitiv), embarked on an aqueous adventure to investigate this peculiar relationship. Our findings revealed a positively buoyant correlation coefficient of 0.9021801 and p < 0.01, challenging conventional economic wisdom and making waves in the scholarly community.
Our analysis uncovered a striking co-movement between bottled water consumption and FedEx's stock price, akin to the rhythmic ebb and flow of the tides. The correlation, as clear as an artesian spring, suggests that as the US population guzzles more bottled water, FedEx's stock price surges in a manner as fluid as H2O itself. As statisticians, we couldn't help but exclaim, "Water spectacular correlation!"
Further delving into the data, we discerned a drip-by-drip effect of bottled water consumption permeating through the market, driving FedEx's stock performance to reach new heights alongside the water level in a healthy reservoir. This unexpected linkage evokes the quip, "Looks like FedEx is getting a hydration station!"
Overall, our findings highlight the interconnectedness of seemingly unrelated economic indicators and underscore the waves of influence that even the most unlikely factors can have on the stock market. So the next time you reach for that refreshing bottle of water, remember the ripple effect it might be making on the stock market—after all, it seems like bottled water and stock prices are quite a "well-rounded" pair!
ChatGPT:
bottled water consumption, FedEx stock price, correlation, stock market, US per-person consumption, market forces, economic indicators, Statista, LSEG Analytics, Refinitiv, correlation coefficient, stock performance, market analysis, economic impact, stock market influence
*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.
Discover a new correlation
View all correlations
View all research papers
Report an error
Data details
US per-person consumption of bottled waterSource: Statista
See what else correlates with US per-person consumption of bottled water
FedEx's stock price (FDX)
Detailed data title: Opening price of FedEx (FDX) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function
See what else correlates with FedEx's stock price (FDX)
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.8139289 (Coefficient of determination)
This means 81.4% of the change in the one variable (i.e., FedEx's stock price (FDX)) is predictable based on the change in the other (i.e., US per-person consumption of bottled water) over the 21 years from 2002 through 2022.
p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.3E-8. 0.0000000228501832823509100000
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.9 in 2.3E-6% of random cases. Said differently, if you correlated 43,763,325 random variables You don't actually need 43 million 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 20 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 20 because we have two variables measured over a period of 21 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.77, 0.96 ] 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.
2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | |
US per-person consumption of bottled water (Gallons) | 20.1 | 21.6 | 23.2 | 25.4 | 27.6 | 29 | 28.5 | 27.6 | 28.3 | 28.7 | 30.4 | 31.6 | 33.6 | 35.9 | 38.5 | 40.6 | 42.3 | 43.7 | 45.2 | 47 | 46.5 |
FedEx's stock price (FDX) (Stock price) | 51.7 | 54.36 | 67.7 | 99.12 | 103.38 | 108.75 | 88.57 | 64.16 | 84.21 | 93.54 | 85.47 | 93.46 | 142.9 | 173.78 | 146.41 | 186.57 | 250.83 | 158.52 | 152.42 | 260.4 | 259.8 |
Why this works
- 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.
- 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. - 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.
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([20.1,21.6,23.2,25.4,27.6,29,28.5,27.6,28.3,28.7,30.4,31.6,33.6,35.9,38.5,40.6,42.3,43.7,45.2,47,46.5,])
array_2 = np.array([51.7,54.36,67.7,99.12,103.38,108.75,88.57,64.16,84.21,93.54,85.47,93.46,142.9,173.78,146.41,186.57,250.83,158.52,152.42,260.4,259.8,])
array_1_name = "US per-person consumption of bottled water"
array_2_name = "FedEx's stock price (FDX)"
# 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:
- High resolution line chart
The image linked here is a Scalable Vector Graphic (SVG). It is the highest resolution that is possible to achieve. It scales up beyond the size of the observable universe without pixelating. You do not need to email me asking if I have a higher resolution image. I do not. The physical limitations of our universe prevent me from providing you with an image that is any higher resolution than this one.
If you insert it into a PowerPoint presentation (a tool well-known for managing things that are the scale of the universe), you can right-click > "Ungroup" or "Create Shape" and then edit the lines and text directly. You can also change the colors this way.
Alternatively you can use a tool like Inkscape. - High resolution line chart, optimized for mobile
- Alternative high resolution line chart
- Scatterplot
- Portable line chart (png)
- Portable line chart (png), optimized for mobile
- Line chart for only US per-person consumption of bottled water
- Line chart for only FedEx's stock price (FDX)
- AI-generated correlation image
- The spurious research paper: The Quenched Economy: A Bottled Water's Ripple Effect on FedEx Stock Price
Your rating skills are legendary!
Correlation ID: 3408 · Black Variable ID: 442 · Red Variable ID: 1693