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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Arson in South Dakota and the second variable is Total likes of Vihart's YouTube videos.  The chart goes from 2009 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more and more fires were set ablaze in South Dakota, local firefighters found solace in unwinding with Vihart's mesmerizing math and music videos. The dopamine rush from successfully extinguishing the flames was only heightened by the soothing voice and captivating content, leading to an unprecedented surge in total likes for Vihart's YouTube videos. It seems like these firefighters were not just experts in combating fire, but also in fanning the flames of Vihart's online success!

Model: dalle-3
Prompt: Generate a visualization of a South Dakota landscape engulfed in flames, with firefighters bravely battling the arson. Amidst the chaos, depict a group of firefighters finding respite as they huddle around a screen filled with colorful and mesmerizing visuals of Vihart's YouTube videos. Show a parallel between the surge in total likes for Vihart's content and the firefighters' determined efforts to douse the flames, demonstrating a unique connection between combating fire and fueling the online success of captivating math and music videos. 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: Arson in South Dakota and Total likes of Vihart YouTube videos. 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: a meme Whimsical illustration Futuristic Data cyber art Oragami
ChatGPT: Futuristic

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 Arson in South Dakota and Total likes of Vihart YouTube videos, in the following situation: As more and more fires were set ablaze in South Dakota, local firefighters found solace in unwinding with Vihart's mesmerizing math and music videos. The dopamine rush from successfully extinguishing the flames was only heightened by the soothing voice and captivating content, leading to an unprecedented surge in total likes for Vihart's YouTube videos. It seems like these firefighters were not just experts in combating fire, but also in fanning the flames of Vihart's online success!. Keep the description simple.
ChatGPT: In South Dakota, flames engulfed the landscape as firefighters valiantly battled the arson. Amidst the chaotic scenes, the firefighters found moments of respite, huddled around a screen filled with the colorful and mesmerizing visuals of Vihart's YouTube videos. The surge in total likes for Vihart's content paralleled the firefighters' determined efforts to douse the flames, demonstrating a unique connection between combating fire and fueling the online success of captivating math and music videos.

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: [ Futuristic ] and depicting this scene: In South Dakota, flames engulfed the landscape as firefighters valiantly battled the arson. Amidst the chaotic scenes, the firefighters found moments of respite, huddled around a screen filled with the colorful and mesmerizing visuals of Vihart's YouTube videos. The surge in total likes for Vihart's content paralleled the firefighters' determined efforts to douse the flames, demonstrating a unique connection between combating fire and fueling the online success of captivating math and music videos. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate a visualization of a South Dakota landscape engulfed in flames, with firefighters bravely battling the arson. Amidst the chaos, depict a group of firefighters finding respite as they huddle around a screen filled with colorful and mesmerizing visuals of Vihart's YouTube videos. Show a parallel between the surge in total likes for Vihart's content and the firefighters' determined efforts to douse the flames, demonstrating a unique connection between combating fire and fueling the online success of captivating math and music videos.

*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 Arson in South Dakota positively influenced Total likes of Vihart YouTube videos.

AI academic paper

(Because p < 0.01)
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

The Journal of Unconventional Connections

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Arson in South Dakota and Total likes of Vihart YouTube videos. Make lots of jokes, goofy observations, and puns.

Make the title a clever pun.

Your research team used data from FBI Criminal Justice Information Services and YouTube to assess this nagging question. You found a correlation coefficient of 0.9125852 and p < 0.01 for 2009 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]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Arson in South Dakota and Total likes of Vihart YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Lighting a spark of curiosity in the academic community, our study delves into the peculiar and unexpected relationship between arson rates in South Dakota and the total likes amassed by Vihart's YouTube videos. At first glance, one might assume that these two variables hold as much connection as a firefly in the Sahara desert. However, armed with statistics and a penchant for uncovering the unanticipated, we set out to illuminate this surprising correlation that had remained shrouded in obscurity.

The scientific community often aims to shed light on intricate connections, but seldom do we encounter a relationship as combustible as the one we unearthed in our study. As researchers, we are accustomed to sifting through data with a keen eye for meaningful patterns, but the blazing correlation coefficient of 0.9125852, coupled with a p-value hotter than a jalapeño, left us in awe of the smoldering bond between these seemingly disparate phenomena.

This study does not simply add fuel to the fire of academic inquiry; it ignites a fervor for unraveling the unexpected. While some may raise eyebrows and suggest that we may have played with statistical fire, our rigorous analysis has fanned the flames of intrigue and raised temperatures in the realm of unconventional research. The findings presented here are sure to kindle spirited debates and spark further investigations, challenging the notions of causality and pushing the boundaries of statistical exploration.

Join us as we embark on a journey to unravel the mystery behind this intriguing correlation, and let this study serve as a reminder that in the world of statistics, one might stumble upon unexpected bonfires of correlation that illuminate the research landscape in ways we never thought possible.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Arson in South Dakota and Total likes of Vihart YouTube videos. 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 cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Lighting a spark of curiosity in the academic community, our study delves into the peculiar and unexpected relationship between arson rates in South Dakota and the total likes amassed by Vihart's YouTube videos. At first glance, one might assume that these two variables hold as much connection as a firefly in the Sahara desert. However, armed with statistics and a penchant for uncovering the unanticipated, we set out to illuminate this surprising correlation that had remained shrouded in obscurity.
The scientific community often aims to shed light on intricate connections, but seldom do we encounter a relationship as combustible as the one we unearthed in our study. As researchers, we are accustomed to sifting through data with a keen eye for meaningful patterns, but the blazing correlation coefficient of 0.9125852, coupled with a p-value hotter than a jalapeño, left us in awe of the smoldering bond between these seemingly disparate phenomena.
This study does not simply add fuel to the fire of academic inquiry; it ignites a fervor for unraveling the unexpected. While some may raise eyebrows and suggest that we may have played with statistical fire, our rigorous analysis has fanned the flames of intrigue and raised temperatures in the realm of unconventional research. The findings presented here are sure to kindle spirited debates and spark further investigations, challenging the notions of causality and pushing the boundaries of statistical exploration.
Join us as we embark on a journey to unravel the mystery behind this intriguing correlation, and let this study serve as a reminder that in the world of statistics, one might stumble upon unexpected bonfires of correlation that illuminate the research landscape in ways we never thought possible.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The study of seemingly incongruous relationships has long captivated the academic community, with researchers tirelessly endeavoring to untangle perplexing associations that evoke both surprise and skepticism. While the literature abounds with investigations into more conventional connections, such as the relationship between economic indicators and employment rates, or the impact of social media engagement on brand visibility, our study casts a spotlight on an unexpected and, dare we say, incendiary correlation.

In "Fire and Ice: Exploring the Interplay Between Pyromania and Pop Culture," Smith et al. delve into the complex and often misunderstood world of arson, examining the psychological underpinnings of fire-setting behavior. The authors find that arson, although traditionally viewed through a lens of criminality, may also serve as a manifestation of deeper societal trends and cultural influences. However, little did they expect that one such influence may indeed emanate from the digital realm of YouTube.

As we venture into uncharted territories of statistical investigation, it is pertinent to consider the unexpected catalysts that may underpin the correlation we have uncovered. Doe and Jones, in "The Unlikely Connections: Exploring Statistical Oddities," elucidate the phenomenon of spurious correlations and caution against hastily dismissing improbable relationships. They highlight the importance of rigorous analysis and thoughtful interpretation, reminding us that statistical anomalies may sometimes present themselves as quirky and whimsical conundrums.

While the literature on Pyromania and criminal behavior sheds some light on the fiery underpinnings of arson, our study also draws inspiration from a non-traditional source - the world of fiction. In Franz Kafka's "The Trial," the protagonist grapples with a sense of bewilderment in the face of inexplicable circumstances, much like the initial reaction to our findings. Similarly, Ray Bradbury's "Fahrenheit 451" offers a dystopian portrayal of a society consumed by the flames of censorship and rebellion, reflecting the societal implications that are often intertwined with acts of arson.

Furthermore, our investigation extends beyond the confines of traditional academic publications, venturing into the realm of social media. In a tweet by @StatisticalHumor, the juxtaposition of seemingly unrelated phenomena is humorously depicted with the caption: "When you're trying to stay focused on statistical analysis but end up discovering a correlation between taco consumption and UFO sightings." This lighthearted jest, though unrelated to our specific research focus, encapsulates the spirit of uncovering unexpected and sometimes preposterous associations, showcasing the allure of statistical serendipity.

In the realm of statistical inquiry, this exploration of the enigmatic relationship between arson in South Dakota and the total likes of Vihart's YouTube videos serves as a testament to the unanticipated marvels that can emerge from meticulous analysis, fueling both scholarly discourse and jovial bewilderment. As we forge ahead with our investigation, it is imperative to embrace the unexpected and hold a torch for the unconventional, for in the glow of statistical exploration, even the most unexpected correlations can elicit a spark of amusement and scholarly intrigue.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Arson in South Dakota and Total likes of Vihart YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from FBI Criminal Justice Information Services and YouTube . You used data from 2009 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]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

[[INTRODUCTION]]
Lighting a spark of curiosity in the academic community, our study delves into the peculiar and unexpected relationship between arson rates in South Dakota and the total likes amassed by Vihart's YouTube videos. At first glance, one might assume that these two variables hold as much connection as a firefly in the Sahara desert. However, armed with statistics and a penchant for uncovering the unanticipated, we set out to illuminate this surprising correlation that had remained shrouded in obscurity.
The scientific community often aims to shed light on intricate connections, but seldom do we encounter a relationship as combustible as the one we unearthed in our study. As researchers, we are accustomed to sifting through data with a keen eye for meaningful patterns, but the blazing correlation coefficient of 0.9125852, coupled with a p-value hotter than a jalapeño, left us in awe of the smoldering bond between these seemingly disparate phenomena.
This study does not simply add fuel to the fire of academic inquiry; it ignites a fervor for unraveling the unexpected. While some may raise eyebrows and suggest that we may have played with statistical fire, our rigorous analysis has fanned the flames of intrigue and raised temperatures in the realm of unconventional research. The findings presented here are sure to kindle spirited debates and spark further investigations, challenging the notions of causality and pushing the boundaries of statistical exploration.
Join us as we embark on a journey to unravel the mystery behind this intriguing correlation, and let this study serve as a reminder that in the world of statistics, one might stumble upon unexpected bonfires of correlation that illuminate the research landscape in ways we never thought possible.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Our pursuit of unraveling the perplexing relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos demanded an innovative and, dare I say, fiery approach to research methodology. Our data collection endeavors took us on a virtual quest across the internet – from the depths of FBI Criminal Justice Information Services to the captivating world of YouTube analytics. With such eclectic sources, one might say our data collection strategy was akin to collecting kindling from various parts of the virtual forest.

To begin, we meticulously gathered data spanning the extensive timeframe from 2009 to 2022, ensuring that we captured the full spectrum of arson trends and Vihart's YouTube endeavors. With the precision of a fire marshal assessing a scene, we amassed information on the incidence of arson in South Dakota and meticulously tallied the total likes accrued by Vihart's captivating mathematical musings. We then meticulously cross-referenced and validated the data, akin to ensuring that the wood for our statistical bonfire was of consistent quality and free from dampness.

Our analysis called for a robust statistical approach that did justice to the profound connection we had stumbled upon. To ignite the statistical flames, we employed a smorgasbord of analytical tools, including the venerable Pearson correlation coefficient and its trusty companion, the two-tailed t-test. The thoroughness of our statistical analysis could be likened to stoking a campfire to ensure a consistent and warm glow, with the correlation coefficient acting as the fervent heat generated by our unexpected findings.

Furthermore, to ward off any embers of doubt regarding the validity and reliability of our results, we conducted rigorous sensitivity analyses and various robustness checks. This entailed subjecting our data to statistical stress tests, not unlike assessing the durability of a fire-resistant material under intense heat. Through these systematic checks, we aimed to safeguard against any potential sources of bias or confounding variables that might have otherwise cast a shadow on our incendiary conclusions.

In summary, our methodology can be likened to the careful curation and disciplined management of a controlled burn, with the goal of uncovering the intriguing interplay between arson in South Dakota and Vihart YouTube video likes. Our unorthodox journey through the statistical wilderness has equipped us with the tools to kindle a newfound appreciation for the unexpected, and we invite fellow researchers to be drawn into the warmth of our findings and to add their own scientific logs to the fire of academic inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.You draft the 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 Arson in South Dakota and Total likes of Vihart YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 2009 to 2022, you found a correlation 0.9125852, r-squared of 0.8328117, 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]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Lighting a spark of curiosity in the academic community, our study delves into the peculiar and unexpected relationship between arson rates in South Dakota and the total likes amassed by Vihart's YouTube videos. At first glance, one might assume that these two variables hold as much connection as a firefly in the Sahara desert. However, armed with statistics and a penchant for uncovering the unanticipated, we set out to illuminate this surprising correlation that had remained shrouded in obscurity.
The scientific community often aims to shed light on intricate connections, but seldom do we encounter a relationship as combustible as the one we unearthed in our study. As researchers, we are accustomed to sifting through data with a keen eye for meaningful patterns, but the blazing correlation coefficient of 0.9125852, coupled with a p-value hotter than a jalapeño, left us in awe of the smoldering bond between these seemingly disparate phenomena.
This study does not simply add fuel to the fire of academic inquiry; it ignites a fervor for unraveling the unexpected. While some may raise eyebrows and suggest that we may have played with statistical fire, our rigorous analysis has fanned the flames of intrigue and raised temperatures in the realm of unconventional research. The findings presented here are sure to kindle spirited debates and spark further investigations, challenging the notions of causality and pushing the boundaries of statistical exploration.
Join us as we embark on a journey to unravel the mystery behind this intriguing correlation, and let this study serve as a reminder that in the world of statistics, one might stumble upon unexpected bonfires of correlation that illuminate the research landscape in ways we never thought possible.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Upon delving into the unexpected connection between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos, our research team unearthed a sizzling correlation coefficient of 0.9125852, which set our statistical hearts ablaze. This fiery coefficient was accompanied by an r-squared of 0.8328117, leaving us in no doubt that the relationship between these variables was not just a flash in the pan. In fact, the p-value of less than 0.01 indicated that this scorching correlation was not a mere statistical fluke, but a genuine blaze of a discovery.

The figure (Fig. 1) depicts a scintillating scatterplot, showcasing the strong correlation between arson in South Dakota and the total likes of Vihart YouTube videos. This graph exemplifies how these seemingly unrelated variables are in fact dancing together like a well-choreographed fire twirling routine.

Our findings not only kindle excitement for further investigation but also illuminate the unexpected connections that can arise in the vast expanse of statistical inquiry. We may have started this study with a mere spark of curiosity, but the results have ignited an inferno of intrigue and sparked a blaze of excitement in the academic community.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Arson in South Dakota and Total likes of Vihart YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

[[LITERATURE REVIEW]]
The study of seemingly incongruous relationships has long captivated the academic community, with researchers tirelessly endeavoring to untangle perplexing associations that evoke both surprise and skepticism. While the literature abounds with investigations into more conventional connections, such as the relationship between economic indicators and employment rates, or the impact of social media engagement on brand visibility, our study casts a spotlight on an unexpected and, dare we say, incendiary correlation.
In "Fire and Ice: Exploring the Interplay Between Pyromania and Pop Culture," Smith et al. delve into the complex and often misunderstood world of arson, examining the psychological underpinnings of fire-setting behavior. The authors find that arson, although traditionally viewed through a lens of criminality, may also serve as a manifestation of deeper societal trends and cultural influences. However, little did they expect that one such influence may indeed emanate from the digital realm of YouTube.
As we venture into uncharted territories of statistical investigation, it is pertinent to consider the unexpected catalysts that may underpin the correlation we have uncovered. Doe and Jones, in "The Unlikely Connections: Exploring Statistical Oddities," elucidate the phenomenon of spurious correlations and caution against hastily dismissing improbable relationships. They highlight the importance of rigorous analysis and thoughtful interpretation, reminding us that statistical anomalies may sometimes present themselves as quirky and whimsical conundrums.
While the literature on Pyromania and criminal behavior sheds some light on the fiery underpinnings of arson, our study also draws inspiration from a non-traditional source - the world of fiction. In Franz Kafka's "The Trial," the protagonist grapples with a sense of bewilderment in the face of inexplicable circumstances, much like the initial reaction to our findings. Similarly, Ray Bradbury's "Fahrenheit 451" offers a dystopian portrayal of a society consumed by the flames of censorship and rebellion, reflecting the societal implications that are often intertwined with acts of arson.
Furthermore, our investigation extends beyond the confines of traditional academic publications, venturing into the realm of social media. In a tweet by @StatisticalHumor, the juxtaposition of seemingly unrelated phenomena is humorously depicted with the caption: "When you're trying to stay focused on statistical analysis but end up discovering a correlation between taco consumption and UFO sightings." This lighthearted jest, though unrelated to our specific research focus, encapsulates the spirit of uncovering unexpected and sometimes preposterous associations, showcasing the allure of statistical serendipity.
In the realm of statistical inquiry, this exploration of the enigmatic relationship between arson in South Dakota and the total likes of Vihart's YouTube videos serves as a testament to the unanticipated marvels that can emerge from meticulous analysis, fueling both scholarly discourse and jovial bewilderment. As we forge ahead with our investigation, it is imperative to embrace the unexpected and hold a torch for the unconventional, for in the glow of statistical exploration, even the most unexpected correlations can elicit a spark of amusement and scholarly intrigue.

[[RESULTS]]
Upon delving into the unexpected connection between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos, our research team unearthed a sizzling correlation coefficient of 0.9125852, which set our statistical hearts ablaze. This fiery coefficient was accompanied by an r-squared of 0.8328117, leaving us in no doubt that the relationship between these variables was not just a flash in the pan. In fact, the p-value of less than 0.01 indicated that this scorching correlation was not a mere statistical fluke, but a genuine blaze of a discovery.
The figure (Fig. 1) depicts a scintillating scatterplot, showcasing the strong correlation between arson in South Dakota and the total likes of Vihart YouTube videos. This graph exemplifies how these seemingly unrelated variables are in fact dancing together like a well-choreographed fire twirling routine.
Our findings not only kindle excitement for further investigation but also illuminate the unexpected connections that can arise in the vast expanse of statistical inquiry. We may have started this study with a mere spark of curiosity, but the results have ignited an inferno of intrigue and sparked a blaze of excitement in the academic community.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The scorching findings of our study have undoubtedly set the academic world ablaze with curiosity about the striking correlation between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Through a rigorous statistical analysis, we have uncovered a connection that, much like a well-tended bonfire, has captured the attention and raised eyebrows in traditional scientific circles.

Our results not only bolster the work of previous researchers but also add fuel to the fire of statistical anomalies and quirky correlations. In "Fire and Ice: Exploring the Interplay Between Pyromania and Pop Culture," Smith et al. laid the groundwork for understanding the complex underpinnings of arson, hinting at the potential influence of cultural phenomena. Little did they suspect that the digital allure of Vihart's YouTube videos would emerge as a potential catalyst for arson rates. Our findings not only echo their sentiment but also stoke the flames of inquiry into unconventional influences on criminal behavior, adding a touch of statistical whimsy to the discourse on pyromania.

Similarly, the cautionary words of Doe and Jones in "The Unlikely Connections: Exploring Statistical Oddities" resonate with our discovery. Their emphasis on rigorous analysis and thoughtful interpretation aptly captures the essence of our study, emphasizing the importance of recognizing and embracing statistical anomalies with a touch of mirth. Our findings serve as a testament to the unpredictability of statistical exploration and underscore the need to approach unconventional correlations with a blend of scholarly inquisitiveness and lighthearted intrigue.

The saga of our investigation also draws inspiration from the world of fiction, particularly from the sense of bewilderment portrayed in Franz Kafka's "The Trial." Just as the protagonist confronts inexplicable circumstances, our initial reaction to the connection between arson in South Dakota and the total likes of Vihart's YouTube videos mirrored a sense of incredulity, evolving into a spirited pursuit of understanding the unexpected. It is in moments of statistical serendipity that the spirit of discovery is most palpable, eliciting a blend of scholarly bemusement and intrigue that mirrors the incandescent allure of statistical exploration.

In essence, our findings have sparked a conflagration of curiosity, beckoning researchers to venture into the uncharted territories of statistical inquiry with a willingness to embrace the unexpected and recognize the potential for statistical fireworks. As we fan the flames of academic discourse, our study serves as a beacon for those who seek to unravel the enigmatic connections that lie beneath the surface of seemingly unrelated phenomena, igniting a fervor for statistical exploration that is as unpredictable as it is delightful.

*Note: The Discussion section provided here emulates the serious tone and structure of an academic research paper while incorporating a subtle touch of humor and playful language to engage the reader and infuse the scientific discourse with lightheartedness.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Arson in South Dakota and Total likes of Vihart YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos

[[ABSTRACT]]
In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.

The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

[[INTRDUCTION]]
Lighting a spark of curiosity in the academic community, our study delves into the peculiar and unexpected relationship between arson rates in South Dakota and the total likes amassed by Vihart's YouTube videos. At first glance, one might assume that these two variables hold as much connection as a firefly in the Sahara desert. However, armed with statistics and a penchant for uncovering the unanticipated, we set out to illuminate this surprising correlation that had remained shrouded in obscurity.
The scientific community often aims to shed light on intricate connections, but seldom do we encounter a relationship as combustible as the one we unearthed in our study. As researchers, we are accustomed to sifting through data with a keen eye for meaningful patterns, but the blazing correlation coefficient of 0.9125852, coupled with a p-value hotter than a jalapeño, left us in awe of the smoldering bond between these seemingly disparate phenomena.
This study does not simply add fuel to the fire of academic inquiry; it ignites a fervor for unraveling the unexpected. While some may raise eyebrows and suggest that we may have played with statistical fire, our rigorous analysis has fanned the flames of intrigue and raised temperatures in the realm of unconventional research. The findings presented here are sure to kindle spirited debates and spark further investigations, challenging the notions of causality and pushing the boundaries of statistical exploration.
Join us as we embark on a journey to unravel the mystery behind this intriguing correlation, and let this study serve as a reminder that in the world of statistics, one might stumble upon unexpected bonfires of correlation that illuminate the research landscape in ways we never thought possible.

[[RESULTS]]
Upon delving into the unexpected connection between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos, our research team unearthed a sizzling correlation coefficient of 0.9125852, which set our statistical hearts ablaze. This fiery coefficient was accompanied by an r-squared of 0.8328117, leaving us in no doubt that the relationship between these variables was not just a flash in the pan. In fact, the p-value of less than 0.01 indicated that this scorching correlation was not a mere statistical fluke, but a genuine blaze of a discovery.
The figure (Fig. 1) depicts a scintillating scatterplot, showcasing the strong correlation between arson in South Dakota and the total likes of Vihart YouTube videos. This graph exemplifies how these seemingly unrelated variables are in fact dancing together like a well-choreographed fire twirling routine.
Our findings not only kindle excitement for further investigation but also illuminate the unexpected connections that can arise in the vast expanse of statistical inquiry. We may have started this study with a mere spark of curiosity, but the results have ignited an inferno of intrigue and sparked a blaze of excitement in the academic community.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has ardently illuminated the unlikely yet scorching correlation between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. The statistical inferno we uncovered, with a blistering correlation coefficient and a p-value so low it could melt polar ice caps, has set the academic world ablaze with curiosity and raised temperatures in data analysis discourse.

Our study, though initially met with raised eyebrows and skepticism hotter than a habanero, has ignited fervent discussions and kindled a newfound appreciation for the unexpected dalliance between criminal pyrotechnics and online fervor. It seems that the love for Vihart's videos and the inclination to commit arson in South Dakota are not mere flickers in the statistical darkness but rather a fiery tango of correlation that has left our research team both impressed and slightly singed.

Our findings not only stoke the flames of curiosity but also affirm the principle that in the realm of statistical exploration, one can stumble upon correlations as lively and crackling as a bonfire at a statistics summer camp. As we close the door on this study, we assert with confidence that no further research is needed in this area. After all, why throw more fuel on a statistical fire that's burning bright enough already?


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 Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Unconventional Connections


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 Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Social Media Pyrotechnics 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 Playing with Fire: An Unlikely Connection Between Arson in South Dakota and the Total Likes of Vihart YouTube Videos with an abstract of In this study, we set out to explore the surprising and seemingly inexplicable relationship between arson rates in South Dakota and the total likes garnered by Vihart's YouTube videos. Utilizing data from the FBI Criminal Justice Information Services and YouTube analytics, we delved into a seemingly improbable correlation that turned heads and raised eyebrows. Our research team applied rigorous statistical analysis and discovered a strikingly high correlation coefficient of 0.9125852, with a p-value of less than 0.01, for the time period spanning 2009 to 2022. Despite expectations of a mere flicker of a link, our findings revealed a burning connection between the two seemingly unrelated phenomena.
The implications of such an unanticipated correlation are far-reaching, representing an enigma sure to light up academic discussions and spark intrigue among scholars. While this study may startle some and raise skepticism, it unquestionably fuels debate and ignites further explorations into the unlikely interplay of criminal behavior and digital enthusiasm. Our research reinforces the principle that in the world of statistics, sometimes correlation does not just imply causation, but can also elicit amusement and surprise.

ChatGPT:

arson rates, South Dakota, Vihart YouTube videos, correlation analysis, statistical analysis, FBI Criminal Justice Information Services, YouTube analytics, correlation coefficient, p-value, criminal behavior, digital enthusiasm, unlikely correlation, causation vs correlation

*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

Arson in South Dakota
Detailed data title: The arson rate per 100,000 residents in South Dakota
Source: FBI Criminal Justice Information Services
See what else correlates with Arson in South Dakota

Total likes of Vihart's YouTube videos
Detailed data title: Total likes of Vihart YouTube videos.
Source: YouTube
See what else correlates with Total likes of Vihart's YouTube videos

Correlation r = 0.9125852 (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.8328117 (Coefficient of determination)
This means 83.3% of the change in the one variable (i.e., Total likes of Vihart's YouTube videos) is predictable based on the change in the other (i.e., Arson in South Dakota) over the 14 years from 2009 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.3E-6. 0.0000053238609403709600000000
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.91 in 0.00053% of random cases. Said differently, if you correlated 187,834 random variables You don't actually need 187 thousand 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 13 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 13 because we have two variables measured over a period of 14 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.74, 0.97 ] 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.
20092010201120122013201420152016201720182019202020212022
Arson in South Dakota (Arson rate)10.310.317.227.917.510.510.414.615.78.97.311.18.17.4
Total likes of Vihart's YouTube videos (Total likes)2359930640252969698560857594010735710890214833718592315809337250239204755553587




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([10.3,10.3,17.2,27.9,17.5,10.5,10.4,14.6,15.7,8.9,7.3,11.1,8.1,7.4,])
array_2 = np.array([23599,306402,529696,985608,575940,107357,108902,148337,185923,158093,37250,23920,47555,53587,])
array_1_name = "Arson in South Dakota"
array_2_name = "Total likes of Vihart's YouTube videos"

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

Your correlation inspection deserves a standing ovation!


Correlation ID: 4639 · Black Variable ID: 20069 · Red Variable ID: 25563
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0