about · email me · subscribe
Spurious correlation #1,961 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is American cheese consumption and the second variable is Wind power generated in Canada.  The chart goes from 1992 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As American cheese consumption increased, so did the country's collective flatulence. This surge in gas production wafted its way north, providing an unexpected but significant boost to Canada's wind power production. It seems that while American cheese may be gouda for the taste buds, it's even greater cheddar for renewable energy in the Great White North!

Model: dalle-3
Prompt: Generate an image of a family picnic in a Canadian countryside with a spread of cheese burgers and sandwiches featuring American cheese. In the background, there are large wind turbines on the horizon generating clean energy. Emphasize a cyber folk style to the entire scene, with vibrant colors and a futuristic, slightly surreal touch to the 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: American cheese consumption and Wind power generated in Canada. 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: Magic realism Cubism a Polaroid photo 3D Pixar Style Cyber folk
ChatGPT: Cyber folk

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 American cheese consumption and Wind power generated in Canada together. Keep the description simple.
ChatGPT: A family picnic in a Canadian countryside with a spread of cheese burgers and sandwiches featuring American cheese, with large wind turbines on the horizon generating clean energy.

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: [ Cyber folk ] and depicting this scene: A family picnic in a Canadian countryside with a spread of cheese burgers and sandwiches featuring American cheese, with large wind turbines on the horizon generating clean energy. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a family picnic in a Canadian countryside with a spread of cheese burgers and sandwiches featuring American cheese. In the background, there are large wind turbines on the horizon generating clean energy. Emphasize a cyber folk style to the entire scene, with vibrant colors and a futuristic, slightly surreal touch to the 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 American cheese consumption caused Wind power generated in Canada to increase.

AI academic paper

(Because p < 0.01)
Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada

The Journal of Renewable Energy and Dairy Products

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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

Your research team used data from USDA and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9186134 and p < 0.01 for 1992 to 2021.

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]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.


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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.

The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.

As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.

The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.

The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.

As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.


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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading the backs of shampoo bottles.

Here is the title and abstract of the paper:
[[TITLE]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The exploration of the peculiar connection between American cheese consumption and wind power generation in Canada has led researchers into uncharted territories of scholarly inquiry. Despite its initial absurdity, this correlation has captured the imagination of scholars and, dare we say, cheesemongers alike.

In "Fromage Fantasies: A Gouda Guide to Cheese Mania," Smith delves into the cultural and gastronomic nuances of cheese consumption, providing a comprehensive analysis of cheese trends that may shed light on the seemingly enigmatic appetite for American cheese. Additionally, Doe's seminal work, "Winds of Change: A Comprehensive Examination of Wind Power Generation," offers a detailed account of wind power infrastructure in Canada, prompting us to ponder whether the gusts of Canadian winds carry the whispers of cheese-induced sustenance.

Transitioning to the realm of fiction, "The Gruyère Gambit" by Jones combines espionage and dairy delights, presenting a compelling narrative that challenges the conventional wisdom of cheese's role in geopolitics, and "Wind Whispers" by Green, while not directly related to either cheese or energy, offers a metaphoric exploration of the unseen forces that may underlie this unexpected correlation.

Beyond the traditional confines of academic literature, our research also drew upon unconventional sources for inspiration. In an offbeat approach to scholarly inquiry, the researchers humorously admit to perusing the backs of various shampoo bottles in search of serendipitous insights and discovering, much to our chagrin, more about hair care than anticipated correlations between cheese and wind.

Through this comprehensive review of the diverse literature on the purported dichotomy between American cheese consumption and wind power generation in Canada, we aim to establish a solid foundation for our subsequent data analysis and interpretations, all the while inviting readers to join us in savoring the flavorsome intrigue of this delightfully quirky correlation.


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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 USDA and Energy Information Administration . You used data from 1992 to 2021

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]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

[[INTRODUCTION]]
INTRODUCTION
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Data Collection:
The data utilized in this study was sourced from robust databases such as the United States Department of Agriculture (USDA) and the Energy Information Administration (EIA). The data spanned a period of 1992 to 2021, capturing an era of varied mac 'n' cheese preferences and wind power generation in Canada. The information obtained from these reputable sources provided a treasure trove of numerical insights, allowing us to embark on our quirky quest to connect the cheese aisles of America to the gusty landscapes of Canadian wind farms.

Cheese Consumption Quantification:
To quantify American cheese consumption, we diligently scrutinized reports, surveys, and statistical records outlining the per capita consumption of American cheese products. This involved a blend of careful analysis and no small amount of cheesy puns, as we measured the ebb and flow of cheese trends over the years. The resulting dataset captured not only the numerical figures but also the essence of cheese-related phenomena, from the rise of artisanal cheese shops to the ubiquity of cheese-based memes on social media.

Wind Power Generation Analysis:
Turning our attention to the realm of wind power generation in Canada, we combed through data on installed wind capacity, electricity generation from wind, and the formidable force of Canadian winds. This involved wrestling with the intricate intricacies of wind power statistics, contemplating the elegance of wind turbines, and trying not to get blown away by the sheer power of renewable energy data. With our collective heads firmly in the clouds, we meticulously collated and analyzed the wind power figures, harnessing the spirit of scientific inquiry and the occasional gust of whimsy.

Statistical Analysis:
Armed with these two distinct datasets, we unleashed the formidable arsenal of statistical analyses, akin to wielding a sturdy cheese slicer in a windy storm. We calculated correlation coefficients, unleashing the mathematical prowess to unfold the mystical connection between American cheese consumption and wind power generation in Canada. The non-parametric Spearman's rank correlation test emerged as our trusty companion, guiding us through the labyrinth of data points and hinting at the tantalizing alliance between cheese aficionados and wind energy enthusiasts.

Experimental Design:
Our experimental design, much like a delightful cheese platter, was a carefully crafted ensemble of methodologies. We employed time-series analyses, indulging in the nuanced nuances of temporal trends in cheese consumption and wind power generation. The process resembled a scientific symphony, with each statistical test adding a unique note to the melodic exploration of this curiously captivating correlation.

Limitations:
It is essential to acknowledge the limitations of our methodology, akin to recognizing the occasional holes in a block of Swiss cheese. While we endeavored to gather data from reputable sources and employ rigorous statistical analyses, the unpredictable nature of both cheese cravings and wind patterns introduces a degree of uncertainty. Additionally, the ecological fallacy must be acknowledged, as we tread a fine line between general trends and individual dairy preferences in a world of windswept variability.

In summary, our methodology embraced the spirit of scholarly inquiry, marrying data-driven analyses with a sprinkle of humor and intuition. As we sliced through the labyrinth of American cheese consumption and the winds of Canadian energy, we invite the scientific community to savor the findings, critique the methodology, and perhaps share a laugh over our scholarly endeavor.


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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 USDA and Energy Information Administration .

For the time period 1992 to 2021, you found a correlation 0.9186134, r-squared of 0.8438506, 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]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data revealed a striking correlation between American cheese consumption and wind power generation in Canada. The correlation coefficient of 0.9186134 signifies a robust relationship between these two seemingly disparate variables. This correlation was further supported by an r-squared value of 0.8438506, indicating that approximately 84.4% of the variability in wind power generation in Canada can be explained by fluctuations in American cheese consumption.

Our findings, represented in Fig. 1, depict a scatterplot illustrating the strong positive correlation between American cheese consumption and wind power generation in Canada. As American cheese consumption increases, there is a corresponding rise in wind power generation in Canada, echoing a symphony of energy intertwined with the subtle aroma of dairy products.

The p-value of less than 0.01 indicates that the observed correlation is statistically significant, defying the odds of mere coincidence. This numerical evidence points to a relationship between these variables that goes beyond the realm of chance, emphasizing the need for deeper investigation into this unique association.

The unexpected coalescence of cheese and wind energy evokes a sense of whimsy amidst the typically austere world of academic research. It compels us to acknowledge that there may be more to this correlation than meets the eye, teasing the possibility of a "cheesy" explanation for the wind's power in harnessing renewable energy in Canada.

In the annals of scholarly inquiry, this correlation stands as a testament to the unanticipated connections that lie beneath the surface of everyday phenomena. Our study opens the door to a nuanced understanding of the intricate interplay between American cheese consumption and wind power generation, inviting further exploration and igniting curiosity in the academic community.


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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

[[LITERATURE REVIEW]]
The exploration of the peculiar connection between American cheese consumption and wind power generation in Canada has led researchers into uncharted territories of scholarly inquiry. Despite its initial absurdity, this correlation has captured the imagination of scholars and, dare we say, cheesemongers alike.
In "Fromage Fantasies: A Gouda Guide to Cheese Mania," Smith delves into the cultural and gastronomic nuances of cheese consumption, providing a comprehensive analysis of cheese trends that may shed light on the seemingly enigmatic appetite for American cheese. Additionally, Doe's seminal work, "Winds of Change: A Comprehensive Examination of Wind Power Generation," offers a detailed account of wind power infrastructure in Canada, prompting us to ponder whether the gusts of Canadian winds carry the whispers of cheese-induced sustenance.
Transitioning to the realm of fiction, "The Gruyère Gambit" by Jones combines espionage and dairy delights, presenting a compelling narrative that challenges the conventional wisdom of cheese's role in geopolitics, and "Wind Whispers" by Green, while not directly related to either cheese or energy, offers a metaphoric exploration of the unseen forces that may underlie this unexpected correlation.
Beyond the traditional confines of academic literature, our research also drew upon unconventional sources for inspiration. In an offbeat approach to scholarly inquiry, the researchers humorously admit to perusing the backs of various shampoo bottles in search of serendipitous insights and discovering, much to our chagrin, more about hair care than anticipated correlations between cheese and wind.
Through this comprehensive review of the diverse literature on the purported dichotomy between American cheese consumption and wind power generation in Canada, we aim to establish a solid foundation for our subsequent data analysis and interpretations, all the while inviting readers to join us in savoring the flavorsome intrigue of this delightfully quirky correlation.

[[RESULTS]]
The analysis of the data revealed a striking correlation between American cheese consumption and wind power generation in Canada. The correlation coefficient of 0.9186134 signifies a robust relationship between these two seemingly disparate variables. This correlation was further supported by an r-squared value of 0.8438506, indicating that approximately 84.4% of the variability in wind power generation in Canada can be explained by fluctuations in American cheese consumption.
Our findings, represented in Fig. 1, depict a scatterplot illustrating the strong positive correlation between American cheese consumption and wind power generation in Canada. As American cheese consumption increases, there is a corresponding rise in wind power generation in Canada, echoing a symphony of energy intertwined with the subtle aroma of dairy products.
The p-value of less than 0.01 indicates that the observed correlation is statistically significant, defying the odds of mere coincidence. This numerical evidence points to a relationship between these variables that goes beyond the realm of chance, emphasizing the need for deeper investigation into this unique association.
The unexpected coalescence of cheese and wind energy evokes a sense of whimsy amidst the typically austere world of academic research. It compels us to acknowledge that there may be more to this correlation than meets the eye, teasing the possibility of a "cheesy" explanation for the wind's power in harnessing renewable energy in Canada.
In the annals of scholarly inquiry, this correlation stands as a testament to the unanticipated connections that lie beneath the surface of everyday phenomena. Our study opens the door to a nuanced understanding of the intricate interplay between American cheese consumption and wind power generation, inviting further exploration and igniting curiosity in the academic community.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study have revealed a compelling and statistically significant correlation between American cheese consumption and wind power generation in Canada. These findings corroborate the insights gleaned from the diverse literature on this enigmatic relationship, adding further weight to the metaphorical cheese platter of evidence.

In a manner reminiscent of a scholarly sleuth, we heeded the playful suggestions from "Fromage Fantasies: A Gouda Guide to Cheese Mania" and "The Gruyère Gambit" to consider the nuanced nuances of cheese consumption. It is worth noting that these sources, while whimsical in nature, inadvertently pointed us toward the profound influence of American cheese on the winds of change in the Canadian energy landscape.

Additionally, our data-driven revelation resonates with the rhetorical inquiry posed by "Wind Whispers," as the unseen forces shaping wind power generation may indeed echo the metaphoric gusts of cheese-induced sustenance. It appears that our journey through the annals of scholarship and imaginative literature has led us to a harmonious crescendo, demonstrating the unexpected symphony of American cheese and wind power in Canada.

It is essential to recognize the potential implications of these findings. While the notion of American cheese as a catalyst for wind power generation may be lighthearted at first glance, the statistical robustness of our results urges us to contemplate the deeper undercurrents at play. Moreover, the correlation evidenced in our study underscores the complexity of seemingly unrelated variables, reminding us that in the world of empirical inquiry, there may be more than meets the eye.

In the words of William Faulkner, "The past is never dead. It's not even past." With our study, we have unveiled a contemporary manifestation of this sentiment, painting a fresh canvas of inquiry that prompts us to embrace whimsy as a catalyst for scientific discovery. As we continue to unravel the mystery behind this correlation, we invite fellow scholars to savor the intrigue of this unconventional relationship and delve into the "gouda" discussion it engenders.


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 American cheese consumption and Wind power generated in Canada. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
"Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada"

[[ABSTRACT]]
This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

[[INTRDUCTION]]
INTRODUCTION
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.
The pursuit of knowledge often leads researchers down unexpected paths, uncovering fascinating connections that challenge conventional wisdom. In the realm of energy and food consumption, the prevailing assumption typically revolves around sustainability, renewable resources, and perhaps the occasional debate about the impact of cheese on one's cholesterol levels. However, in our quest to unravel the mysteries of energy production and culinary habits, we stumbled upon a correlation that is as puzzling as a block of Swiss cheese in a wind tunnel.
The focal point of our investigation is the unlikely link between American cheese consumption and wind power generation in Canada. At first glance, one might be inclined to dismiss this correlation as mere happenstance, akin to discovering a connection between Arctic ice melt and ice cream sales. But as we delved into the data, we were met with a surprising revelation: a correlation coefficient that rivaled the strength of a mature cheddar and a p-value that would make any statistical pundit raise an eyebrow.
As we marinate on the significance of this finding, it becomes evident that there is more to this relationship than meets the eye. Are the cheese aficionados of America unwittingly powering the wind turbines of Canada with their dairy cravings? Or is there a more intricate interplay at play, one that transcends the realms of gastronomy and energy policy? These are the questions that beckon us to embark on this scholarly odyssey, armed with data, analysis, and perhaps a few cheesy puns along the way.

[[RESULTS]]
The analysis of the data revealed a striking correlation between American cheese consumption and wind power generation in Canada. The correlation coefficient of 0.9186134 signifies a robust relationship between these two seemingly disparate variables. This correlation was further supported by an r-squared value of 0.8438506, indicating that approximately 84.4% of the variability in wind power generation in Canada can be explained by fluctuations in American cheese consumption.
Our findings, represented in Fig. 1, depict a scatterplot illustrating the strong positive correlation between American cheese consumption and wind power generation in Canada. As American cheese consumption increases, there is a corresponding rise in wind power generation in Canada, echoing a symphony of energy intertwined with the subtle aroma of dairy products.
The p-value of less than 0.01 indicates that the observed correlation is statistically significant, defying the odds of mere coincidence. This numerical evidence points to a relationship between these variables that goes beyond the realm of chance, emphasizing the need for deeper investigation into this unique association.
The unexpected coalescence of cheese and wind energy evokes a sense of whimsy amidst the typically austere world of academic research. It compels us to acknowledge that there may be more to this correlation than meets the eye, teasing the possibility of a "cheesy" explanation for the wind's power in harnessing renewable energy in Canada.
In the annals of scholarly inquiry, this correlation stands as a testament to the unanticipated connections that lie beneath the surface of everyday phenomena. Our study opens the door to a nuanced understanding of the intricate interplay between American cheese consumption and wind power generation, inviting further exploration and igniting curiosity in the academic community.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has illuminated a fascinating correlation between American cheese consumption and wind power generation in Canada. The robust relationship depicted by a correlation coefficient of 0.9186134 and an r-squared value of 0.8438506 defies mere happenstance and beckons further inquiry. The statistically significant p-value further underscores the need for deeper investigation into this seemingly whimsical alliance.

The implications of our findings extend beyond the realms of energy and culinary curiosities. This unanticipated nexus between dairy indulgence and renewable energy production challenges conventional paradigms, injecting a sense of lighthearted whimsy into the often somber landscape of academic research. While the precise mechanisms underlying this correlation remain shrouded in mystery, our endeavor points to the tantalizing prospect of a "gouda" discussion that transcends the boundaries of scientific inquiry.

As we contemplate the implications of our research, we are reminded of the inherent unpredictability and serendipity that underlie the pursuit of knowledge. The enigmatic interplay between American cheese and Canadian wind power serves as a poignant reminder of the delightful idiosyncrasies that punctuate our scholarly pursuits, inviting us to embrace the unexpected with an open mind and perhaps a wedge of brie.

In light of these revelatory findings, we posit that no further research is warranted in this area. The serendipitous synthesis of cheese and wind power beckons us to savor the fortuitous nature of this correlation and let it stand as a testament to the delightful caprices of scientific exploration. It is as sturdy as cheddar, as fluid as a gouda fondue, and as exhilarating as a gust of wind – a phenomenon that requires no further validation in the annals of academic endeavor.


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 Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Renewable Energy and Dairy Products


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 Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada. Respond only with the name of a fictional organization.

ChatGPT:

Institute for Dairy Innovation and Renewable Energy Studies


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 Say Cheese and Blow Wind: Exploring the Correlation Between American Cheese Consumption and Wind Power Generation in Canada with an abstract of This study investigates the intriguing relationship between American cheese consumption and wind power generation in Canada. Through comprehensive analysis of data from the USDA and Energy Information Administration spanning from 1992 to 2021, we have discovered a remarkably strong correlation between these two apparently unrelated variables. Our findings reveal a correlation coefficient of 0.9186134, with a statistically significant p-value of less than 0.01, indicating a robust association between American cheese consumption and wind power generation in Canada. While the connection may seem as elusive as a block of cheddar on a windy day, our study sheds light on this unconventional relationship, inviting further exploration and the potential for a "gouda" discussion in the scientific community.

ChatGPT:

American cheese consumption, wind power generation, Canada, correlation, USDA, Energy Information Administration, data analysis, statistical significance

*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

American cheese consumption
Detailed data title: Per capita consumption of American cheese in the US
Source: USDA
See what else correlates with American cheese consumption

Wind power generated in Canada
Detailed data title: Total wind power generated in Canada in billion kWh
Source: Energy Information Administration
See what else correlates with Wind power generated in Canada

Correlation r = 0.9186134 (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.8438506 (Coefficient of determination)
This means 84.4% of the change in the one variable (i.e., Wind power generated in Canada) is predictable based on the change in the other (i.e., American cheese consumption) over the 30 years from 1992 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 8.3E-13. 0.0000000000008284687260513550
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.92 in 8.3E-11% of random cases. Said differently, if you correlated 1,207,046,166,687 random variables You don't actually need 1 trillion 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 29 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 29 because we have two variables measured over a period of 30 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.83, 0.96 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
American cheese consumption (Pounds per person)11.255911.31311.423711.687211.808711.814911.978412.698712.683912.813312.831412.561912.861212.64913.065612.792913.130613.355313.304813.039213.256913.357313.665614.044414.362115.090115.402715.538915.516.1
Wind power generated in Canada (Billion kWh)0.0590.0590.0590.0590.0620.0620.0620.1640.2640.3370.4080.8260.9541.5672.4733.0073.7886.6418.63710.08611.19817.78522.31526.69730.62331.19832.85432.33335.741435.2068




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([11.2559,11.313,11.4237,11.6872,11.8087,11.8149,11.9784,12.6987,12.6839,12.8133,12.8314,12.5619,12.8612,12.649,13.0656,12.7929,13.1306,13.3553,13.3048,13.0392,13.2569,13.3573,13.6656,14.0444,14.3621,15.0901,15.4027,15.5389,15.5,16.1,])
array_2 = np.array([0.059,0.059,0.059,0.059,0.062,0.062,0.062,0.164,0.264,0.337,0.408,0.826,0.954,1.567,2.473,3.007,3.788,6.641,8.637,10.086,11.198,17.785,22.315,26.697,30.623,31.198,32.854,32.333,35.7414,35.2068,])
array_1_name = "American cheese consumption"
array_2_name = "Wind power generated in Canada"

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

Big thanks for reviewing!


Correlation ID: 1961 · Black Variable ID: 553 · Red Variable ID: 23577
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0