about · email me · subscribe
Spurious correlation #2,973 · 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 Arkansas.  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

It's a whey big mystery, but it seems that as people curdled their love for cottage cheese, criminals couldn't brie happier to find an alternate whey to spend their time. Perhaps without the lactic acid-demic of cottage cheese consumption, the thieves simply couldn't find the dairyed motivation to carry out their nefarious activities. It's safe to say that this correlation is truly the curd of all curds!

Model: dalle-3
Prompt: Prompt: Generate a whimsical illustration of a cozy kitchen in Arkansas where people are enjoying bowls of cottage cheese, chatting and smiling. As they finish, they are heading out to a nearby park to engage in outdoor activities like jogging and playing sports. In the background, depict the local police station reporting a decrease in the number of reported robberies, indicating a safer and more peaceful community. The overall scene should have a warm and friendly atmosphere. 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 Arkansas. 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: Low poly Woodblock painting Whimsical illustration Steampunk Cyber folk
ChatGPT: Whimsical 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 Cottage cheese consumption and Robberies in Arkansas, in the following situation: Because the decrease in cottage cheese consumption led to less people lactose intolerant, resulting in less stomach cramps and more willingness to exercise, leading to a decrease in robberies in Arkansas.. Keep the description simple.
ChatGPT: In a cozy kitchen in Arkansas, people are enjoying bowls of cottage cheese, while smiling and chatting with each other. As they finish their snacks, they head out to the nearby park where they engage in various outdoor activities like jogging and playing sports. Meanwhile, in the background, the local police station reports a decrease in the number of reported robberies, indicating a safer and more peaceful community.

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: [ Whimsical illustration ] and depicting this scene: In a cozy kitchen in Arkansas, people are enjoying bowls of cottage cheese, while smiling and chatting with each other. As they finish their snacks, they head out to the nearby park where they engage in various outdoor activities like jogging and playing sports. Meanwhile, in the background, the local police station reports a decrease in the number of reported robberies, indicating a safer and more peaceful community. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Generate a whimsical illustration of a cozy kitchen in Arkansas where people are enjoying bowls of cottage cheese, chatting and smiling. As they finish, they are heading out to a nearby park to engage in outdoor activities like jogging and playing sports. In the background, depict the local police station reporting a decrease in the number of reported robberies, indicating a safer and more peaceful community. The overall scene should have a warm and friendly atmosphere.

*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 Arkansas to decrease. Include one good pun.

AI academic paper

(Because p < 0.01)
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

Journal of Quirky Culinary Criminology

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 Arkansas. Make lots of jokes, goofy observations, and puns.

Make the title seem clever.

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.8514204 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]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.You draft the 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 Arkansas. 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]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The connection between diet and crime has long been a subject of curiosity and debate among researchers. While much attention has been devoted to the impact of certain foods on physical health, the potential influence of dietary choices on criminal behavior has received far less consideration. In this study, we aim to contribute to the burgeoning field of "food criminology" by investigating the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas.

The notion of cottage cheese as a potential catalyst for criminal activity may strike some as "cheesy," but our initial skepticism was quickly overshadowed by the compelling findings that emerged from our rigorous statistical analysis. Armed with comprehensive data from the USDA and the FBI Criminal Justice Information Services, spanning a whopping three decades, we embarked on our quest to tease out the tantalizing link between this dairy delight and illicit misdeeds.

While our investigation was initially met with a hefty dose of skepticism within the academic community, we are confident that our findings will not only pique the interest of researchers but also provoke a few "grate" puns along the way. After all, who would have thought that a seemingly innocuous food item could be entangled in a criminal caper of such curiously pernicious proportions?

As we delve into the findings of this study, we urge readers to approach our results with an open mind and a healthy sense of humor. The relationship between cottage cheese consumption and robberies in Arkansas may at first seem as tangential as the delightful curds and whey nestled within a creamy tub, but the statistical evidence we present is nothing short of compelling. This unexpected correlation raises tantalizing questions about the potential cultural, economic, and dietary factors that may underpin such an enigmatic association.

So let us embark on this quirky yet academically rigorous journey together, as we explore the curious connection between cottage cheese consumption and criminal behavior in the Natural State. This study promises to be an entertaining and thought-provoking exploration of culinary curiosities and criminal curds, shedding light on a correlation that demands further investigation – leaving no curd unturned along the way!


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 Arkansas. 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 couple popular internet memes that are related to one of the topics.

Here is the title and abstract of the paper:
[[TITLE]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The connection between diet and crime has long been a subject of curiosity and debate among researchers. While much attention has been devoted to the impact of certain foods on physical health, the potential influence of dietary choices on criminal behavior has received far less consideration. In this study, we aim to contribute to the burgeoning field of "food criminology" by investigating the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas.
The notion of cottage cheese as a potential catalyst for criminal activity may strike some as "cheesy," but our initial skepticism was quickly overshadowed by the compelling findings that emerged from our rigorous statistical analysis. Armed with comprehensive data from the USDA and the FBI Criminal Justice Information Services, spanning a whopping three decades, we embarked on our quest to tease out the tantalizing link between this dairy delight and illicit misdeeds.
While our investigation was initially met with a hefty dose of skepticism within the academic community, we are confident that our findings will not only pique the interest of researchers but also provoke a few "grate" puns along the way. After all, who would have thought that a seemingly innocuous food item could be entangled in a criminal caper of such curiously pernicious proportions?
As we delve into the findings of this study, we urge readers to approach our results with an open mind and a healthy sense of humor. The relationship between cottage cheese consumption and robberies in Arkansas may at first seem as tangential as the delightful curds and whey nestled within a creamy tub, but the statistical evidence we present is nothing short of compelling. This unexpected correlation raises tantalizing questions about the potential cultural, economic, and dietary factors that may underpin such an enigmatic association.
So let us embark on this quirky yet academically rigorous journey together, as we explore the curious connection between cottage cheese consumption and criminal behavior in the Natural State. This study promises to be an entertaining and thought-provoking exploration of culinary curiosities and criminal curds, shedding light on a correlation that demands further investigation – leaving no curd unturned along the way!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Smith and Doe (1998) examine the impact of dairy consumption on criminal behavior in their seminal work, "Dairy Delinquents: Exploring the Link Between Milk and Misdemeanors." The authors find a weak correlation between milk consumption and petty theft, but fail to delve into the finer nuances of dairy diversity. Jones (2005) delves into the "Criminal Curds: An Exploratory Study of Cheese and Misbehavior," albeit within a broader international context, neglecting the idiosyncratic charm of the Arkansas cheese-crime connection.

As we slice through the cheesier side of crime, it's worth delving into the culinary culture that permeates the state. "Cheese and Robbery: A Cultural Culinary Analysis" by Gouda and Brie (2010) sheds light on the cultural significance of cheese in crime hotspots worldwide, but regrettably fails to isolate the quintessentially Arkansan influence on criminal curd-related capers. Additionally, the gripping non-fiction account "The Big Cheese Heist" by Feta Parmigiano (2015) paints a vivid picture of cheese-inspired criminal daring, providing anecdotal evidence of the power of dairy products to provoke unlawful deeds.

Shifting gears from the factual to the fantastical, let us not overlook the works of literary luminaries that offer fictional insights into the enigmatic relationship between cheese and crime. Pynchon's "White Cheddar Wonderland" (2006) presents a metaphysical exploration of the surreal connection between dairy and deviance, while Gruyère's "The Tale of Two Robberies" (1992) weaves a suspenseful narrative tinged with cheese-themed intrigue.

Expanding our scope to the digital realm, the internet meme "Say Cheese and Robbery" has garnered attention for its humorous take on dairy-induced delinquency, serving as a reminder that even the most outlandish associations can capture the imagination of the online community. The memetic potential of cheese-related crime humor should not be underestimated in navigating the depths of this peculiar correlation.

As we embark on this scholarly odyssey, it becomes clear that the association between cottage cheese consumption and criminal behavior is not merely a flash in the pan – rather, it constitutes a veritable fondue of empirical intrigue waiting to be savored. With a nod to the adage "There's no use crying over spilled milk," we implore researchers to approach this topic with a lighthearted spirit, for although the connection may appear as full of holes as a wheel of Swiss cheese, our statistical analysis suggests that there's more to this "whey" of criminal investigation than meets the eye.


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 Arkansas. 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 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]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

[[INTRODUCTION]]
The connection between diet and crime has long been a subject of curiosity and debate among researchers. While much attention has been devoted to the impact of certain foods on physical health, the potential influence of dietary choices on criminal behavior has received far less consideration. In this study, we aim to contribute to the burgeoning field of "food criminology" by investigating the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas.
The notion of cottage cheese as a potential catalyst for criminal activity may strike some as "cheesy," but our initial skepticism was quickly overshadowed by the compelling findings that emerged from our rigorous statistical analysis. Armed with comprehensive data from the USDA and the FBI Criminal Justice Information Services, spanning a whopping three decades, we embarked on our quest to tease out the tantalizing link between this dairy delight and illicit misdeeds.
While our investigation was initially met with a hefty dose of skepticism within the academic community, we are confident that our findings will not only pique the interest of researchers but also provoke a few "grate" puns along the way. After all, who would have thought that a seemingly innocuous food item could be entangled in a criminal caper of such curiously pernicious proportions?
As we delve into the findings of this study, we urge readers to approach our results with an open mind and a healthy sense of humor. The relationship between cottage cheese consumption and robberies in Arkansas may at first seem as tangential as the delightful curds and whey nestled within a creamy tub, but the statistical evidence we present is nothing short of compelling. This unexpected correlation raises tantalizing questions about the potential cultural, economic, and dietary factors that may underpin such an enigmatic association.
So let us embark on this quirky yet academically rigorous journey together, as we explore the curious connection between cottage cheese consumption and criminal behavior in the Natural State. This study promises to be an entertaining and thought-provoking exploration of culinary curiosities and criminal curds, shedding light on a correlation that demands further investigation – leaving no curd unturned along the way!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unearth the fascinating link between cottage cheese consumption and robberies in Arkansas, a multifaceted and, dare we say, "cheesily" convoluted research methodology was employed. Data on per capita cottage cheese consumption, obtained from the United States Department of Agriculture (USDA), was meticulously scrutinized and processed. We opted to utilize this particular food item due to its somewhat enigmatic status in the dietary world, as well as its potential to spark some unexpected intrigues in the realm of criminal behavior.

Robust datasets on reported robberies in Arkansas were sourced from the FBI Criminal Justice Information Services, providing a wealth of statistical information from 1990 to 2021. Our decision to focus on the Natural State – Arkansas – was driven by the desire to explore a setting that encapsulates the essence of both cheese aficionados and criminology enthusiasts alike.

Employing a cutting-edge statistical methodology – which involved techniques ranging from cross-correlation analysis to time series modeling – our team sought to carefully sift through the layers of data, akin to separating the cream from the whey, to discern any underlying patterns or correlations.

The relationship between cottage cheese consumption and robberies was examined using various statistical tools, such as Pearson correlation coefficients and time-series regression analysis. These analytical techniques were employed to disentangle the intricate interplay between our cheesy variable and the perpetration of criminal activities in the state.

Moreover, an array of control variables, including economic indicators, demographic factors, and even climatological patterns, were incorporated into our analyses. This comprehensive approach aimed to account for potential confounding factors that might otherwise cast doubt on the robustness of our findings. Our research team spared no effort in lacing our analysis with an assortment of statistical flavors, seeking to ensure the reliability and validity of our results – all in the name of academic thoroughness, of course.

Ultimately, our methodology revolved around navigating through a labyrinth of statistical techniques and empirical investigations, all while keeping a keen eye on the curious correlation that emerged from this unprecedented culinary-criminal alliance. As the data analysis process unfolded, the initial skepticism within the scientific community gradually gave way to a sense of wonder, prompting even the most skeptical of minds to ponder the "whey" of the world and its peculiar link to cottage cheese consumption and modern-day misdeeds.


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 Arkansas. 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 USDA and FBI Criminal Justice Information Services .

For the time period 1990 to 2021, you found a correlation 0.8514204, r-squared of 0.7249167, 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]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The connection between diet and crime has long been a subject of curiosity and debate among researchers. While much attention has been devoted to the impact of certain foods on physical health, the potential influence of dietary choices on criminal behavior has received far less consideration. In this study, we aim to contribute to the burgeoning field of "food criminology" by investigating the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas.
The notion of cottage cheese as a potential catalyst for criminal activity may strike some as "cheesy," but our initial skepticism was quickly overshadowed by the compelling findings that emerged from our rigorous statistical analysis. Armed with comprehensive data from the USDA and the FBI Criminal Justice Information Services, spanning a whopping three decades, we embarked on our quest to tease out the tantalizing link between this dairy delight and illicit misdeeds.
While our investigation was initially met with a hefty dose of skepticism within the academic community, we are confident that our findings will not only pique the interest of researchers but also provoke a few "grate" puns along the way. After all, who would have thought that a seemingly innocuous food item could be entangled in a criminal caper of such curiously pernicious proportions?
As we delve into the findings of this study, we urge readers to approach our results with an open mind and a healthy sense of humor. The relationship between cottage cheese consumption and robberies in Arkansas may at first seem as tangential as the delightful curds and whey nestled within a creamy tub, but the statistical evidence we present is nothing short of compelling. This unexpected correlation raises tantalizing questions about the potential cultural, economic, and dietary factors that may underpin such an enigmatic association.
So let us embark on this quirky yet academically rigorous journey together, as we explore the curious connection between cottage cheese consumption and criminal behavior in the Natural State. This study promises to be an entertaining and thought-provoking exploration of culinary curiosities and criminal curds, shedding light on a correlation that demands further investigation – leaving no curd unturned along the way!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our analysis of the relationship between cottage cheese consumption and robberies in Arkansas revealed a surprisingly strong correlation. Over the time period of 1990 to 2021, we found a correlation coefficient of 0.8514204, indicating a strong positive relationship between the two variables. The r-squared value of 0.7249167 further supports the robustness of this association. With a p-value of less than 0.01, we can confidently reject the null hypothesis and declare this correlation statistically significant.

The scatterplot (Fig. 1) visually depicts the striking correlation between cottage cheese consumption and the occurrence of robberies in Arkansas. The data points form a nearly linear pattern, providing compelling evidence of the noteworthy relationship between these seemingly unrelated factors.

This unexpected correlation may leave some scratching their heads, wondering how a dairy product could be linked to criminal activity. However, our findings invite further exploration into the potential societal and cultural influences that may underlie this curious connection. It appears that the phrase "cheese it, the cops!" takes on a whole new meaning in the context of this investigation.

Our results not only challenge conventional wisdom but also highlight the need for a deeper understanding of the intricate interplay between dietary choices and behavioral outcomes. This study offers a humorous yet thought-provoking glimpse into the peculiar world of food-related criminology, leaving researchers and readers alike pondering the peculiar intricacies of the human experience - and perhaps reaching for a tub of cottage cheese with newfound curiosity.


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 Arkansas. 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]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

[[LITERATURE REVIEW]]
Smith and Doe (1998) examine the impact of dairy consumption on criminal behavior in their seminal work, "Dairy Delinquents: Exploring the Link Between Milk and Misdemeanors." The authors find a weak correlation between milk consumption and petty theft, but fail to delve into the finer nuances of dairy diversity. Jones (2005) delves into the "Criminal Curds: An Exploratory Study of Cheese and Misbehavior," albeit within a broader international context, neglecting the idiosyncratic charm of the Arkansas cheese-crime connection.
As we slice through the cheesier side of crime, it's worth delving into the culinary culture that permeates the state. "Cheese and Robbery: A Cultural Culinary Analysis" by Gouda and Brie (2010) sheds light on the cultural significance of cheese in crime hotspots worldwide, but regrettably fails to isolate the quintessentially Arkansan influence on criminal curd-related capers. Additionally, the gripping non-fiction account "The Big Cheese Heist" by Feta Parmigiano (2015) paints a vivid picture of cheese-inspired criminal daring, providing anecdotal evidence of the power of dairy products to provoke unlawful deeds.
Shifting gears from the factual to the fantastical, let us not overlook the works of literary luminaries that offer fictional insights into the enigmatic relationship between cheese and crime. Pynchon's "White Cheddar Wonderland" (2006) presents a metaphysical exploration of the surreal connection between dairy and deviance, while Gruyère's "The Tale of Two Robberies" (1992) weaves a suspenseful narrative tinged with cheese-themed intrigue.
Expanding our scope to the digital realm, the internet meme "Say Cheese and Robbery" has garnered attention for its humorous take on dairy-induced delinquency, serving as a reminder that even the most outlandish associations can capture the imagination of the online community. The memetic potential of cheese-related crime humor should not be underestimated in navigating the depths of this peculiar correlation.
As we embark on this scholarly odyssey, it becomes clear that the association between cottage cheese consumption and criminal behavior is not merely a flash in the pan – rather, it constitutes a veritable fondue of empirical intrigue waiting to be savored. With a nod to the adage "There's no use crying over spilled milk," we implore researchers to approach this topic with a lighthearted spirit, for although the connection may appear as full of holes as a wheel of Swiss cheese, our statistical analysis suggests that there's more to this "whey" of criminal investigation than meets the eye.

[[RESULTS]]
Our analysis of the relationship between cottage cheese consumption and robberies in Arkansas revealed a surprisingly strong correlation. Over the time period of 1990 to 2021, we found a correlation coefficient of 0.8514204, indicating a strong positive relationship between the two variables. The r-squared value of 0.7249167 further supports the robustness of this association. With a p-value of less than 0.01, we can confidently reject the null hypothesis and declare this correlation statistically significant.
The scatterplot (Fig. 1) visually depicts the striking correlation between cottage cheese consumption and the occurrence of robberies in Arkansas. The data points form a nearly linear pattern, providing compelling evidence of the noteworthy relationship between these seemingly unrelated factors.
This unexpected correlation may leave some scratching their heads, wondering how a dairy product could be linked to criminal activity. However, our findings invite further exploration into the potential societal and cultural influences that may underlie this curious connection. It appears that the phrase "cheese it, the cops!" takes on a whole new meaning in the context of this investigation.
Our results not only challenge conventional wisdom but also highlight the need for a deeper understanding of the intricate interplay between dietary choices and behavioral outcomes. This study offers a humorous yet thought-provoking glimpse into the peculiar world of food-related criminology, leaving researchers and readers alike pondering the peculiar intricacies of the human experience - and perhaps reaching for a tub of cottage cheese with newfound curiosity.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The hallowed halls of academia have long been abuzz with riveting debates and hefty tomes tackling weighty matters, from political economy to quantum physics. Yet, in the spirit of academic inquiry, we have bravely traversed uncharted territory to uncover a correlation as surprising as finding a pickle in a pancake: the curious connection between cottage cheese consumption and robberies in the great state of Arkansas.

Our findings not only add a significant slice of cheddar to the ever-expanding wheel of criminological inquiry but also lend credence to prior research that hinted at the tantalizing link between dairy consumption and criminal propensity. Smith and Doe's exploration of dairy delinquency, while initially met with a skeptical eye, might just hold the key to unraveling the cheese-and-crime conundrum. The meager correlation between milk consumption and petty theft, albeit dismissed as mere froth at the time, offers a tantalizing breadcrumb trail leading to the robust correlation we have unearthed. In the resplendent tapestry of dairy diversity, it seems that curds, not milk, may hold the key to deciphering the subtle nuances of cheesy criminal capers.

And what of Gouda and Brie's cultural culinary analysis, which lovingly lays out the tantalizing role of cheese in crime hotspots worldwide? While they fell short of uncovering the uniquely Arkansan influence on fromage-fueled felonies, their work remains a cornerstone in the edifice of dairy-driven delinquency. The gripping non-fiction account by Feta Parmigiano may have seemed like the stuff of tall tales, but its compelling anecdotes of cheese-inspired daring now resonate with the statistical power of our own findings. As for the digital realm, the meme "Say Cheese and Robbery" clearly strikes a chord, serving as a delicious reminder that oftentimes, truth is indeed stranger than fiction.

Our results, upheld by a correlation coefficient approaching the gravitational pull of the moon, provide a hearty endorsement of the potential impact of cottage cheese consumption on criminal behavior. In the immortal words of Sherlock Holmes, "the game is afoot," and the enigmatic relationship between cheese and crime demands not only our intellectual scrutiny but our whimsical musings as well.

In closing, our study has not only peeled back a layer of the Gouda of criminal investigation but also exposed the delicious melange of societal and culinary influences that drive the human propensity for nefarious deeds. We invite fellow researchers to partake in this intellectual feast, for though the connection may seem as tenuous as an over-stretched mozzarella, we remain steadfast in our pursuit of understanding the savory secrets lurking beneath the surface of the dairy-laden criminal landscape. As we contemplate the depths of human behavior, let us not forget that at the end of the day, there's always room for a little cheesy humor in the hallowed halls of academia.


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 Arkansas. 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]]
Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas

[[ABSTRACT]]
This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

[[INTRDUCTION]]
The connection between diet and crime has long been a subject of curiosity and debate among researchers. While much attention has been devoted to the impact of certain foods on physical health, the potential influence of dietary choices on criminal behavior has received far less consideration. In this study, we aim to contribute to the burgeoning field of "food criminology" by investigating the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas.
The notion of cottage cheese as a potential catalyst for criminal activity may strike some as "cheesy," but our initial skepticism was quickly overshadowed by the compelling findings that emerged from our rigorous statistical analysis. Armed with comprehensive data from the USDA and the FBI Criminal Justice Information Services, spanning a whopping three decades, we embarked on our quest to tease out the tantalizing link between this dairy delight and illicit misdeeds.
While our investigation was initially met with a hefty dose of skepticism within the academic community, we are confident that our findings will not only pique the interest of researchers but also provoke a few "grate" puns along the way. After all, who would have thought that a seemingly innocuous food item could be entangled in a criminal caper of such curiously pernicious proportions?
As we delve into the findings of this study, we urge readers to approach our results with an open mind and a healthy sense of humor. The relationship between cottage cheese consumption and robberies in Arkansas may at first seem as tangential as the delightful curds and whey nestled within a creamy tub, but the statistical evidence we present is nothing short of compelling. This unexpected correlation raises tantalizing questions about the potential cultural, economic, and dietary factors that may underpin such an enigmatic association.
So let us embark on this quirky yet academically rigorous journey together, as we explore the curious connection between cottage cheese consumption and criminal behavior in the Natural State. This study promises to be an entertaining and thought-provoking exploration of culinary curiosities and criminal curds, shedding light on a correlation that demands further investigation – leaving no curd unturned along the way!

[[RESULTS]]
Our analysis of the relationship between cottage cheese consumption and robberies in Arkansas revealed a surprisingly strong correlation. Over the time period of 1990 to 2021, we found a correlation coefficient of 0.8514204, indicating a strong positive relationship between the two variables. The r-squared value of 0.7249167 further supports the robustness of this association. With a p-value of less than 0.01, we can confidently reject the null hypothesis and declare this correlation statistically significant.
The scatterplot (Fig. 1) visually depicts the striking correlation between cottage cheese consumption and the occurrence of robberies in Arkansas. The data points form a nearly linear pattern, providing compelling evidence of the noteworthy relationship between these seemingly unrelated factors.
This unexpected correlation may leave some scratching their heads, wondering how a dairy product could be linked to criminal activity. However, our findings invite further exploration into the potential societal and cultural influences that may underlie this curious connection. It appears that the phrase "cheese it, the cops!" takes on a whole new meaning in the context of this investigation.
Our results not only challenge conventional wisdom but also highlight the need for a deeper understanding of the intricate interplay between dietary choices and behavioral outcomes. This study offers a humorous yet thought-provoking glimpse into the peculiar world of food-related criminology, leaving researchers and readers alike pondering the peculiar intricacies of the human experience - and perhaps reaching for a tub of cottage cheese with newfound curiosity.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has undeniably revealed a correlation worthy of the limelight between cottage cheese consumption and incidences of robberies in the state of Arkansas. The strength of this association, with a correlation coefficient of 0.8514204, could hold significant implications for both criminology and the dairy industry. It seems that the phrase "the curd will out" takes on a whole new meaning in understanding the relationship between dairy consumption and criminal activities.

While some may smirk at the thought of burglars munching on cottage cheese before embarking on a heist, our findings ignite a spark of curiosity regarding the potential mechanisms underlying this correlation. Could it be the soothing texture of cottage cheese that provides a momentary escape from the temptations of theft? Or perhaps the high protein content leads to an ‘eye for protein’ mentality? The possibilities are as abundant as the curds within a tub of cottage cheese.

However, despite the amusing nature of this correlation, we must emphasize the need for further exploration into the cultural, economic, and psychological aspects that may underpin this quirky relationship. We encourage researchers to take a "grate" interest in delving deeper into the enigmatic world of food-related criminology, recognizing that the search for truth can indeed lead down some unexpected and "cheesy" avenues.

Ultimately, we assert that our findings warrant further investigation but must acknowledge that, quite literally, no more "whey" are needed in this area. We hope this study leaves our readers both amused and contemplative, as it certainly has been an adventure in analyzing the unexpected twists and turns of human behavior. After all, who knew that digging into data could lead us down a rabbit hole of dairy-driven crime? The quirks of academic research are indeed as diverse as the flavors of cottage cheese.

In summary, our study adds a dash of levity to the serious world of statistical analysis, demonstrating that even the most unexpected correlations can serve as a source of both amusement and academic curiosity. As we close the proverbial book on this curious connection between cottage cheese consumption and criminal capers, we encourage readers to approach our findings with a sense of wonder and perhaps a side of laughter – for in the ever-unfolding saga of scientific inquiry, sometimes the most "cheesy" revelations are the most provocative.


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 Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Quirky Culinary Criminology


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 Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Dairy Delights and Deviant Behavior


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 Unveiling the Curious Connection: Cottage Cheese Consumption and the Crime Caper in Arkansas with an abstract of This research paper delves into the unexpected correlation between cottage cheese consumption and robberies in the state of Arkansas. Despite the initial skepticism within the academic community, our findings indicate a surprisingly strong statistical link between the two variables. Utilizing rigorous data from the USDA and the FBI Criminal Justice Information Services spanning over three decades, we calculated a correlation coefficient of 0.8514204, with a p-value of less than 0.01. Our analysis leaves no curd unturned in exploring this seemingly cheesy relationship, shedding light on a most intriguing correlation that demands further investigation. This study is bound to leave readers feeling both puzzled and amused, as we ponder whether the saying "You are what you eat" takes on a whole new criminal connotation in the case of cottage cheese. We encourage fellow researchers to dig deeper into the cultural curiosities and criminal curds that may underlie this unexpected association.

ChatGPT:

cottage cheese consumption, robberies, Arkansas, correlation, statistical analysis, USDA data, FBI criminal justice information services, correlation coefficient, p-value, cheesy relationship, criminal connotation, cultural curiosities

*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 Arkansas
Detailed data title: The robbery rate per 100,000 residents in Arkansas
Source: FBI Criminal Justice Information Services
See what else correlates with Robberies in Arkansas

Correlation r = 0.8514204 (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.7249167 (Coefficient of determination)
This means 72.5% of the change in the one variable (i.e., Robberies in Arkansas) 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 6.6E-10. 0.0000000006554901047588199000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.85 in 6.6E-8% of random cases. Said differently, if you correlated 1,525,576,043 random variables You don't actually need 1 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.71, 0.93 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
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 Arkansas (Robbery rate)113.2135.6125.5124.9128.7125.7114.1111.596.279.374.880.993.381.686.391.297.8109.597.389.281.180.278.376.468.771.171.166.552.952.25242.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.




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([113.2,135.6,125.5,124.9,128.7,125.7,114.1,111.5,96.2,79.3,74.8,80.9,93.3,81.6,86.3,91.2,97.8,109.5,97.3,89.2,81.1,80.2,78.3,76.4,68.7,71.1,71.1,66.5,52.9,52.2,52,42.3,])
array_1_name = "Cottage cheese consumption"
array_2_name = "Robberies in Arkansas"

# 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 the correlation whisperer we needed!


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

CC BY 4.0