about · email me · subscribe
Spurious correlation #4,208 · 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 Nuclear power generation in China.  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 Americans consumed more and more of their beloved cheeseburgers, the collective increase in dairy-induced gas emissions drifted across the Pacific. Unbeknownst to the world, this gassy plume acted as a catalyst, supercharging the Chinese nuclear power plants, and leading to a gouda-licious surge in energy production. It seems that cheese not only makes everything taste better but also has the potential to power up reactors from afar! Who would have thought that behind every nuclear button, there's a whey to glow powered by American cheese?

Model: dalle-3
Prompt: Prompt: Create a hyper-realistic image showing a bustling American diner scene featuring people enjoying cheeseburgers and grilled cheese sandwiches. Through the windows, capture the distant view of Chinese nuclear power plants emitting a radiant glow across the Pacific Ocean. In the air, there's a whimsical connection suggested by the drifting cheese-induced gas emissions from the diner, mysteriously supercharging the distant reactors. The image should convey the surprising and delightful visual metaphor for the interconnectedness of the world, without using any words or speech bubbles. 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 Nuclear power generation in China. 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: Hyper-realistic Celtic art inspired by bauhaus Hyper-realistic a funny image macro
ChatGPT: Hyper-realistic

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both American cheese consumption and Nuclear power generation in China, in the following situation: As Americans consumed more and more of their beloved cheeseburgers, the collective increase in dairy-induced gas emissions drifted across the Pacific. Unbeknownst to the world, this gassy plume acted as a catalyst, supercharging the Chinese nuclear power plants, and leading to a gouda-licious surge in energy production. It seems that cheese not only makes everything taste better but also has the potential to power up reactors from afar! Who would have thought that behind every nuclear button, there's a whey to glow powered by American cheese?. Keep the description simple.
ChatGPT: In a bustling American diner, people indulge in cheeseburgers and grilled cheese sandwiches, savoring every gooey bite of American cheese. Meanwhile, across the vast Pacific Ocean, Chinese nuclear power plants hum with increased activity, emitting a radiant glow as they generate a surge of energy. A whimsical connection forms as the cheese-induced gas emissions from the diners seem to drift across the seas, mysteriously supercharging the distant reactors. The unexpected link between American cheese consumption and Chinese nuclear power generation creates a surprising and delightful visual metaphor for the interconnectedness of the world.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ Hyper-realistic ] and depicting this scene: In a bustling American diner, people indulge in cheeseburgers and grilled cheese sandwiches, savoring every gooey bite of American cheese. Meanwhile, across the vast Pacific Ocean, Chinese nuclear power plants hum with increased activity, emitting a radiant glow as they generate a surge of energy. A whimsical connection forms as the cheese-induced gas emissions from the diners seem to drift across the seas, mysteriously supercharging the distant reactors. The unexpected link between American cheese consumption and Chinese nuclear power generation creates a surprising and delightful visual metaphor for the interconnectedness of the world. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Create a hyper-realistic image showing a bustling American diner scene featuring people enjoying cheeseburgers and grilled cheese sandwiches. Through the windows, capture the distant view of Chinese nuclear power plants emitting a radiant glow across the Pacific Ocean. In the air, there's a whimsical connection suggested by the drifting cheese-induced gas emissions from the diner, mysteriously supercharging the distant reactors. The image should convey the surprising and delightful visual metaphor for the interconnectedness of the world, without using any words or speech bubbles.

*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 Nuclear power generation in China to increase. Make it feel plausible.

AI academic paper

(Because p < 0.01)
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

Journal of Dairy Science and Nuclear Engineering

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 Nuclear power generation in China. Make lots of jokes, goofy observations, and puns.

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

Your research team used data from USDA and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9472796 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]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.


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 Nuclear power generation in China. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Gouda morning, esteemed colleagues and fellow enthusiasts of the eccentric and the extraordinary! Today, we embark on a mouthwatering expedition into the uncharted territories of cheese consumption and nuclear power generation. While some may consider this a provolone pursuit, we are unapologetically cheddar-ing ahead to unravel the enigmatic connection between these seemingly unrelated factors.

In our stomach-churning quest for knowledge, we are often reminded of the timeless wisdom of physicist Marie Curie, who famously quipped, "One never notices what has been done; one can only see what remains to be cheese." Embracing this spirit of scientific inquiry, we have set out to uncover how the unassuming American cheese – known for its melty goodness and its uncanny ability to defy expiration dates – could possibly mingle with the formidable force of nuclear power on the other side of the globe.

Amidst the queso-fication of our research goals, we acknowledge that the intersection of cheese and nuclear energy may initially appear more hole-y than holy. However, as the saying goes, "Where there's a wedge, there’s a whey," and so we press on to explore the cordon bleu connections that have surfaced in our data.

Now, before we delve into our feta-stinating findings, let us acknowledge the magnitude of this undertaking. The notion of linking American cheese consumption to nuclear power in China may seem as preposterous as mistaking a mozzarella stick for a fuel rod. Yet, the serendipitous discovery of a coefficient of 0.9472796 and a p-value of less than 0.01 has left us feeling more grate-ful than ever for the unpredictability of scientific exploration.

With that gouda feeling of anticipation, let us embark on this quirk-filled journey into the boundless realms of cheese and nuclear energy, as we unravel the dairy-tales and varie-gated ventures that have brought us to this curd-ious juncture. Get ready to brie amazed as we consider the cheesusly unexpected implications of our findings and celebrate the un-brie-lievable ways in which the power of cheese may permeate even the most nuclear of domains.


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 Nuclear power generation in China. 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. Then name some cartoons and childrens' shows that you watched that are related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Gouda morning, esteemed colleagues and fellow enthusiasts of the eccentric and the extraordinary! Today, we embark on a mouthwatering expedition into the uncharted territories of cheese consumption and nuclear power generation. While some may consider this a provolone pursuit, we are unapologetically cheddar-ing ahead to unravel the enigmatic connection between these seemingly unrelated factors.
In our stomach-churning quest for knowledge, we are often reminded of the timeless wisdom of physicist Marie Curie, who famously quipped, "One never notices what has been done; one can only see what remains to be cheese." Embracing this spirit of scientific inquiry, we have set out to uncover how the unassuming American cheese – known for its melty goodness and its uncanny ability to defy expiration dates – could possibly mingle with the formidable force of nuclear power on the other side of the globe.
Amidst the queso-fication of our research goals, we acknowledge that the intersection of cheese and nuclear energy may initially appear more hole-y than holy. However, as the saying goes, "Where there's a wedge, there’s a whey," and so we press on to explore the cordon bleu connections that have surfaced in our data.
Now, before we delve into our feta-stinating findings, let us acknowledge the magnitude of this undertaking. The notion of linking American cheese consumption to nuclear power in China may seem as preposterous as mistaking a mozzarella stick for a fuel rod. Yet, the serendipitous discovery of a coefficient of 0.9472796 and a p-value of less than 0.01 has left us feeling more grate-ful than ever for the unpredictability of scientific exploration.
With that gouda feeling of anticipation, let us embark on this quirk-filled journey into the boundless realms of cheese and nuclear energy, as we unravel the dairy-tales and varie-gated ventures that have brought us to this curd-ious juncture. Get ready to brie amazed as we consider the cheesusly unexpected implications of our findings and celebrate the un-brie-lievable ways in which the power of cheese may permeate even the most nuclear of domains.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their seminal work, Smith and Doe (2015) explored the intricate relationship between dairy consumption and energy production, laying the foundation for our current investigation. Their study, "Milk, Moo-la, and Megawatts," initiated a thought-provoking discourse on the potential impact of cheese derivatives on the global energy landscape. Drawing parallels between the creaminess of melted American cheese and the intense heat of nuclear fission, the authors propose a paradigm-shifting hypothesis that has continued to ferment in the academic community.

Similarly, Jones (2018) delved into the economics of dairy exportation and its role in international energy trade in his publication "Cheese Exports and Power Imports: A Gouda Analysis." By examining the patterns of American cheese exports to China alongside nuclear energy imports, Jones highlighted startling correlations that piqued our curiosity and left us feeling oddly fondue of further exploration.

Venturing into the realm of non-fiction, it is impossible to overlook the works of renowned economists and energy experts. "The Economics of Cheese: From Cheddar to Cheddar" by Dairy and Cheese (2017) provides valuable insights into the economic forces shaping the global cheese market and its potential implications for various industries, including energy production. On a lighter note, "The Curious Case of Cheese and Energy" by Milk and Watts (2019) presents a whimsical yet thought-provoking analysis of the interplay between dairy products and power generation, offering a fresh perspective on the subject matter.

Turning to the world of fiction, A Song of Ice and Fondue by George R.R. Martin (2017) presents a tantalizing allegory of power struggles and cheesy intrigue, offering indirect but unexpectedly relevant commentary on the dynamics of energy generation. Furthermore, in the dystopian novel Cheese Games by Suzanne Collins (2013), the narrative unfolds in a world where the control of cheese resources is inextricably linked to the dominant sources of power, serving as a metaphor for the complexities of geopolitical energy dynamics.

Adding a touch of nostalgia and whimsy, animated series such as "The Adventures of Dairyman and Fissionator" and "Curd Neutron: Power Cheese" have long captivated audiences with their fantastical tales of dairy-fueled energy exploits and comical cheese-induced mishaps. These popular shows, while aimed at a younger demographic, undoubtedly offer valuable insights into the cultural representations of cheese and nuclear power, reminding us that even the most serious subjects can be approached with a lighthearted sense of curiosity.

In the following sections, we build upon these foundations, navigating through the scholarly landscape as we unmask the curiously intertwined dimensions of American cheese consumption and nuclear power generation in China. Through this whimsical lens, we aim to shed light on the intriguing nexus of dairy and decibels, embracing the joy of unexpected discovery in our scholarly pursuits.


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 Nuclear power generation in China. Make lots of jokes, goofy observations, and puns.

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]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

[[INTRODUCTION]]
Gouda morning, esteemed colleagues and fellow enthusiasts of the eccentric and the extraordinary! Today, we embark on a mouthwatering expedition into the uncharted territories of cheese consumption and nuclear power generation. While some may consider this a provolone pursuit, we are unapologetically cheddar-ing ahead to unravel the enigmatic connection between these seemingly unrelated factors.
In our stomach-churning quest for knowledge, we are often reminded of the timeless wisdom of physicist Marie Curie, who famously quipped, "One never notices what has been done; one can only see what remains to be cheese." Embracing this spirit of scientific inquiry, we have set out to uncover how the unassuming American cheese – known for its melty goodness and its uncanny ability to defy expiration dates – could possibly mingle with the formidable force of nuclear power on the other side of the globe.
Amidst the queso-fication of our research goals, we acknowledge that the intersection of cheese and nuclear energy may initially appear more hole-y than holy. However, as the saying goes, "Where there's a wedge, there’s a whey," and so we press on to explore the cordon bleu connections that have surfaced in our data.
Now, before we delve into our feta-stinating findings, let us acknowledge the magnitude of this undertaking. The notion of linking American cheese consumption to nuclear power in China may seem as preposterous as mistaking a mozzarella stick for a fuel rod. Yet, the serendipitous discovery of a coefficient of 0.9472796 and a p-value of less than 0.01 has left us feeling more grate-ful than ever for the unpredictability of scientific exploration.
With that gouda feeling of anticipation, let us embark on this quirk-filled journey into the boundless realms of cheese and nuclear energy, as we unravel the dairy-tales and varie-gated ventures that have brought us to this curd-ious juncture. Get ready to brie amazed as we consider the cheesusly unexpected implications of our findings and celebrate the un-brie-lievable ways in which the power of cheese may permeate even the most nuclear of domains.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To delve into the connection between American cheese consumption and nuclear power generation in China, our research team concocted a concoction of peculiar yet precise methodologies aimed at ferreting out the cheesy truth lurking beneath the surface of seemingly unrelated variables.

First and foremost, we curated a veritable smorgasbord of data sources, sieving through an array of repositories to extract the choicest morsels of information. Our treasure hunt traversed the digital landscape, with forays into the annals of the United States Department of Agriculture (USDA) and the Energy Information Administration. We ventured down internet rabbit holes, occasionally stumbling upon cheesy memes and nuclear power puns in the process, before emerging triumphantly with a dataset spanning from 1992 to 2021.

In our curd-ious pursuit of knowledge, we employed a diverse array of statistical techniques to corral the unruly data into cohesive insights. With the precision of a cheesemonger selecting the finest wedge, we subjected the data to rigorous regression analyses and correlation tests, harnessing the mighty power of R-squared and p-values to glean meaningful patterns from the oceans of cheese and atomic energy.

Furthermore, we embraced the spirit of experimental design by concocting a metaphorical fondue pot of control variables and covariates, ensuring that our findings remained as unadulterated as a wheel of artisanal cheddar. We adjusted for confounding factors with the finesse of a sommelier pairing wine with cheese, endeavoring to tease out the pure essence of the relationship between American cheese consumption and nuclear power generation in China.

Throughout our venture into the intersection of cheese and nuclear fission, we maintained an unwavering commitment to robustness and reliability, casting a keen eye over the assembled methodologies to ensure that our analyses stood firm like a well-aged Parmesan. Ultimately, through this smorgasbord of techniques and convoluted procedures, we sought to distill the essence of this unlikely association, leaving no crumb unturned and no nuclear core unprobed in our quest for enlightening conclusions.

Thus, armed with an arsenal of statistical tools and a generous sprinkling of humor, we advanced bravely into the labyrinthine depths of cheese and nuclear energy, illuminating the path with a light-hearted spirit and an insatiable appetite for discovery.


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 Nuclear power generation in China. Make lots of jokes, goofy observations, and puns.

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.9472796, r-squared of 0.8973386, and p < 0.01.

One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.

Here is the title and abstract of the paper:
[[TITLE]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Gouda morning, esteemed colleagues and fellow enthusiasts of the eccentric and the extraordinary! Today, we embark on a mouthwatering expedition into the uncharted territories of cheese consumption and nuclear power generation. While some may consider this a provolone pursuit, we are unapologetically cheddar-ing ahead to unravel the enigmatic connection between these seemingly unrelated factors.
In our stomach-churning quest for knowledge, we are often reminded of the timeless wisdom of physicist Marie Curie, who famously quipped, "One never notices what has been done; one can only see what remains to be cheese." Embracing this spirit of scientific inquiry, we have set out to uncover how the unassuming American cheese – known for its melty goodness and its uncanny ability to defy expiration dates – could possibly mingle with the formidable force of nuclear power on the other side of the globe.
Amidst the queso-fication of our research goals, we acknowledge that the intersection of cheese and nuclear energy may initially appear more hole-y than holy. However, as the saying goes, "Where there's a wedge, there’s a whey," and so we press on to explore the cordon bleu connections that have surfaced in our data.
Now, before we delve into our feta-stinating findings, let us acknowledge the magnitude of this undertaking. The notion of linking American cheese consumption to nuclear power in China may seem as preposterous as mistaking a mozzarella stick for a fuel rod. Yet, the serendipitous discovery of a coefficient of 0.9472796 and a p-value of less than 0.01 has left us feeling more grate-ful than ever for the unpredictability of scientific exploration.
With that gouda feeling of anticipation, let us embark on this quirk-filled journey into the boundless realms of cheese and nuclear energy, as we unravel the dairy-tales and varie-gated ventures that have brought us to this curd-ious juncture. Get ready to brie amazed as we consider the cheesusly unexpected implications of our findings and celebrate the un-brie-lievable ways in which the power of cheese may permeate even the most nuclear of domains.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

After meticulously combing through years of data and tasteful puns, our research uncovers a surprisingly robust correlation between American cheese consumption and nuclear power generation in China. The Pearson correlation coefficient of 0.9472796 indicates a close relationship between these seemingly unrelated variables, with an r-squared value of 0.8973386 suggesting that a whopping 89.73% of the variation in nuclear power generation can be explained by the consumption of American cheese. This cheesy association is further bolstered by a p-value of less than 0.01, reinforcing the statistical significance and dismissing any doubts about the gouda-ness of our findings.

In Fig. 1, our scatterplot vividly illustrates the strong positive correlation between American cheese consumption and nuclear power generation in China, revealing a delightful dance of data points that would make any cheese aficionado grin with glee. The figure speaks volumes about the unbreakable bond between two seemingly unrelated entities, as if they were made for each other like bread and, well, cheese.

Our results leave no room for doubt that there is something truly remarkable transpiring beneath the surface of these disparate variables. As we delve deeper into the unexpected intersections of cheese and nuclear power, we are reminded that in the world of research, sometimes the most improbable connections can yield the most gratifying discoveries. It appears that when it comes to the power of cheese and energy, the whey forward might just be more flavorful than we ever imagined.


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 Nuclear power generation in China. Make lots of jokes, goofy observations, and puns.

Limit your response to 500 tokens.

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

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

[[TITLE]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

[[LITERATURE REVIEW]]
In their seminal work, Smith and Doe (2015) explored the intricate relationship between dairy consumption and energy production, laying the foundation for our current investigation. Their study, "Milk, Moo-la, and Megawatts," initiated a thought-provoking discourse on the potential impact of cheese derivatives on the global energy landscape. Drawing parallels between the creaminess of melted American cheese and the intense heat of nuclear fission, the authors propose a paradigm-shifting hypothesis that has continued to ferment in the academic community.
Similarly, Jones (2018) delved into the economics of dairy exportation and its role in international energy trade in his publication "Cheese Exports and Power Imports: A Gouda Analysis." By examining the patterns of American cheese exports to China alongside nuclear energy imports, Jones highlighted startling correlations that piqued our curiosity and left us feeling oddly fondue of further exploration.
Venturing into the realm of non-fiction, it is impossible to overlook the works of renowned economists and energy experts. "The Economics of Cheese: From Cheddar to Cheddar" by Dairy and Cheese (2017) provides valuable insights into the economic forces shaping the global cheese market and its potential implications for various industries, including energy production. On a lighter note, "The Curious Case of Cheese and Energy" by Milk and Watts (2019) presents a whimsical yet thought-provoking analysis of the interplay between dairy products and power generation, offering a fresh perspective on the subject matter.
Turning to the world of fiction, A Song of Ice and Fondue by George R.R. Martin (2017) presents a tantalizing allegory of power struggles and cheesy intrigue, offering indirect but unexpectedly relevant commentary on the dynamics of energy generation. Furthermore, in the dystopian novel Cheese Games by Suzanne Collins (2013), the narrative unfolds in a world where the control of cheese resources is inextricably linked to the dominant sources of power, serving as a metaphor for the complexities of geopolitical energy dynamics.
Adding a touch of nostalgia and whimsy, animated series such as "The Adventures of Dairyman and Fissionator" and "Curd Neutron: Power Cheese" have long captivated audiences with their fantastical tales of dairy-fueled energy exploits and comical cheese-induced mishaps. These popular shows, while aimed at a younger demographic, undoubtedly offer valuable insights into the cultural representations of cheese and nuclear power, reminding us that even the most serious subjects can be approached with a lighthearted sense of curiosity.
In the following sections, we build upon these foundations, navigating through the scholarly landscape as we unmask the curiously intertwined dimensions of American cheese consumption and nuclear power generation in China. Through this whimsical lens, we aim to shed light on the intriguing nexus of dairy and decibels, embracing the joy of unexpected discovery in our scholarly pursuits.

[[RESULTS]]
After meticulously combing through years of data and tasteful puns, our research uncovers a surprisingly robust correlation between American cheese consumption and nuclear power generation in China. The Pearson correlation coefficient of 0.9472796 indicates a close relationship between these seemingly unrelated variables, with an r-squared value of 0.8973386 suggesting that a whopping 89.73% of the variation in nuclear power generation can be explained by the consumption of American cheese. This cheesy association is further bolstered by a p-value of less than 0.01, reinforcing the statistical significance and dismissing any doubts about the gouda-ness of our findings.
In Fig. 1, our scatterplot vividly illustrates the strong positive correlation between American cheese consumption and nuclear power generation in China, revealing a delightful dance of data points that would make any cheese aficionado grin with glee. The figure speaks volumes about the unbreakable bond between two seemingly unrelated entities, as if they were made for each other like bread and, well, cheese.
Our results leave no room for doubt that there is something truly remarkable transpiring beneath the surface of these disparate variables. As we delve deeper into the unexpected intersections of cheese and nuclear power, we are reminded that in the world of research, sometimes the most improbable connections can yield the most gratifying discoveries. It appears that when it comes to the power of cheese and energy, the whey forward might just be more flavorful than we ever imagined.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings resoundingly echo the thought-provoking inquiries of Smith and Doe (2015) and Jones (2018), emphasizing the cheddar-thick influence of American cheese consumption on the proliferation of nuclear power in China. Just like the indulgent creaminess of a perfectly melted slab of American cheese, the potent heat of nuclear fission seems to be intertwined in an almost Swiss-like embrace, forming an irresistibly compelling connection.

When we consider the implications of our results, it becomes evident that the cheesy motivations behind China's nuclear power advancements are no mere fondue fantasy. The allure of American dairy products, with their oozing richness and tantalizing flavors, seems to have seeped into the very fabric of China's energy landscape, perhaps acting as a catalyst for their nuclear power growth. Our research supports the idea that the curd-ious influence of American cheese on global energy trends is indeed a melting pot of complexities.

Pivoting to a more empirical tone, our thorough analysis has unveiled a remarkably close relationship between American cheese consumption and nuclear power generation. The substantial r-squared value underscores the cheesiness of our findings, suggesting that a whopping 89.73% of the variation in China's nuclear power generation can be attributed to the consumption of American cheese. This is not just a brie-f encounter; the evidence speaks vividly of a robust connection that quavers with gouda-ness.

Moreover, our statistical tests reaffirm the profound significance of this association. With a p-value of less than 0.01, our results dismiss any doubts about the cheesy authenticity of this correlation, leaving skeptics with no room to question the feta. The impact of American cheese on China's nuclear power is as real as the aroma of a freshly baked cheese soufflé.

In conclusion, our comically inspired investigation has elucidated the whimsically unexpected nexus of American cheese consumption and nuclear power generation in China. As we contemplate the profundity of this odd pairing, let us savor the reminder that scientific inquiry, much like a perfectly aged cheese, often yields the most surprising and delightful discoveries. Stay tuned for our forthcoming research, "The String Theory of Spaghetti and Solar Power." Because, after all, when there's food for thought, there's bound to be power for progress.


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 Nuclear power generation in China. Make lots of jokes, goofy observations, and puns.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China

[[ABSTRACT]]
In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

[[INTRDUCTION]]
Gouda morning, esteemed colleagues and fellow enthusiasts of the eccentric and the extraordinary! Today, we embark on a mouthwatering expedition into the uncharted territories of cheese consumption and nuclear power generation. While some may consider this a provolone pursuit, we are unapologetically cheddar-ing ahead to unravel the enigmatic connection between these seemingly unrelated factors.
In our stomach-churning quest for knowledge, we are often reminded of the timeless wisdom of physicist Marie Curie, who famously quipped, "One never notices what has been done; one can only see what remains to be cheese." Embracing this spirit of scientific inquiry, we have set out to uncover how the unassuming American cheese – known for its melty goodness and its uncanny ability to defy expiration dates – could possibly mingle with the formidable force of nuclear power on the other side of the globe.
Amidst the queso-fication of our research goals, we acknowledge that the intersection of cheese and nuclear energy may initially appear more hole-y than holy. However, as the saying goes, "Where there's a wedge, there’s a whey," and so we press on to explore the cordon bleu connections that have surfaced in our data.
Now, before we delve into our feta-stinating findings, let us acknowledge the magnitude of this undertaking. The notion of linking American cheese consumption to nuclear power in China may seem as preposterous as mistaking a mozzarella stick for a fuel rod. Yet, the serendipitous discovery of a coefficient of 0.9472796 and a p-value of less than 0.01 has left us feeling more grate-ful than ever for the unpredictability of scientific exploration.
With that gouda feeling of anticipation, let us embark on this quirk-filled journey into the boundless realms of cheese and nuclear energy, as we unravel the dairy-tales and varie-gated ventures that have brought us to this curd-ious juncture. Get ready to brie amazed as we consider the cheesusly unexpected implications of our findings and celebrate the un-brie-lievable ways in which the power of cheese may permeate even the most nuclear of domains.

[[RESULTS]]
After meticulously combing through years of data and tasteful puns, our research uncovers a surprisingly robust correlation between American cheese consumption and nuclear power generation in China. The Pearson correlation coefficient of 0.9472796 indicates a close relationship between these seemingly unrelated variables, with an r-squared value of 0.8973386 suggesting that a whopping 89.73% of the variation in nuclear power generation can be explained by the consumption of American cheese. This cheesy association is further bolstered by a p-value of less than 0.01, reinforcing the statistical significance and dismissing any doubts about the gouda-ness of our findings.
In Fig. 1, our scatterplot vividly illustrates the strong positive correlation between American cheese consumption and nuclear power generation in China, revealing a delightful dance of data points that would make any cheese aficionado grin with glee. The figure speaks volumes about the unbreakable bond between two seemingly unrelated entities, as if they were made for each other like bread and, well, cheese.
Our results leave no room for doubt that there is something truly remarkable transpiring beneath the surface of these disparate variables. As we delve deeper into the unexpected intersections of cheese and nuclear power, we are reminded that in the world of research, sometimes the most improbable connections can yield the most gratifying discoveries. It appears that when it comes to the power of cheese and energy, the whey forward might just be more flavorful than we ever imagined.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

As we conclude our queso-lation of this cheesy Kumbaya between American cheese and Chinese nuclear power, we are left with a feta-accompli of monumental proportions. Our findings have not only melted hearts but also set the stage for a new era of dairy-driven energy discussions. The results of our study bring a whole new meaning to the phrase "nuclear family" as it pertains to the fusion of American cheese and Chinese power generation.

The correlation coefficient of 0.9472796 that we uncovered is not just a mere statistical artifact; it's a symbol of the fromage-tastic harmony that exists between these unexpected bedfellows. We can say with great certainty that the power of cheese is no longer something to be scoffed at, but rather to be admired for its potential to fuel not only our taste buds but also the nuclear reactors powering a significant portion of China.

The implications of our research brie-gin new conversations about the interconnectedness of global industries and the unapologetic cheesiness that sometimes grates our rational thought processes. However, while our lighthearted exploration has yielded insightful cheddar-ful moments, it's important to remember that even the most playful of research endeavors must eventually say "whey" and conclude.

In the grand scheme of academic pursuits, it's safe to say that no gouda research on the link between American cheese consumption and Chinese nuclear power generation is needed. Our findings stand as a beacon of both curiosity and silliness, reminding us that in the wacky world of research, sometimes the most laughable connections lead to the most thought-provolone revelations. So, let's say "cheese" one last time before we close this chapter and let the power of cheese linger in our minds for posterity. Gouda- bye, cheesy energy – you've been one grater adventure!


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Dairy Science and Nuclear Engineering


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China. Respond only with the name of a fictional organization.

ChatGPT:

The International Cheese and Energy Research Institute


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled The Power of Cheesy Energy: An Examination of the Link between American Cheese Consumption and Nuclear Power Generation in China with an abstract of In this whimsical exploration of seemingly unrelated variables, we investigate the bizarre but intriguing connection between American cheese consumption and nuclear power generation in China. Drawing upon data from the United States Department of Agriculture (USDA) and the Energy Information Administration, we unveil the surprising correlation between the two, unearthing a coefficient of 0.9472796 and a significant p-value of less than 0.01 from 1992 to 2021. Our inquiry into this juxtaposition of cheese and nuclear energy yields amusing insights into the potentially cheesy motivations behind China's nuclear power advancements and the curd-ious influence of American dairy on global energy trends. This research serves as a lighthearted reminder that scientific inquiry can often lead to unexpected and, in this case, deliciously cheesy discoveries.

ChatGPT:

American cheese consumption, nuclear power generation in China, correlation, USDA data, Energy Information Administration, coefficient, p-value, cheese motivations, dairy influence, global energy trends

*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

Nuclear power generation in China
Detailed data title: Total nuclear power generation in China in billion kWh
Source: Energy Information Administration
See what else correlates with Nuclear power generation in China

Correlation r = 0.9472796 (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.8973386 (Coefficient of determination)
This means 89.7% of the change in the one variable (i.e., Nuclear power generation in China) 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 2.3E-15. 0.0000000000000022701993509245
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.95 in 2.3E-13% of random cases. Said differently, if you correlated 440,489,950,626,040 random variables You don't actually need 440 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.89, 0.97 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
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
Nuclear power generation in China (Billion kWh)0.52.4713.512.3813.6211.3513.4614.08915.90316.59725.16641.66147.94650.33251.8159.29965.32565.71373.8886.3597.39111.61132.54170.79213.29248.07294.36348.35366.25407.52




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.5,2.47,13.5,12.38,13.62,11.35,13.46,14.089,15.903,16.597,25.166,41.661,47.946,50.332,51.81,59.299,65.325,65.713,73.88,86.35,97.39,111.61,132.54,170.79,213.29,248.07,294.36,348.35,366.25,407.52,])
array_1_name = "American cheese consumption"
array_2_name = "Nuclear power generation in China"

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

Your dedication to rating warms my heart!


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

CC BY 4.0