about · email me · subscribe
Spurious correlation #1,974 · 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 Mexico.  The chart goes from 1990 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As American cheese consumption melted, it created a surge of positive energy that spread across borders. It was a queso of increasing power that couldn't be curdled. As demand for American cheese grew, it whey-ed heavily on the dairy industry, leading to an udderly remarkable increase in milk production. This lactose-intolerant surge of energy may have been cheesy, but it definitely wasn't gouda-nough to be ignored. The impact was grate, and it's safe to say that this correlation was anything but nacho average coincidence!

Model: dalle-3
Prompt: [ Cyberpunk ] prompt: In a bustling market in Mexico, a vendor is seen selling delicious cheeseburgers topped with melted American cheese as hungry customers eagerly gather around. In the background, a nuclear power plant stands tall, symbolizing Mexico's increasing focus on nuclear energy generation. Enhanced visual prompt: In the illuminated cyberpunk market of Mexico, a street vendor stands behind a vibrant holographic display while selling sizzling cheeseburgers topped with neon-lit melted American cheese. A crowd of cybernetically augmented customers eagerly gathers around, their glowing implants reflecting the iridescent market lights. In the background, a towering nuclear power plant looms, its pulsating neon core symbolizing Mexico's embrace of nuclear energy amidst the cyber-enhanced cityscape. 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 Mexico. 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: Futuristic Cyberpunk An image that looks like it is a scene from a Pixar movie Hyper-realistic a Polaroid photo
ChatGPT: Cyberpunk

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 Mexico together. Keep the description simple.
ChatGPT: In a bustling market in Mexico, a vendor is seen selling delicious cheeseburgers topped with melted American cheese as hungry customers eagerly gather around. In the background, a nuclear power plant stands tall, symbolizing Mexico's increasing focus on nuclear energy generation.

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: [ Cyberpunk ] and depicting this scene: In a bustling market in Mexico, a vendor is seen selling delicious cheeseburgers topped with melted American cheese as hungry customers eagerly gather around. In the background, a nuclear power plant stands tall, symbolizing Mexico's increasing focus on nuclear energy generation. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [ Cyberpunk ] prompt: In a bustling market in Mexico, a vendor is seen selling delicious cheeseburgers topped with melted American cheese as hungry customers eagerly gather around. In the background, a nuclear power plant stands tall, symbolizing Mexico's increasing focus on nuclear energy generation. Enhanced visual prompt: In the illuminated cyberpunk market of Mexico, a street vendor stands behind a vibrant holographic display while selling sizzling cheeseburgers topped with neon-lit melted American cheese. A crowd of cybernetically augmented customers eagerly gathers around, their glowing implants reflecting the iridescent market lights. In the background, a towering nuclear power plant looms, its pulsating neon core symbolizing Mexico's embrace of nuclear energy amidst the cyber-enhanced cityscape.

*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 humerus 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 Mexico to increase. Include a lot of jokes and puns.

AI academic paper

(Because p < 0.01)
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

The Journal of Dairy Science and Nuclear Physics

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 silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Include a pun in the title.

Your research team used data from USDA and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.7586833 and p < 0.01 for 1990 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]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.



Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.


-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Gouda afternoon, esteemed colleagues and fromage enthusiasts! Today, we embark on a journey through the labyrinth of data to explore the link between two seemingly unrelated entities: American cheese consumption and nuclear power generation in Mexico. Hold on to your lab coats, because things are about to get grate!

As we delve into this cheddar-worthy subject, we cannot help but marvel at the seemingly incongruous coupling of a dairy delicacy and a powerhouse of energy. It's like mixing mozzarella and marshmallows – unexpected, yet intriguing! But hey, who knew that behind every slice of American cheese lay the potential to unlock the secrets of nuclear energy? As the saying goes, "The curd is out on that one!"

Our quest for understanding led us down a path lined with statistical analyses, pivotal data points, and a lot of stilton the air. Armed with an arsenal of correlation coefficients and p-values, we set out to unravel whether there's more to this cheesy business than meets the eye. After all, in the world of research, the proof is in the pudding, or in this case, in the cheesecake!

Now, before we continue, let's address the "elephant in the room-temperature dairy section" – why study this odd coupling at all? Well, as researchers, we are often urged to think outside the carton, erm, "box," and explore the unexplored. In the grand tradition of scientific inquiry, we wanted to swiss things up a bit and delve into unexplored territories – for science, and for the sake of a good, pun-believable story!

So, grab a slice of your favorite fromage, and let's embark on this brie-lliant adventure through the labyrinth of curiously cheesy statistics and power generation dynamics. After all, who knows what we might feta, er, find, at the end of this scientific rabbit hole? It's sure to be a gouda time!


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name some movies that you watched that are tangentially related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.


-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Gouda afternoon, esteemed colleagues and fromage enthusiasts! Today, we embark on a journey through the labyrinth of data to explore the link between two seemingly unrelated entities: American cheese consumption and nuclear power generation in Mexico. Hold on to your lab coats, because things are about to get grate!
As we delve into this cheddar-worthy subject, we cannot help but marvel at the seemingly incongruous coupling of a dairy delicacy and a powerhouse of energy. It's like mixing mozzarella and marshmallows – unexpected, yet intriguing! But hey, who knew that behind every slice of American cheese lay the potential to unlock the secrets of nuclear energy? As the saying goes, "The curd is out on that one!"
Our quest for understanding led us down a path lined with statistical analyses, pivotal data points, and a lot of stilton the air. Armed with an arsenal of correlation coefficients and p-values, we set out to unravel whether there's more to this cheesy business than meets the eye. After all, in the world of research, the proof is in the pudding, or in this case, in the cheesecake!
Now, before we continue, let's address the "elephant in the room-temperature dairy section" – why study this odd coupling at all? Well, as researchers, we are often urged to think outside the carton, erm, "box," and explore the unexplored. In the grand tradition of scientific inquiry, we wanted to swiss things up a bit and delve into unexplored territories – for science, and for the sake of a good, pun-believable story!
So, grab a slice of your favorite fromage, and let's embark on this brie-lliant adventure through the labyrinth of curiously cheesy statistics and power generation dynamics. After all, who knows what we might feta, er, find, at the end of this scientific rabbit hole? It's sure to be a gouda time!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith and Doe" and "Jones et al.," the authors find that American cheese consumption has long been a topic of interest in the realm of dietary habits and cultural significance. These studies delve into the patterns of cheese consumption across different demographics and regions, shedding light on the versatile appeal of this dairy delight. The sheer magnitude of interest in American cheese, much like its melty texture, seems to have a way of seeping into the crevices of various global phenomena, from culinary fusion to unexpected correlations with other domains, such as energy production.

Moving from a heady blend of statistical analyses and cheese-centric data to a more literary angle, sources like "The Big Cheese: A Cultural History of American Cheese" and "The Art of Cheesemaking" provide insights into the cultural and historical contexts of American cheese. These books offer a glimpse into the evolution of cheesemaking techniques, the changing perceptions of cheese in American cuisine, and its symbolic significance in the fabric of social customs.

On the fusion side of things, fiction novels such as "The Nuclear Cheese Conspiracy" and "Atomic Cheddar: A Tale of Dairy and Reactors" may not offer empirical data, but their whimsical narratives certainly sprinkle a lighthearted touch to the intersection of cheese and nuclear power. It's as if these authors boldly ventured into a world where cheese became the unsuspecting hero in the realm of atomic secrets and power struggles. Now, that's what I call a cheesy plot twist!

Taking a cinematic detour, movies like "Cheese Wars: The Fondue Menace" and "Nuclear Nacho Libre" may not be scholarly sources, but their portrayal of cheesy escapades and nuclear intrigue ignites the imagination. While these films may not offer peer-reviewed evidence, they certainly contribute to the pop culture dialogue around the unlikely marriage of cheese and nuclear power.

As we navigate through this lactose-laden labyrinth of literature, it becomes increasingly apparent that the topic of American cheese and nuclear power holds a plethora of unexpected connections and pun-tential to bring levity to even the most serious of research endeavors. Now, if you'll excuse the pun, let's shred some light on the correlations we've discovered.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from USDA and Energy Information Administration . You used data from 1990 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]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.


[[INTRODUCTION]]
Gouda afternoon, esteemed colleagues and fromage enthusiasts! Today, we embark on a journey through the labyrinth of data to explore the link between two seemingly unrelated entities: American cheese consumption and nuclear power generation in Mexico. Hold on to your lab coats, because things are about to get grate!
As we delve into this cheddar-worthy subject, we cannot help but marvel at the seemingly incongruous coupling of a dairy delicacy and a powerhouse of energy. It's like mixing mozzarella and marshmallows – unexpected, yet intriguing! But hey, who knew that behind every slice of American cheese lay the potential to unlock the secrets of nuclear energy? As the saying goes, "The curd is out on that one!"
Our quest for understanding led us down a path lined with statistical analyses, pivotal data points, and a lot of stilton the air. Armed with an arsenal of correlation coefficients and p-values, we set out to unravel whether there's more to this cheesy business than meets the eye. After all, in the world of research, the proof is in the pudding, or in this case, in the cheesecake!
Now, before we continue, let's address the "elephant in the room-temperature dairy section" – why study this odd coupling at all? Well, as researchers, we are often urged to think outside the carton, erm, "box," and explore the unexplored. In the grand tradition of scientific inquiry, we wanted to swiss things up a bit and delve into unexplored territories – for science, and for the sake of a good, pun-believable story!
So, grab a slice of your favorite fromage, and let's embark on this brie-lliant adventure through the labyrinth of curiously cheesy statistics and power generation dynamics. After all, who knows what we might feta, er, find, at the end of this scientific rabbit hole? It's sure to be a gouda time!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the enigmatic connection between American cheese consumption and nuclear power generation in Mexico, our research employed a cheddar-tastic mix of quantitative methodologies and statistical analyses.

First, we gathered data on American cheese consumption in the U.S. and nuclear power generation in Mexico from 1990 to 2021. This data collection process was like going on a treasure hunt, with the only treasures being copious amounts of cheese and nuclear power statistics! It was a bit like finding the missing piece of the cheese puzzle – fitting all those data slices together was quite the gouda challenge!

Next, we utilized the method of least squares regression to model the relationship between American cheese consumption and nuclear power generation. This technique essentially boils down to finding the best-fitting line amidst all the data points – not unlike finding the perfect pairing for your favorite wine and cheese!

Additionally, we calculated the correlation coefficient and performed hypothesis testing to ascertain the strength and significance of the relationship between these variables. It was like conducting a scientific taste test – determining if the flavors of American cheese consumption and nuclear power generation harmonize like a perfectly balanced dish, or if they clash like a bad cheese and wine pairing!

To address potential confounding variables, we also conducted a robustness check by controlling for factors such as GDP, population, and energy policies. It was like fortifying a cheese with complementary ingredients to create the perfect blend – ensuring that our findings were as sharp as the finest aged cheddar!

Our analytical approach involved scrutinizing the data from multiple angles, akin to examining the nooks and crannies of a block of artisanal cheese to uncover its unique characteristics.

And through this methodological medley, we aimed to cut through the cheesy fog and shed light on the intriguing relationship between American cheese consumption and nuclear power generation in Mexico. It was a journey that brought new meaning to the phrase "grate expectations"!


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from USDA and Energy Information Administration .

For the time period 1990 to 2021, you found a correlation 0.7586833, r-squared of 0.5756003, 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]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.


-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Gouda afternoon, esteemed colleagues and fromage enthusiasts! Today, we embark on a journey through the labyrinth of data to explore the link between two seemingly unrelated entities: American cheese consumption and nuclear power generation in Mexico. Hold on to your lab coats, because things are about to get grate!
As we delve into this cheddar-worthy subject, we cannot help but marvel at the seemingly incongruous coupling of a dairy delicacy and a powerhouse of energy. It's like mixing mozzarella and marshmallows – unexpected, yet intriguing! But hey, who knew that behind every slice of American cheese lay the potential to unlock the secrets of nuclear energy? As the saying goes, "The curd is out on that one!"
Our quest for understanding led us down a path lined with statistical analyses, pivotal data points, and a lot of stilton the air. Armed with an arsenal of correlation coefficients and p-values, we set out to unravel whether there's more to this cheesy business than meets the eye. After all, in the world of research, the proof is in the pudding, or in this case, in the cheesecake!
Now, before we continue, let's address the "elephant in the room-temperature dairy section" – why study this odd coupling at all? Well, as researchers, we are often urged to think outside the carton, erm, "box," and explore the unexplored. In the grand tradition of scientific inquiry, we wanted to swiss things up a bit and delve into unexplored territories – for science, and for the sake of a good, pun-believable story!
So, grab a slice of your favorite fromage, and let's embark on this brie-lliant adventure through the labyrinth of curiously cheesy statistics and power generation dynamics. After all, who knows what we might feta, er, find, at the end of this scientific rabbit hole? It's sure to be a gouda time!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis revealed a rather gouda-licious correlation between American cheese consumption in the United States and nuclear power generation in Mexico. The correlation coefficient of 0.7586833 indicates a strong positive relationship between the two variables, suggesting that as American cheese consumption increased, so did the generation of nuclear power in Mexico. It seems as though this cheesy affair may have been more than just a case of queso mistaken identity.

Now, one might wonder, "What's the big dill about this correlation anyway?" Well, it suggests that there could be a potential conditional dependence between these seemingly unrelated factors. It's like discovering that peanut butter and jelly weren't just meant to be sandwiched together but also to fuel some unexpected scientific hypotheses!

Coupled with an r-squared value of 0.5756003, our findings indicate that approximately 57.56% of the variability in nuclear power generation in Mexico can be explained by fluctuations in American cheese consumption. That's right; it seems that the curdly goodness of American cheese may wield more influence than previously imagined. This goes to show that in the world of research, even the most un-cheese-pecting variables can turn out to be part of a crucial recipe for scientific understanding.

As for the p-value being less than 0.01, well, it's safe to say that our findings are not just a "queso-tion" of chance. The probability of observing such a strong relationship between these variables by mere coincidence is highly unlikely, supporting the significance of our findings. It looks like the evidence stacked up like a tower of gouda on this one!

Furthermore, our findings are graphically summarized in Fig. 1, which presents a scatterplot showcasing the positively sloped relationship between American cheese consumption and nuclear power generation in Mexico. It's a real "grate" visual representation of the correlation we've uncovered – you could say it's "whey" beyond what we expected!

In conclusion, the results of this study suggest a close connection between American cheese consumption and nuclear power generation in Mexico, undoubtedly adding a slice of intrigue to the scientific landscape. Who knew that the power of cheese could extend beyond a mere topping for nachos to having potential implications for energy generation? It seems that when it comes to scientific research, the possibilities are as endless as the varieties of cheese in the world – and that's no small "queso"!



Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.


[[LITERATURE REVIEW]]
In "Smith and Doe" and "Jones et al.," the authors find that American cheese consumption has long been a topic of interest in the realm of dietary habits and cultural significance. These studies delve into the patterns of cheese consumption across different demographics and regions, shedding light on the versatile appeal of this dairy delight. The sheer magnitude of interest in American cheese, much like its melty texture, seems to have a way of seeping into the crevices of various global phenomena, from culinary fusion to unexpected correlations with other domains, such as energy production.
Moving from a heady blend of statistical analyses and cheese-centric data to a more literary angle, sources like "The Big Cheese: A Cultural History of American Cheese" and "The Art of Cheesemaking" provide insights into the cultural and historical contexts of American cheese. These books offer a glimpse into the evolution of cheesemaking techniques, the changing perceptions of cheese in American cuisine, and its symbolic significance in the fabric of social customs.
On the fusion side of things, fiction novels such as "The Nuclear Cheese Conspiracy" and "Atomic Cheddar: A Tale of Dairy and Reactors" may not offer empirical data, but their whimsical narratives certainly sprinkle a lighthearted touch to the intersection of cheese and nuclear power. It's as if these authors boldly ventured into a world where cheese became the unsuspecting hero in the realm of atomic secrets and power struggles. Now, that's what I call a cheesy plot twist!
Taking a cinematic detour, movies like "Cheese Wars: The Fondue Menace" and "Nuclear Nacho Libre" may not be scholarly sources, but their portrayal of cheesy escapades and nuclear intrigue ignites the imagination. While these films may not offer peer-reviewed evidence, they certainly contribute to the pop culture dialogue around the unlikely marriage of cheese and nuclear power.
As we navigate through this lactose-laden labyrinth of literature, it becomes increasingly apparent that the topic of American cheese and nuclear power holds a plethora of unexpected connections and pun-tential to bring levity to even the most serious of research endeavors. Now, if you'll excuse the pun, let's shred some light on the correlations we've discovered.

[[RESULTS]]
The data analysis revealed a rather gouda-licious correlation between American cheese consumption in the United States and nuclear power generation in Mexico. The correlation coefficient of 0.7586833 indicates a strong positive relationship between the two variables, suggesting that as American cheese consumption increased, so did the generation of nuclear power in Mexico. It seems as though this cheesy affair may have been more than just a case of queso mistaken identity.
Now, one might wonder, "What's the big dill about this correlation anyway?" Well, it suggests that there could be a potential conditional dependence between these seemingly unrelated factors. It's like discovering that peanut butter and jelly weren't just meant to be sandwiched together but also to fuel some unexpected scientific hypotheses!
Coupled with an r-squared value of 0.5756003, our findings indicate that approximately 57.56% of the variability in nuclear power generation in Mexico can be explained by fluctuations in American cheese consumption. That's right; it seems that the curdly goodness of American cheese may wield more influence than previously imagined. This goes to show that in the world of research, even the most un-cheese-pecting variables can turn out to be part of a crucial recipe for scientific understanding.
As for the p-value being less than 0.01, well, it's safe to say that our findings are not just a "queso-tion" of chance. The probability of observing such a strong relationship between these variables by mere coincidence is highly unlikely, supporting the significance of our findings. It looks like the evidence stacked up like a tower of gouda on this one!
Furthermore, our findings are graphically summarized in Fig. 1, which presents a scatterplot showcasing the positively sloped relationship between American cheese consumption and nuclear power generation in Mexico. It's a real "grate" visual representation of the correlation we've uncovered – you could say it's "whey" beyond what we expected!
In conclusion, the results of this study suggest a close connection between American cheese consumption and nuclear power generation in Mexico, undoubtedly adding a slice of intrigue to the scientific landscape. Who knew that the power of cheese could extend beyond a mere topping for nachos to having potential implications for energy generation? It seems that when it comes to scientific research, the possibilities are as endless as the varieties of cheese in the world – and that's no small "queso"!


-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study not only provide evidence of a positively sloped relationship between American cheese consumption and nuclear power generation in Mexico but also shed light on the potential influence of cheese on global energy dynamics. The un-brie-lievable correlation coefficient and the p-value less than 0.01 convincingly support the significance of this cheesy connection. It seems that queso may pack quite a bit of nuclear power, after all!

Building on prior research, our results align with the queso-tionable notion from "The Nuclear Cheese Conspiracy" and "Atomic Cheddar: A Tale of Dairy and Reactors" that posited a clandestine partnership between cheese and nuclear power. It turns out that these literary works may not have been so far-feta-ed in their whimsical speculations after all!

The r-squared value further reinforces the notion that approximately 57.56% of the variability in nuclear power generation in Mexico can be explained by fluctuations in American cheese consumption. This revelation offers a gouda-mented understanding of the curiously strong connection between these seemingly unrelated variables. It's uncanny how the cheese stands as a force to be reckoned with in the realm of research and statistics!

And let's not forget the scatterplot in Fig. 1, the visual representation of the correlation unveiled in this study. It exemplifies the positively sloped relationship between American cheese consumption and nuclear power generation in Mexico – a vivid showcase of the undeniable link. It's quite a "grate" illustration that leaves no room for doubt – or for nu-clear-ing out cheese-related suspicions.

In the grander scheme of things, these findings not only contribute to the scientific discourse but also invite further exploration of the potential role of cheese in influencing global energy patterns. It's a cheesy affair indeed, and as researchers, we're just getting started with uncovering its potential in domains beyond the culinary realm. The power of cheese knows no bounds, and this study is just the queso the scientific community needs to chew on.

In the spirit of this study, let's propose a new scientific law: the "Law of Conservation of Cheese-Energy" – because when it comes to the un-brie-lievable and the unforeseen, we're just scratching the surface of the cheddar-generating potential of research.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Mexico. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico

[[ABSTRACT]]
This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.


[[INTRDUCTION]]
Gouda afternoon, esteemed colleagues and fromage enthusiasts! Today, we embark on a journey through the labyrinth of data to explore the link between two seemingly unrelated entities: American cheese consumption and nuclear power generation in Mexico. Hold on to your lab coats, because things are about to get grate!
As we delve into this cheddar-worthy subject, we cannot help but marvel at the seemingly incongruous coupling of a dairy delicacy and a powerhouse of energy. It's like mixing mozzarella and marshmallows – unexpected, yet intriguing! But hey, who knew that behind every slice of American cheese lay the potential to unlock the secrets of nuclear energy? As the saying goes, "The curd is out on that one!"
Our quest for understanding led us down a path lined with statistical analyses, pivotal data points, and a lot of stilton the air. Armed with an arsenal of correlation coefficients and p-values, we set out to unravel whether there's more to this cheesy business than meets the eye. After all, in the world of research, the proof is in the pudding, or in this case, in the cheesecake!
Now, before we continue, let's address the "elephant in the room-temperature dairy section" – why study this odd coupling at all? Well, as researchers, we are often urged to think outside the carton, erm, "box," and explore the unexplored. In the grand tradition of scientific inquiry, we wanted to swiss things up a bit and delve into unexplored territories – for science, and for the sake of a good, pun-believable story!
So, grab a slice of your favorite fromage, and let's embark on this brie-lliant adventure through the labyrinth of curiously cheesy statistics and power generation dynamics. After all, who knows what we might feta, er, find, at the end of this scientific rabbit hole? It's sure to be a gouda time!

[[RESULTS]]
The data analysis revealed a rather gouda-licious correlation between American cheese consumption in the United States and nuclear power generation in Mexico. The correlation coefficient of 0.7586833 indicates a strong positive relationship between the two variables, suggesting that as American cheese consumption increased, so did the generation of nuclear power in Mexico. It seems as though this cheesy affair may have been more than just a case of queso mistaken identity.
Now, one might wonder, "What's the big dill about this correlation anyway?" Well, it suggests that there could be a potential conditional dependence between these seemingly unrelated factors. It's like discovering that peanut butter and jelly weren't just meant to be sandwiched together but also to fuel some unexpected scientific hypotheses!
Coupled with an r-squared value of 0.5756003, our findings indicate that approximately 57.56% of the variability in nuclear power generation in Mexico can be explained by fluctuations in American cheese consumption. That's right; it seems that the curdly goodness of American cheese may wield more influence than previously imagined. This goes to show that in the world of research, even the most un-cheese-pecting variables can turn out to be part of a crucial recipe for scientific understanding.
As for the p-value being less than 0.01, well, it's safe to say that our findings are not just a "queso-tion" of chance. The probability of observing such a strong relationship between these variables by mere coincidence is highly unlikely, supporting the significance of our findings. It looks like the evidence stacked up like a tower of gouda on this one!
Furthermore, our findings are graphically summarized in Fig. 1, which presents a scatterplot showcasing the positively sloped relationship between American cheese consumption and nuclear power generation in Mexico. It's a real "grate" visual representation of the correlation we've uncovered – you could say it's "whey" beyond what we expected!
In conclusion, the results of this study suggest a close connection between American cheese consumption and nuclear power generation in Mexico, undoubtedly adding a slice of intrigue to the scientific landscape. Who knew that the power of cheese could extend beyond a mere topping for nachos to having potential implications for energy generation? It seems that when it comes to scientific research, the possibilities are as endless as the varieties of cheese in the world – and that's no small "queso"!


-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has revealed a gouda-licious relationship between American cheese consumption and nuclear power generation in Mexico. The statistically significant correlation coefficient and p-value provide strong evidence for the connection between these seemingly unrelated variables. It's astounding to think that the humble slice of American cheese could hold such potential power – talk about curd-ling the competition!

This research contributes to a greater understanding of the interplay between agricultural products and energy dynamics. The findings highlight the importance of considering unexpected variables in scientific inquiry. Who knows, maybe the next breakthrough in energy research will involve a slice of Swiss, provolone everyone wrong!

It's clear that there's more to discover in the realm of cheesy-science, but for now, we'll wrap up this study with a cheesy pun: Why did the cheese scientist explore the nuclear plant? Because he wanted to feta understand the power of fusion!

In the end, it's safe to say that this topic has been thoroughly grated, er, I mean, explored, and no further research is needed in this area. After all, we wouldn't want to milk this study for all it's worth – that would be far too cheesy!


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 Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Dairy Science and Nuclear Physics


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 Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Comparative Dairy 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 Cheesing the Power: Exploring the Curd-ious Connection Between American Cheese Consumption and Nuclear Power Generation in Mexico with an abstract of This study delves into the un-brie-lievable relationship between American cheese consumption and nuclear power generation in Mexico. Drawing from data sources such as the USDA and Energy Information Administration, our research team sought to answer the age-old question: is there a cheddar, er, better, er, correlation between the consumption of American cheese and the generation of nuclear power south of the border? Our findings revealed a strong correlation coefficient of 0.7586833 and a p-value of less than 0.01 for the period spanning 1990 to 2021. It seems there may be more to this cheesy matter than meets the eye - perhaps the power of queso holds some un-grate-ful secrets! But hey, no need to get feta up about it just yet - there's plenty of gouda research ahead to swiss out any doubts. As for the punchline, well, the jury's still out on whether the jokes were too cheesy or if they really brought home the bacon.

ChatGPT:

American cheese consumption, nuclear power generation, Mexico, correlation, USDA data, Energy Information Administration, American cheese consumption data, nuclear power generation data, correlation coefficient, p-value, cheese consumption and nuclear power correlation, Mexican nuclear power generation, American cheese consumption 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 Mexico
Detailed data title: Total nuclear power generation in Mexico in billion kWh
Source: Energy Information Administration
See what else correlates with Nuclear power generation in Mexico

Correlation r = 0.7586833 (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.5756003 (Coefficient of determination)
This means 57.6% of the change in the one variable (i.e., Nuclear power generation in Mexico) is predictable based on the change in the other (i.e., American cheese consumption) over the 32 years from 1990 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 4.9E-7. 0.0000004861924064569508000000
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.76 in 4.9E-5% of random cases. Said differently, if you correlated 2,056,799 random variables You don't actually need 2 million variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 31 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 31 because we have two variables measured over a period of 32 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.56, 0.88 ] 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.
19901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
American cheese consumption (Pounds per person)11.12711.033511.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 Mexico (Billion kWh)2.794.033.7234.684314.0278.0217.4849.9378.89.5027.818.299.269.9758.73410.31810.49.9479.35910.1085.6619.6638.40911.3779.30311.17710.27210.57213.31710.88110.866311.4326




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.127,11.0335,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([2.79,4.03,3.723,4.68431,4.027,8.021,7.484,9.937,8.8,9.502,7.81,8.29,9.26,9.975,8.734,10.318,10.4,9.947,9.359,10.108,5.661,9.663,8.409,11.377,9.303,11.177,10.272,10.572,13.317,10.881,10.8663,11.4326,])
array_1_name = "American cheese consumption"
array_2_name = "Nuclear power generation in Mexico"

# 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: 1974 · Black Variable ID: 553 · Red Variable ID: 23822
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0