about · email me · subscribe
Spurious correlation #3,820 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Hydopower energy generated in Estonia and the second variable is Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion.  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 the turbines spun and the hydroelectric power flowed, it sent a surge of energy through the land. This not only powered up homes and businesses, but also inadvertently revved up the local hot dog vendors. The irresistible aroma of sizzling sausages wafted through the air, luring in snack-happy onlookers. And as the people indulged in these extra tasty treats, little did they know that they were unknowingly fueling the competitive eating spirit of the next Nathan's Hot Dog Eating Champion. It seems that in the ultimate twist of fate, Estonia's quest for renewable energy ended up sparking a chain reaction of frankfurter festivities, ultimately shaping the glorious destiny of a hot dog hero.

Model: dalle-3
Prompt: In the quiet countryside of Estonia, an expanse of picturesque greenery flourishes under the bright sky. In the foreground, a mighty river flows through the landscape, its waters reflecting the sun's golden rays. Along the riverbanks, modern hydroelectric infrastructure harmoniously integrates with the natural beauty of the surroundings, capturing the powerful force of water converted into clean energy. Amidst this tranquil scenery, a jovial figure, the Nathan's Hot Dog Eating Competition Champion, enthusiastically engulfs a mountain of hot dogs, symbolizing the abundance offered by Estonia's hydro-farming resources. 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: Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. 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: Cute 2D animation Hyper-realistic An image that looks like it is a scene from A Disney Movie Scalar art Cyberpunk
ChatGPT: Scalar art

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 Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion, in the following situation: Because as hydropower energy increased in Estonia, it led to a surge in hot dog production due to the country's abundance of hydro-farming resources. This resulted in a surplus of hot dogs, prompting Nathan's Hot Dog Eating Competition Champion to consume more in order to support the industry, while also making a splash in the international eating scene.. Keep the description simple.
ChatGPT: A picturesque view of Estonia's lush landscape, with powerful rivers flowing through the countryside, showcasing the generation of hydropower energy. In the midst of this scene, stands Nathan's Hot Dog Eating Competition Champion joyfully devouring a massive pile of hot dogs, signifying the surge in hotdog consumption due to the surplus produced from the country's abundance of hydro-farming resources.

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: [ Scalar art ] and depicting this scene: A picturesque view of Estonia's lush landscape, with powerful rivers flowing through the countryside, showcasing the generation of hydropower energy. In the midst of this scene, stands Nathan's Hot Dog Eating Competition Champion joyfully devouring a massive pile of hot dogs, signifying the surge in hotdog consumption due to the surplus produced from the country's abundance of hydro-farming resources. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: In the quiet countryside of Estonia, an expanse of picturesque greenery flourishes under the bright sky. In the foreground, a mighty river flows through the landscape, its waters reflecting the sun's golden rays. Along the riverbanks, modern hydroelectric infrastructure harmoniously integrates with the natural beauty of the surroundings, capturing the powerful force of water converted into clean energy. Amidst this tranquil scenery, a jovial figure, the Nathan's Hot Dog Eating Competition Champion, enthusiastically engulfs a mountain of hot dogs, symbolizing the abundance offered by Estonia's hydro-farming resources.

*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 Hydopower energy generated in Estonia caused Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion to increase.

AI academic paper

(Because p < 0.01)
Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions

The Journal of Hydrodynamic Gastronomy

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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns.

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

Your research team used data from Energy Information Administration and Wikipedia to assess this nagging question. You found a correlation coefficient of 0.8540224 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]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The world of academic research is often characterized by its serious and somber tone, with discussions of statistical analyses and data correlations typically devoid of levity or mirth. However, in the spirit of scientific inquiry, we aim to inject a bit of humor and unorthodox thinking into the exploration of the relationship between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition.

As we embark on this unconventional investigation, it is essential to acknowledge the intrinsic comedic potential of studying a connection between a renewable energy source and a staple of American cuisine. It is not often that one can seamlessly segue from discussions of hydroelectricity to the guzzling of wieners, but such is the delightfully unexpected nature of research.

The main goal of this study is to bring to light a correlation that defies traditional logic and is as enigmatic as it is intriguing. We sought to shed light on the relationship between the energy harnessed from gushing waterways and the gluttonous consumption of hotdogs by individuals whose appetites for tubular meat know no bounds. With a tongue-in-cheek approach and a hearty appetite for statistical analysis, we embarked on a journey to uncover the tantalizing link between these seemingly disparate variables.

So, let us embark on this whimsical expedition, as we delve into the world of hydropower energy and competitive hotdog consumption, armed with the tools of statistical analysis, a dash of wit, and, of course, a healthy appreciation for the absurd. Hold onto your buns as we uncover the sizzling connection between these seemingly unrelated phenomena!


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The world of academic research is often characterized by its serious and somber tone, with discussions of statistical analyses and data correlations typically devoid of levity or mirth. However, in the spirit of scientific inquiry, we aim to inject a bit of humor and unorthodox thinking into the exploration of the relationship between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition.
As we embark on this unconventional investigation, it is essential to acknowledge the intrinsic comedic potential of studying a connection between a renewable energy source and a staple of American cuisine. It is not often that one can seamlessly segue from discussions of hydroelectricity to the guzzling of wieners, but such is the delightfully unexpected nature of research.
The main goal of this study is to bring to light a correlation that defies traditional logic and is as enigmatic as it is intriguing. We sought to shed light on the relationship between the energy harnessed from gushing waterways and the gluttonous consumption of hotdogs by individuals whose appetites for tubular meat know no bounds. With a tongue-in-cheek approach and a hearty appetite for statistical analysis, we embarked on a journey to uncover the tantalizing link between these seemingly disparate variables.
So, let us embark on this whimsical expedition, as we delve into the world of hydropower energy and competitive hotdog consumption, armed with the tools of statistical analysis, a dash of wit, and, of course, a healthy appreciation for the absurd. Hold onto your buns as we uncover the sizzling connection between these seemingly unrelated phenomena!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The investigation into the curious correlation between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition champions has spurred a variety of scholarly inquiries, each offering unique perspectives and, at times, unanticipated comedic relief.

Smith et al. (2015) examined the ecological impact of hydropower projects in Estonia, focusing on the intricate relationship between water flow and energy production. Their work highlighted the immense potential of hydroelectricity in a country renowned for its picturesque landscapes, but regrettably overlooked the possibility of its influence on the world of competitive hotdog eating.

In "Doe's Delicious Discoveries" (2018), the correlation between hotdog consumption and gastric distress is thoroughly explored, offering insight into the gastrointestinal consequences of indulging in copious amounts of frankfurters. While this study did not explicitly probe the link to hydropower energy, it did underscore the urgency for comprehensive dietary considerations in the competitive eating circuit.

Turning to a more unconventional source, the fictional work "Hydro Hero: The Rise of the Wiener Warrior" (Bratwurst, 2007) offers a tongue-in-cheek narrative of a hotdog-eating champion imbued with hydrokinetic abilities. While clearly a work of fiction, the underlying theme of interconnectedness between hydro-energy and hotdog consumption provides a whimsical lens through which to view this peculiar phenomenon.

In a surprising turn of events, board games have also contributed to the discourse on this enigmatic correlation. "Power Plays and Picnics" (Game & Snack Quarterly, 2020) presents a whimsical board game that simulates the experience of managing a hydropower plant while navigating the challenges of catering to a boisterous hotdog-eating competition. Although purely recreational in nature, such games foster a playful exploration of the intertwining worlds of energy production and culinary indulgence.

As the literature survey demonstrates, the connection between hydropower energy in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition is a subject of both scholarly and imaginative interest. It is a realm where empirical data and whimsical narratives converge, inviting researchers to partake in a lighthearted yet thought-provoking exploration of this sizzling association.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. 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 Energy Information Administration and Wikipedia . 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]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

[[INTRODUCTION]]
The world of academic research is often characterized by its serious and somber tone, with discussions of statistical analyses and data correlations typically devoid of levity or mirth. However, in the spirit of scientific inquiry, we aim to inject a bit of humor and unorthodox thinking into the exploration of the relationship between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition.
As we embark on this unconventional investigation, it is essential to acknowledge the intrinsic comedic potential of studying a connection between a renewable energy source and a staple of American cuisine. It is not often that one can seamlessly segue from discussions of hydroelectricity to the guzzling of wieners, but such is the delightfully unexpected nature of research.
The main goal of this study is to bring to light a correlation that defies traditional logic and is as enigmatic as it is intriguing. We sought to shed light on the relationship between the energy harnessed from gushing waterways and the gluttonous consumption of hotdogs by individuals whose appetites for tubular meat know no bounds. With a tongue-in-cheek approach and a hearty appetite for statistical analysis, we embarked on a journey to uncover the tantalizing link between these seemingly disparate variables.
So, let us embark on this whimsical expedition, as we delve into the world of hydropower energy and competitive hotdog consumption, armed with the tools of statistical analysis, a dash of wit, and, of course, a healthy appreciation for the absurd. Hold onto your buns as we uncover the sizzling connection between these seemingly unrelated phenomena!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the tantalizing link between hydropower generation in Estonia and the appetite-inducing hotdog consumption by Nathan's Hot Dog Eating Competition Champions, our research team embarked on a quest that was as zany as it was statistically rigorous. The data utilized for this study spanned the years 1992 to 2021, with a primary focus on uncovering the potential connection between these seemingly unrelated variables.

First and foremost, the hydropower data was meticulously gleaned from the Energy Information Administration, a veritable treasure trove of energy statistics. We combed through the depths of hydropower generation figures in Estonia, channeling our inner hydrologists to ensure the accuracy and comprehensiveness of our dataset. With this hydro-powered determination, we left no current unmeasured and no dam unturned in our pursuit of unearthing the energy dynamics of this Baltic gem.

On the other hand, the consumption of hotdogs by Nathan's Hot Dog Eating Competition Champions was gleefully sourced from the annals of Wikipedia, relying on the collective wisdom of internet contributors to paint a composite picture of wiener wonderment over the years. We waded through the layers of entrails, metaphorically speaking, to extract the juicy statistics related to the consumption of hotdogs by these revered champions. As we embarked on this unconventional mission, we embraced the inherent quirkiness of relying on publicly edited data, all the while maintaining a sense of discernment and skepticism.

Once armed with these datasets, we unleashed the formidable powers of statistical analysis to uncover the potential relationship between these variables. Employing rigorous analytical techniques and with a healthy dose of scientific skepticism, we scrutinized the data to discern any patterns or correlations that eluded the untrained eye. Through the time-tested tools of regression analysis and correlation coefficients, we sought to unveil the statistical sizzle that could provide insight into the potential link between hydropower energy in Estonia and the insatiable consumption of hotdogs by competitive eating champions.

Furthermore, in the spirit of academic camaraderie, we consulted with experts in the fields of energy economics and competitive eating to ensure the robustness and validity of our approach. These consultations lent a degree of professional flavor to our methodology, ensuring that our findings were not mere statistical fluff, but instead, a meaty contribution to the realm of interdisciplinary research.

In summary, our methodology combined a blend of data wrangling, statistical fortitude, and a touch of whimsy as we endeavored to unravel the tantalizing connection between hydropower generation and the voracious consumption of hotdogs. With a hearty dose of scientific rigor and a dollop of good humor, we sallied forth into the statistical fray, poised to uncover the delectable link between these unlikely bedfellows.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. 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 Energy Information Administration and Wikipedia .

For the time period 1992 to 2021, you found a correlation 0.8540224, r-squared of 0.7293542, 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]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The world of academic research is often characterized by its serious and somber tone, with discussions of statistical analyses and data correlations typically devoid of levity or mirth. However, in the spirit of scientific inquiry, we aim to inject a bit of humor and unorthodox thinking into the exploration of the relationship between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition.
As we embark on this unconventional investigation, it is essential to acknowledge the intrinsic comedic potential of studying a connection between a renewable energy source and a staple of American cuisine. It is not often that one can seamlessly segue from discussions of hydroelectricity to the guzzling of wieners, but such is the delightfully unexpected nature of research.
The main goal of this study is to bring to light a correlation that defies traditional logic and is as enigmatic as it is intriguing. We sought to shed light on the relationship between the energy harnessed from gushing waterways and the gluttonous consumption of hotdogs by individuals whose appetites for tubular meat know no bounds. With a tongue-in-cheek approach and a hearty appetite for statistical analysis, we embarked on a journey to uncover the tantalizing link between these seemingly disparate variables.
So, let us embark on this whimsical expedition, as we delve into the world of hydropower energy and competitive hotdog consumption, armed with the tools of statistical analysis, a dash of wit, and, of course, a healthy appreciation for the absurd. Hold onto your buns as we uncover the sizzling connection between these seemingly unrelated phenomena!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

A sizzling correlation emerged from our analysis, revealing a noteworthy connection between hydropower energy generated in Estonia and the consumption of hotdogs by the illustrious champions of Nathan's Hot Dog Eating Competition. With a correlation coefficient of 0.8540224, an r-squared of 0.7293542, and a p-value of less than 0.01, the statistical results leave little room for skepticism about the tantalizing association between these two seemingly unrelated phenomena.

The figure (Fig. 1) visually captures the robust correlation, exhibiting a scatterplot that eloquently illustrates the linear relationship between hydropower energy generation and the astounding hotdog consumption by the competitive champions. The scatterplot serves as a compelling visual testament to the unexpected affinity between these variables, leaving the viewer both bemused and impressed by the strength of the relationship.

As we unpack the statistical findings, it becomes apparent that the consumption of hotdogs by Nathan's champions is positively linked to the hydropower energy generated in Estonia. It seems that the gushing waters of Estonia's hydropower plants have not only fueled the electricity grid but have also indirectly fueled the voracious appetites of the hotdog champions. Such a revelation challenges conventional wisdom and adds a tantalizing layer to the discourse on renewable energy and competitive eating.

This study, with its blend of ingenuity and absurdity, pushes the boundaries of traditional research and underscores the unexpected connections that can be unearthed through rigorous statistical analysis. The results of our investigation invite the academic community to ponder the whimsical and often humorous facets of statistical research, while also appreciating the tantalizing link between two seemingly incongruous variables.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. 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]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

[[LITERATURE REVIEW]]
The investigation into the curious correlation between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition champions has spurred a variety of scholarly inquiries, each offering unique perspectives and, at times, unanticipated comedic relief.
Smith et al. (2015) examined the ecological impact of hydropower projects in Estonia, focusing on the intricate relationship between water flow and energy production. Their work highlighted the immense potential of hydroelectricity in a country renowned for its picturesque landscapes, but regrettably overlooked the possibility of its influence on the world of competitive hotdog eating.
In "Doe's Delicious Discoveries" (2018), the correlation between hotdog consumption and gastric distress is thoroughly explored, offering insight into the gastrointestinal consequences of indulging in copious amounts of frankfurters. While this study did not explicitly probe the link to hydropower energy, it did underscore the urgency for comprehensive dietary considerations in the competitive eating circuit.
Turning to a more unconventional source, the fictional work "Hydro Hero: The Rise of the Wiener Warrior" (Bratwurst, 2007) offers a tongue-in-cheek narrative of a hotdog-eating champion imbued with hydrokinetic abilities. While clearly a work of fiction, the underlying theme of interconnectedness between hydro-energy and hotdog consumption provides a whimsical lens through which to view this peculiar phenomenon.
In a surprising turn of events, board games have also contributed to the discourse on this enigmatic correlation. "Power Plays and Picnics" (Game & Snack Quarterly, 2020) presents a whimsical board game that simulates the experience of managing a hydropower plant while navigating the challenges of catering to a boisterous hotdog-eating competition. Although purely recreational in nature, such games foster a playful exploration of the intertwining worlds of energy production and culinary indulgence.
As the literature survey demonstrates, the connection between hydropower energy in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition is a subject of both scholarly and imaginative interest. It is a realm where empirical data and whimsical narratives converge, inviting researchers to partake in a lighthearted yet thought-provoking exploration of this sizzling association.

[[RESULTS]]
A sizzling correlation emerged from our analysis, revealing a noteworthy connection between hydropower energy generated in Estonia and the consumption of hotdogs by the illustrious champions of Nathan's Hot Dog Eating Competition. With a correlation coefficient of 0.8540224, an r-squared of 0.7293542, and a p-value of less than 0.01, the statistical results leave little room for skepticism about the tantalizing association between these two seemingly unrelated phenomena.
The figure (Fig. 1) visually captures the robust correlation, exhibiting a scatterplot that eloquently illustrates the linear relationship between hydropower energy generation and the astounding hotdog consumption by the competitive champions. The scatterplot serves as a compelling visual testament to the unexpected affinity between these variables, leaving the viewer both bemused and impressed by the strength of the relationship.
As we unpack the statistical findings, it becomes apparent that the consumption of hotdogs by Nathan's champions is positively linked to the hydropower energy generated in Estonia. It seems that the gushing waters of Estonia's hydropower plants have not only fueled the electricity grid but have also indirectly fueled the voracious appetites of the hotdog champions. Such a revelation challenges conventional wisdom and adds a tantalizing layer to the discourse on renewable energy and competitive eating.
This study, with its blend of ingenuity and absurdity, pushes the boundaries of traditional research and underscores the unexpected connections that can be unearthed through rigorous statistical analysis. The results of our investigation invite the academic community to ponder the whimsical and often humorous facets of statistical research, while also appreciating the tantalizing link between two seemingly incongruous variables.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The sizzling connection between hydropower energy generated in Estonia and the consumption of hotdogs by the illustrious champions of Nathan's Hot Dog Eating Competition has left the academic community both amused and ravenous for more insights. Our findings not only support, but also complement and relish in the tongue-in-cheek perspectives offered by the existing literature. The correlation coefficient of 0.8540224 and the r-squared of 0.7293542 echo the sentiments of Smith et al. (2015), who highlighted the potentially immense impact of hydropower projects in Estonia. This connection may have been missed by Smith and colleagues, but the statistical robustness of our findings adds a flavorful layer to the discourse on hydropower's influence.

While "Doe's Delicious Discoveries" (2018) diligently focused on the gastric repercussions of excessive hotdog consumption, it inadvertently set the stage for our investigation into the broader implications of hotdog indulgence. Our results provide empirical weight to the urgency for comprehensive dietary considerations in the competitive eating circuit. Furthermore, the whimsical narrative of "Hydro Hero: The Rise of the Wiener Warrior" (Bratwurst, 2007) perhaps inadvertently hinted at the broader interconnectedness between hydro-energy and hotdog consumption, which our study has substantiated with substantial statistical rigor.

As we delve into the implications of our findings, it's hard to resist the temptation to wax lyrical about the unexpected yet scrumptious nexus between renewable energy and competitive eating. The strengths of our statistical analysis have laid bare a connection that was previously hidden in the depths of empirical data. The scatterplot, with its visually tantalizing depiction of the linear relationship, encapsulates the unexpected affinity between these variables, leaving the viewer both bemused and ravenous for more insights.

In conclusion, our study has successfully demonstrated the unexpectedly strong link between hydropower energy generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition. The results challenge conventional wisdom and invite the academic community to relish in the whimsical and often humorous facets of quantitative research. This study provides a delectable fusion of statistical rigor and tongue-in-cheek amusement, offering a savory reminder of the delightful discoveries that can stem from seemingly disparate variables.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Hydopower energy generated in Estonia and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. 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]]
"Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions"

[[ABSTRACT]]
The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

[[INTRDUCTION]]
The world of academic research is often characterized by its serious and somber tone, with discussions of statistical analyses and data correlations typically devoid of levity or mirth. However, in the spirit of scientific inquiry, we aim to inject a bit of humor and unorthodox thinking into the exploration of the relationship between hydropower generation in Estonia and the consumption of hotdogs by the champions of Nathan's Hot Dog Eating Competition.
As we embark on this unconventional investigation, it is essential to acknowledge the intrinsic comedic potential of studying a connection between a renewable energy source and a staple of American cuisine. It is not often that one can seamlessly segue from discussions of hydroelectricity to the guzzling of wieners, but such is the delightfully unexpected nature of research.
The main goal of this study is to bring to light a correlation that defies traditional logic and is as enigmatic as it is intriguing. We sought to shed light on the relationship between the energy harnessed from gushing waterways and the gluttonous consumption of hotdogs by individuals whose appetites for tubular meat know no bounds. With a tongue-in-cheek approach and a hearty appetite for statistical analysis, we embarked on a journey to uncover the tantalizing link between these seemingly disparate variables.
So, let us embark on this whimsical expedition, as we delve into the world of hydropower energy and competitive hotdog consumption, armed with the tools of statistical analysis, a dash of wit, and, of course, a healthy appreciation for the absurd. Hold onto your buns as we uncover the sizzling connection between these seemingly unrelated phenomena!

[[RESULTS]]
A sizzling correlation emerged from our analysis, revealing a noteworthy connection between hydropower energy generated in Estonia and the consumption of hotdogs by the illustrious champions of Nathan's Hot Dog Eating Competition. With a correlation coefficient of 0.8540224, an r-squared of 0.7293542, and a p-value of less than 0.01, the statistical results leave little room for skepticism about the tantalizing association between these two seemingly unrelated phenomena.
The figure (Fig. 1) visually captures the robust correlation, exhibiting a scatterplot that eloquently illustrates the linear relationship between hydropower energy generation and the astounding hotdog consumption by the competitive champions. The scatterplot serves as a compelling visual testament to the unexpected affinity between these variables, leaving the viewer both bemused and impressed by the strength of the relationship.
As we unpack the statistical findings, it becomes apparent that the consumption of hotdogs by Nathan's champions is positively linked to the hydropower energy generated in Estonia. It seems that the gushing waters of Estonia's hydropower plants have not only fueled the electricity grid but have also indirectly fueled the voracious appetites of the hotdog champions. Such a revelation challenges conventional wisdom and adds a tantalizing layer to the discourse on renewable energy and competitive eating.
This study, with its blend of ingenuity and absurdity, pushes the boundaries of traditional research and underscores the unexpected connections that can be unearthed through rigorous statistical analysis. The results of our investigation invite the academic community to ponder the whimsical and often humorous facets of statistical research, while also appreciating the tantalizing link between two seemingly incongruous variables.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has not only illuminated a sizzling correlation between hydropower energy in Estonia and hotdog consumption by Nathan's champions but has also injected a hefty dose of humor and absurdity into the typically staid realm of statistical research. The robust correlation coefficient and statistically significant p-value paint a picture that is as juicy as a well-grilled bratwurst. It seems that the flow of hydropower energy in Estonia has not only been powering lightbulbs but also fueling the voracious appetites of competitive hotdog eaters, creating a link that is as surprising as finding a pickle in the hotdog bun.

As we wrap up our findings, it is evident that statistically speaking, the sausage has truly spoken, revealing a deliciously tantalizing association. The visual representation in Figure 1 serves as a testament to the unassuming yet compelling relationship between hydropower energy and hotdog consumption, inviting giggles and eyebrow raises in equal measure. One cannot help but marvel at the unexpected harmonization of these seemingly unrelated phenomena, akin to witnessing a synchronized swimming routine performed by electrons and franks.

In the spirit of academic inquiry, we must acknowledge the inherent humor and whimsy that this study has brought to the forefront. Indeed, it is not every day that researchers wax lyrical about the interplay between hydroelectricity and frankfurters, or ponder the stomach-churning implications of renewable energy on competitive eating. We trust that our findings will inspire a new wave of interdisciplinary research, boldly venturing into unexplored culinary and energy territories.

As for future avenues of research, it appears that the association between hydropower energy and hotdog consumption has been sufficiently grilled, leaving little room for further probing. It seems that this peculiar correlation has truly been relished to its full extent, and no amount of statistical mustard can enhance its flavor. In the colorful tapestry of research endeavors, this study stands as a whimsical beacon, reminding us that even the most unexpected connections can be unveiled through the prism of statistical analysis and a hearty appetite for the absurd.

In the wise words of the renowned physicist Albert Einstein, "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science." As we bid adieu to this captivating investigation, we are reminded that amidst the mystery of statistical correlations, there is always room for a good laugh and a savory hotdog. Cheers to the sizzling link between hydropower energy and competitive hotdog consumption, a curious tale that will surely be recounted with a chuckle and a smattering of statistical reverence for years to come.


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 Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Hydrodynamic Gastronomy


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 Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Sizzling Energy Research


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Powering Through: The Sizzling Link Between Hydopower Generation in Estonia and the Consumption of Nathan's Hot Dog Eating Competition Champions with an abstract of The purpose of this study was to investigate the surprisingly sizzling connection between the hydropower energy generated in Estonia and the hotdogs consumed by the champions of Nathan's Hot Dog Eating Competition. Through a rigorous analysis of data from the Energy Information Administration and the hallowed halls of Wikipedia, we uncovered a striking correlation coefficient of 0.8540224 and a statistically significant p-value of less than 0.01 for the years 1992 to 2021. Our findings challenge the traditional boundaries of causation and are sure to leave the academic community relishing in this unusual association. Join us as we dive into the depths of hydropower energy and hotdog consumption, merging statistical rigor with a dash of humor and a sprinkle of absurdity. Truly a study worth relishing!

ChatGPT:

hydropower generation, Estonia, hot dog eating competition, correlation coefficient, statistical significance, Energy Information Administration, hotdog consumption, Nathan's Hot Dog Eating Competition, causation, absurdity, statistical analysis

*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

Hydopower energy generated in Estonia
Detailed data title: Total hydopower energy generated in Estonia in billion kWh
Source: Energy Information Administration
See what else correlates with Hydopower energy generated in Estonia

Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion
Detailed data title: Hotdog Consumption by Nathan's Hot Dog Eating Competition Champion
Source: Wikipedia
See what else correlates with Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion

Correlation r = 0.8540224 (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.7293542 (Coefficient of determination)
This means 72.9% of the change in the one variable (i.e., Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion) is predictable based on the change in the other (i.e., Hydopower energy generated in Estonia) over the 30 years from 1992 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.0E-9. 0.0000000019561678833644045000
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.85 in 2.0E-7% of random cases. Said differently, if you correlated 511,203,567 random variables You don't actually need 511 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 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.71, 0.93 ] 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
Hydopower energy generated in Estonia (Billion kWh)0.0010.0010.0030.0020.0020.0030.0040.0040.0050.0070.0060.0130.0220.0220.0140.0210.0280.0320.0270.0299990.0420.0260.0270.0270.0350.0259990.01500030.01899990.030.0248
Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion (Hotdogs eaten)19172019.522.2524.51920.25255050.544.553.334953.75665968546268696162707274717576




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.




Try it yourself

You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.

Step 2: Open a plaintext editor like Notepad and paste the code below into it.

Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"

Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.

Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.

Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.

Step 7: Run the Python script by typing "python calculate_correlation.py"

If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:

"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."


# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats

# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):

    # Calculate Pearson correlation coefficient and p-value
    correlation, p_value = stats.pearsonr(array1, array2)

    # Calculate R-squared as the square of the correlation coefficient
    r_squared = correlation**2

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([0.001,0.001,0.003,0.002,0.002,0.003,0.004,0.004,0.005,0.007,0.006,0.013,0.022,0.022,0.014,0.021,0.028,0.032,0.027,0.029999,0.042,0.026,0.027,0.027,0.035,0.025999,0.0150003,0.0189999,0.03,0.0248,])
array_2 = np.array([19,17,20,19.5,22.25,24.5,19,20.25,25,50,50.5,44.5,53.33,49,53.75,66,59,68,54,62,68,69,61,62,70,72,74,71,75,76,])
array_1_name = "Hydopower energy generated in Estonia"
array_2_name = "Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion"

# 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: 3820 · Black Variable ID: 23655 · Red Variable ID: 500
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0