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

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

AI explanation

As cottage cheese consumption decreased, there was a parallel rise in lactose intolerance, leading to an unexpected decrease in moonlight strolls. This, in turn, reduced the number of inspiration-fueled burglaries in Missouri, as all the lactose-intolerant potential robbers were safely at home instead of out and about.

Model: dalle-3
Prompt: Prompt: Generate a humorous image that you would see on reddit, depicting a group of thieves sitting around a table in a quiet Missouri town, munching on cottage cheese out of the container and having an epiphany about turning away from a life of crime. 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: Cottage cheese consumption and Robberies in Missouri. 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: inspired by bauhaus a Polaroid photo High-tech Voxel art a funny image you would see on reddit
ChatGPT: a funny image you would see on reddit

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 Cottage cheese consumption and Robberies in Missouri, in the following situation: Because the decrease in cottage cheese consumption led to less cheesy burglaries in Missouri - thieves were no longer feeling as crumbly and decided to turn over a new leaf instead of turning over homes.. Keep the description simple.
ChatGPT: In a quiet Missouri town, a group of thieves sat around a table, munching on cottage cheese out of the container. As they finished their snack, one of them declared, "You know, ever since we started eating cottage cheese instead of committing robberies, I feel less crumbly inside. Let's turn over a new leaf instead of turning over homes." With that, they all stood up and walked out of the cottage, leaving behind their life of crime.

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 funny image you would see on reddit ] and depicting this scene: In a quiet Missouri town, a group of thieves sat around a table, munching on cottage cheese out of the container. As they finished their snack, one of them declared, "You know, ever since we started eating cottage cheese instead of committing robberies, I feel less crumbly inside. Let's turn over a new leaf instead of turning over homes." With that, they all stood up and walked out of the cottage, leaving behind their life of crime. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Generate a humorous image that you would see on reddit, depicting a group of thieves sitting around a table in a quiet Missouri town, munching on cottage cheese out of the container and having an epiphany about turning away from a life of crime.

*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 a decrease in Cottage cheese consumption caused Robberies in Missouri to decrease. Make it feel plausible.

AI academic paper

(Because p < 0.01)
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

The Dairy Digest

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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Your research team used data from USDA and FBI Criminal Justice Information Services to assess this nagging question. You found a correlation coefficient of 0.8841403 and p < 0.01 for 1990 to 2021.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.


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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Goudafternoon esteemed researchers and cheese aficionados alike! Today, we embark on a journey through the mysterious labyrinth of statistical analysis and gastronomic inquiries. Our investigation delves into the enigmatic world of cottage cheese consumption and its surprisingly robust association with the occurrence of robberies in the state of Missouri. Just when you thought statistics couldn't get any cheesier, we present our findings on this utterly delectable correlation.

As we delve into our findings, it's worth noting that the correlation coefficient of 0.8841403 should have us all saying, "That's a-mozzareally high correlation!" The significant p-value of less than 0.01 further emphasizes that this connection is no mere feta compli. It's a gouda find, if you will.

Upon scrutinizing the data, it became gratefully apparent that as cottage cheese consumption curdled, the incidence of robberies soared. This intriguing link led us to ponder if consuming cottage cheese leads to a case of "brie-f kleptomania." In the world of statistical analysis, it seems that when it comes to crime, cheese is whey more influential than previously thought.

Our findings challenge conventional crime analysis by showcasing the relevance of unexpected variables. This study not only offers a wedge of insight into the effin-brie-scent connection between dairy consumption and criminal behavior but also serves as a reminder to approach data with an open mind. After all, one should never underestimate the power of a "grate" statistical anomaly in unraveling human behavior.

Just remember, whether as a snack or an unexpected statistical quirk, cheese deserves to be gratefully acknowledged for its role in unraveling the complex fabric of human behavior. Now, let's embark on this intriguing journey through the curdled corridors of cottage cheese and crime.


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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Goudafternoon esteemed researchers and cheese aficionados alike! Today, we embark on a journey through the mysterious labyrinth of statistical analysis and gastronomic inquiries. Our investigation delves into the enigmatic world of cottage cheese consumption and its surprisingly robust association with the occurrence of robberies in the state of Missouri. Just when you thought statistics couldn't get any cheesier, we present our findings on this utterly delectable correlation.
As we delve into our findings, it's worth noting that the correlation coefficient of 0.8841403 should have us all saying, "That's a-mozzareally high correlation!" The significant p-value of less than 0.01 further emphasizes that this connection is no mere feta compli. It's a gouda find, if you will.
Upon scrutinizing the data, it became gratefully apparent that as cottage cheese consumption curdled, the incidence of robberies soared. This intriguing link led us to ponder if consuming cottage cheese leads to a case of "brie-f kleptomania." In the world of statistical analysis, it seems that when it comes to crime, cheese is whey more influential than previously thought.
Our findings challenge conventional crime analysis by showcasing the relevance of unexpected variables. This study not only offers a wedge of insight into the effin-brie-scent connection between dairy consumption and criminal behavior but also serves as a reminder to approach data with an open mind. After all, one should never underestimate the power of a "grate" statistical anomaly in unraveling human behavior.
Just remember, whether as a snack or an unexpected statistical quirk, cheese deserves to be gratefully acknowledged for its role in unraveling the complex fabric of human behavior. Now, let's embark on this intriguing journey through the curdled corridors of cottage cheese and crime.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The curious connection between dietary habits and criminal activity has long fascinated researchers across various disciplines. Smith et al., in "Dairy Delinquency: Exploring the Link Between Cheese Consumption and Criminal Behavior," offer a comprehensive review of literature on the subject, delving into the potential psychological and physiological mechanisms underlying this association. Similarly, Doe and Jones, in "Milk Money: Unraveling the Dairy-Crime Nexus," present a detailed analysis of the relationship between dairy product intake and various types of illicit behavior. These seminal works lay the groundwork for our investigation into the specific correlation between cottage cheese consumption and robberies in Missouri.

Turning to the bloomy rind of non-fiction literature, "Cheese and Crime: An Unlikely Connection" by Dr. Cheddar provides a thought-provoking exploration of the intersection between dairy products and unlawful conduct, offering compelling empirical examples and theoretical frameworks to ponder. In a similar vein, "Fromage Felons: The Edible Origins of Misdemeanors" by Professor Gruyère presents a tantalizing tapestry of anecdotes and statistical analyses that illuminate the curiously complex relationship between cheese consumption and criminal behavior.

Expanding our purview to the realm of fiction, the works of Agatha Christie, renowned for her mastery in weaving intricate plots, lend themselves to an intriguing examination of the clandestine connections between dairy products and felonious acts. From "The Mystery of the Camembert Caper" to "Curds, Crimes, and Cottage Cheese," Christie's captivating narratives offer a whimsical yet oddly informative take on the enigmatic intersection of dairy and delinquency.

Moreover, anecdotal evidence gleaned from social media platforms further underscores the pervasiveness of this uncanny correlation. A tweet by @CheeseLover99 mused, "Seems like the only crime here is how good cottage cheese tastes," encapsulating the levity and intrigue surrounding this unexpected linkage. Similarly, a Reddit post on r/CrimeAndCurd pondered, "Are we living in a society ruled by cheddar choices and brie-f impulses?," exemplifying the public's fascination with the intertwined domains of dairy and deviance.

In homage to the dairy du jour under scrutiny, it appears that the confluence of cottage cheese consumption and criminal incidents provides ample fodder for both scholarly scrutiny and lighthearted musings. As we savor the complexity of this enigmatic connection, let us not forget to pepper our analysis with a healthy sprinkling of cheesy puns and a dash of whimsy—after all, life's too short not to embrace the unexpected curdles on the path of academic inquiry.


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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from USDA and FBI Criminal Justice Information Services . You used data from 1990 to 2021

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

[[INTRODUCTION]]
Goudafternoon esteemed researchers and cheese aficionados alike! Today, we embark on a journey through the mysterious labyrinth of statistical analysis and gastronomic inquiries. Our investigation delves into the enigmatic world of cottage cheese consumption and its surprisingly robust association with the occurrence of robberies in the state of Missouri. Just when you thought statistics couldn't get any cheesier, we present our findings on this utterly delectable correlation.
As we delve into our findings, it's worth noting that the correlation coefficient of 0.8841403 should have us all saying, "That's a-mozzareally high correlation!" The significant p-value of less than 0.01 further emphasizes that this connection is no mere feta compli. It's a gouda find, if you will.
Upon scrutinizing the data, it became gratefully apparent that as cottage cheese consumption curdled, the incidence of robberies soared. This intriguing link led us to ponder if consuming cottage cheese leads to a case of "brie-f kleptomania." In the world of statistical analysis, it seems that when it comes to crime, cheese is whey more influential than previously thought.
Our findings challenge conventional crime analysis by showcasing the relevance of unexpected variables. This study not only offers a wedge of insight into the effin-brie-scent connection between dairy consumption and criminal behavior but also serves as a reminder to approach data with an open mind. After all, one should never underestimate the power of a "grate" statistical anomaly in unraveling human behavior.
Just remember, whether as a snack or an unexpected statistical quirk, cheese deserves to be gratefully acknowledged for its role in unraveling the complex fabric of human behavior. Now, let's embark on this intriguing journey through the curdled corridors of cottage cheese and crime.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the mysterious connection between cottage cheese consumption and the incidence of robberies in Missouri, our research team embarked on a methodological journey that was as adventurous as a mouse in a cheese factory. We assembled an eclectic mix of data sourced from the USDA food consumption database and the FBI Criminal Justice Information Services crime statistics, akin to embarking on a culinary quest using an assortment of exotic ingredients to concoct the perfect dish.

The foundation of our analysis rested upon a time span from 1990 to 2021, providing us with a substantial period to gauge the trends and fluctuations in both cottage cheese consumption and robbery occurrences. Our data collection was as meticulous as separating the curds from the whey, ensuring that we captured a comprehensive snapshot of the variables under scrutiny.

Utilizing a cornucopia of statistical techniques, we subjected the data to a rigorous analysis employing a mix of time series analysis, regression models, and hypothesis testing. This concoction of statistical methods and techniques may sound like a melting pot of complexity, but it ultimately allowed us to slice through the layers of data and extract the savory insights waiting beneath the surface.

Our statistical analysis plowed through the data using time series models to discern the temporal patterns of cottage cheese consumption and robbery incidences, akin to unraveling the intricate aging process of a fine cheddar. The regression models, on the other hand, served as a trusty compass in navigating the wilderness of variables, allowing us to quantify the impact of cottage cheese consumption on robbery rates with as much precision as a cheese slicer.

Hypothesis testing, the lynchpin of our investigative arsenal, allowed us to scrutinize the significance of the relationship between the variables, akin to determining the pungency of a particularly piquant cheese. Through this methodical approach, we were able to unveil the striking correlation between cottage cheese consumption and robberies, providing us with a robust statistical foundation to support our zesty findings.

In the spirit of scientific rigour, we approached the analysis with a healthy dose of skepticism, scrutinizing the data with the same level of precision as a discerning cheese connoisseur examining the texture and aroma of a prized cheese wheel. Our commitment to methodological rigor ensured that our findings were as solid as a block of aged parmesan, ready to be grated and sprinkled into the delicious concoction of scientific literature.

Now, let's dive into the statistical cauldron and savor the flavors of our methodological approach, much like relishing the nuanced notes of a fine artisanal cheese.


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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from USDA and FBI Criminal Justice Information Services .

For the time period 1990 to 2021, you found a correlation 0.8841403, r-squared of 0.7817040, 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]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Goudafternoon esteemed researchers and cheese aficionados alike! Today, we embark on a journey through the mysterious labyrinth of statistical analysis and gastronomic inquiries. Our investigation delves into the enigmatic world of cottage cheese consumption and its surprisingly robust association with the occurrence of robberies in the state of Missouri. Just when you thought statistics couldn't get any cheesier, we present our findings on this utterly delectable correlation.
As we delve into our findings, it's worth noting that the correlation coefficient of 0.8841403 should have us all saying, "That's a-mozzareally high correlation!" The significant p-value of less than 0.01 further emphasizes that this connection is no mere feta compli. It's a gouda find, if you will.
Upon scrutinizing the data, it became gratefully apparent that as cottage cheese consumption curdled, the incidence of robberies soared. This intriguing link led us to ponder if consuming cottage cheese leads to a case of "brie-f kleptomania." In the world of statistical analysis, it seems that when it comes to crime, cheese is whey more influential than previously thought.
Our findings challenge conventional crime analysis by showcasing the relevance of unexpected variables. This study not only offers a wedge of insight into the effin-brie-scent connection between dairy consumption and criminal behavior but also serves as a reminder to approach data with an open mind. After all, one should never underestimate the power of a "grate" statistical anomaly in unraveling human behavior.
Just remember, whether as a snack or an unexpected statistical quirk, cheese deserves to be gratefully acknowledged for its role in unraveling the complex fabric of human behavior. Now, let's embark on this intriguing journey through the curdled corridors of cottage cheese and crime.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

We found a positively goudalicious correlation between cottage cheese consumption and the incidence of robberies in Missouri for the time period of 1990 to 2021. The correlation coefficient of 0.8841403 left us exclaiming, "That's nacho average correlation!"

The r-squared value of 0.7817040 further cheesed our day, indicating that a whopping 78.17% of the variation in robberies could be explained by the consumption of cottage cheese. It's safe to say that this relationship is no minor squeak, but a major cheese.

Additionally, the p-value of less than 0.01 had us gratefully convinced that this connection is not just a dairy coincidence, but a feta compli indeed. It's not every day you stumble upon a statistic that's gouda enough to brie considered significant.

As for Fig. 1, the scatterplot speaks for itself – it's mozzarella be seen to be believed! This visual representation unmistakably displays the strong positive association between cottage cheese consumption and robberies, leaving us all a-lactose in wonderment.

In conclusion, our findings suggest that as cottage cheese consumption curdled, the occurrence of robberies soared, indicating a surprising link between dairy consumption and criminal behavior. It seems that when it comes to crime analysis, the influence of cheese is whey more than previously thought.

This study serves as a reminder to approach data with an open mind and not to underestimate the power of unexpected variables in unraveling human behavior. We are left cheese-struck by the unexpected role of cottage cheese in the complex tapestry of crime, forever changed by the profound impact of this utterly delectable correlation.


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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

[[LITERATURE REVIEW]]
The curious connection between dietary habits and criminal activity has long fascinated researchers across various disciplines. Smith et al., in "Dairy Delinquency: Exploring the Link Between Cheese Consumption and Criminal Behavior," offer a comprehensive review of literature on the subject, delving into the potential psychological and physiological mechanisms underlying this association. Similarly, Doe and Jones, in "Milk Money: Unraveling the Dairy-Crime Nexus," present a detailed analysis of the relationship between dairy product intake and various types of illicit behavior. These seminal works lay the groundwork for our investigation into the specific correlation between cottage cheese consumption and robberies in Missouri.
Turning to the bloomy rind of non-fiction literature, "Cheese and Crime: An Unlikely Connection" by Dr. Cheddar provides a thought-provoking exploration of the intersection between dairy products and unlawful conduct, offering compelling empirical examples and theoretical frameworks to ponder. In a similar vein, "Fromage Felons: The Edible Origins of Misdemeanors" by Professor Gruyère presents a tantalizing tapestry of anecdotes and statistical analyses that illuminate the curiously complex relationship between cheese consumption and criminal behavior.
Expanding our purview to the realm of fiction, the works of Agatha Christie, renowned for her mastery in weaving intricate plots, lend themselves to an intriguing examination of the clandestine connections between dairy products and felonious acts. From "The Mystery of the Camembert Caper" to "Curds, Crimes, and Cottage Cheese," Christie's captivating narratives offer a whimsical yet oddly informative take on the enigmatic intersection of dairy and delinquency.
Moreover, anecdotal evidence gleaned from social media platforms further underscores the pervasiveness of this uncanny correlation. A tweet by @CheeseLover99 mused, "Seems like the only crime here is how good cottage cheese tastes," encapsulating the levity and intrigue surrounding this unexpected linkage. Similarly, a Reddit post on r/CrimeAndCurd pondered, "Are we living in a society ruled by cheddar choices and brie-f impulses?," exemplifying the public's fascination with the intertwined domains of dairy and deviance.
In homage to the dairy du jour under scrutiny, it appears that the confluence of cottage cheese consumption and criminal incidents provides ample fodder for both scholarly scrutiny and lighthearted musings. As we savor the complexity of this enigmatic connection, let us not forget to pepper our analysis with a healthy sprinkling of cheesy puns and a dash of whimsy—after all, life's too short not to embrace the unexpected curdles on the path of academic inquiry.

[[RESULTS]]
We found a positively goudalicious correlation between cottage cheese consumption and the incidence of robberies in Missouri for the time period of 1990 to 2021. The correlation coefficient of 0.8841403 left us exclaiming, "That's nacho average correlation!"
The r-squared value of 0.7817040 further cheesed our day, indicating that a whopping 78.17% of the variation in robberies could be explained by the consumption of cottage cheese. It's safe to say that this relationship is no minor squeak, but a major cheese.
Additionally, the p-value of less than 0.01 had us gratefully convinced that this connection is not just a dairy coincidence, but a feta compli indeed. It's not every day you stumble upon a statistic that's gouda enough to brie considered significant.
As for Fig. 1, the scatterplot speaks for itself – it's mozzarella be seen to be believed! This visual representation unmistakably displays the strong positive association between cottage cheese consumption and robberies, leaving us all a-lactose in wonderment.
In conclusion, our findings suggest that as cottage cheese consumption curdled, the occurrence of robberies soared, indicating a surprising link between dairy consumption and criminal behavior. It seems that when it comes to crime analysis, the influence of cheese is whey more than previously thought.
This study serves as a reminder to approach data with an open mind and not to underestimate the power of unexpected variables in unraveling human behavior. We are left cheese-struck by the unexpected role of cottage cheese in the complex tapestry of crime, forever changed by the profound impact of this utterly delectable correlation.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study have undoubtedly stirred up a veritable fondue of scholarly debate and garnered a cheddar-load of attention from the academic community. Building on the cheese-laden foundation laid by previous researchers, our investigation not only corroborates but also elevates the conversation around the intriguing nexus of dairy intake and criminal activity. As researchers tread on uncharted territory, it becomes apparent that the connection between cottage cheese consumption and robberies in Missouri is not just a queso-ntial curiosity but a substantive linkage deserving of further exploration.

Our results harmonize with the works of Smith et al. and Doe and Jones, aligning seamlessly with their suppositions regarding the potential influence of dairy products on illicit behavior. It is evident that the pulchritudinous correlation coefficient of 0.8841403, akin to a well-aged cheddar, robustly resonates with the findings of prior studies – strengthening the foundation of the dairy-crime nexus. The r-squared value of 0.7817040 further bolsters our argument, leaving little room for skepticism and provoking the whimsical realization that not all correlations are cottage cheese, but when they are, they hold more crackle than a wheel of aged Parmesan.

With a p-value of less than 0.01, our findings transcend the realm of statistical coincidence, standing as a beacon of empirical cheese-timony to the inextricable bond between dairy consumption and criminal proclivity. This p-value, much like a perfectly ripened brie, serves as a testament to the substantive nature of the association, leaving no room for doubt that this link is not merely a result of statistical churn, but an authentic revelation.

The scatterplot, akin to a visual charcuterie board of data, offers compelling evidence of the compelling relationship between cottage cheese consumption and robberies, painting a picture more vivid than the finest palate of a cheese aficionado. As we consider the implications of our findings, it's clear that the unexpected threads of research can lead to discoveries as unanticipated as finding a wheel of gouda in an archeological dig.

In closing, the curious connection we've uncovered between cottage cheese consumption and criminal incidents is not a flimsy hypothesis but a robust and unexpected revelation. Our results stand as a testament to the astonishingly intricate interplay of seemingly unrelated factors in shaping human behavior. As we navigate the maze of scholarly inquiry, let us not forget that even in the most serious pursuits, a sprinkle of whimsy, like the finest Parmigiano-Reggiano, can elevate the flavor of discovery and make the journey through the scholarly landscape gratefully enjoyable.


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 Cottage cheese consumption and Robberies in Missouri. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri

[[ABSTRACT]]
In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.

Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."

Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

[[INTRDUCTION]]
Goudafternoon esteemed researchers and cheese aficionados alike! Today, we embark on a journey through the mysterious labyrinth of statistical analysis and gastronomic inquiries. Our investigation delves into the enigmatic world of cottage cheese consumption and its surprisingly robust association with the occurrence of robberies in the state of Missouri. Just when you thought statistics couldn't get any cheesier, we present our findings on this utterly delectable correlation.
As we delve into our findings, it's worth noting that the correlation coefficient of 0.8841403 should have us all saying, "That's a-mozzareally high correlation!" The significant p-value of less than 0.01 further emphasizes that this connection is no mere feta compli. It's a gouda find, if you will.
Upon scrutinizing the data, it became gratefully apparent that as cottage cheese consumption curdled, the incidence of robberies soared. This intriguing link led us to ponder if consuming cottage cheese leads to a case of "brie-f kleptomania." In the world of statistical analysis, it seems that when it comes to crime, cheese is whey more influential than previously thought.
Our findings challenge conventional crime analysis by showcasing the relevance of unexpected variables. This study not only offers a wedge of insight into the effin-brie-scent connection between dairy consumption and criminal behavior but also serves as a reminder to approach data with an open mind. After all, one should never underestimate the power of a "grate" statistical anomaly in unraveling human behavior.
Just remember, whether as a snack or an unexpected statistical quirk, cheese deserves to be gratefully acknowledged for its role in unraveling the complex fabric of human behavior. Now, let's embark on this intriguing journey through the curdled corridors of cottage cheese and crime.

[[RESULTS]]
We found a positively goudalicious correlation between cottage cheese consumption and the incidence of robberies in Missouri for the time period of 1990 to 2021. The correlation coefficient of 0.8841403 left us exclaiming, "That's nacho average correlation!"
The r-squared value of 0.7817040 further cheesed our day, indicating that a whopping 78.17% of the variation in robberies could be explained by the consumption of cottage cheese. It's safe to say that this relationship is no minor squeak, but a major cheese.
Additionally, the p-value of less than 0.01 had us gratefully convinced that this connection is not just a dairy coincidence, but a feta compli indeed. It's not every day you stumble upon a statistic that's gouda enough to brie considered significant.
As for Fig. 1, the scatterplot speaks for itself – it's mozzarella be seen to be believed! This visual representation unmistakably displays the strong positive association between cottage cheese consumption and robberies, leaving us all a-lactose in wonderment.
In conclusion, our findings suggest that as cottage cheese consumption curdled, the occurrence of robberies soared, indicating a surprising link between dairy consumption and criminal behavior. It seems that when it comes to crime analysis, the influence of cheese is whey more than previously thought.
This study serves as a reminder to approach data with an open mind and not to underestimate the power of unexpected variables in unraveling human behavior. We are left cheese-struck by the unexpected role of cottage cheese in the complex tapestry of crime, forever changed by the profound impact of this utterly delectable correlation.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has brought forth gouda evidence of a positively cheesy correlation between cottage cheese consumption and robberies in Missouri. The robust correlation coefficient of 0.8841403 has no doubt curdled some preconceived notions about the influence of dairy products on criminal behavior, leaving us all saying, "Well, butter my bread and call me a statistician! That's quite the whey of a finding!"

As we scrutinized the data, it became increasingly clear that as cottage cheese consumption curdled, the incidence of robberies soared. One might say that for those who consume cottage cheese, the temptation of "a-mozzareally" quick robbery might be hard to "brie"-st! It seems that the old saying "you are what you eat" may need an addendum – "you steal what you eat" might be more a-provolone!

Our study serves as a reminder that in the world of statistical analysis, one must approach data with an open mind. After all, when it comes to unraveling human behavior, one should never underestimate the power of unexpected variables, even if they are as seemingly unrelated as cottage cheese and crime.

In the end, this study has imparted a "brie"-lliant lesson in the breadth and depth of human behavior and the unexpected causal pathways that can influence it. We have been left with a renewed appreciation for unexpected statistical anomalies and a lingering craving for a good dad joke about cheese and crime.

In light of our "goudalicious" findings, we assert with confidence that no further research is needed in this area. The "whey" forward in understanding the complexities of human behavior may lie in similarly unexpected alleys, but for now, let's savor this "feta-nomenal" discovery and "brie"-thtaking correlation.


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 Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri. Respond only with the name of a fictional academic journal.

ChatGPT:

The Dairy Digest


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 Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri. Respond only with the name of a fictional organization.

ChatGPT:

The Consortium for Quirky Nutritional 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 Curdling Crime: A Curious Connection Between Cottage Cheese Consumption and Robberies in Missouri with an abstract of In this study, we embarked on a cheesy investigation to explore the enigmatic relationship between cottage cheese consumption and the occurrence of robberies in the state of Missouri. Leveraging a unique combination of USDA food consumption data and FBI Criminal Justice Information Services crime statistics, we unveiled a striking correlation between the two seemingly unrelated variables. Our findings revealed a robust correlation coefficient of 0.8841403 and a remarkably significant p-value of less than 0.01 for the period spanning from 1990 to 2021.
Harnessing the power of statistical analysis, we conducted a thorough examination of the data and discovered that as cottage cheese consumption curdled, the incidence of robberies soared. This unexpected association prompted us to delve deeper into the potential mechanisms at play, leading us to quip that perhaps the old adage "you are what you eat" should be amended to "you steal what you eat."
Our study not only sheds light on the curious connection between dairy consumption and criminal behavior but also highlights the importance of considering unexpected factors in crime analysis. As we conclude, let's gratefully acknowledge the pivotal role of cheese – whether as a snack or a statistical anomaly – in the complex tapestry of human behavior.

ChatGPT:

cottage cheese consumption, robberies, Missouri, USDA food consumption data, FBI crime statistics, correlation coefficient, p-value, statistical analysis, dairy consumption, crime 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

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

Robberies in Missouri
Detailed data title: The robbery rate per 100,000 residents in Missouri
Source: FBI Criminal Justice Information Services
See what else correlates with Robberies in Missouri

Correlation r = 0.8841403 (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.7817040 (Coefficient of determination)
This means 78.2% of the change in the one variable (i.e., Robberies in Missouri) is predictable based on the change in the other (i.e., Cottage cheese consumption) over the 32 years from 1990 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.0E-11. 0.0000000000197337467015332570
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.88 in 2.0E-9% of random cases. Said differently, if you correlated 50,674,614,158 random variables You don't actually need 50 billion variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 31 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 31 because we have two variables measured over a period of 32 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.77, 0.94 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
19901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
Cottage cheese consumption (Pounds per person)3.33.23.12.92.82.72.62.62.62.62.62.62.62.62.72.72.62.62.32.42.32.32.32.12.12.12.22.12.12.121.9
Robberies in Missouri (Robbery rate)216.4251.1226.9241.8230.7204170.6156.1149.2130.7135.8137.8123.9116.9115.1124.1130131.5125.1124.2103.2104.49690.892.2105108104.18581.374.461.3




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([3.3,3.2,3.1,2.9,2.8,2.7,2.6,2.6,2.6,2.6,2.6,2.6,2.6,2.6,2.7,2.7,2.6,2.6,2.3,2.4,2.3,2.3,2.3,2.1,2.1,2.1,2.2,2.1,2.1,2.1,2,1.9,])
array_2 = np.array([216.4,251.1,226.9,241.8,230.7,204,170.6,156.1,149.2,130.7,135.8,137.8,123.9,116.9,115.1,124.1,130,131.5,125.1,124.2,103.2,104.4,96,90.8,92.2,105,108,104.1,85,81.3,74.4,61.3,])
array_1_name = "Cottage cheese consumption"
array_2_name = "Robberies in Missouri"

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

You're a rater extraordinaire!


Correlation ID: 3687 · Black Variable ID: 556 · Red Variable ID: 20199
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0