Download png, svg
AI explanation
As people consumed less milk, they experienced fewer lactose-induced mood swings. This led to a decrease in overall irritability and impulsiveness. Consequently, there were fewer arguments and less aggression, ultimately resulting in a reduction in robberies. Remember, it's udderly important to consider the dairy impact on crime rates!Model: dalle-3
Prompt: An image that looks like it is a scene from A Disney Movie and depicting this scene: A quiet suburban neighborhood at night. On one side of the street, a house with a neatly arranged front yard has no milk delivery at the doorstep. On the opposite side, a similarly tidy house does have a carton of milk on the doorstep. Suddenly, shadows emerge and a figure wearing a ski mask approaches the house without the milk, but then hesitates and decides to move on. The scene then shifts to a graphically rendered crime scene tape with a playful sign saying "Got Milk? Scene of the non-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 situation described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here is a situation: "Got milk? Apparently not! As milk consumption curdled, so did crime rates! Experts udderly baffled by the surprising correlation. Some speculate that fewer late-night milk runs means fewer opportunities for midnight snack burglaries. Others suggest that the lack of lactose-induced lethargy means potential robbers are too wide awake to pull off a heist. Stay tuned for more dairy developments!". Given that situation, which of the following image descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand and the tone of the explanation. Please respond with only one of the following potential descriptions: An image that looks like it is a scene from A Disney Movie An image that looks like it is a scene from a Pixar movie Glitch art Scalar art Photorealism
ChatGPT: An image that looks like it is a scene from A Disney Movie
Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated and the explanation described. Do not reference graphs or charts; describe physical objects.
User prompt: Please describe a visual scene that depicts the following situation. Keep the description simple. "Got milk? Apparently not! As milk consumption curdled, so did crime rates! Experts udderly baffled by the surprising correlation. Some speculate that fewer late-night milk runs means fewer opportunities for midnight snack burglaries. Others suggest that the lack of lactose-induced lethargy means potential robbers are too wide awake to pull off a heist. Stay tuned for more dairy developments!"
ChatGPT: Picture a quiet suburban neighborhood at night. On one side of the street, a house with a neatly arranged front yard has no milk delivery at the doorstep. On the opposite side, a similarly tidy house does have a carton of milk on the doorstep. Suddenly, shadows emerge and a figure wearing a ski mask approaches the house without the milk, but then hesitates and decides to move on. The scene then shifts to a graphically rendered crime scene tape with a playful sign saying "Got Milk? Scene of the non-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: [ An image that looks like it is a scene from A Disney Movie ] and depicting this scene: Picture a quiet suburban neighborhood at night. On one side of the street, a house with a neatly arranged front yard has no milk delivery at the doorstep. On the opposite side, a similarly tidy house does have a carton of milk on the doorstep. Suddenly, shadows emerge and a figure wearing a ski mask approaches the house without the milk, but then hesitates and decides to move on. The scene then shifts to a graphically rendered crime scene tape with a playful sign saying "Got Milk? Scene of the non-crime." Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: An image that looks like it is a scene from A Disney Movie and depicting this scene: A quiet suburban neighborhood at night. On one side of the street, a house with a neatly arranged front yard has no milk delivery at the doorstep. On the opposite side, a similarly tidy house does have a carton of milk on the doorstep. Suddenly, shadows emerge and a figure wearing a ski mask approaches the house without the milk, but then hesitates and decides to move on. The scene then shifts to a graphically rendered crime scene tape with a playful sign saying "Got Milk? Scene of the non-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.
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 Milk consumption caused Robberies to decrease.\Make it sound serious until the end.
AI academic paper
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds The International Journal of Dairy Deviance Jan 2024 Reminder: This paper is AI-generated. Not real! |
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.
Please draft the title and abstract of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.
Make the title an alliteration.
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.9225096 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]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the introduction section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.
Please make up the introduction section of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
-------
Your response should start like this:
[[INTRODUCTION]]
ChatGPT:
[[INTRODUCTION]]
The curious relationship between milk consumption and criminal activities has long been a topic of debate among researchers, captivating the academic community with its intriguing potential implications. While the notion of a link between the two may initially seem utterly absurd, our study has churned out some fascinating findings that might just tickle your funny bone – and no, it's not just the calcium speaking.
The concept of milk being associated with misdeeds might seem like a mere figment of dairy imagination, but as we delved into the data, we were surprised to find a compelling connection between milk intake and robbery rates. It appears that the more milk people guzzle, the more they seem to stir up trouble – a peculiar correlation that has researchers scratching their heads and pondering the cream of the crop of criminal behavior.
Now, one might expect that the only danger associated with milk consumption is the risk of spilling it, but our study unveils a rather unexpected twist in the tale. As we milked the data for all it's worth (pun intended), we found a robust correlation coefficient and a p-value that makes you sit up and take notice. It seems there might be more to this dairy dilemma than meets the eye.
But before you go crying over spilled milk, it's vital to approach these findings with a healthy dose of scepticism. Are we truly onto something here, or is this merely a case of coincidental correlation? Our study aims to shed light on this puzzling phenomenon and stimulate further research into the rather unexpected link between milk and mischief. We certainly hope this study will leave other researchers feeling rather "udderly" intrigued and ready to dive into the dairy dilemma.
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft a literature review section of an academic research paper, that starts out dry for the first few sentences but then becomes hilarious and goofy.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.
Please make up a literature review section of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. 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 you might move on to cartoons and children's shows that you watched for research.
Here is the title and abstract of the paper:
[[TITLE]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
-------
And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The curious relationship between milk consumption and criminal activities has long been a topic of debate among researchers, captivating the academic community with its intriguing potential implications. While the notion of a link between the two may initially seem utterly absurd, our study has churned out some fascinating findings that might just tickle your funny bone – and no, it's not just the calcium speaking.
The concept of milk being associated with misdeeds might seem like a mere figment of dairy imagination, but as we delved into the data, we were surprised to find a compelling connection between milk intake and robbery rates. It appears that the more milk people guzzle, the more they seem to stir up trouble – a peculiar correlation that has researchers scratching their heads and pondering the cream of the crop of criminal behavior.
Now, one might expect that the only danger associated with milk consumption is the risk of spilling it, but our study unveils a rather unexpected twist in the tale. As we milked the data for all it's worth (pun intended), we found a robust correlation coefficient and a p-value that makes you sit up and take notice. It seems there might be more to this dairy dilemma than meets the eye.
But before you go crying over spilled milk, it's vital to approach these findings with a healthy dose of scepticism. Are we truly onto something here, or is this merely a case of coincidental correlation? Our study aims to shed light on this puzzling phenomenon and stimulate further research into the rather unexpected link between milk and mischief. We certainly hope this study will leave other researchers feeling rather "udderly" intrigued and ready to dive into the dairy dilemma.
-------
Your response should start like this:
[[LITERATURE REVIEW]]
ChatGPT:
[[LITERATURE REVIEW]]
The baffling link between milk consumption and criminal behavior has brought forth a plethora of research attempting to decipher this enigmatic correlation. In their study, "Milk and Misdeeds: A Statistical Analysis," Smith et al. examined national dairy consumption data and crime statistics, uncovering a positive association between milk intake and the incidence of robberies. This revelation leaves us pondering whether there is something more sinister afoot in the dairy aisle or if we simply need to milk the situation for all it's worth (apologies for the utterly cheesy pun).
Moving on from such serious endeavors, let's not cry over spilled milk but instead skim through some related non-fiction literature. "Got Milked? The Surprising Link Between Dairy and Delinquency" by Doe explores the potential social implications of milk consumption, delving into the intriguing possibility that our favorite calcium-rich beverage might be stirring up some unexpected mischief.
Shifting gears from academic tomes, we now dive into the world of fiction with a twist. "The Case of the Stolen Milk: A Dairy Detective Mystery" by Jones is a delightful concoction of crime-solving and calcium conundrums, perhaps providing a light-hearted take on the alleged connection between milk and misdeeds.
In our pursuit of unraveling the milk-related mysteries, we couldn't resist exploring some unlikely sources of insight. We begrudgingly admit to using "The Adventures of Super Cow" and "SpongeBob SquarePants" as potentially instructive entertainment for our research purposes.
As we enter waters that grow increasingly less milk-like and more murky, it's crucial to remember that correlation does not imply causation. However, the intriguing data and unconventional literature surrounding this phenomenon leave us to mull over the potential ramifications of the milk-mischief connection. It's safe to say that this study has left us pondering the dairy dilemma with equal parts fascination and lactose-induced laughter.
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the methodology section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.
Please make up the methodology section of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
[[INTRODUCTION]]
The curious relationship between milk consumption and criminal activities has long been a topic of debate among researchers, captivating the academic community with its intriguing potential implications. While the notion of a link between the two may initially seem utterly absurd, our study has churned out some fascinating findings that might just tickle your funny bone – and no, it's not just the calcium speaking.
The concept of milk being associated with misdeeds might seem like a mere figment of dairy imagination, but as we delved into the data, we were surprised to find a compelling connection between milk intake and robbery rates. It appears that the more milk people guzzle, the more they seem to stir up trouble – a peculiar correlation that has researchers scratching their heads and pondering the cream of the crop of criminal behavior.
Now, one might expect that the only danger associated with milk consumption is the risk of spilling it, but our study unveils a rather unexpected twist in the tale. As we milked the data for all it's worth (pun intended), we found a robust correlation coefficient and a p-value that makes you sit up and take notice. It seems there might be more to this dairy dilemma than meets the eye.
But before you go crying over spilled milk, it's vital to approach these findings with a healthy dose of scepticism. Are we truly onto something here, or is this merely a case of coincidental correlation? Our study aims to shed light on this puzzling phenomenon and stimulate further research into the rather unexpected link between milk and mischief. We certainly hope this study will leave other researchers feeling rather "udderly" intrigued and ready to dive into the dairy dilemma.
-------
Your response should start like this:
[[METHODOLOGY]]
ChatGPT:
[[METHODOLOGY]]
To unravel the mystery behind the curious correlation between milk consumption and robberies, our research team employed an array of data collection and analysis methods that were as meticulous as the whiskers on a cat's chin. We utilized national-level data obtained from reputable sources such as the USDA and FBI Criminal Justice Information Services, ensuring that our findings were as credible as a lactose-intolerant cow's testimony.
Our data encompassed the period from 1990 to 2021, capturing over three decades of milk-related mischief and mayhem. The first step in our data collection process involved extracting milk consumption statistics from various government reports, dairy industry publications, and agricultural databases. With data in hand, we sought to analyze the statistical relationship between this creamy concoction and the occurrence of robberies, a pursuit as complex as herding cats during a caffeine-induced catnip party.
We employed rigorous statistical analyses, including regression models and time-series analyses, to examine the association between milk consumption and robbery rates. We also factored in various demographic and socio-economic variables to ensure that our findings were as robust as a well-built cheese wheel.
In addition to uncovering these rather unexpected connections, we took a moment to ponder the question: "Why did the cow go to outer space?" The answer to this, of course, is that it wanted to see the "moona."
Moreover, we conducted sensitivity analyses and diagnostic tests to evaluate the stability and reliability of our results, ensuring that our findings were as consistent as the supply of milk during a holiday baking frenzy. All statistical analyses were performed using industry-standard software packages, and our data wrangling process was as systematic as a herd of cows lining up for their morning milking session.
It's worth noting that our research team approached this study with a combination of seriousness and humor, recognizing the potential skepticism that our findings might elicit. After all, we wanted to ensure that our readers were not only engaged but also primed for the unforeseen ties we unearthed between milk consumption and mischief. And if you're still not convinced about the relevance of a good dad joke, just remember: "What do you call a cow that plays a musical instrument? A Moo-sician."
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the results section of an academic research paper. You speak in the past tense (you found...).
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.
Please make up the results section of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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.9225096, r-squared of 0.8510240, 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]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
-------
And here is the methodology section that led to this result:
[[METHODOLOGY]]
The curious relationship between milk consumption and criminal activities has long been a topic of debate among researchers, captivating the academic community with its intriguing potential implications. While the notion of a link between the two may initially seem utterly absurd, our study has churned out some fascinating findings that might just tickle your funny bone – and no, it's not just the calcium speaking.
The concept of milk being associated with misdeeds might seem like a mere figment of dairy imagination, but as we delved into the data, we were surprised to find a compelling connection between milk intake and robbery rates. It appears that the more milk people guzzle, the more they seem to stir up trouble – a peculiar correlation that has researchers scratching their heads and pondering the cream of the crop of criminal behavior.
Now, one might expect that the only danger associated with milk consumption is the risk of spilling it, but our study unveils a rather unexpected twist in the tale. As we milked the data for all it's worth (pun intended), we found a robust correlation coefficient and a p-value that makes you sit up and take notice. It seems there might be more to this dairy dilemma than meets the eye.
But before you go crying over spilled milk, it's vital to approach these findings with a healthy dose of scepticism. Are we truly onto something here, or is this merely a case of coincidental correlation? Our study aims to shed light on this puzzling phenomenon and stimulate further research into the rather unexpected link between milk and mischief. We certainly hope this study will leave other researchers feeling rather "udderly" intrigued and ready to dive into the dairy dilemma.
-------
Your response should start like this:
[[RESULTS]]
ChatGPT:
[[RESULTS]]
The statistical analysis conducted on the comprehensive data gleaned from the USDA and FBI Criminal Justice Information Services led to some rather astounding revelations. Our study uncovered a substantial correlation coefficient of 0.9225096, indicating a robust positive relationship between milk consumption and incidence of robberies. The calculated r-squared value of 0.8510240 further strengthens the evidence for this peculiar association, suggesting that a sizeable proportion of the variation in robbery rates can be explained by changes in milk intake. The p-value of less than 0.01 offers further support for the significant connection between these two variables.
Fig. 1: The scatterplot illustrates the striking correlation between milk consumption and robbery rates. As milk consumption increases, there is a discernible uptick in the instances of robberies, painting a compelling picture of the unexpected entwining of dairy and delinquency.
Now, it's time for a moo-ving dad joke to lighten up the mood: "I told the dairy farmer I wanted 100 cows, and he said 'Sure, I'll round them up for you.' "
The strength of the correlation uncovered in this study brings forth the curious question of whether it's merely a case of chance or if there's a deeper explanation lurking beneath the surface. While the results are certainly thought-provoking, we must approach them with caution and avoid jumping to hasty conclusions. Nonetheless, the findings open the floodgates to a myriad of intriguing possibilities – perhaps even a "whodairy" investigation into the enigmatic link between milk and misdeeds.
Our study opens up a whole new can of worms, or should I say can of milk, prompting a reevaluation of the potential influences of dietary habits on human behavior. It remains to be seen whether this correlation holds true across different time periods, regions, or demographic groups, casting a spotlight on the intricate interplay between milk consumption and criminal activities. This unexpected association between one's dairy choices and criminal tendencies leaves us pondering whether there's a "moo-tive" behind this conspicuous correlation or if it's merely a statistical "udder" anomaly.
In conclusion, our research has unveiled a compelling positive correlation between milk consumption and robberies, adding a fresh twist to the ongoing discussions about the often-overlooked influence of dietary habits on societal behavior. The findings from this study serve as a springboard for future investigations into the interwoven dynamics of dietary patterns and criminal activities, expanding the horizons of behavioral research to encompass the rather unexpected nexus of milk and mischief.
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the discussion section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.
Please make up the discussion section of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
[[LITERATURE REVIEW]]
The baffling link between milk consumption and criminal behavior has brought forth a plethora of research attempting to decipher this enigmatic correlation. In their study, "Milk and Misdeeds: A Statistical Analysis," Smith et al. examined national dairy consumption data and crime statistics, uncovering a positive association between milk intake and the incidence of robberies. This revelation leaves us pondering whether there is something more sinister afoot in the dairy aisle or if we simply need to milk the situation for all it's worth (apologies for the utterly cheesy pun).
Moving on from such serious endeavors, let's not cry over spilled milk but instead skim through some related non-fiction literature. "Got Milked? The Surprising Link Between Dairy and Delinquency" by Doe explores the potential social implications of milk consumption, delving into the intriguing possibility that our favorite calcium-rich beverage might be stirring up some unexpected mischief.
Shifting gears from academic tomes, we now dive into the world of fiction with a twist. "The Case of the Stolen Milk: A Dairy Detective Mystery" by Jones is a delightful concoction of crime-solving and calcium conundrums, perhaps providing a light-hearted take on the alleged connection between milk and misdeeds.
In our pursuit of unraveling the milk-related mysteries, we couldn't resist exploring some unlikely sources of insight. We begrudgingly admit to using "The Adventures of Super Cow" and "SpongeBob SquarePants" as potentially instructive entertainment for our research purposes.
As we enter waters that grow increasingly less milk-like and more murky, it's crucial to remember that correlation does not imply causation. However, the intriguing data and unconventional literature surrounding this phenomenon leave us to mull over the potential ramifications of the milk-mischief connection. It's safe to say that this study has left us pondering the dairy dilemma with equal parts fascination and lactose-induced laughter.
[[RESULTS]]
The statistical analysis conducted on the comprehensive data gleaned from the USDA and FBI Criminal Justice Information Services led to some rather astounding revelations. Our study uncovered a substantial correlation coefficient of 0.9225096, indicating a robust positive relationship between milk consumption and incidence of robberies. The calculated r-squared value of 0.8510240 further strengthens the evidence for this peculiar association, suggesting that a sizeable proportion of the variation in robbery rates can be explained by changes in milk intake. The p-value of less than 0.01 offers further support for the significant connection between these two variables.
Fig. 1: The scatterplot illustrates the striking correlation between milk consumption and robbery rates. As milk consumption increases, there is a discernible uptick in the instances of robberies, painting a compelling picture of the unexpected entwining of dairy and delinquency.
Now, it's time for a moo-ving dad joke to lighten up the mood: "I told the dairy farmer I wanted 100 cows, and he said 'Sure, I'll round them up for you.' "
The strength of the correlation uncovered in this study brings forth the curious question of whether it's merely a case of chance or if there's a deeper explanation lurking beneath the surface. While the results are certainly thought-provoking, we must approach them with caution and avoid jumping to hasty conclusions. Nonetheless, the findings open the floodgates to a myriad of intriguing possibilities – perhaps even a "whodairy" investigation into the enigmatic link between milk and misdeeds.
Our study opens up a whole new can of worms, or should I say can of milk, prompting a reevaluation of the potential influences of dietary habits on human behavior. It remains to be seen whether this correlation holds true across different time periods, regions, or demographic groups, casting a spotlight on the intricate interplay between milk consumption and criminal activities. This unexpected association between one's dairy choices and criminal tendencies leaves us pondering whether there's a "moo-tive" behind this conspicuous correlation or if it's merely a statistical "udder" anomaly.
In conclusion, our research has unveiled a compelling positive correlation between milk consumption and robberies, adding a fresh twist to the ongoing discussions about the often-overlooked influence of dietary habits on societal behavior. The findings from this study serve as a springboard for future investigations into the interwoven dynamics of dietary patterns and criminal activities, expanding the horizons of behavioral research to encompass the rather unexpected nexus of milk and mischief.
-------
Your response should start like this:
[[DISCUSSION]]
ChatGPT:
[[DISCUSSION]]
The results of our study affirm and extend previous research findings, such as those by Smith et al., suggesting a substantial positive correlation between milk consumption and robbery rates. We certainly did not expect to find ourselves embroiled in such dairy-drenched mischief, but the data has left us 'moo-ved' by the unmistakable connection. The strength of the relationship between milk intake and incidences of robberies paints a rather unexpected portrait of the potential influence of dietary choices on criminal behavior.
As we navigate this curiously beguiling correlation, it is imperative to heed the cautionary tale of correlation not implying causation. However, the robust statistical evidence we've uncovered prompts us to explore the likelihood of a genuine causal relationship, rather than dismissing this phenomenon as a mere statistical aberration. Could there truly be a 'lactose-larceny' lurking in the background, or are we being led astray by a cleverly disguised statistical 'dairy-lemma'? The results, while captivating, leave us grappling with the quizzical conundrum of whether milk truly holds the 'cream' of influence over criminal activities, or if this is all just a case of 'udder' happenstance.
Our study sets the stage for further examination into the broader implications of dietary habits on societal behavior, challenging conventional perspectives on the factors that contribute to criminal activities. It beckons forth a new paradigm, complicating the previously held view of what may drive human misconduct. Perhaps it's time to skim through the evidence once more and 'whey' out any potential explanations that might offer a clearer perspective on the 'dairy' dilemmas that lie before us.
In essence, our research amplifies the chorus of dairy and delinquency, urging a concerted effort to untangle the complexities of this seemingly amusing yet surprisingly relevant connection. Needless to say, the results from this study have opened our eyes to the potential 'moo-tivations' lurking behind the seemingly innocuous act of milk consumption, sparking a 'whodairy' investigation of unanticipated proportions and sending us careening down a 'milked' path of inquiry.
Let's ponder a moment as we meander through the dairy-driven maze of mischief, navigating each twist and turn with measured curiosity and a wink at the unexpected 'a-moo-sement' that our findings have wrought.
Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the discussion section of goofy academic research papers that sounds like it belongs based on the title and abstract provided.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.
Please make up a short conclusion of an academic research paper presenting the findings of the connection between Milk consumption and Robberies. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
[[ABSTRACT]]
The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
[[INTRDUCTION]]
The curious relationship between milk consumption and criminal activities has long been a topic of debate among researchers, captivating the academic community with its intriguing potential implications. While the notion of a link between the two may initially seem utterly absurd, our study has churned out some fascinating findings that might just tickle your funny bone – and no, it's not just the calcium speaking.
The concept of milk being associated with misdeeds might seem like a mere figment of dairy imagination, but as we delved into the data, we were surprised to find a compelling connection between milk intake and robbery rates. It appears that the more milk people guzzle, the more they seem to stir up trouble – a peculiar correlation that has researchers scratching their heads and pondering the cream of the crop of criminal behavior.
Now, one might expect that the only danger associated with milk consumption is the risk of spilling it, but our study unveils a rather unexpected twist in the tale. As we milked the data for all it's worth (pun intended), we found a robust correlation coefficient and a p-value that makes you sit up and take notice. It seems there might be more to this dairy dilemma than meets the eye.
But before you go crying over spilled milk, it's vital to approach these findings with a healthy dose of scepticism. Are we truly onto something here, or is this merely a case of coincidental correlation? Our study aims to shed light on this puzzling phenomenon and stimulate further research into the rather unexpected link between milk and mischief. We certainly hope this study will leave other researchers feeling rather "udderly" intrigued and ready to dive into the dairy dilemma.
[[RESULTS]]
The statistical analysis conducted on the comprehensive data gleaned from the USDA and FBI Criminal Justice Information Services led to some rather astounding revelations. Our study uncovered a substantial correlation coefficient of 0.9225096, indicating a robust positive relationship between milk consumption and incidence of robberies. The calculated r-squared value of 0.8510240 further strengthens the evidence for this peculiar association, suggesting that a sizeable proportion of the variation in robbery rates can be explained by changes in milk intake. The p-value of less than 0.01 offers further support for the significant connection between these two variables.
Fig. 1: The scatterplot illustrates the striking correlation between milk consumption and robbery rates. As milk consumption increases, there is a discernible uptick in the instances of robberies, painting a compelling picture of the unexpected entwining of dairy and delinquency.
Now, it's time for a moo-ving dad joke to lighten up the mood: "I told the dairy farmer I wanted 100 cows, and he said 'Sure, I'll round them up for you.' "
The strength of the correlation uncovered in this study brings forth the curious question of whether it's merely a case of chance or if there's a deeper explanation lurking beneath the surface. While the results are certainly thought-provoking, we must approach them with caution and avoid jumping to hasty conclusions. Nonetheless, the findings open the floodgates to a myriad of intriguing possibilities – perhaps even a "whodairy" investigation into the enigmatic link between milk and misdeeds.
Our study opens up a whole new can of worms, or should I say can of milk, prompting a reevaluation of the potential influences of dietary habits on human behavior. It remains to be seen whether this correlation holds true across different time periods, regions, or demographic groups, casting a spotlight on the intricate interplay between milk consumption and criminal activities. This unexpected association between one's dairy choices and criminal tendencies leaves us pondering whether there's a "moo-tive" behind this conspicuous correlation or if it's merely a statistical "udder" anomaly.
In conclusion, our research has unveiled a compelling positive correlation between milk consumption and robberies, adding a fresh twist to the ongoing discussions about the often-overlooked influence of dietary habits on societal behavior. The findings from this study serve as a springboard for future investigations into the interwoven dynamics of dietary patterns and criminal activities, expanding the horizons of behavioral research to encompass the rather unexpected nexus of milk and mischief.
-------
Your response should start like this:
[[CONCLUSION]]
ChatGPT:
[[CONCLUSION]]
In closing, the results of our study have left us utterly captivated by the sheer magnitude of the connection between milk consumption and robberies. The robust correlation coefficient of 0.9225096 and the p-value of less than 0.01 suggest a resounding association that cannot be curdled. It seems that when it comes to milk and misdeeds, there's no use crying over spilt milk – unless, of course, that milk was stolen in a dairy-related crime.
With a correlation this strong, it's clear that we're not just skimming the surface. It's time to milk this research for all it's worth (pun intended), but we must also acknowledge the potential for other variables that may be mixing into this rather unexpected concoction of dairy and delinquency. Still, these findings are quite the "moo-ving" discovery, and it's "udderly" fascinating to consider the implications of this association on societal behavior.
Now, before we bid adieu to this utterly intriguing topic, let's lighten the mood with a fitting dad joke: "What do you call a cow who has just given birth? Decalfinated." It seems that even in the solemn realm of academia, a good old dad joke can work like a charm.
In essence, our research has uncorked a "moo-tivating" revelation that demands further exploration. However, considering the substantial evidence we've unearthed, it's safe to say that no more research is needed in this area. It's time for the next generation of researchers to "milk" new avenues of inquiry and leave this dairy dilemma to rest.
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 Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds. Respond only with the name of a fictional academic journal.
ChatGPT:
The International Journal of Dairy Deviance
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 Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds. Respond only with the name of a fictional organization.
ChatGPT:
The International Dairy Delinquency Research Consortium
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 Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds with an abstract of The relationship between milk consumption and robberies has baffled researchers for decades. In this study, we dug into the dairy dilemma to uncover any possible link between the two. Using comprehensive data from the USDA and FBI Criminal Justice Information Services spanning from 1990 to 2021, we embarked on a journey to decode this enigmatic correlation. To milk it for all it's worth, we delved into statistical analysis, uncovering a robust correlation coefficient of 0.9225096 and a p-value of less than 0.01, suggesting a strong association between milk intake and robbery rates.
Our findings were udderly surprising (pardon the pun), revealing a stunning positive correlation between the two variables. It seems that as milk consumption increases, so do the incidences of robberies, leaving us to ponder the puzzling possibility of a lactose-induced crime spree. With these results, we are left wondering whether we've stumbled upon the "cream" of criminal behavior or simply a case of coincidence. Our study sheds light on a curious conundrum, prompting further investigation into the milky mysteries of human behavior.
ChatGPT:
milk consumption, robbery rates, dairy consumption and crime, milk and criminal behavior, correlation between milk intake and crime, milk influence on misdeeds, dairy consumption and criminal activity, relationship between milk consumption and criminal behavior, milk consumption and crime correlation
*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.
Discover a new correlation
View all correlations
View all research papers
Report an error
Data details
Milk consumptionDetailed data title: Per capita consumption of Fluid beverage milk in the US
Source: USDA
See what else correlates with Milk consumption
Robberies in the US
Detailed data title: The robbery rate per 100,000 residents in United States
Source: FBI Criminal Justice Information Services
See what else correlates with Robberies in the US
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.8510240 (Coefficient of determination)
This means 85.1% of the change in the one variable (i.e., Robberies in the US) is predictable based on the change in the other (i.e., Milk 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.2E-14. 0.0000000000000615442214939262
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.92 in 6.2E-12% of random cases. Said differently, if you correlated 16,248,479,154,110 random variables You don't actually need 16 trillion 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.85, 0.96 ] 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.
1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | |
Milk consumption (Pounds per person) | 220 | 218 | 215 | 210 | 208 | 205 | 205 | 201 | 198 | 197 | 196 | 192 | 191 | 188 | 185 | 185 | 185 | 183 | 181 | 181 | 177 | 173 | 169 | 164 | 158 | 155 | 153 | 149 | 145 | 141 | 141 | 134 |
Robberies in the US (Robbery rate) | 256.3 | 272.7 | 263.7 | 256 | 237.8 | 220.9 | 201.9 | 186.2 | 165.5 | 150.1 | 145 | 148.5 | 146.1 | 142.5 | 136.7 | 140.8 | 150 | 148.3 | 145.9 | 133.1 | 119.3 | 113.9 | 113.1 | 109 | 101.3 | 102.2 | 102.9 | 98.6 | 86.1 | 81.8 | 73.9 | 65.5 |
Why this works
- 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.
- 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. - 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. - 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([220,218,215,210,208,205,205,201,198,197,196,192,191,188,185,185,185,183,181,181,177,173,169,164,158,155,153,149,145,141,141,134,])
array_2 = np.array([256.3,272.7,263.7,256,237.8,220.9,201.9,186.2,165.5,150.1,145,148.5,146.1,142.5,136.7,140.8,150,148.3,145.9,133.1,119.3,113.9,113.1,109,101.3,102.2,102.9,98.6,86.1,81.8,73.9,65.5,])
array_1_name = "Milk consumption"
array_2_name = "Robberies in the US"
# 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:
- High resolution line chart
The image linked here is a Scalable Vector Graphic (SVG). It is the highest resolution that is possible to achieve. It scales up beyond the size of the observable universe without pixelating. You do not need to email me asking if I have a higher resolution image. I do not. The physical limitations of our universe prevent me from providing you with an image that is any higher resolution than this one.
If you insert it into a PowerPoint presentation (a tool well-known for managing things that are the scale of the universe), you can right-click > "Ungroup" or "Create Shape" and then edit the lines and text directly. You can also change the colors this way.
Alternatively you can use a tool like Inkscape. - High resolution line chart, optimized for mobile
- Alternative high resolution line chart
- Scatterplot
- Portable line chart (png)
- Portable line chart (png), optimized for mobile
- Line chart for only Milk consumption
- Line chart for only Robberies in the US
- The spurious research paper: Mischief and Milk: Examining the Mammoth Magnitude of Milk's Influence on Misdeeds
Your rating skills are legendary!
Correlation ID: 1217 · Black Variable ID: 554 · Red Variable ID: 20182