about · email me · subscribe
Spurious correlation #2,233 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is US per-person consumption of bottled water and the second variable is Activision Blizzard's stock price (ATVI).  The chart goes from 2010 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As bottled water consumption rose, so did people's hand strength from all that constant water bottle squeezing. This inadvertently led to an improvement in video game performance, causing increased satisfaction and higher demand for Activision Blizzard's games, ultimately driving up their stock price. Remember, hydrated gamers are winning gamers!

Model: dalle-3
Prompt: Generate an image depicting a bustling city street with skyscrapers towering above. The street is filled with people going about their day, and the background is a blur of activity. In the foreground, a person is walking and holding a bottle of water while looking at their phone. Nearby, there is an electronic billboard displaying the fluctuating stock price of Activision Blizzard. The scene should capture the energy and movement of the city, while also drawing attention to the individual and the digital information displayed on the billboard. 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 Activision Blizzard's stock price. 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: Realistic Cutsy graphics Oragami Voxel art 3D Pixar Style
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 Activision Blizzard's stock price together. Keep the description simple.
ChatGPT: In a bustling city, a person walks down the street carrying a bottle of water while looking at their phone. On a nearby electronic billboard, the stock price of Activision Blizzard is displayed, fluctuating as the market changes.

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: In a bustling city, a person walks down the street carrying a bottle of water while looking at their phone. On a nearby electronic billboard, the stock price of Activision Blizzard is displayed, fluctuating as the market changes. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image depicting a bustling city street with skyscrapers towering above. The street is filled with people going about their day, and the background is a blur of activity. In the foreground, a person is walking and holding a bottle of water while looking at their phone. Nearby, there is an electronic billboard displaying the fluctuating stock price of Activision Blizzard. The scene should capture the energy and movement of the city, while also drawing attention to the individual and the digital information displayed on the billboard.

*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 US per-person consumption of bottled water caused Activision Blizzard's stock price (ATVI) to increase.

AI academic paper

(Because p < 0.01)
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

The Journal of Aquatic Economics and Market Trends

Jan 2024

Reminder: This paper is AI-generated. Not real!
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9269126 and p < 0.01 for 2010 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]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You draft the introduction section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the introduction section of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The relationship between consumer habits and stock prices has long been an object of fascination for economists, investors, and pun enthusiasts alike. The financial markets, like the ocean, are known for their capricious and undulating nature, affected by a multitude of factors ranging from economic indicators to whimsical investor sentiments. Similarly, consumer behavior, akin to the ebb and flow of tides, can exert a considerable influence on the performance of companies in the marketplace.

It is within this tempestuous sea of economic activity that our study sets sail, aiming to navigate the uncharted waters of the correlation between US per-person consumption of bottled water and the stock price of Activision Blizzard. Our intrepid crew, armed with data and statistical tools, has embarked upon this maritime adventure to uncover the hidden currents that link the refreshment in consumers' hands to the returns in investors' portfolios. Perhaps we will find that quenching one's thirst can also satisfy one's financial aspirations.

Speaking of thirst, did you hear about the water that entered a relationship with bubbles? It was a sparkling union! In a similar spirit of effervescence, we seek to unravel the effervescent connection between the hydration habits of a nation and the financial fortunes of a prominent entertainment company.

As we delve into these unknown depths, it is worthwhile to consider the theoretical underpinnings that might explain such an unexpected correlation. The traditional economic models, like old ships navigating the high seas, often struggle to account for the impact of seemingly unrelated variables on stock prices. However, as scholars, it is our duty to explore uncharted territories and see if our findings hold water, or in this case, bottled water.

Before proceeding further, it is essential to clarify that this investigation does not advocate for making investment decisions based on the latest water consumption trends. One must dive not only into the depths of statistical analysis but also consult professional financial advice before making any decisions. As the saying goes, "Don't put all your liquidity in one bottle." It is imperative to approach any investment opportunity - whether in H2O or stocks - with a cautious and well-informed outlook.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You draft a literature review section of an academic research paper, that starts out dry for the first few sentences but then becomes hilarious and goofy.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a literature review section of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). 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 you might move on to cartoons and children's shows that you watched for research.

Here is the title and abstract of the paper:
[[TITLE]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The relationship between consumer habits and stock prices has long been an object of fascination for economists, investors, and pun enthusiasts alike. The financial markets, like the ocean, are known for their capricious and undulating nature, affected by a multitude of factors ranging from economic indicators to whimsical investor sentiments. Similarly, consumer behavior, akin to the ebb and flow of tides, can exert a considerable influence on the performance of companies in the marketplace.
It is within this tempestuous sea of economic activity that our study sets sail, aiming to navigate the uncharted waters of the correlation between US per-person consumption of bottled water and the stock price of Activision Blizzard. Our intrepid crew, armed with data and statistical tools, has embarked upon this maritime adventure to uncover the hidden currents that link the refreshment in consumers' hands to the returns in investors' portfolios. Perhaps we will find that quenching one's thirst can also satisfy one's financial aspirations.
Speaking of thirst, did you hear about the water that entered a relationship with bubbles? It was a sparkling union! In a similar spirit of effervescence, we seek to unravel the effervescent connection between the hydration habits of a nation and the financial fortunes of a prominent entertainment company.
As we delve into these unknown depths, it is worthwhile to consider the theoretical underpinnings that might explain such an unexpected correlation. The traditional economic models, like old ships navigating the high seas, often struggle to account for the impact of seemingly unrelated variables on stock prices. However, as scholars, it is our duty to explore uncharted territories and see if our findings hold water, or in this case, bottled water.
Before proceeding further, it is essential to clarify that this investigation does not advocate for making investment decisions based on the latest water consumption trends. One must dive not only into the depths of statistical analysis but also consult professional financial advice before making any decisions. As the saying goes, "Don't put all your liquidity in one bottle." It is imperative to approach any investment opportunity - whether in H2O or stocks - with a cautious and well-informed outlook.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between consumer behavior and stock prices has been a subject of substantial academic interest. Smith et al. (2015) examined the influence of beverage consumption on financial markets, finding noteworthy correlations between coffee intake and the price of international commodities. Likewise, Doe and Jones (2018) investigated the impact of tea consumption on stock market volatility, revealing intriguing patterns in the fluctuations of tea prices and market indices. These studies underscore the interplay between seemingly mundane consumer choices and the complex dynamics of financial markets.

Moving from the realm of econometrics to the domain of cultural analysis, "Bottled Up: The Story of Liquid Commerce" (Robinson, 2017) provides a historical and anthropological exploration of human reliance on bottled beverages. The book delves into the societal implications of packaged liquids, emphasizing their symbolic and economic significance. Similarly, "Thirst for Success: A Quenched Quest for Market Mastery" (Garcia, 2019) offers a business perspective on the psychosocial aspects of consumer thirst, positing that the demand for hydration might influence investment decisions in surprising ways.

Transitioning from non-fiction to fictional works, the classic novel "The Water Wizard" (Maeterlinck, 1882) expounds on the mystical and transformative properties of water, offering allegorical insights into the enigmatic forces shaping human endeavors. Meanwhile, in the tantalizing world of detective fiction, "The Case of the Liquid Assets" (Brown, 1945) weaves a captivating narrative around the enigmatic link between a bottled water company and clandestine financial dealings, showcasing the mystery that surrounds the fusion of aqueous consumables and monetary pursuits.

Reflecting on a more lighthearted note, the animated television series "SpongeBob SquarePants" features an episode where a bottled water salesman creates ripples in the otherwise tranquil town of Bikini Bottom, elucidating the comical yet thought-provoking dynamics of consumer demand. Furthermore, the children's show "Blue's Clues" explores the wondrous world of liquids in its episode on water conservation, striking a chord with young audiences and highlighting the inherent value of this essential resource.

In unraveling the connection between US per-person consumption of bottled water and Activision Blizzard's stock price, the present study acknowledges the disparate sources that have contributed to the understanding of this peculiar association. These diverse perspectives serve to underscore the multifaceted nature of the interaction between consumer behavior and financial markets, offering a refreshing and at times whimsical lens through which to examine this intriguing correlation. As our investigation charts the uncharted waters of this connection, it is our hope that the fusion of levity and academic rigor will contribute to a more buoyant and engaging discourse within the research community.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You draft the methodology section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the methodology section of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Statista and LSEG Analytics (Refinitiv) . You used data from 2010 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]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

[[INTRODUCTION]]
The relationship between consumer habits and stock prices has long been an object of fascination for economists, investors, and pun enthusiasts alike. The financial markets, like the ocean, are known for their capricious and undulating nature, affected by a multitude of factors ranging from economic indicators to whimsical investor sentiments. Similarly, consumer behavior, akin to the ebb and flow of tides, can exert a considerable influence on the performance of companies in the marketplace.
It is within this tempestuous sea of economic activity that our study sets sail, aiming to navigate the uncharted waters of the correlation between US per-person consumption of bottled water and the stock price of Activision Blizzard. Our intrepid crew, armed with data and statistical tools, has embarked upon this maritime adventure to uncover the hidden currents that link the refreshment in consumers' hands to the returns in investors' portfolios. Perhaps we will find that quenching one's thirst can also satisfy one's financial aspirations.
Speaking of thirst, did you hear about the water that entered a relationship with bubbles? It was a sparkling union! In a similar spirit of effervescence, we seek to unravel the effervescent connection between the hydration habits of a nation and the financial fortunes of a prominent entertainment company.
As we delve into these unknown depths, it is worthwhile to consider the theoretical underpinnings that might explain such an unexpected correlation. The traditional economic models, like old ships navigating the high seas, often struggle to account for the impact of seemingly unrelated variables on stock prices. However, as scholars, it is our duty to explore uncharted territories and see if our findings hold water, or in this case, bottled water.
Before proceeding further, it is essential to clarify that this investigation does not advocate for making investment decisions based on the latest water consumption trends. One must dive not only into the depths of statistical analysis but also consult professional financial advice before making any decisions. As the saying goes, "Don't put all your liquidity in one bottle." It is imperative to approach any investment opportunity - whether in H2O or stocks - with a cautious and well-informed outlook.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

The present study employed a time-series analysis to scrutinize the relationship between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI) from 2010 to 2022. The data on bottled water consumption was derived from Statista, while the stock price information for Activision Blizzard was sourced from LSEG Analytics (Refinitiv). The use of data from 2010 to 2022 allowed for a comprehensive investigation encompassing various market conditions and consumer trends.

To conduct this investigation, the research team implemented a cleverly concocted statistical brew of methodologies, including bivariate correlation analysis, time-series regression modeling, and a sprinkle of unconventional data alchemy. This intricate blend of methods aimed to depict the dynamic interplay between the consumption of chilled aqua vitae and the financial performance of a leading video game company.

Before diving into the statistical depths, the data underwent rigorous cleansing and metamorphosis to ensure its suitability for analysis. Outliers were carefully examined, akin to scrutinizing the odd fish in a sea of data points, and were either transformed or given their due consideration in the subsequent analyses.

Following this meticulous preparation, the relationship between US per-person consumption of bottled water and Activision Blizzard's stock price was explored using correlation analysis. This initial foray allowed for the quantification of the degree and direction of association between the two variables. The results provided a striking correlation coefficient of 0.9269126, prompting even the strictest of statistical purists to raise an impressed eyebrow.

Next, to disentangle the temporal dynamics at play, time-series regression models were employed to illuminate the potential causality between bottled water consumption and ATVI stock prices. These models, reminiscent of carefully constructed sailing charts, guided the research through the choppy waters of time to discern whether fluctuations in bottled water consumption preceded, followed, or coincided with movements in the stock price of Activision Blizzard.

After navigating these methodological waters, the study hauled in a statistically significant p-value of less than 0.01, compelling murmurs of disbelief from the most seasoned of data analysts. This compelling finding pointed to the rare nature of the relationship between bottled water consumption and ATVI stock prices in a manner that cannot be dismissed as mere statistical flotsam.

In summary, the methodology encompassed a multifaceted approach, combining statistical acumen, data refinement, and a touch of whimsy to bring to light the unexpected intersection of bottled water consumption and stock market performance. As the saying goes, "When life gives you data, make statistical lemonade."


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You draft the results section of an academic research paper. You speak in the past tense (you found...).
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the results section of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 2010 to 2022, you found a correlation 0.9269126, r-squared of 0.8591669, 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]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The relationship between consumer habits and stock prices has long been an object of fascination for economists, investors, and pun enthusiasts alike. The financial markets, like the ocean, are known for their capricious and undulating nature, affected by a multitude of factors ranging from economic indicators to whimsical investor sentiments. Similarly, consumer behavior, akin to the ebb and flow of tides, can exert a considerable influence on the performance of companies in the marketplace.
It is within this tempestuous sea of economic activity that our study sets sail, aiming to navigate the uncharted waters of the correlation between US per-person consumption of bottled water and the stock price of Activision Blizzard. Our intrepid crew, armed with data and statistical tools, has embarked upon this maritime adventure to uncover the hidden currents that link the refreshment in consumers' hands to the returns in investors' portfolios. Perhaps we will find that quenching one's thirst can also satisfy one's financial aspirations.
Speaking of thirst, did you hear about the water that entered a relationship with bubbles? It was a sparkling union! In a similar spirit of effervescence, we seek to unravel the effervescent connection between the hydration habits of a nation and the financial fortunes of a prominent entertainment company.
As we delve into these unknown depths, it is worthwhile to consider the theoretical underpinnings that might explain such an unexpected correlation. The traditional economic models, like old ships navigating the high seas, often struggle to account for the impact of seemingly unrelated variables on stock prices. However, as scholars, it is our duty to explore uncharted territories and see if our findings hold water, or in this case, bottled water.
Before proceeding further, it is essential to clarify that this investigation does not advocate for making investment decisions based on the latest water consumption trends. One must dive not only into the depths of statistical analysis but also consult professional financial advice before making any decisions. As the saying goes, "Don't put all your liquidity in one bottle." It is imperative to approach any investment opportunity - whether in H2O or stocks - with a cautious and well-informed outlook.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis revealed a strong positive correlation between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI) for the years 2010 to 2022, with a correlation coefficient of 0.9269126. This finding suggests a remarkably robust relationship between these seemingly disparate variables. It seems that a rising tide of bottled water consumption indeed lifted the stock price of Activision Blizzard, perhaps washing away any doubts about the connection.

Furthermore, the coefficient of determination (r-squared) was found to be 0.8591669, indicating that approximately 85.92% of the variance in Activision Blizzard's stock price can be explained by changes in US per-person bottled water consumption. It appears that the influence of this variable flows like a steady stream, shaping the financial performance of the company.

The p-value of less than 0.01 provides strong evidence against the null hypothesis, underscoring the statistical significance of the relationship. This result indicates that the observed correlation is unlikely to have occurred by chance, presenting a compelling case for further examination into this unexpected association. As they say, "Water under the bridge? Not so fast - there's something fishy going on here!"

The significant correlation is visually depicted in Fig. 1, which illustrates a scatterplot of the two variables. The plot unmistakably demonstrates a pattern resembling the ebb and flow of waves, mirroring the fluctuations in US bottled water consumption with the undulations of Activision Blizzard's stock price. This alignment is so crystal clear it's as if the data points were bottled and labeled for easy consumption.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You draft the discussion section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the discussion section of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

Here are the title, abstract, literature review, and results sections. Please harken back to 1-2 of the goofy items in the literature review, but pretend to take them completely seriously. Discuss how your results supported the prior research.

Do not write a conclusion. I will add a conclusion after this.

[[TITLE]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

[[LITERATURE REVIEW]]
The connection between consumer behavior and stock prices has been a subject of substantial academic interest. Smith et al. (2015) examined the influence of beverage consumption on financial markets, finding noteworthy correlations between coffee intake and the price of international commodities. Likewise, Doe and Jones (2018) investigated the impact of tea consumption on stock market volatility, revealing intriguing patterns in the fluctuations of tea prices and market indices. These studies underscore the interplay between seemingly mundane consumer choices and the complex dynamics of financial markets.
Moving from the realm of econometrics to the domain of cultural analysis, "Bottled Up: The Story of Liquid Commerce" (Robinson, 2017) provides a historical and anthropological exploration of human reliance on bottled beverages. The book delves into the societal implications of packaged liquids, emphasizing their symbolic and economic significance. Similarly, "Thirst for Success: A Quenched Quest for Market Mastery" (Garcia, 2019) offers a business perspective on the psychosocial aspects of consumer thirst, positing that the demand for hydration might influence investment decisions in surprising ways.
Transitioning from non-fiction to fictional works, the classic novel "The Water Wizard" (Maeterlinck, 1882) expounds on the mystical and transformative properties of water, offering allegorical insights into the enigmatic forces shaping human endeavors. Meanwhile, in the tantalizing world of detective fiction, "The Case of the Liquid Assets" (Brown, 1945) weaves a captivating narrative around the enigmatic link between a bottled water company and clandestine financial dealings, showcasing the mystery that surrounds the fusion of aqueous consumables and monetary pursuits.
Reflecting on a more lighthearted note, the animated television series "SpongeBob SquarePants" features an episode where a bottled water salesman creates ripples in the otherwise tranquil town of Bikini Bottom, elucidating the comical yet thought-provoking dynamics of consumer demand. Furthermore, the children's show "Blue's Clues" explores the wondrous world of liquids in its episode on water conservation, striking a chord with young audiences and highlighting the inherent value of this essential resource.
In unraveling the connection between US per-person consumption of bottled water and Activision Blizzard's stock price, the present study acknowledges the disparate sources that have contributed to the understanding of this peculiar association. These diverse perspectives serve to underscore the multifaceted nature of the interaction between consumer behavior and financial markets, offering a refreshing and at times whimsical lens through which to examine this intriguing correlation. As our investigation charts the uncharted waters of this connection, it is our hope that the fusion of levity and academic rigor will contribute to a more buoyant and engaging discourse within the research community.

[[RESULTS]]
The analysis revealed a strong positive correlation between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI) for the years 2010 to 2022, with a correlation coefficient of 0.9269126. This finding suggests a remarkably robust relationship between these seemingly disparate variables. It seems that a rising tide of bottled water consumption indeed lifted the stock price of Activision Blizzard, perhaps washing away any doubts about the connection.
Furthermore, the coefficient of determination (r-squared) was found to be 0.8591669, indicating that approximately 85.92% of the variance in Activision Blizzard's stock price can be explained by changes in US per-person bottled water consumption. It appears that the influence of this variable flows like a steady stream, shaping the financial performance of the company.
The p-value of less than 0.01 provides strong evidence against the null hypothesis, underscoring the statistical significance of the relationship. This result indicates that the observed correlation is unlikely to have occurred by chance, presenting a compelling case for further examination into this unexpected association. As they say, "Water under the bridge? Not so fast - there's something fishy going on here!"
The significant correlation is visually depicted in Fig. 1, which illustrates a scatterplot of the two variables. The plot unmistakably demonstrates a pattern resembling the ebb and flow of waves, mirroring the fluctuations in US bottled water consumption with the undulations of Activision Blizzard's stock price. This alignment is so crystal clear it's as if the data points were bottled and labeled for easy consumption.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study confirm the presence of a striking and statistically significant positive correlation between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI) for the years 2010 to 2022. These findings are consistent with prior research that has delved into the curious interplay between seemingly mundane consumer choices and the complex dynamics of financial markets.

The correlation coefficient of 0.9269126 indicates a remarkably robust relationship between these variables, suggesting that a rising tide of bottled water consumption indeed lifted the stock price of Activision Blizzard, buoying investor confidence. It seems that in the realm of investment strategies, staying hydrated may indeed be the key to staying profitable. One might even say that these stock prices were making quite a splash in response to the surging consumption of bottled water.

Moreover, the coefficient of determination (r-squared) of 0.8591669 highlights that approximately 85.92% of the variance in Activision Blizzard's stock price can be explained by changes in US per-person bottled water consumption. This statistic underscores the influential role that the variable of water consumption plays in shaping the financial performance of the company. It's as if the stock prices were dancing to the tune of water consumption, proving that, much like water, financial markets can take on the shape of their container.

The significant p-value of less than 0.01 further supports the strength and reliability of the observed correlation. This result not only validates the robustness of the relationship but also calls for continued exploration into this curious association. As the data suggest, the link between bottled water consumption and stock prices is not something to be dismissed lightly just like water under the bridge, as there seems to be something fishy going on - and investors are drinking it up.

In conclusion, our study adds to the growing body of literature that underscores the unexpected and captivating ways in which consumer behavior intersects with financial markets. The fusion of liquid refreshments and stock price movements may seem quixotic, yet our findings underscore the need for further exploration into the ripple effects of consumer choices on investment outcomes. As the saying goes, when it comes to investment strategies, it seems that staying abreast of consumer trends might just be the crystal-clear strategy for success.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You draft the discussion section of goofy academic research papers that sounds like it belongs based on the title and abstract provided.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a short conclusion of an academic research paper presenting the findings of the connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 300 tokens. At the very end, assert that no more research is needed in this area.

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price

[[ABSTRACT]]
The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.

In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

[[INTRDUCTION]]
The relationship between consumer habits and stock prices has long been an object of fascination for economists, investors, and pun enthusiasts alike. The financial markets, like the ocean, are known for their capricious and undulating nature, affected by a multitude of factors ranging from economic indicators to whimsical investor sentiments. Similarly, consumer behavior, akin to the ebb and flow of tides, can exert a considerable influence on the performance of companies in the marketplace.
It is within this tempestuous sea of economic activity that our study sets sail, aiming to navigate the uncharted waters of the correlation between US per-person consumption of bottled water and the stock price of Activision Blizzard. Our intrepid crew, armed with data and statistical tools, has embarked upon this maritime adventure to uncover the hidden currents that link the refreshment in consumers' hands to the returns in investors' portfolios. Perhaps we will find that quenching one's thirst can also satisfy one's financial aspirations.
Speaking of thirst, did you hear about the water that entered a relationship with bubbles? It was a sparkling union! In a similar spirit of effervescence, we seek to unravel the effervescent connection between the hydration habits of a nation and the financial fortunes of a prominent entertainment company.
As we delve into these unknown depths, it is worthwhile to consider the theoretical underpinnings that might explain such an unexpected correlation. The traditional economic models, like old ships navigating the high seas, often struggle to account for the impact of seemingly unrelated variables on stock prices. However, as scholars, it is our duty to explore uncharted territories and see if our findings hold water, or in this case, bottled water.
Before proceeding further, it is essential to clarify that this investigation does not advocate for making investment decisions based on the latest water consumption trends. One must dive not only into the depths of statistical analysis but also consult professional financial advice before making any decisions. As the saying goes, "Don't put all your liquidity in one bottle." It is imperative to approach any investment opportunity - whether in H2O or stocks - with a cautious and well-informed outlook.

[[RESULTS]]
The analysis revealed a strong positive correlation between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI) for the years 2010 to 2022, with a correlation coefficient of 0.9269126. This finding suggests a remarkably robust relationship between these seemingly disparate variables. It seems that a rising tide of bottled water consumption indeed lifted the stock price of Activision Blizzard, perhaps washing away any doubts about the connection.
Furthermore, the coefficient of determination (r-squared) was found to be 0.8591669, indicating that approximately 85.92% of the variance in Activision Blizzard's stock price can be explained by changes in US per-person bottled water consumption. It appears that the influence of this variable flows like a steady stream, shaping the financial performance of the company.
The p-value of less than 0.01 provides strong evidence against the null hypothesis, underscoring the statistical significance of the relationship. This result indicates that the observed correlation is unlikely to have occurred by chance, presenting a compelling case for further examination into this unexpected association. As they say, "Water under the bridge? Not so fast - there's something fishy going on here!"
The significant correlation is visually depicted in Fig. 1, which illustrates a scatterplot of the two variables. The plot unmistakably demonstrates a pattern resembling the ebb and flow of waves, mirroring the fluctuations in US bottled water consumption with the undulations of Activision Blizzard's stock price. This alignment is so crystal clear it's as if the data points were bottled and labeled for easy consumption.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unveiled a compelling relationship between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). The findings suggest that as the tide of bottled water consumption rises, it may lift the digital entertainment company's stock price as well. It seems that staying hydrated may not only benefit one's health but also one's investment portfolio. Talk about a liquid asset! This unexpected correlation between a nation's thirst and a company's stock performance prompts further exploration into the intersection of hydration and finance.

No further research is needed in this area. After all, when it comes to uncovering the link between bottled water consumption and stock prices, this study has already made a splash!


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 Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Aquatic Economics and Market Trends


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 Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Aquatic Financial Analysis and 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 Thirsty for Profit: An Aquatic Analysis of the Relationship Between US Bottled Water Consumption and Activision Blizzard's Stock Price with an abstract of The present study delves into the curious connection between US per-person consumption of bottled water and Activision Blizzard's stock price (ATVI). Our research team used data from Statista and LSEG Analytics (Refinitiv) to assess this nagging question. The analysis revealed a striking correlation coefficient of 0.9269126 and a statistically significant p-value of less than 0.01 for the years 2010 to 2022.
In exploring this intriguing relationship, we found that as the consumption of bottled water in the US surged, so did the stock price of Activision Blizzard. The findings suggest that perhaps a rising tide of bottled water consumption may lift all boats, even those sailing in the digital entertainment sector. It seems that when it comes to investment strategies, staying hydrated may indeed be the key to staying profitable. As the old saying goes, "Water you waiting for? Dive into the stock market and make a splash with your investments!" Our study sheds light on this unexpected correlation and invites further investigation into the intersection of liquid refreshments and financial markets.

ChatGPT:

US bottled water consumption, Activision Blizzard stock price, correlation, analysis, Statista, LSEG Analytics, Refinitiv, investment strategies, liquid refreshments, financial markets

*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

US per-person consumption of bottled water
Source: Statista
See what else correlates with US per-person consumption of bottled water

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

See what else correlates with Activision Blizzard's stock price (ATVI)

Correlation r = 0.9269126 (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.8591669 (Coefficient of determination)
This means 85.9% of the change in the one variable (i.e., Activision Blizzard's stock price (ATVI)) is predictable based on the change in the other (i.e., US per-person consumption of bottled water) over the 13 years from 2010 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.2E-6. 0.0000052105876475450680000000
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.93 in 0.00052% of random cases. Said differently, if you correlated 191,917 random variables You don't actually need 191 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 12 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 12 because we have two variables measured over a period of 13 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.98 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2010201120122013201420152016201720182019202020212022
US per-person consumption of bottled water (Gallons)28.328.730.431.633.635.938.540.642.343.745.24746.5
Activision Blizzard's stock price (ATVI) (Stock price)11.2312.5712.4610.8517.9120.2438.0536.4463.5445.2559.9192.766.44




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([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([11.23,12.57,12.46,10.85,17.91,20.24,38.05,36.44,63.54,45.25,59.91,92.7,66.44,])
array_1_name = "US per-person consumption of bottled water"
array_2_name = "Activision Blizzard's stock price (ATVI)"

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

You're the correlation whisperer we needed!


Correlation ID: 2233 · Black Variable ID: 442 · Red Variable ID: 1676
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0