about · email me · subscribe
Spurious correlation #4,212 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Robberies in Montana and the second variable is Disney movies released.  The chart goes from 2000 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

More robberies in Montana led to a surge in cowboy folklore interest, inspiring Disney to create more Wild West-themed movies like Toy Story and The Lone Ranger. As crime rates shot up, so did the demand for rootin' tootin' on-screen adventures, prompting Disney to ride off into the sunset with a string of box office hits. Yee-haw! Tumbleweeds and tiaras, it's the law of the outlaw!

Model: dalle-3
Prompt: Generate an image of a rustic old movie theater in Montana with a Wild West-themed Disney movie playing on the screen. The audience members are cheering as beloved cowboy characters come to life, filling the room with the magic of the frontier. Meanwhile, outside, the silhouette of a bandit sneaks through the shadowy streets, casting a mysterious and daring presence against the backdrop of the idyllic Montana landscape. 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: Robberies in Montana and Disney movies released. 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: Parallax art Celtic art A photo-realistic image Art nouveau A scene from Skyrim
ChatGPT: A scene from Skyrim

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 Robberies in Montana and Disney movies released, in the following situation: More robberies in Montana led to a surge in cowboy folklore interest, inspiring Disney to create more Wild West-themed movies like Toy Story and The Lone Ranger. As crime rates shot up, so did the demand for rootin' tootin' on-screen adventures, prompting Disney to ride off into the sunset with a string of box office hits. Yee-haw! Tumbleweeds and tiaras, it's the law of the outlaw!. Keep the description simple.
ChatGPT: In a rustic old movie theater in Montana, the screen lights up with a Wild West-themed Disney movie. Audiences cheer as beloved cowboy characters come to life, filling the room with the magic of the frontier. Outside, the silhouette of a bandit sneaks through the shadowy streets, casting a mysterious and daring presence against the backdrop of the idyllic Montana landscape.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A scene from Skyrim ] and depicting this scene: In a rustic old movie theater in Montana, the screen lights up with a Wild West-themed Disney movie. Audiences cheer as beloved cowboy characters come to life, filling the room with the magic of the frontier. Outside, the silhouette of a bandit sneaks through the shadowy streets, casting a mysterious and daring presence against the backdrop of the idyllic Montana landscape. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a rustic old movie theater in Montana with a Wild West-themed Disney movie playing on the screen. The audience members are cheering as beloved cowboy characters come to life, filling the room with the magic of the frontier. Meanwhile, outside, the silhouette of a bandit sneaks through the shadowy streets, casting a mysterious and daring presence against the backdrop of the idyllic Montana landscape.

*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 increases in Robberies in Montana positively influenced Disney movies released.

AI academic paper

(Because p < 0.01)
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

Journal of Criminological Fairy Tales

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Robberies in Montana and Disney movies released. Make lots of jokes, goofy observations, and puns.

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

Your research team used data from FBI Criminal Justice Information Services and Box Office Mojo to assess this nagging question. You found a correlation coefficient of 0.6667818 and p < 0.01 for 2000 to 2022.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.


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 Robberies in Montana and Disney movies released. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

Crime and entertainment have long been thought of as residing in separate realms, like the police and the robbers in a classic game of cops and robbers. However, our research aims to bridge this divide by exploring the unexpected connection between robberies in Montana and the enchanting world of Disney movies.

While some might say our topic is "Goofy," we assure you that our findings are anything but Mickey Mouse. Our investigation delves into the statistically significant correlation between incidents of theft and the release of Disney movies, uncovering what we have fondly named the "Snow White-collar crime connection." With a correlation coefficient of 0.6667818 and a p-value of less than 0.01, our findings are no fairy tale.

As we navigate through the whimsical landscape of crime and cinema, we offer a lighthearted perspective on the influence of popular culture on criminal behavior. Whether it's the allure of hidden treasures in "Pirates of the Caribbean" or the temptation of criminal mischief exemplified in "Aladdin," our research aims to shed light on the captivating, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

Join us on this whimsical journey as we unravel the curious correlation between snowy heists and beloved Disney classics. Prepare to be enchanted and slightly bewildered as we explore the swirling mists of crime and fantasy in this unlikely pairing of subjects. After all, where there's crime, there's "Snow" place like Montana for a little Disney magic to influence the mischief of potential bandits.


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 Robberies in Montana and Disney movies released. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
Crime and entertainment have long been thought of as residing in separate realms, like the police and the robbers in a classic game of cops and robbers. However, our research aims to bridge this divide by exploring the unexpected connection between robberies in Montana and the enchanting world of Disney movies.
While some might say our topic is "Goofy," we assure you that our findings are anything but Mickey Mouse. Our investigation delves into the statistically significant correlation between incidents of theft and the release of Disney movies, uncovering what we have fondly named the "Snow White-collar crime connection." With a correlation coefficient of 0.6667818 and a p-value of less than 0.01, our findings are no fairy tale.
As we navigate through the whimsical landscape of crime and cinema, we offer a lighthearted perspective on the influence of popular culture on criminal behavior. Whether it's the allure of hidden treasures in "Pirates of the Caribbean" or the temptation of criminal mischief exemplified in "Aladdin," our research aims to shed light on the captivating, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country.
Join us on this whimsical journey as we unravel the curious correlation between snowy heists and beloved Disney classics. Prepare to be enchanted and slightly bewildered as we explore the swirling mists of crime and fantasy in this unlikely pairing of subjects. After all, where there's crime, there's "Snow" place like Montana for a little Disney magic to influence the mischief of potential bandits.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Early studies in the field of criminology have largely focused on conventional factors such as demographics, economic conditions, and law enforcement policies as predictors of criminal behavior (Smith, 2005; Doe, 2010; Jones, 2016). However, as we delve into the whimsical intersection of crime and entertainment, a new paradigm emerges, shining a spotlight on the peculiar relationship between the release of Disney movies and the occurrence of robberies in Montana.

In "Criminal Capers and Cinematic Charades," Smith et al. posit a bold hypothesis that suggests a potential association between the escapism offered by Disney films and the brazen escapades witnessed in the field of criminal activities, particularly in rural and remote areas. Contrary to the traditional theories of rational choice and deterrence, the authors propose an alternate model of “Disney-induced deviance,” where the allure of fantasy and adventure depicted in movies such as "The Lion King" and "Frozen" serves as a catalyst for impulsive acts of thievery by individuals seeking an adrenaline rush.

Building on this premise, Doe's "Crime and Cartoons: A Tale of Bandits and Beauty" delves deeper into the psyche of offenders, drawing parallels between the daring exploits of animated characters and the audacious feats of real-life burglars. The author provocatively suggests that the enchanting narratives of Disney movies may inadvertently cultivate a romanticized perception of criminality, blurring the lines between lawful and unlawful behavior in the impressionable minds of viewers, particularly those residing in regions with limited access to recreational activities.

Moreover, Jones' comprehensive analysis in "The Happiest Heists on Earth" provides empirical evidence linking the release of Disney classics to a surge in theft-related incidents, offering a nuanced perspective on the role of cultural phenomena in shaping criminal conduct. Through an in-depth examination of crime statistics in conjunction with the cinematic timeline of Disney movie premieres, Jones uncovers a compelling pattern that hints at the potential influence of animated storytelling on the commission of illicit acts, presenting a narrative that challenges traditional criminological paradigms.

As we enter the realm of speculative literature, it is imperative to acknowledge the contribution of non-fiction works that have inspired us to explore the uncharted territory of whimsy and wrongdoing. "The Big Book of Montana Robberies" by Lee Montana and "Disney's Impact on Society" by Walt Rhymes offer valuable insights into the contextual landscape of our investigation, laying the groundwork for a captivating exploration of the Snow White-collar crime connection.

Turning our attention to fictional narratives that allude to the playful yet puzzling correlation between robberies in Montana and Disney movies, works such as "The Great Montana Caper" by Aria Adventure and "Mouse Ears and Misdeeds" by C. Larceny provide a literary backdrop that mirrors the enigmatic juxtaposition of criminal exploits and enchanting storytelling, igniting our imagination as we traverse the whimsical terrain of our research.

In the pursuit of a comprehensive understanding of the cultural undercurrents shaping criminal behavior, our research team also explored television productions that subtly hint at the intersection of felonious forays and fantastical narratives. Viewing popular shows such as "Breaking Grin" and "Bandit Kingdom," we gleaned anecdotal evidence of a potential fascination with morally ambiguous characters and elaborate heists, underscoring the pervasiveness of the theme throughout popular culture and its potential impact on the behavioral inclinations of individuals.

In light of these scholarly and imaginative sources, our investigation embarks on a journey that marries statistical rigor with a whimsical perspective, presenting a progressive discourse on the captivating yet confounding interplay of Snow White-collar crime and the magical allure of Disney movies in the picturesque landscapes of Montana.


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 Robberies in Montana and Disney movies released. 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 FBI Criminal Justice Information Services and Box Office Mojo . You used data from 2000 to 2022

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

[[INTRODUCTION]]
INTRODUCTION
Crime and entertainment have long been thought of as residing in separate realms, like the police and the robbers in a classic game of cops and robbers. However, our research aims to bridge this divide by exploring the unexpected connection between robberies in Montana and the enchanting world of Disney movies.
While some might say our topic is "Goofy," we assure you that our findings are anything but Mickey Mouse. Our investigation delves into the statistically significant correlation between incidents of theft and the release of Disney movies, uncovering what we have fondly named the "Snow White-collar crime connection." With a correlation coefficient of 0.6667818 and a p-value of less than 0.01, our findings are no fairy tale.
As we navigate through the whimsical landscape of crime and cinema, we offer a lighthearted perspective on the influence of popular culture on criminal behavior. Whether it's the allure of hidden treasures in "Pirates of the Caribbean" or the temptation of criminal mischief exemplified in "Aladdin," our research aims to shed light on the captivating, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country.
Join us on this whimsical journey as we unravel the curious correlation between snowy heists and beloved Disney classics. Prepare to be enchanted and slightly bewildered as we explore the swirling mists of crime and fantasy in this unlikely pairing of subjects. After all, where there's crime, there's "Snow" place like Montana for a little Disney magic to influence the mischief of potential bandits.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the Snow White-collar crime connection in Montana, our research team employed a combination of distinct and, dare I say, whimsical research methods. First, we diligently collected data on reported robberies in Montana from 2000 to 2022 from the FBI Criminal Justice Information Services. Our team combed through this data, as though on a treasure hunt, seeking patterns and trends in the incidents of larceny, burglary, and other forms of thievery.

Simultaneously, we gleefully indulged in the world of Disney movies, tracking the release dates and box office revenues of every magical masterpiece from Box Office Mojo. This involved tracing the whimsical storytelling of various films, from "The Lion King" to "Frozen," and connecting their release dates to the occurrences of thefts in Montana. Oh, the lengths we went to in pursuit of this noteworthy correlation!

Through the use of statistical techniques, we conducted a thorough analysis that involved some serious number-crunching but was also sprinkled with a hint of Disney magic. We calculated the correlation coefficient between the release dates of Disney movies and the occurrences of robberies in Montana, revealing a coefficient of 0.6667818, as if a fairy godmother herself had waved her wand. This coefficient, combined with a p-value of less than 0.01, indicated a significant relationship, much to our surprise and delight.

Additionally, we applied sophisticated regression analyses, akin to creating a spellbinding potion, to examine potential mechanisms through which Disney movies may influence criminal behavior. We adjusted for various confounding factors, expecting to uncover the secrets behind this extraordinary correlation, but not before having some fun with the analyses.

Furthermore, our research team explored qualitative information from news articles and social media sources to gain insight into the societal impact of Disney movies in Montana and to add a touch of color and entertainment to our findings.

With these delightfully eccentric research methods, we were able to unveil the captivating Snow White-collar crime connection and paint a picture of the enchanting influence of Disney movies on the mischievous minds of potential burglars in the Big Sky Country. Oh, the grand adventure it was to arrive at these findings, akin to a "Fantasia" of data analysis and statistical wizardry!


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 Robberies in Montana and Disney movies released. 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 FBI Criminal Justice Information Services and Box Office Mojo .

For the time period 2000 to 2022, you found a correlation 0.6667818, r-squared of 0.4445980, and p < 0.01.

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

Here is the title and abstract of the paper:
[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
Crime and entertainment have long been thought of as residing in separate realms, like the police and the robbers in a classic game of cops and robbers. However, our research aims to bridge this divide by exploring the unexpected connection between robberies in Montana and the enchanting world of Disney movies.
While some might say our topic is "Goofy," we assure you that our findings are anything but Mickey Mouse. Our investigation delves into the statistically significant correlation between incidents of theft and the release of Disney movies, uncovering what we have fondly named the "Snow White-collar crime connection." With a correlation coefficient of 0.6667818 and a p-value of less than 0.01, our findings are no fairy tale.
As we navigate through the whimsical landscape of crime and cinema, we offer a lighthearted perspective on the influence of popular culture on criminal behavior. Whether it's the allure of hidden treasures in "Pirates of the Caribbean" or the temptation of criminal mischief exemplified in "Aladdin," our research aims to shed light on the captivating, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country.
Join us on this whimsical journey as we unravel the curious correlation between snowy heists and beloved Disney classics. Prepare to be enchanted and slightly bewildered as we explore the swirling mists of crime and fantasy in this unlikely pairing of subjects. After all, where there's crime, there's "Snow" place like Montana for a little Disney magic to influence the mischief of potential bandits.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis revealed a statistically significant correlation between the occurrences of robberies in Montana and the release of Disney movies from 2000 to 2022. The correlation coefficient of 0.6667818 suggests a moderate positive association between these two variables, indicating that as the number of Disney movies released increased, so did the number of robberies in the state. With an r-squared value of 0.4445980, approximately 44.46% of the variance in robbery incidents can be explained by the release of Disney movies. As we say in the research world, those numbers are not just an "Incredible," they're "Monsters, Inc." worthy.

This unexpected connection, which we have affectionately termed the "Snow White-collar crime connection," challenges conventional explanations for criminal behavior and introduces a novel perspective on the influence of popular culture on illegal activities. While it might seem like there's a "Frozen" link between Disney movies and thievery in Montana, our findings encourage a deeper exploration of the underlying mechanisms driving this relationship. It's a tale as old as crime itself, and our research has brought it out of the shadows and into the spotlight.

Notably, the p-value of less than 0.01 indicates that the correlation observed is highly unlikely to have occurred by random chance alone. We can confidently say that the association between Disney movie releases and robberies in Montana is not just a "Lion King" of coincidences. It's a statistical reality that demands further investigation and analysis.

Now, if you take a look at Fig. 1, you'll see a scatterplot that visually depicts the strong correlation between the number of Disney movie releases and the occurrences of robberies in Montana. As the number of Disney movies released increases, there is a noticeable uptick in the frequency of robberies, depicting a peculiar dance between entertainment and crime that would make even the most mischievous "Peter Pan" blush at its audacity.

In conclusion, our research not only unravels the captivating correlation between snowy heists and beloved Disney classics but also injects a touch of whimsy into the serious world of criminology. It prompts us to consider the enchanting, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country, reminding us that sometimes, truth is indeed stranger than fiction. So, the next time you watch a Disney movie, remember that somewhere in Montana, a potential burglar might just be feeling the urge to channel their inner "Robin Hood" – for better or for worse.


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 Robberies in Montana and Disney movies released. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

[[LITERATURE REVIEW]]
Early studies in the field of criminology have largely focused on conventional factors such as demographics, economic conditions, and law enforcement policies as predictors of criminal behavior (Smith, 2005; Doe, 2010; Jones, 2016). However, as we delve into the whimsical intersection of crime and entertainment, a new paradigm emerges, shining a spotlight on the peculiar relationship between the release of Disney movies and the occurrence of robberies in Montana.
In "Criminal Capers and Cinematic Charades," Smith et al. posit a bold hypothesis that suggests a potential association between the escapism offered by Disney films and the brazen escapades witnessed in the field of criminal activities, particularly in rural and remote areas. Contrary to the traditional theories of rational choice and deterrence, the authors propose an alternate model of “Disney-induced deviance,” where the allure of fantasy and adventure depicted in movies such as "The Lion King" and "Frozen" serves as a catalyst for impulsive acts of thievery by individuals seeking an adrenaline rush.
Building on this premise, Doe's "Crime and Cartoons: A Tale of Bandits and Beauty" delves deeper into the psyche of offenders, drawing parallels between the daring exploits of animated characters and the audacious feats of real-life burglars. The author provocatively suggests that the enchanting narratives of Disney movies may inadvertently cultivate a romanticized perception of criminality, blurring the lines between lawful and unlawful behavior in the impressionable minds of viewers, particularly those residing in regions with limited access to recreational activities.
Moreover, Jones' comprehensive analysis in "The Happiest Heists on Earth" provides empirical evidence linking the release of Disney classics to a surge in theft-related incidents, offering a nuanced perspective on the role of cultural phenomena in shaping criminal conduct. Through an in-depth examination of crime statistics in conjunction with the cinematic timeline of Disney movie premieres, Jones uncovers a compelling pattern that hints at the potential influence of animated storytelling on the commission of illicit acts, presenting a narrative that challenges traditional criminological paradigms.
As we enter the realm of speculative literature, it is imperative to acknowledge the contribution of non-fiction works that have inspired us to explore the uncharted territory of whimsy and wrongdoing. "The Big Book of Montana Robberies" by Lee Montana and "Disney's Impact on Society" by Walt Rhymes offer valuable insights into the contextual landscape of our investigation, laying the groundwork for a captivating exploration of the Snow White-collar crime connection.
Turning our attention to fictional narratives that allude to the playful yet puzzling correlation between robberies in Montana and Disney movies, works such as "The Great Montana Caper" by Aria Adventure and "Mouse Ears and Misdeeds" by C. Larceny provide a literary backdrop that mirrors the enigmatic juxtaposition of criminal exploits and enchanting storytelling, igniting our imagination as we traverse the whimsical terrain of our research.
In the pursuit of a comprehensive understanding of the cultural undercurrents shaping criminal behavior, our research team also explored television productions that subtly hint at the intersection of felonious forays and fantastical narratives. Viewing popular shows such as "Breaking Grin" and "Bandit Kingdom," we gleaned anecdotal evidence of a potential fascination with morally ambiguous characters and elaborate heists, underscoring the pervasiveness of the theme throughout popular culture and its potential impact on the behavioral inclinations of individuals.
In light of these scholarly and imaginative sources, our investigation embarks on a journey that marries statistical rigor with a whimsical perspective, presenting a progressive discourse on the captivating yet confounding interplay of Snow White-collar crime and the magical allure of Disney movies in the picturesque landscapes of Montana.

[[RESULTS]]
The analysis revealed a statistically significant correlation between the occurrences of robberies in Montana and the release of Disney movies from 2000 to 2022. The correlation coefficient of 0.6667818 suggests a moderate positive association between these two variables, indicating that as the number of Disney movies released increased, so did the number of robberies in the state. With an r-squared value of 0.4445980, approximately 44.46% of the variance in robbery incidents can be explained by the release of Disney movies. As we say in the research world, those numbers are not just an "Incredible," they're "Monsters, Inc." worthy.
This unexpected connection, which we have affectionately termed the "Snow White-collar crime connection," challenges conventional explanations for criminal behavior and introduces a novel perspective on the influence of popular culture on illegal activities. While it might seem like there's a "Frozen" link between Disney movies and thievery in Montana, our findings encourage a deeper exploration of the underlying mechanisms driving this relationship. It's a tale as old as crime itself, and our research has brought it out of the shadows and into the spotlight.
Notably, the p-value of less than 0.01 indicates that the correlation observed is highly unlikely to have occurred by random chance alone. We can confidently say that the association between Disney movie releases and robberies in Montana is not just a "Lion King" of coincidences. It's a statistical reality that demands further investigation and analysis.
Now, if you take a look at Fig. 1, you'll see a scatterplot that visually depicts the strong correlation between the number of Disney movie releases and the occurrences of robberies in Montana. As the number of Disney movies released increases, there is a noticeable uptick in the frequency of robberies, depicting a peculiar dance between entertainment and crime that would make even the most mischievous "Peter Pan" blush at its audacity.
In conclusion, our research not only unravels the captivating correlation between snowy heists and beloved Disney classics but also injects a touch of whimsy into the serious world of criminology. It prompts us to consider the enchanting, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country, reminding us that sometimes, truth is indeed stranger than fiction. So, the next time you watch a Disney movie, remember that somewhere in Montana, a potential burglar might just be feeling the urge to channel their inner "Robin Hood" – for better or for worse.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our analysis not only confirms previous research on the "Snow White-collar crime connection" but also sheds light on the previously unexplored nuances of this peculiar correlation. The statistically significant correlation coefficient and p-value provide robust support for the notion that as the number of Disney movies released increased, so did the number of robberies in Montana. This aligns with the whimsical hypothesis of "Disney-induced deviance" put forward by Smith et al. and further supported by Doe's parallels between animated daring exploits and real-life criminal feats.

Furthermore, the r-squared value of approximately 44.46% signifies a noteworthy explanatory power of Disney movie releases in predicting the variance in robbery incidents, highlighting the substantial influence of these cinematic narratives on criminal behavior. Our findings aptly echo the informative whimsy offered by Jones' analysis, unveiling a narrative that challenges traditional criminological paradigms and douses the subject in a touch of magical realism.

This study's humorous undertones, akin to the playful narratives found in "The Big Book of Montana Robberies" and the mischievous intrigue of "Mouse Ears and Misdeeds," blend seamlessly with the empirical rigor and precision demanded by academic research. Through this unique prism, we have cast a spotlight on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the picturesque landscapes of Montana. The mix of statistics and storytelling has yielded a delightful confluence that evokes a sense of playful wonder within the often serious realm of criminology.

In addition, the scatterplot visually portrays the dance between entertainment and crime, painting a vivid picture of the correlation observed. This visualization captures the whimsical nature of the "Snow White-collar crime connection" and invites a lighthearted perspective on the interplay between popular culture and criminal activity. Indeed, the statistical reality of this association is not just a "Lion King" of coincidences but a compelling facet of the intricate tapestry of criminological phenomena.

Our research has not only added a charming twist to the landscape of criminological inquiry but has also sparked a renewed interest in the role of cultural phenomena in shaping criminal conduct. Through this unconventional lens, we urge fellow researchers to consider the influence of popular culture in their investigations and to embrace the whimsy that may accompany such inquiries. As we navigate this whimsical territory, it becomes increasingly clear that the connection between snowy heists and beloved Disney classics is not only statistically remarkable but also formally tantalizing in its implications for contemporary criminology.


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 Robberies in Montana and Disney movies released. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana

[[ABSTRACT]]
In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

[[INTRDUCTION]]
INTRODUCTION
Crime and entertainment have long been thought of as residing in separate realms, like the police and the robbers in a classic game of cops and robbers. However, our research aims to bridge this divide by exploring the unexpected connection between robberies in Montana and the enchanting world of Disney movies.
While some might say our topic is "Goofy," we assure you that our findings are anything but Mickey Mouse. Our investigation delves into the statistically significant correlation between incidents of theft and the release of Disney movies, uncovering what we have fondly named the "Snow White-collar crime connection." With a correlation coefficient of 0.6667818 and a p-value of less than 0.01, our findings are no fairy tale.
As we navigate through the whimsical landscape of crime and cinema, we offer a lighthearted perspective on the influence of popular culture on criminal behavior. Whether it's the allure of hidden treasures in "Pirates of the Caribbean" or the temptation of criminal mischief exemplified in "Aladdin," our research aims to shed light on the captivating, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country.
Join us on this whimsical journey as we unravel the curious correlation between snowy heists and beloved Disney classics. Prepare to be enchanted and slightly bewildered as we explore the swirling mists of crime and fantasy in this unlikely pairing of subjects. After all, where there's crime, there's "Snow" place like Montana for a little Disney magic to influence the mischief of potential bandits.

[[RESULTS]]
The analysis revealed a statistically significant correlation between the occurrences of robberies in Montana and the release of Disney movies from 2000 to 2022. The correlation coefficient of 0.6667818 suggests a moderate positive association between these two variables, indicating that as the number of Disney movies released increased, so did the number of robberies in the state. With an r-squared value of 0.4445980, approximately 44.46% of the variance in robbery incidents can be explained by the release of Disney movies. As we say in the research world, those numbers are not just an "Incredible," they're "Monsters, Inc." worthy.
This unexpected connection, which we have affectionately termed the "Snow White-collar crime connection," challenges conventional explanations for criminal behavior and introduces a novel perspective on the influence of popular culture on illegal activities. While it might seem like there's a "Frozen" link between Disney movies and thievery in Montana, our findings encourage a deeper exploration of the underlying mechanisms driving this relationship. It's a tale as old as crime itself, and our research has brought it out of the shadows and into the spotlight.
Notably, the p-value of less than 0.01 indicates that the correlation observed is highly unlikely to have occurred by random chance alone. We can confidently say that the association between Disney movie releases and robberies in Montana is not just a "Lion King" of coincidences. It's a statistical reality that demands further investigation and analysis.
Now, if you take a look at Fig. 1, you'll see a scatterplot that visually depicts the strong correlation between the number of Disney movie releases and the occurrences of robberies in Montana. As the number of Disney movies released increases, there is a noticeable uptick in the frequency of robberies, depicting a peculiar dance between entertainment and crime that would make even the most mischievous "Peter Pan" blush at its audacity.
In conclusion, our research not only unravels the captivating correlation between snowy heists and beloved Disney classics but also injects a touch of whimsy into the serious world of criminology. It prompts us to consider the enchanting, albeit mischievous, influence of Disney films on the imaginative minds of potential burglars in the Big Sky Country, reminding us that sometimes, truth is indeed stranger than fiction. So, the next time you watch a Disney movie, remember that somewhere in Montana, a potential burglar might just be feeling the urge to channel their inner "Robin Hood" – for better or for worse.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has uncovered a surprisingly robust correlation between the release of Disney movies and the occurrences of robberies in Montana. The statistically significant correlation coefficient of 0.6667818 and the p-value of less than 0.01 indicate that this connection is not just a "Little Mermaid" fantasy but a tangible phenomenon with potential real-world implications. Our findings raise intriguing questions about the influence of popular culture on criminal behavior, as well as the potential role of Disney's enchanting narratives in inspiring the more mischievous endeavors of aspiring bandits.

With the emergence of the "Snow White-collar crime connection," it's clear that there is more to this correlation than meets the eye – or should we say, the "Eye of the Tiger"! While some may find it "Un-Bear-ably" amusing, this research offers a fresh perspective on the interplay between entertainment and unlawful activities. It's as if Disney's magic has extended beyond the silver screen and into the unsuspecting minds of those with a penchant for larceny.

Our analysis not only highlights the statistical validity of this connection but also presents a teasingly tantalizing insight into the whimsical world of crime and cinema. With the "Pirates of the Caribbean" ready to set sail and the mischievous "Aladdin" granting three wishes, we're reminded that reality can sometimes be stranger – and perhaps wackier – than fiction. After all, where there's crime, there's "Snow" place like Montana for a little Disney magic to work its unexpected wonders.

In no uncertain terms, our study presents a compelling case for further exploration and analysis of the relationship between Disney movie releases and criminal activities. However, for now, we're confident in saying that our research has "Tangled" up the conventional wisdom surrounding criminal motivations and added a spark of merriment to the often sobering field of criminology.

Therefore, we assert that no further research is necessary on this topic. Case closed – like "Beauty and the Beast" – but with a twist of enchantment!


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Criminological Fairy Tales


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Investigative Fairy Tale Research


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled The Magnificent Seven Dwarfs: Exploring the Snow White-collar Crime Connection in Montana with an abstract of In this paper, we delve into the unexpected and whimsical realm of crime and entertainment by examining the peculiar correlation between robberies in Montana and the release of Disney movies. Using data from the FBI Criminal Justice Information Services and Box Office Mojo, our research team discovered a correlation coefficient of 0.6667818 with a significant p-value of less than 0.01 for the period from 2000 to 2022. We coined this statistical phenomenon the "Snow White-collar crime connection" and explored potential explanatory mechanisms involving the influence of Disney movies on criminal behavior. Our findings provide a lighthearted perspective on the interplay between popular culture and criminal activity, shedding new light on the enchanting, albeit perhaps mischievous, impact of Disney films on the imaginative minds of potential burglars in the Big Sky Country.

ChatGPT:

"Snow White-collar crime connection", Montana crime correlation with Disney movies, robberies in Montana, FBI criminal data analysis, Disney movies influence on criminal behavior, popular culture impact on criminal activity

*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

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

Disney movies released
Detailed data title: Disney Movie Release Count
Source: Box Office Mojo
See what else correlates with Disney movies released

Correlation r = 0.6667818 (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.4445980 (Coefficient of determination)
This means 44.5% of the change in the one variable (i.e., Disney movies released) is predictable based on the change in the other (i.e., Robberies in Montana) over the 23 years from 2000 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.00051. 0.0005115171958317616000000000
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.67 in 0.051% of random cases. Said differently, if you correlated 1,955 random variables Which I absolutely did.
with the same 22 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 22 because we have two variables measured over a period of 23 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.35, 0.85 ] 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.
20002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Robberies in Montana (Robbery rate)22.525.431.132.525.118.924.724.321.123.415.517.120.121.419.720.325.822.225.519.525.826.123.3
Disney movies released (Disney movies)3329323733242021161910111211111513121419232016




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([22.5,25.4,31.1,32.5,25.1,18.9,24.7,24.3,21.1,23.4,15.5,17.1,20.1,21.4,19.7,20.3,25.8,22.2,25.5,19.5,25.8,26.1,23.3,])
array_2 = np.array([33,29,32,37,33,24,20,21,16,19,10,11,12,11,11,15,13,12,14,19,23,20,16,])
array_1_name = "Robberies in Montana"
array_2_name = "Disney movies released"

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

I'm genuinely thankful for your rating!


Correlation ID: 4212 · Black Variable ID: 20200 · Red Variable ID: 12
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0