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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Number of public school students in 6th grade and the second variable is Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion.  The chart goes from 1990 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the 6th graders honed their math skills, they started placing bets on the hot dog eating competition, leading to a surge in demand for hot dogs. This increased the production of hot dogs to keep up with the 6th grade gambling market, ultimately providing the champion with a greater supply to devour. The 6th graders unwittingly became the spicy, mustard-drenched force driving the hot dog industry!

Model: dalle-3
Prompt: Create a grayscale sketch of a bustling stadium, with rows of 6th grade students sitting eagerly at their desks, notebooks open and pencils at the ready. Nearby, on a stage, depict the Nathan's Hot Dog Eating Competition Champion standing proudly, surrounded by empty hot dog trays as he triumphantly holds up the golden trophy. The focus should be on capturing the contrast between the disciplined students and the victorious champion in a compelling newspaper illustration style. 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: Number of public school students in 6th grade 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: Art nouveau High-tech A black-and-white newspaper illustration Celtic art Oragami
ChatGPT: A black-and-white newspaper illustration

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 Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion together. Keep the description simple.
ChatGPT: In a bustling stadium, rows of 6th grade students sit eagerly in their desks, notebooks open and pencils ready. Meanwhile, on a stage nearby, the Nathan's Hot Dog Eating Competition Champion stands proudly, surrounded by empty hot dog trays as he triumphantly holds up the golden trophy.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A black-and-white newspaper illustration ] and depicting this scene: In a bustling stadium, rows of 6th grade students sit eagerly in their desks, notebooks open and pencils ready. Meanwhile, on a stage nearby, the Nathan's Hot Dog Eating Competition Champion stands proudly, surrounded by empty hot dog trays as he triumphantly holds up the golden trophy. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create a grayscale sketch of a bustling stadium, with rows of 6th grade students sitting eagerly at their desks, notebooks open and pencils at the ready. Nearby, on a stage, depict the Nathan's Hot Dog Eating Competition Champion standing proudly, surrounded by empty hot dog trays as he triumphantly holds up the golden trophy. The focus should be on capturing the contrast between the disciplined students and the victorious champion in a compelling newspaper illustration style.

*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 Number of public school students in 6th grade caused Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion to increase.

AI academic paper

(Because p < 0.01)
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

The Journal of Adolescent Gastronomical Studies

Jan 2024

Reminder: This paper is AI-generated. Not real!
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns.

Make the title an alliteration.

Your research team used data from National Center for Education Statistics and Wikipedia to assess this nagging question. You found a correlation coefficient of 0.8008614 and p < 0.01 for 1990 to 2022.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Cliché as it may seem, we often hear the phrase "You are what you eat," but what if we took it a step further and considered "You are how many hotdogs the Nathan's Hot Dog Eating Champion eats"? In this paper, we delve into the unexpected correlation between the number of 6th-grade public school students and the astonishing consumption of hot dogs by the esteemed gluttons at Nathan's annual hot dog eating competition. As curious researchers with an insatiable appetite for uncovering the unexpected, we set out to scrutinize this seemingly unrelated pair of statistics and explore whether there's more to this than just a mere coincidental sausage fest.

Few things in life are as iconic as the hustle and bustle of a school cafeteria and the grand spectacle of competitive eating. One might easily dismiss these two realms as residing on opposite ends of the culinary spectrum - one featuring dutifully nibbling youngsters, the other showcasing the Herculean feats of gastronomic prowess. However, what if we told you that these divergent worlds might, in fact, share a link as uncanny as a hot dog without mustard? We invite you to embark on this investigative journey with us as we attempt to unravel the mystifying correlation between the number of 6th-grade students and the phenomenal hot dog consumption that has made jaws drop and stomachs churn every Fourth of July at Coney Island.

Though the world may seem full of unrelated conundrums - like why hot dogs come in packages of 10 while buns come in packages of 8, or why the word "lunch" is more accurately described as both a verb and a noun - our research aims to peel back the layers of this peculiar onion and reveal the possible connections that lie within. In the spirit of scientific inquiry, we sought to bring together seemingly incongruous statistics, leaving no bun unturned and no data untasted, all in pursuit of uncovering the tantalizing tidbits that may lead to a fuller understanding of this intriguing association. So, grab your condiments and join us as we dive into this wacky world of statistical munching.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade 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. Then name a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Cliché as it may seem, we often hear the phrase "You are what you eat," but what if we took it a step further and considered "You are how many hotdogs the Nathan's Hot Dog Eating Champion eats"? In this paper, we delve into the unexpected correlation between the number of 6th-grade public school students and the astonishing consumption of hot dogs by the esteemed gluttons at Nathan's annual hot dog eating competition. As curious researchers with an insatiable appetite for uncovering the unexpected, we set out to scrutinize this seemingly unrelated pair of statistics and explore whether there's more to this than just a mere coincidental sausage fest.
Few things in life are as iconic as the hustle and bustle of a school cafeteria and the grand spectacle of competitive eating. One might easily dismiss these two realms as residing on opposite ends of the culinary spectrum - one featuring dutifully nibbling youngsters, the other showcasing the Herculean feats of gastronomic prowess. However, what if we told you that these divergent worlds might, in fact, share a link as uncanny as a hot dog without mustard? We invite you to embark on this investigative journey with us as we attempt to unravel the mystifying correlation between the number of 6th-grade students and the phenomenal hot dog consumption that has made jaws drop and stomachs churn every Fourth of July at Coney Island.
Though the world may seem full of unrelated conundrums - like why hot dogs come in packages of 10 while buns come in packages of 8, or why the word "lunch" is more accurately described as both a verb and a noun - our research aims to peel back the layers of this peculiar onion and reveal the possible connections that lie within. In the spirit of scientific inquiry, we sought to bring together seemingly incongruous statistics, leaving no bun unturned and no data untasted, all in pursuit of uncovering the tantalizing tidbits that may lead to a fuller understanding of this intriguing association. So, grab your condiments and join us as we dive into this wacky world of statistical munching.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "The Link Between School Lunches and Competitive Eating Contests," Smith et al. found a surprising correlation between the number of 6th-grade public school students and the astonishing hot dog consumption by the revered champion of Nathan's annual hot dog eating competition. The study highlights the unexpected relationship between educational institutions and the world of competitive eating, raising eyebrows and curiosity in equal measure. While the connection may seem as bizarre as a vegan at a hot dog stand, the findings beg the question: is there a deeper, more sausagey significance to these seemingly unrelated spheres?

Doe and Jones, in their study "Mouthwatering Mathematics: Analyzing the Numerical Nexus of Hot Dog Consumption and 6th Grade Enrollments," delve into the statistical correlations and unearth a tantalizing coefficient of determination between these variables. Their findings go beyond the mere consumption of hot dogs and venture into the realm of probability, leaving readers with a lingering hunger for more insights into this unexpected statistical sausage fest.

Turning the page to non-fiction books, "Eat Like a 6th Grader" and "The Dog Days of Competitive Eating" offer intriguing perspectives on the influence of dietary habits and youthful appetites. However, the literature turns even more unexpected when fiction books like "The Hotdog Conspiracy" and "The Sixth Grade Sausage Saga" hint at clandestine connections between schoolchildren and competitive eating that have eluded scholarly scrutiny until now.

In our own literary odyssey to uncover the truth behind this enigmatic correlation, we turned to TV shows for inspiration. Who could forget the competitive fervor of "Hot Dog Eating Champions: The Early Years" and the seemingly innocuous cafeteria scenes in "Sixth Grade Lunch Bunch"? These shows not only entertained but stimulated our appetite for understanding the unlikely ties between school-age hunger and competitive frankfurter feasting.

As we continue our journey to untangle the web of hot dog consumption and 6th-grade enrollments, we courageously wade into an ocean of absurdity, in search of the meaty truths that lie beneath the surface. It is our hope that the findings of this paper will not only tickle your funny bone but also serve as a mustard, ketchup, and relish to the serious discussions surrounding the irresistible allure of hot dogs and the uncharted territories of 6th-grade appetites. After all, in the world of statistical correlations, sometimes the most unexpected pairings turn out to be the most relishing.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Wikipedia . You used data from 1990 to 2022

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."

[[INTRODUCTION]]
Cliché as it may seem, we often hear the phrase "You are what you eat," but what if we took it a step further and considered "You are how many hotdogs the Nathan's Hot Dog Eating Champion eats"? In this paper, we delve into the unexpected correlation between the number of 6th-grade public school students and the astonishing consumption of hot dogs by the esteemed gluttons at Nathan's annual hot dog eating competition. As curious researchers with an insatiable appetite for uncovering the unexpected, we set out to scrutinize this seemingly unrelated pair of statistics and explore whether there's more to this than just a mere coincidental sausage fest.
Few things in life are as iconic as the hustle and bustle of a school cafeteria and the grand spectacle of competitive eating. One might easily dismiss these two realms as residing on opposite ends of the culinary spectrum - one featuring dutifully nibbling youngsters, the other showcasing the Herculean feats of gastronomic prowess. However, what if we told you that these divergent worlds might, in fact, share a link as uncanny as a hot dog without mustard? We invite you to embark on this investigative journey with us as we attempt to unravel the mystifying correlation between the number of 6th-grade students and the phenomenal hot dog consumption that has made jaws drop and stomachs churn every Fourth of July at Coney Island.
Though the world may seem full of unrelated conundrums - like why hot dogs come in packages of 10 while buns come in packages of 8, or why the word "lunch" is more accurately described as both a verb and a noun - our research aims to peel back the layers of this peculiar onion and reveal the possible connections that lie within. In the spirit of scientific inquiry, we sought to bring together seemingly incongruous statistics, leaving no bun unturned and no data untasted, all in pursuit of uncovering the tantalizing tidbits that may lead to a fuller understanding of this intriguing association. So, grab your condiments and join us as we dive into this wacky world of statistical munching.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To embark on our statistical quest for sausages and scholars, we wrangled data from the National Center for Education Statistics and Wikipedia, casting a wide net from 1990 to 2022. Our approach was akin to seeking the perfect blend of relish and revelation, tapping into the reservoir of public school student enrollment figures and the towering stack of hot dog consumption statistics from the esteemed Nathan's Hot Dog Eating Competition.

Our primary focus was to establish a robust correlation between the number of 6th-grade public school students and the prodigious consumption of hot dogs by the reigning champion at the annual mastication marathon. We aimed to conduct a thorough analysis that would leave no bun unturned and no decimal point un-digested.

To tease out the connections hidden beneath the surface, we employed a blend of procedural condiments, including both univariate and multivariate statistical analyses. We first calculated the correlation coefficient between the two variables, feeling akin to astronauts navigating the cosmic sea of numerical permutations. Additionally, we employed a regression analysis to understand whether the relationship between these seemingly unrelated quantities could be modeled through a linear equation or if we were muddling through a mathematical mystery of more complex proportions.

Following the hearty execution of statistical analyses, we performed rigorous sensitivity tests to ensure that our findings were not merely a statistical fluke, but rather a robust indication of the intriguing intertwining of these disparate datasets. To validate our results further, we conducted a battery of robustness checks, akin to a discerning chef sampling various iterations of a signature dish until perfection was achieved.

Embracing the art of statistical storytelling, we presented our findings using both numerical indices and visual aids, creating a sumptuous buffet of data interpretation for our readers. The symbiotic dance of 6th-grade enrollment figures and hot dog consumption statistics unfolded before our eyes, much like the tantalizing aroma of sizzling sausages on a summer day.

In summary, our methodology aimed to blend the precision of statistical analysis with the whimsy of uncovering unexpected connections, savoring every statistical bite of this peculiar onion as we endeavored to decode the enigmatic link between 6th-grade students and the phantasmagorical feats of hot dog consumption.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Wikipedia .

For the time period 1990 to 2022, you found a correlation 0.8008614, r-squared of 0.6413790, and p < 0.01.

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

Here is the title and abstract of the paper:
[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Cliché as it may seem, we often hear the phrase "You are what you eat," but what if we took it a step further and considered "You are how many hotdogs the Nathan's Hot Dog Eating Champion eats"? In this paper, we delve into the unexpected correlation between the number of 6th-grade public school students and the astonishing consumption of hot dogs by the esteemed gluttons at Nathan's annual hot dog eating competition. As curious researchers with an insatiable appetite for uncovering the unexpected, we set out to scrutinize this seemingly unrelated pair of statistics and explore whether there's more to this than just a mere coincidental sausage fest.
Few things in life are as iconic as the hustle and bustle of a school cafeteria and the grand spectacle of competitive eating. One might easily dismiss these two realms as residing on opposite ends of the culinary spectrum - one featuring dutifully nibbling youngsters, the other showcasing the Herculean feats of gastronomic prowess. However, what if we told you that these divergent worlds might, in fact, share a link as uncanny as a hot dog without mustard? We invite you to embark on this investigative journey with us as we attempt to unravel the mystifying correlation between the number of 6th-grade students and the phenomenal hot dog consumption that has made jaws drop and stomachs churn every Fourth of July at Coney Island.
Though the world may seem full of unrelated conundrums - like why hot dogs come in packages of 10 while buns come in packages of 8, or why the word "lunch" is more accurately described as both a verb and a noun - our research aims to peel back the layers of this peculiar onion and reveal the possible connections that lie within. In the spirit of scientific inquiry, we sought to bring together seemingly incongruous statistics, leaving no bun unturned and no data untasted, all in pursuit of uncovering the tantalizing tidbits that may lead to a fuller understanding of this intriguing association. So, grab your condiments and join us as we dive into this wacky world of statistical munching.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected unveiled a remarkably robust correlation between the number of 6th-grade public school students and the hot dog consumption by the reigning champion of the Nathan's Hot Dog Eating Competition. From the years 1990 to 2022, our research illuminated a correlation coefficient of 0.8008614, indicating a strong positive relationship between these seemingly unrelated variables. This correlation is represented by an r-squared value of 0.6413790, hinting that approximately 64% of the variation in the consumption of hot dogs can be explained by the number of 6th-grade students.

Inevitably, these findings raise an assortment of questions, not least of which include speculations on the potential impact of school lunch menus on the training and development of competitive eaters. While we cannot guarantee that this correlation implies causation, the statistical connection we unearthed is one that leaves much to chew on. This unexpected pairing may well ignite the curiosity of those who ponder the mysteries of human behavior and the influence of school-age environments on the development of consumptive skills fit for the competitive eating stage.

Additionally, it is worth noting that the p-value of less than 0.01 further underscores the significance and reliability of the correlation observed. This value suggests that the probability of observing such a strong association between these variables by mere chance is exceedingly low, corroborating the statistical robustness of our findings.

Furthermore, the scatterplot (Fig. 1) provides a visual representation of the correlation, clearly illustrating the upward trend between the number of 6th-grade students and the hot dog consumption by the Nathan's Hot Dog Eating Competition champion. It is undeniable - the link is as clear as a dollop of mustard atop a hot dog.

These results prompt us to reconsider the overlooked influence that educational settings may exert on the voracious appetites of competitive eaters. Indeed, this study raises exciting prospects for future research, enticing further exploration into the peculiar intersection of academic enrollment and hot dog consumption. With this revelation, the research community is called to savor the unexpected flavors of statistical enlightenment, seasoned with a dash of irreverence and an appetite for the unconventional.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."

[[LITERATURE REVIEW]]
In "The Link Between School Lunches and Competitive Eating Contests," Smith et al. found a surprising correlation between the number of 6th-grade public school students and the astonishing hot dog consumption by the revered champion of Nathan's annual hot dog eating competition. The study highlights the unexpected relationship between educational institutions and the world of competitive eating, raising eyebrows and curiosity in equal measure. While the connection may seem as bizarre as a vegan at a hot dog stand, the findings beg the question: is there a deeper, more sausagey significance to these seemingly unrelated spheres?
Doe and Jones, in their study "Mouthwatering Mathematics: Analyzing the Numerical Nexus of Hot Dog Consumption and 6th Grade Enrollments," delve into the statistical correlations and unearth a tantalizing coefficient of determination between these variables. Their findings go beyond the mere consumption of hot dogs and venture into the realm of probability, leaving readers with a lingering hunger for more insights into this unexpected statistical sausage fest.
Turning the page to non-fiction books, "Eat Like a 6th Grader" and "The Dog Days of Competitive Eating" offer intriguing perspectives on the influence of dietary habits and youthful appetites. However, the literature turns even more unexpected when fiction books like "The Hotdog Conspiracy" and "The Sixth Grade Sausage Saga" hint at clandestine connections between schoolchildren and competitive eating that have eluded scholarly scrutiny until now.
In our own literary odyssey to uncover the truth behind this enigmatic correlation, we turned to TV shows for inspiration. Who could forget the competitive fervor of "Hot Dog Eating Champions: The Early Years" and the seemingly innocuous cafeteria scenes in "Sixth Grade Lunch Bunch"? These shows not only entertained but stimulated our appetite for understanding the unlikely ties between school-age hunger and competitive frankfurter feasting.
As we continue our journey to untangle the web of hot dog consumption and 6th-grade enrollments, we courageously wade into an ocean of absurdity, in search of the meaty truths that lie beneath the surface. It is our hope that the findings of this paper will not only tickle your funny bone but also serve as a mustard, ketchup, and relish to the serious discussions surrounding the irresistible allure of hot dogs and the uncharted territories of 6th-grade appetites. After all, in the world of statistical correlations, sometimes the most unexpected pairings turn out to be the most relishing.

[[RESULTS]]
The analysis of the data collected unveiled a remarkably robust correlation between the number of 6th-grade public school students and the hot dog consumption by the reigning champion of the Nathan's Hot Dog Eating Competition. From the years 1990 to 2022, our research illuminated a correlation coefficient of 0.8008614, indicating a strong positive relationship between these seemingly unrelated variables. This correlation is represented by an r-squared value of 0.6413790, hinting that approximately 64% of the variation in the consumption of hot dogs can be explained by the number of 6th-grade students.
Inevitably, these findings raise an assortment of questions, not least of which include speculations on the potential impact of school lunch menus on the training and development of competitive eaters. While we cannot guarantee that this correlation implies causation, the statistical connection we unearthed is one that leaves much to chew on. This unexpected pairing may well ignite the curiosity of those who ponder the mysteries of human behavior and the influence of school-age environments on the development of consumptive skills fit for the competitive eating stage.
Additionally, it is worth noting that the p-value of less than 0.01 further underscores the significance and reliability of the correlation observed. This value suggests that the probability of observing such a strong association between these variables by mere chance is exceedingly low, corroborating the statistical robustness of our findings.
Furthermore, the scatterplot (Fig. 1) provides a visual representation of the correlation, clearly illustrating the upward trend between the number of 6th-grade students and the hot dog consumption by the Nathan's Hot Dog Eating Competition champion. It is undeniable - the link is as clear as a dollop of mustard atop a hot dog.
These results prompt us to reconsider the overlooked influence that educational settings may exert on the voracious appetites of competitive eaters. Indeed, this study raises exciting prospects for future research, enticing further exploration into the peculiar intersection of academic enrollment and hot dog consumption. With this revelation, the research community is called to savor the unexpected flavors of statistical enlightenment, seasoned with a dash of irreverence and an appetite for the unconventional.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study offer a tantalizing confirmation of the unexpected correlation between the number of 6th-grade students and the astonishing hot dog consumption by the esteemed champion of Nathan's Hot Dog Eating Competition. Our findings not only corroborate but also relish in the quirky conclusions of prior research.

The literature review served as a buffet of insights, where we couldn't help but savor the unexpected yet intriguing connection between school lunch and competitive eating contests. The seemingly bizarre correlation unfolded before our very eyes, backing up the earlier claims of Smith et al. and Doe and Jones. The statistical sausage fest predicted by these studies came to fruition in our analysis, leaving us with a lot to chew on. While we did not expect to dig up further support in "The Hotdog Conspiracy" or "The Sixth Grade Sausage Saga," our findings upheld their hints at clandestine connections with surprising robustness.

Our scatterplot, akin to a culinary masterpiece, artfully conveyed the clear upward trend between 6th-grade enrollments and hot dog consumption, providing a visual feast for the eyes. The nearly linear relationship shown in the plot is as undeniable as a well-dressed hot dog, further strengthening the case for a strong, positive association between these seemingly unrelated variables.

Furthermore, the p-value of less than 0.01 served as the cherry on top of our statistical sundae, affirming the reliability and significance of our findings. The probability of observing such an uncanny association between these variables by mere chance is as low as the likelihood of finding caviar in a hot dog.

As researchers, we must acknowledge the limitations of our study and the need for continued exploration into this uncharted territory. While our findings hint at a flavorful link between academic enrollment and competitive eating prowess, we cannot sauerkraut about the causation behind this correlation. As academia often emphasizes, correlation does not necessarily imply causation. Nevertheless, these results beg the question: what delicious secrets might the future hold for the intersection of school-age hunger and competitive frankfurter feasting?

In conclusion, our study provides food for thought in more ways than one, offering a meaty contribution to the intersection of academic enrollment and hot dog consumption. We invite fellow researchers to digest these findings with an appetite for the unconventional, and to consider pursuing further research into this unanticipated connection. After all, in the appetizing world of statistical correlations, sometimes the most unexpected pairings turn out to be the most relishing.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Number of public school students in 6th grade and Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits

[[ABSTRACT]]
In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch."

[[INTRDUCTION]]
Cliché as it may seem, we often hear the phrase "You are what you eat," but what if we took it a step further and considered "You are how many hotdogs the Nathan's Hot Dog Eating Champion eats"? In this paper, we delve into the unexpected correlation between the number of 6th-grade public school students and the astonishing consumption of hot dogs by the esteemed gluttons at Nathan's annual hot dog eating competition. As curious researchers with an insatiable appetite for uncovering the unexpected, we set out to scrutinize this seemingly unrelated pair of statistics and explore whether there's more to this than just a mere coincidental sausage fest.
Few things in life are as iconic as the hustle and bustle of a school cafeteria and the grand spectacle of competitive eating. One might easily dismiss these two realms as residing on opposite ends of the culinary spectrum - one featuring dutifully nibbling youngsters, the other showcasing the Herculean feats of gastronomic prowess. However, what if we told you that these divergent worlds might, in fact, share a link as uncanny as a hot dog without mustard? We invite you to embark on this investigative journey with us as we attempt to unravel the mystifying correlation between the number of 6th-grade students and the phenomenal hot dog consumption that has made jaws drop and stomachs churn every Fourth of July at Coney Island.
Though the world may seem full of unrelated conundrums - like why hot dogs come in packages of 10 while buns come in packages of 8, or why the word "lunch" is more accurately described as both a verb and a noun - our research aims to peel back the layers of this peculiar onion and reveal the possible connections that lie within. In the spirit of scientific inquiry, we sought to bring together seemingly incongruous statistics, leaving no bun unturned and no data untasted, all in pursuit of uncovering the tantalizing tidbits that may lead to a fuller understanding of this intriguing association. So, grab your condiments and join us as we dive into this wacky world of statistical munching.

[[RESULTS]]
The analysis of the data collected unveiled a remarkably robust correlation between the number of 6th-grade public school students and the hot dog consumption by the reigning champion of the Nathan's Hot Dog Eating Competition. From the years 1990 to 2022, our research illuminated a correlation coefficient of 0.8008614, indicating a strong positive relationship between these seemingly unrelated variables. This correlation is represented by an r-squared value of 0.6413790, hinting that approximately 64% of the variation in the consumption of hot dogs can be explained by the number of 6th-grade students.
Inevitably, these findings raise an assortment of questions, not least of which include speculations on the potential impact of school lunch menus on the training and development of competitive eaters. While we cannot guarantee that this correlation implies causation, the statistical connection we unearthed is one that leaves much to chew on. This unexpected pairing may well ignite the curiosity of those who ponder the mysteries of human behavior and the influence of school-age environments on the development of consumptive skills fit for the competitive eating stage.
Additionally, it is worth noting that the p-value of less than 0.01 further underscores the significance and reliability of the correlation observed. This value suggests that the probability of observing such a strong association between these variables by mere chance is exceedingly low, corroborating the statistical robustness of our findings.
Furthermore, the scatterplot (Fig. 1) provides a visual representation of the correlation, clearly illustrating the upward trend between the number of 6th-grade students and the hot dog consumption by the Nathan's Hot Dog Eating Competition champion. It is undeniable - the link is as clear as a dollop of mustard atop a hot dog.
These results prompt us to reconsider the overlooked influence that educational settings may exert on the voracious appetites of competitive eaters. Indeed, this study raises exciting prospects for future research, enticing further exploration into the peculiar intersection of academic enrollment and hot dog consumption. With this revelation, the research community is called to savor the unexpected flavors of statistical enlightenment, seasoned with a dash of irreverence and an appetite for the unconventional.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has uncovered a statistically significant correlation between the number of 6th-grade public school students and the astounding hot dog consumption by the champion of Nathan's Hot Dog Eating Competition. While we may have started with a bit of mustard disbelief and relish, the data has spoken loud and clear – there is indeed a link between these seemingly unrelated variables. It seems that the school lunch may have a more profound impact than we ever imagined, possibly serving as a veritable training ground for future competitive eaters.

This correlation, with a robust correlation coefficient and a p-value lower than a dropped hot dog, leaves little room for doubt. The visual representation in our scatterplot, aptly demonstrating the march of hot dog consumption alongside the influx of 6th graders, is as vivid as a plate of chili cheese fries.

Yet, as tantalizing as these findings may be, we must exercise caution in drawing conclusive causation. However, the statistical dance of these variables is as mesmerizing as a twirling hot dog on a roller.

However, as much as we relish these findings and the spicy potential for future research, it appears that we have thoroughly munched on this topic. It seems that no further research is needed in this area. As we say farewell, we hope this paper has satisfied your academic appetite like a well-grilled bratwurst at a summer barbecue.


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Adolescent Gastronomical Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Adolescent Nutrition Research and Education (CANRE)


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled The Tummy's Tug-of-War: The Ties Between 6th Grade Students and Tons of Tubed Tidbits with an abstract of In this paper, we present research into the unexpectedly appetizing association between the number of 6th grade public school students and the copious consumption of hot dogs by the champion of Nathan's Hot Dog Eating Competition. With a bellyful of data sourced from the National Center for Education Statistics and Wikipedia, our analysis uncovered a tantalizing correlation coefficient of 0.8008614 and a p-value less than 0.01 from 1990 to 2022. This study not only provides food for thought but also ketchup with the notion that there may be an unanticipated link between school-age appetites and competitive consumption of frankfurters. Our findings may give new meaning to the phrase "school lunch.

ChatGPT:

6th grade students, school lunch, Nathan's Hot Dog Eating Competition, appetites, correlation coefficient, National Center for Education Statistics, competitive eating, school-age, frankfurters, research, consumption, public school, data 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

Number of public school students in 6th grade
Detailed data title: 6th grade enrollment in public elementary and secondary schools
Source: National Center for Education Statistics
See what else correlates with Number of public school students in 6th grade

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.8008614 (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.6413790 (Coefficient of determination)
This means 64.1% 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., Number of public school students in 6th grade) over the 33 years from 1990 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.2E-8. 0.0000000218255655270828250000
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.8 in 2.2E-6% of random cases. Said differently, if you correlated 45,817,828 random variables You don't actually need 45 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 32 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 32 because we have two variables measured over a period of 33 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.63, 0.9 ] 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.
199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Number of public school students in 6th grade (Students)311017032393703302670335563033814403395310349363034924903496810356412036631903768810378800037719303735280367014036603703628150361352036440603682050372358037233503684480370960037313303753910382702038925103896130374769036503103623590
Hotdogs consumed by Nathan's Hot Dog Eating Competition Champion (Hotdogs eaten)1621.519172019.522.2524.51920.25255050.544.553.334953.7566596854626869616270727471757663




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([3110170,3239370,3302670,3355630,3381440,3395310,3493630,3492490,3496810,3564120,3663190,3768810,3788000,3771930,3735280,3670140,3660370,3628150,3613520,3644060,3682050,3723580,3723350,3684480,3709600,3731330,3753910,3827020,3892510,3896130,3747690,3650310,3623590,])
array_2 = np.array([16,21.5,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,63,])
array_1_name = "Number of public school students in 6th grade"
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?

Cheers to you for rating this correlation!


Correlation ID: 1843 · Black Variable ID: 1303 · Red Variable ID: 500
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0