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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of food scientists and technologists in Kansas 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 more food scientists and technologists flocked to Kansas, they inadvertently discovered a new way to create a revolutionary snack chip. This chip, when consumed by gamers, inexplicably boosted their skill levels and performance in Activision Blizzard's games. As word spread, demand for the snack chip soared, leading to record-breaking sales of Activision Blizzard's games and ultimately causing their stock price to skyrocket. Remember, when it comes to stock prices, sometimes it's all about finding the perfect combination of skill and snack!

Model: dalle-3
Prompt: Scene: A modern laboratory setting in a bustling Kansas City is bustling with activity. The laboratory is equipped with pristine stainless-steel countertops and a variety of high-tech equipment. In the forefront of the laboratory, a group of food scientists and technologists are deeply engrossed in their work, experimenting with colorful ingredients and cutting-edge equipment, exuding an air of excitement and determination. In the background, a large projection screen displays the stock price graph of Activision Blizzard, portraying a dramatic downward trend reminiscent of a pretzel shape. The investors gathered around the screen wear worried expressions, as if they've just tasted something too salty, reflecting a palpable dip in confidence. The room buzzes with the contrasting energies of innovation and concern, symbolizing the intersecting worlds of culinary creativity and financial uncertainty. The creative energy of the laboratory is juxtaposed with the apprehensive aura of the investors, capturing the dynamic and competing forces at play in this stimulating environment. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: A scene from Skyrim Surrealism Parallax art A scene from Skyrim A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s
ChatGPT: A scene from Skyrim

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI), in the following situation: The rise in food scientists and technologists in Kansas created a stir in the snack industry, leading to a pretzel-like effect on the stock price as investors were left feeling a little bit salty about the competition for their dough. It's as if the market was experiencing a dip in confidence, and the stock just couldn't ketchup to the performance of other companies. In the end, it all boiled down to a kernel issue that left everyone in a popcornundrum.. Keep the description simple.
ChatGPT: In a bustling Kansas city, a group of food scientists and technologists collaborates in a state-of-the-art laboratory, working on innovative snack recipes. Meanwhile, in the stock market, Activision Blizzard's stock price graph is displayed on a large screen, showing a downward trend resembling a pretzel shape. The investors look concerned, as if they've just tasted something too salty, indicating a dip in confidence. The scene captures the competing pressures of rising talent in the snack industry and the struggling stock price of ATVI, like a popcorn kernel stuck in the machine of financial performance.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A scene from Skyrim ] and depicting this scene: In a bustling Kansas city, a group of food scientists and technologists collaborates in a state-of-the-art laboratory, working on innovative snack recipes. Meanwhile, in the stock market, Activision Blizzard's stock price graph is displayed on a large screen, showing a downward trend resembling a pretzel shape. The investors look concerned, as if they've just tasted something too salty, indicating a dip in confidence. The scene captures the competing pressures of rising talent in the snack industry and the struggling stock price of ATVI, like a popcorn kernel stuck in the machine of financial performance. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Scene: A modern laboratory setting in a bustling Kansas City is bustling with activity. The laboratory is equipped with pristine stainless-steel countertops and a variety of high-tech equipment. In the forefront of the laboratory, a group of food scientists and technologists are deeply engrossed in their work, experimenting with colorful ingredients and cutting-edge equipment, exuding an air of excitement and determination. In the background, a large projection screen displays the stock price graph of Activision Blizzard, portraying a dramatic downward trend reminiscent of a pretzel shape. The investors gathered around the screen wear worried expressions, as if they've just tasted something too salty, reflecting a palpable dip in confidence. The room buzzes with the contrasting energies of innovation and concern, symbolizing the intersecting worlds of culinary creativity and financial uncertainty. The creative energy of the laboratory is juxtaposed with the apprehensive aura of the investors, capturing the dynamic and competing forces at play in this stimulating environment.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in The number of food scientists and technologists in Kansas caused Activision Blizzard's stock price (ATVI) to increase. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

The Journal of Culinary Technology and Financial Innovation

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 researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns.

Make the title an alliteration.

Your research team used data from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8399881 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]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns. 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]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As we saunter through the gustatory landscape of finance and gastronomy, we stumble upon an enchanting confluence of flavors - the aromatic blend of Kansas' food scientists and the succulent ups and downs of Activision Blizzard's stock price. At first glance, one may raise an eyebrow as quizzically as a snail presented with a math problem, wondering how these seemingly unrelated entities could be bound together in any meaningful way. Yet, as we dive into the data like a ravenous foodie attacking a buffet, a curious correlation unfolds before our eyes.

The tantalizing tale we are about to unfold is a fusion of two worlds that, on the surface, seem about as harmonious as pineapple on pizza. However, as our investigation unfolds, we aim to reveal the hidden flavors and nuances that intertwine these unlikely bedfellows, serving up a dish of empirical evidence seasoned with statistical rigor. As with any surprise amalgamation of ingredients, our quest is to decipher the secret recipe and understand its implications in the wider realm of economics and gastronomic analytics.

The fusion of food science and the gaming industry is as unexpected as an avocado finding its way into a dessert, but sometimes the most unlikely combinations yield the most delightful results. So, buckle up and prepare to savor the unexpected as we embark on this gustatory odyssey of Tasty Techies and Tasty Trades.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns.

Speak in the present tense for this section (the authors find...), as is common in academic research paper literature reviews. Name the sources in a format similar to this: In "Book," the authors find lorem and ipsum.

Make up the lorem and ipsum part, but make it sound related to the topic at hand.

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As we saunter through the gustatory landscape of finance and gastronomy, we stumble upon an enchanting confluence of flavors - the aromatic blend of Kansas' food scientists and the succulent ups and downs of Activision Blizzard's stock price. At first glance, one may raise an eyebrow as quizzically as a snail presented with a math problem, wondering how these seemingly unrelated entities could be bound together in any meaningful way. Yet, as we dive into the data like a ravenous foodie attacking a buffet, a curious correlation unfolds before our eyes.
The tantalizing tale we are about to unfold is a fusion of two worlds that, on the surface, seem about as harmonious as pineapple on pizza. However, as our investigation unfolds, we aim to reveal the hidden flavors and nuances that intertwine these unlikely bedfellows, serving up a dish of empirical evidence seasoned with statistical rigor. As with any surprise amalgamation of ingredients, our quest is to decipher the secret recipe and understand its implications in the wider realm of economics and gastronomic analytics.
The fusion of food science and the gaming industry is as unexpected as an avocado finding its way into a dessert, but sometimes the most unlikely combinations yield the most delightful results. So, buckle up and prepare to savor the unexpected as we embark on this gustatory odyssey of Tasty Techies and Tasty Trades.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

To begin our exploration, we must first journey into the heart of Kansas and examine the scholarly work on the subject of food science and technology. Smith (2015) offers a poignant analysis of the evolving landscape of food innovation in the Midwest, shedding light on the diverse skill set and expertise possessed by food scientists and technologists in the region. Similarly, Doe (2018) emphasizes the pivotal role of technological advancements in food production and processing, highlighting the impact of this field on the broader food industry.

While these scholarly works provide a solid foundation, it is essential to acknowledge the less orthodox sources of inspiration that have sparked our unconventional investigation. Titles such as "The Omnivore's Dilemma" by Michael Pollan and "Salt, Fat, Acid, Heat" by Samin Nosrat may not directly delve into the intersection of food science and stock prices, but their delectable tales stimulate our appetite for unorthodox connections. In the realm of fiction, works such as "Ready Player One" by Ernest Cline and "The Hunger Games" by Suzanne Collins may not have anticipated the fusion of food science and gaming as we have, but their narratives complement our own unexpected union of seemingly disparate realms.

Drawing inspiration from the realm of board games, the strategic intricacies of "Power Grid" and the chance-driven dynamics of "Stock Ticker" serve as reminders that the world of finance and gastronomy are not as far apart as one might initially perceive. Just as in a board game, where meticulous planning intersects with serendipitous dice rolls, our investigation seeks to decipher the intricate interplay of calculated industry trends and unforeseen market fluctuations.

As we venture deeper into this delectably unconventional terrain, it is essential to maintain a sense of humor and a taste for the unexpected, keeping in mind that a spoonful of levity makes the academic pursuit go down a little easier. So, brace yourselves for a literary feast as we unravel the tangled web of Tasty Techies and Tasty Trades.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns. 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 Bureau of Larbor Statistics 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]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

[[INTRODUCTION]]
As we saunter through the gustatory landscape of finance and gastronomy, we stumble upon an enchanting confluence of flavors - the aromatic blend of Kansas' food scientists and the succulent ups and downs of Activision Blizzard's stock price. At first glance, one may raise an eyebrow as quizzically as a snail presented with a math problem, wondering how these seemingly unrelated entities could be bound together in any meaningful way. Yet, as we dive into the data like a ravenous foodie attacking a buffet, a curious correlation unfolds before our eyes.
The tantalizing tale we are about to unfold is a fusion of two worlds that, on the surface, seem about as harmonious as pineapple on pizza. However, as our investigation unfolds, we aim to reveal the hidden flavors and nuances that intertwine these unlikely bedfellows, serving up a dish of empirical evidence seasoned with statistical rigor. As with any surprise amalgamation of ingredients, our quest is to decipher the secret recipe and understand its implications in the wider realm of economics and gastronomic analytics.
The fusion of food science and the gaming industry is as unexpected as an avocado finding its way into a dessert, but sometimes the most unlikely combinations yield the most delightful results. So, buckle up and prepare to savor the unexpected as we embark on this gustatory odyssey of Tasty Techies and Tasty Trades.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the mysterious connection between Kansas' food scientists and the capricious dance of Activision Blizzard's stock price, our research endeavor adopted a comprehensive and eclectic array of methodologies. We mixed and matched data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) like a culinary maestro concocting a new recipe, ensuring that a diverse range of ingredients was included in our analytical potpourri. The employment figures of food scientists and technologists in Kansas were amalgamated with the daily stock prices of Activision Blizzard, creating a mental feast for the discerning aficionado of statistical synesthesia.

In a bid to unravel this enthralling enigma, we employed time series analysis, treating the relationship between the number of food scientists and technologists in Kansas and the fluctuations in Activision Blizzard's stock price as a delectable duet on the grand symphonic stage of finance. We tapped into Autoregressive Integrated Moving Average (ARIMA) models, harnessing their forecasting capabilities to discern the intricate patterns and potential lead-lag effects between our two delectable variables.

Furthermore, in the tradition of culinary experimentation, we applied Granger causality tests to explore the direction of influence between the employment figures of food scientists and technologists in Kansas and the machinations of Activision Blizzard's stock price. This served as the analytical equivalent of determining whether the chicken or the egg came first, albeit in a delectably statistical setting.

The spread of data spanning from 2010 to 2022 was scrutinized with both qualitative and quantitative rigor, akin to a team of food critics evaluating the gustatory finesse of a Michelin-starred dish. Our hypothesis regarding the unexpected liaison between Kansas' food science talent and the sway of Activision Blizzard's stock price underwent rigorous testing, ensuring that our findings were as robust as a well-aged bottle of wine.

In summary, our methodology was a marination of statistical nuance, quantitative flair, and a dash of playful curiosity, akin to an expert chef crafting a whimsical but profoundly satisfying dish. The line between academia and amusement may often be thin, but as we navigate the labyrinthine world of Tasty Techies and Tasty Trades, we aim to flavor our findings with a sprinkle of lightheartedness, making our gastronomic odyssey as intellectually satiating as it is entertaining.


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

Please make up the results section of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns. 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 Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) .

For the time period 2010 to 2022, you found a correlation 0.8399881, r-squared of 0.7055799, 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]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As we saunter through the gustatory landscape of finance and gastronomy, we stumble upon an enchanting confluence of flavors - the aromatic blend of Kansas' food scientists and the succulent ups and downs of Activision Blizzard's stock price. At first glance, one may raise an eyebrow as quizzically as a snail presented with a math problem, wondering how these seemingly unrelated entities could be bound together in any meaningful way. Yet, as we dive into the data like a ravenous foodie attacking a buffet, a curious correlation unfolds before our eyes.
The tantalizing tale we are about to unfold is a fusion of two worlds that, on the surface, seem about as harmonious as pineapple on pizza. However, as our investigation unfolds, we aim to reveal the hidden flavors and nuances that intertwine these unlikely bedfellows, serving up a dish of empirical evidence seasoned with statistical rigor. As with any surprise amalgamation of ingredients, our quest is to decipher the secret recipe and understand its implications in the wider realm of economics and gastronomic analytics.
The fusion of food science and the gaming industry is as unexpected as an avocado finding its way into a dessert, but sometimes the most unlikely combinations yield the most delightful results. So, buckle up and prepare to savor the unexpected as we embark on this gustatory odyssey of Tasty Techies and Tasty Trades.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]
Our gastronomical odyssey through the intertwining realms of food science in Kansas and the stock price of Activision Blizzard has yielded a delectable revelation. The statistical analysis of the data, much like a meticulous chef crafting the perfect soufflé, has uncovered a remarkably robust correlation coefficient of 0.8399881 between the number of food scientists and technologists in Kansas and the fluctuations in Activision Blizzard's stock price.

The relationship between these seemingly incongruous variables is further supported by an r-squared value of 0.7055799, suggesting that approximately 70.56% of the variability in Activision Blizzard's stock price can be explained by changes in the number of food scientists and technologists in Kansas. This finding adds a dash of seasoning to our understanding of the complex flavors of market dynamics, highlighting the potentially significant impact of food science expertise in Kansas on the gaming industry stock market.

Notably, our analysis also revealed a p-value of less than 0.01, signifying a highly significant correlation that is unlikely to have occurred by random chance alone. This result stands as a testament to the reliability and robustness of our findings, as solid and unyielding as a well-baked bread loaf.

In Fig. 1, we present a scatterplot that visually encapsulates the substantial correlation between the number of food scientists and technologists in Kansas and the stock price of Activision Blizzard. The data points dance across the plot with an elegant synchronicity, resembling the harmonious interplay of flavors in a masterfully orchestrated dish.

The implications of these findings are as intriguing as the fusion of unexpected ingredients in a culinary masterpiece. While the casual observer might be as surprised as a cow discovering the concept of bartering, these results raise compelling questions about the potential influence of food science expertise on the financial performance of companies in the gaming industry. As we savor the savory implications of this correlation, it's clear that the link between food scientists in Kansas and Activision Blizzard's stock price may hold the key to a richer understanding of the multifaceted relationship between seemingly unrelated sectors.

Our results serve as a flavorful reminder that in the vast smorgasbord of economic analytics, unexpected connections can emerge to tantalize the taste buds of researchers and investors alike. Just as a blend of unexpected flavors can create a culinary sensation, the fusion of food science and stock market dynamics presents an intriguing avenue for further exploration and analysis. With a sprinkle of statistical rigor and a dash of whimsy, our findings invite further culinary-inspired investigations into the interconnected web of economic influences, demonstrating that even the most surprising pairings can deliver a satisfying and intellectually nourishing experience.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns. 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]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

[[LITERATURE REVIEW]]
To begin our exploration, we must first journey into the heart of Kansas and examine the scholarly work on the subject of food science and technology. Smith (2015) offers a poignant analysis of the evolving landscape of food innovation in the Midwest, shedding light on the diverse skill set and expertise possessed by food scientists and technologists in the region. Similarly, Doe (2018) emphasizes the pivotal role of technological advancements in food production and processing, highlighting the impact of this field on the broader food industry.
While these scholarly works provide a solid foundation, it is essential to acknowledge the less orthodox sources of inspiration that have sparked our unconventional investigation. Titles such as "The Omnivore's Dilemma" by Michael Pollan and "Salt, Fat, Acid, Heat" by Samin Nosrat may not directly delve into the intersection of food science and stock prices, but their delectable tales stimulate our appetite for unorthodox connections. In the realm of fiction, works such as "Ready Player One" by Ernest Cline and "The Hunger Games" by Suzanne Collins may not have anticipated the fusion of food science and gaming as we have, but their narratives complement our own unexpected union of seemingly disparate realms.
Drawing inspiration from the realm of board games, the strategic intricacies of "Power Grid" and the chance-driven dynamics of "Stock Ticker" serve as reminders that the world of finance and gastronomy are not as far apart as one might initially perceive. Just as in a board game, where meticulous planning intersects with serendipitous dice rolls, our investigation seeks to decipher the intricate interplay of calculated industry trends and unforeseen market fluctuations.
As we venture deeper into this delectably unconventional terrain, it is essential to maintain a sense of humor and a taste for the unexpected, keeping in mind that a spoonful of levity makes the academic pursuit go down a little easier. So, brace yourselves for a literary feast as we unravel the tangled web of Tasty Techies and Tasty Trades.

[[RESULTS]]
Our gastronomical odyssey through the intertwining realms of food science in Kansas and the stock price of Activision Blizzard has yielded a delectable revelation. The statistical analysis of the data, much like a meticulous chef crafting the perfect soufflé, has uncovered a remarkably robust correlation coefficient of 0.8399881 between the number of food scientists and technologists in Kansas and the fluctuations in Activision Blizzard's stock price.
The relationship between these seemingly incongruous variables is further supported by an r-squared value of 0.7055799, suggesting that approximately 70.56% of the variability in Activision Blizzard's stock price can be explained by changes in the number of food scientists and technologists in Kansas. This finding adds a dash of seasoning to our understanding of the complex flavors of market dynamics, highlighting the potentially significant impact of food science expertise in Kansas on the gaming industry stock market.
Notably, our analysis also revealed a p-value of less than 0.01, signifying a highly significant correlation that is unlikely to have occurred by random chance alone. This result stands as a testament to the reliability and robustness of our findings, as solid and unyielding as a well-baked bread loaf.
In Fig. 1, we present a scatterplot that visually encapsulates the substantial correlation between the number of food scientists and technologists in Kansas and the stock price of Activision Blizzard. The data points dance across the plot with an elegant synchronicity, resembling the harmonious interplay of flavors in a masterfully orchestrated dish.
The implications of these findings are as intriguing as the fusion of unexpected ingredients in a culinary masterpiece. While the casual observer might be as surprised as a cow discovering the concept of bartering, these results raise compelling questions about the potential influence of food science expertise on the financial performance of companies in the gaming industry. As we savor the savory implications of this correlation, it's clear that the link between food scientists in Kansas and Activision Blizzard's stock price may hold the key to a richer understanding of the multifaceted relationship between seemingly unrelated sectors.
Our results serve as a flavorful reminder that in the vast smorgasbord of economic analytics, unexpected connections can emerge to tantalize the taste buds of researchers and investors alike. Just as a blend of unexpected flavors can create a culinary sensation, the fusion of food science and stock market dynamics presents an intriguing avenue for further exploration and analysis. With a sprinkle of statistical rigor and a dash of whimsy, our findings invite further culinary-inspired investigations into the interconnected web of economic influences, demonstrating that even the most surprising pairings can deliver a satisfying and intellectually nourishing experience.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The positively scrumptious correlation we unearthed between the number of food scientists and technologists in Kansas and the fluctuations in Activision Blizzard's stock price is not just a statistical anomaly—it's a delightful revelation that adds a pinch of piquancy to the rather bland world of traditional economic analysis. Our study ingeniously marries the seemingly unrelated fields of food science and gaming industry stocks, much like the fusion cuisine movement unites diverse culinary traditions.

Our findings echo the sentiments of Smith (2015) and Doe (2018), who, despite their sober approach, highlighted the impactful role of food science and technology in the Midwest's food industry. Our study adds a tantalizing layer to their research by showcasing how this expertise may also resonate in the stock prices of gaming companies, drawing a parallel as compelling as pairing wine with cheese.

Now, let's savor the most unexpected elements that inspired our investigation. "The Omnivore's Dilemma" and "Salt, Fat, Acid, Heat" may initially seem like unrelated literature to our study, but their exploration of the nuanced world of food sheds light on our unexpected findings. Just as the plot twist in a captivating novel takes readers by surprise, the unexpected connection between food scientists and stock prices keeps us on the edge of our academic seats.

Our impressive correlation coefficient and r-squared value of 0.8399881 and 0.7055799, respectively, validate the noteworthy influence of the number of food scientists and technologists in Kansas on Activision Blizzard's stock price. Furthermore, the p-value of less than 0.01 serves as a robust confirmation akin to a Michelin-starred chef's seal of approval.

In Fig. 1, our scatterplot is not just an arrangement of data points—it's a visual feast that vividly captures the harmonious dance between food science expertise and stock price fluctuations. Just as a well-choreographed ballet captivates its audience, our scatterplot elegantly showcases the captivating relationship between these seemingly disparate variables.

Our results not only raise eyebrows but also draw humorous parallels to a cow stumbling upon the concept of bartering. They beckon researchers and investors to relish in the flavorful unpredictability of economic connections, akin to savoring an intricately crafted dish that marries unexpected ingredients. Our study serves as a call for further culinary-inspired investigations, enticing researchers to explore the tantalizing nexus of economic flavors that transcend traditional boundaries. So, let's raise our forks to this unexpected pairing, and may it inspire many more delightful discoveries in the world of economic research. Cheers to a future paved with unanticipated yet delectable revelations!


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The number of food scientists and technologists in Kansas and Activision Blizzard's stock price (ATVI). Make lots of jokes, goofy observations, and puns. 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]]
Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price

[[ABSTRACT]]
In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

[[INTRDUCTION]]
As we saunter through the gustatory landscape of finance and gastronomy, we stumble upon an enchanting confluence of flavors - the aromatic blend of Kansas' food scientists and the succulent ups and downs of Activision Blizzard's stock price. At first glance, one may raise an eyebrow as quizzically as a snail presented with a math problem, wondering how these seemingly unrelated entities could be bound together in any meaningful way. Yet, as we dive into the data like a ravenous foodie attacking a buffet, a curious correlation unfolds before our eyes.
The tantalizing tale we are about to unfold is a fusion of two worlds that, on the surface, seem about as harmonious as pineapple on pizza. However, as our investigation unfolds, we aim to reveal the hidden flavors and nuances that intertwine these unlikely bedfellows, serving up a dish of empirical evidence seasoned with statistical rigor. As with any surprise amalgamation of ingredients, our quest is to decipher the secret recipe and understand its implications in the wider realm of economics and gastronomic analytics.
The fusion of food science and the gaming industry is as unexpected as an avocado finding its way into a dessert, but sometimes the most unlikely combinations yield the most delightful results. So, buckle up and prepare to savor the unexpected as we embark on this gustatory odyssey of Tasty Techies and Tasty Trades.

[[RESULTS]]
Our gastronomical odyssey through the intertwining realms of food science in Kansas and the stock price of Activision Blizzard has yielded a delectable revelation. The statistical analysis of the data, much like a meticulous chef crafting the perfect soufflé, has uncovered a remarkably robust correlation coefficient of 0.8399881 between the number of food scientists and technologists in Kansas and the fluctuations in Activision Blizzard's stock price.
The relationship between these seemingly incongruous variables is further supported by an r-squared value of 0.7055799, suggesting that approximately 70.56% of the variability in Activision Blizzard's stock price can be explained by changes in the number of food scientists and technologists in Kansas. This finding adds a dash of seasoning to our understanding of the complex flavors of market dynamics, highlighting the potentially significant impact of food science expertise in Kansas on the gaming industry stock market.
Notably, our analysis also revealed a p-value of less than 0.01, signifying a highly significant correlation that is unlikely to have occurred by random chance alone. This result stands as a testament to the reliability and robustness of our findings, as solid and unyielding as a well-baked bread loaf.
In Fig. 1, we present a scatterplot that visually encapsulates the substantial correlation between the number of food scientists and technologists in Kansas and the stock price of Activision Blizzard. The data points dance across the plot with an elegant synchronicity, resembling the harmonious interplay of flavors in a masterfully orchestrated dish.
The implications of these findings are as intriguing as the fusion of unexpected ingredients in a culinary masterpiece. While the casual observer might be as surprised as a cow discovering the concept of bartering, these results raise compelling questions about the potential influence of food science expertise on the financial performance of companies in the gaming industry. As we savor the savory implications of this correlation, it's clear that the link between food scientists in Kansas and Activision Blizzard's stock price may hold the key to a richer understanding of the multifaceted relationship between seemingly unrelated sectors.
Our results serve as a flavorful reminder that in the vast smorgasbord of economic analytics, unexpected connections can emerge to tantalize the taste buds of researchers and investors alike. Just as a blend of unexpected flavors can create a culinary sensation, the fusion of food science and stock market dynamics presents an intriguing avenue for further exploration and analysis. With a sprinkle of statistical rigor and a dash of whimsy, our findings invite further culinary-inspired investigations into the interconnected web of economic influences, demonstrating that even the most surprising pairings can deliver a satisfying and intellectually nourishing experience.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In this study, we embarked on a culinary odyssey through the unlikely pairing of Kansas' food scientists and the stock price of Activision Blizzard. Our exploration revealed a savory correlation between these seemingly distinct entities, akin to stumbling upon a hidden compartment in a lunchbox. The robust correlation coefficient and r-squared value highlighted the substantial impact of food science expertise on the gaming industry's financial performance, leaving us in awe of the unexpected flavors that emerged from this unorthodox pairing.

The implications of our findings are as intriguing as discovering a chili-infused chocolate bar – they challenge traditional perceptions and beckon us to expand our palates of economic understanding. While it may seem as improbable as a marshmallow climbing Mount Everest, our results underscore the potential influence of food science on the stock market dynamics in the gaming industry. This tantalizing revelation serves as a delectable appetizer, stimulating further appetite for research into the dynamic interplay of seemingly disparate sectors.

As we conclude this gustatory journey, we firmly assert that no further research is needed in this area. After all, we have finally proven that the number of food scientists in Kansas can make your investment portfolio taste a little better. And in the realm of academic curiosity, that’s more satisfying than a parfait with extra sprinkles.


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 Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Culinary Technology and Financial Innovation


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 Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Culinary Technology and Financial Analysis


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Tasty Techies and Tasty Trades: The Tantalizing Tale of Kansas Food Scientists and Activision Blizzard's Stock Price with an abstract of In this paper, we delve into the delectable world of food science and technology in the heartland of Kansas and its unexpected link to the tantalizing rollercoaster ride of Activision Blizzard's stock price. The idea that a seemingly uncorrelated relationship could exist is as intriguing as a chocolate-covered pickle. Using data from the Bureau of Labor Statistics and the London Stock Exchange Group (LSEG) Analytics (Refinitiv), we embarked on a journey to unravel this enigmatic connection. Our results, served on a platter of statistical analysis, revealed a positively scrumptious correlation coefficient of 0.8399881 and a p-value of less than 0.01 for the period spanning 2010 to 2022. Just as the marriage of peanut butter and jelly is a classic combination, our findings suggest that the number of food scientists and technologists in Kansas may have a surprisingly synergistic relationship with the fluctuations in Activision Blizzard's stock price. So, the next time you munch on your favorite snack and check your stock portfolio, remember the link between these unlikely bedfellows, and don't be surprised if your investments start to taste a little better.

ChatGPT:

food science, technology, Kansas, Activision Blizzard, stock price, correlation, Bureau of Labor Statistics, London Stock Exchange Group, LSEG Analytics, Refinitiv, statistical analysis, correlation coefficient, p-value

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The number of food scientists and technologists in Kansas
Detailed data title: BLS estimate of food scientists and technologists in Kansas
Source: Bureau of Larbor Statistics
See what else correlates with The number of food scientists and technologists in Kansas

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.8399881 (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.7055799 (Coefficient of determination)
This means 70.6% 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., The number of food scientists and technologists in Kansas) over the 13 years from 2010 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.00033. 0.0003260905878128357000000000
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.84 in 0.033% of random cases. Said differently, if you correlated 3,067 random variables Which I absolutely did.
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.54, 0.95 ] 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
The number of food scientists and technologists in Kansas (Laborers)130190210260170190300290280210320490290
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.




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([130,190,210,260,170,190,300,290,280,210,320,490,290,])
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 = "The number of food scientists and technologists in Kansas"
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?

I'm grateful for your review!


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

CC BY 4.0