about · email me · subscribe
Spurious correlation #5,251 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Motor vehicle thefts in Wyoming and the second variable is The average number of likes on Matt Parker's YouTube videos.  The chart goes from 2011 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more cars were stolen, it led to a shortage of getaway vehicles for comedic bank heists, prompting a rise in online comedy consumption from the mathematically inclined criminal community. With their favorite form of entertainment being stand-up math, they showed their appreciation by liking the videos, albeit their calculations were a bit off when it came to the crime itself!

Model: dalle-3
Prompt: Generate an image of a small town in Wyoming, with a group of mathematically inclined criminals gathered around a computer in a dimly lit room. Show the criminals laughing uproariously as they watch Matt Parker's YouTube videos, with their facial expressions conveying a mix of enjoyment and mischievous intent. The computer screen should be visually striking, displaying the stand-up math content that has captivated the criminals. The room should have a slightly shadowy, clandestine atmosphere, hinting at the upcoming comedic bank heist while the criminals are engrossed in the online comedy. Capture the essence of the moment as the criminals enthusiastically click the "like" button, illustrating their diversion into the world of stand-up math amidst their criminal activities. 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: Motor vehicle thefts in Wyoming and The average number of likes on Matt Parker's 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 scene from Skyrim An image that looks like it is a scene from A Disney Movie Realistic Glitch art Concept art
ChatGPT: Realistic

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 Motor vehicle thefts in Wyoming and The average number of likes on Matt Parker's YouTube videos, in the following situation: As more cars were stolen, it led to a shortage of getaway vehicles for comedic bank heists, prompting a rise in online comedy consumption from the mathematically inclined criminal community. With their favorite form of entertainment being stand-up math, they showed their appreciation by liking the videos, albeit their calculations were a bit off when it came to the crime itself!. Keep the description simple.
ChatGPT: In a small town in Wyoming, a group of mathematically inclined criminals, unable to find enough getaway vehicles due to the rise in motor vehicle thefts, turned to online comedy for entertainment. They gathered around a computer, watching Matt Parker's YouTube videos and laughing uproariously. As they enjoyed the stand-up math content, each criminal excitedly clicked the "like" button, albeit their minds were preoccupied with their next comedic bank heist.

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: [ Realistic ] and depicting this scene: In a small town in Wyoming, a group of mathematically inclined criminals, unable to find enough getaway vehicles due to the rise in motor vehicle thefts, turned to online comedy for entertainment. They gathered around a computer, watching Matt Parker's YouTube videos and laughing uproariously. As they enjoyed the stand-up math content, each criminal excitedly clicked the "like" button, albeit their minds were preoccupied with their next comedic bank heist. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a small town in Wyoming, with a group of mathematically inclined criminals gathered around a computer in a dimly lit room. Show the criminals laughing uproariously as they watch Matt Parker's YouTube videos, with their facial expressions conveying a mix of enjoyment and mischievous intent. The computer screen should be visually striking, displaying the stand-up math content that has captivated the criminals. The room should have a slightly shadowy, clandestine atmosphere, hinting at the upcoming comedic bank heist while the criminals are engrossed in the online comedy. Capture the essence of the moment as the criminals enthusiastically click the "like" button, illustrating their diversion into the world of stand-up math amidst their criminal activities.

*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 an increase in Motor vehicle thefts in Wyoming caused The average number of likes on Stand-up Maths YouTube videos to increase.

AI academic paper

(Because p < 0.01)
Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes

The Journal of Quirky Connections in Social Sciences

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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Include a pun in the title.

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.9177726 and p < 0.01 for 2011 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]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!


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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Motor vehicle theft is a prevalent and serious issue that affects individuals and communities worldwide. The repercussions of such theft extend beyond the loss of property, impacting personal safety and economic well-being. On the other hand, the realm of online content creation, particularly in the form of educational and entertaining videos, has seen a surge in popularity with platforms like YouTube serving as a digital stage for creators to showcase their talents. One such creator, Stand-up Maths, has gained a substantial following for his whimsical and informative take on mathematics – a subject often seen as a tough nut to crack.

Combining these disparate subjects may seem as incongruous as fitting a square peg into a round hole, but our research aims to demonstrate that correlation does not imply causation, unless, of course, we're talking about dad jokes which imply groans. As the saying goes, "Sometimes, you just have to 'car'ry on, 'cause vehicle puns can be quite 'exhausting.'"

In this paper, we seek to unveil the unexpected interplay between motor vehicle thefts in the undeniably charming state of Wyoming and the online admiration of Stand-up Maths' content, represented by the average number of likes on his YouTube videos. While the connection might seem as elusive as finding a parking spot in a crowded lot, our statistical analysis strives to shed light on this intriguing relationship, providing empirical evidence to support our findings.


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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a couple popular internet memes that are related to one of the topics.

Here is the title and abstract of the paper:
[[TITLE]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Motor vehicle theft is a prevalent and serious issue that affects individuals and communities worldwide. The repercussions of such theft extend beyond the loss of property, impacting personal safety and economic well-being. On the other hand, the realm of online content creation, particularly in the form of educational and entertaining videos, has seen a surge in popularity with platforms like YouTube serving as a digital stage for creators to showcase their talents. One such creator, Stand-up Maths, has gained a substantial following for his whimsical and informative take on mathematics – a subject often seen as a tough nut to crack.
Combining these disparate subjects may seem as incongruous as fitting a square peg into a round hole, but our research aims to demonstrate that correlation does not imply causation, unless, of course, we're talking about dad jokes which imply groans. As the saying goes, "Sometimes, you just have to 'car'ry on, 'cause vehicle puns can be quite 'exhausting.'"
In this paper, we seek to unveil the unexpected interplay between motor vehicle thefts in the undeniably charming state of Wyoming and the online admiration of Stand-up Maths' content, represented by the average number of likes on his YouTube videos. While the connection might seem as elusive as finding a parking spot in a crowded lot, our statistical analysis strives to shed light on this intriguing relationship, providing empirical evidence to support our findings.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their groundbreaking study "The Relationship Between Motor Vehicle Thefts and Social Media Engagement," Smith and Doe (2015) observed a positive correlation between the frequency of car thefts and the level of social media activity in urban areas. Similarly, Jones et al. (2018) explored the impact of online content consumption on criminal behavior, revealing intriguing patterns in the digital age. These studies laid the groundwork for our investigation into the intersection of motor vehicle thefts and the online popularity of Stand-up Maths.

Turning to the world of literature, "The Art of Car Theft" by W. Bushway and "Mathematics for Entertainment" by Y. Perelman offer unique perspectives on the intricate connection between automotive misappropriation and mathematical amusement. Moving into the realm of fiction, "Gone in 60 Seconds" by H.B. Halicki and "The Curious Incident of the Dog in the Night-Time" by Mark Haddon provide a lens through which to examine the enigmatic relationship between real-world theft and virtual likes.

Speaking of virtual engagement, the popular internet meme "Car Thieves vs. Stand-up Maths" humorously juxtaposes the adrenaline-fueled escapades of car theft with the intellectually stimulating escapades of mathematical comedy. The memetic portrayal of these two seemingly unrelated domains has garnered widespread attention and serves as a testament to the unexpected intersections found in the digital sphere.

Returning to the task at hand, our analysis of the FBI Criminal Justice Information Services data alongside Stand-up Maths' YouTube metrics has uncovered a remarkably strong correlation between motor vehicle thefts in Wyoming and the average number of likes on the creator's videos. This unexpected link has surpassed our initial expectations and has left us "puzzled" as to how such disparate phenomena can be so closely linked. It appears that the more Stand-up Maths fans hit the "like" button, the more some individuals may be tempted to "drive away" with someone else's car. It's as if the virtual appreciation of mathematical humor has inadvertently become a "car-jacker" of attention, influencing real-world behavior in unsuspecting ways.

In conclusion, our literature review and analysis have shown that the relationship between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos is a "tire"-less subject worthy of further investigation. As we embark on further research, we hope to unravel more mysteries and "drive" home the unexpected connections that underpin our understanding of human behavior in the modern age.


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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from FBI Criminal Justice Information Services and YouTube . You used data from 2011 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]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

[[INTRODUCTION]]
Motor vehicle theft is a prevalent and serious issue that affects individuals and communities worldwide. The repercussions of such theft extend beyond the loss of property, impacting personal safety and economic well-being. On the other hand, the realm of online content creation, particularly in the form of educational and entertaining videos, has seen a surge in popularity with platforms like YouTube serving as a digital stage for creators to showcase their talents. One such creator, Stand-up Maths, has gained a substantial following for his whimsical and informative take on mathematics – a subject often seen as a tough nut to crack.
Combining these disparate subjects may seem as incongruous as fitting a square peg into a round hole, but our research aims to demonstrate that correlation does not imply causation, unless, of course, we're talking about dad jokes which imply groans. As the saying goes, "Sometimes, you just have to 'car'ry on, 'cause vehicle puns can be quite 'exhausting.'"
In this paper, we seek to unveil the unexpected interplay between motor vehicle thefts in the undeniably charming state of Wyoming and the online admiration of Stand-up Maths' content, represented by the average number of likes on his YouTube videos. While the connection might seem as elusive as finding a parking spot in a crowded lot, our statistical analysis strives to shed light on this intriguing relationship, providing empirical evidence to support our findings.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the whimsical yet potentially meaningful link between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos, we embarked on a statistical expedition that involved a combination of data collection, manipulation, and analysis. Our research team dusted off our binoculars, metaphorically speaking, to peer into the world of FBI Criminal Justice Information Services and the comedic landscape of Stand-up Maths’ YouTube channel in search of clues to this unusual correlation – much like Sherlock Holmes investigating a case of "auto" burglary while also unraveling mathematical mysteries.

Data Collection:
We secured the motor vehicle theft data from the FBI Criminal Justice Information Services, utilizing reported incidents from 2011 to 2022. Our data trawling was as meticulous as untangling a complex math problem, ensuring that no outliers or data quirks drove us in the wrong direction. The YouTube likes data for Stand-up Maths' videos also became part of our treasure hunt, and with the agility of a mathematician solving a puzzle, we collected and cataloged the average likes garnered by his videos during the same time frame.

Data Manipulation:
As any diligent statistician would do, we carefully curated and cleaned the datasets, removing any duplicate entries or spurious outliers that could cloud the clarity of our analysis. We harmonized the datasets with the precision of a skilled conductor orchestrating a symphony, aligning the timestamps of motor vehicle thefts in Wyoming with the corresponding release dates of Stand-up Maths' captivating videos.

Statistical Analysis:
With our data in hand, we harnessed the power of statistical tools and software, casting a wide net of regression analysis and correlation measures to capture the essence of the relationship between these disparate yet potentially intertwined variables. We scrutinized the data with the attentiveness of a hawk eyeing its prey, aiming to unveil not just any correlation, but one with a level of significance worthy of statistical acclaim.

Our statistical modeling, akin to building an elaborate mathematical craft, aimed to uncover the underlying patterns and connections, much like Stand-up Maths weaving a tapestry of numerical nuances and, dare I say, "auto-matic" entertainment on YouTube.

Limitations:
While our methodology was as robust as a well-built vehicle, there are limits to our approach. The inherent nature of correlational analysis precludes us from establishing causality, much like the inability to attribute a car's flat tire to the quality of the roads it traveled. However, our findings offer tantalizing insights into the potential interplay of these variances, invoking a sense of wonder and amusement, much like the joy of a well-crafted dad joke.

Overall, our methodology reflects a diligent and comprehensive approach to unraveling this enigmatic connection, embodying the essence of rigorous scientific inquiry intertwined with a sprinkle of wit and humor, akin to Stand-up Maths' unique brand of mathematical entertainment. With our analysis, we hope to paint a statistically significant portrait of this surprising correlation, inviting fellow researchers to join us on this jovial journey through the statistical landscape of vehicular theft and YouTube admiration.


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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

For the time period 2011 to 2022, you found a correlation 0.9177726, r-squared of 0.8423066, 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]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Motor vehicle theft is a prevalent and serious issue that affects individuals and communities worldwide. The repercussions of such theft extend beyond the loss of property, impacting personal safety and economic well-being. On the other hand, the realm of online content creation, particularly in the form of educational and entertaining videos, has seen a surge in popularity with platforms like YouTube serving as a digital stage for creators to showcase their talents. One such creator, Stand-up Maths, has gained a substantial following for his whimsical and informative take on mathematics – a subject often seen as a tough nut to crack.
Combining these disparate subjects may seem as incongruous as fitting a square peg into a round hole, but our research aims to demonstrate that correlation does not imply causation, unless, of course, we're talking about dad jokes which imply groans. As the saying goes, "Sometimes, you just have to 'car'ry on, 'cause vehicle puns can be quite 'exhausting.'"
In this paper, we seek to unveil the unexpected interplay between motor vehicle thefts in the undeniably charming state of Wyoming and the online admiration of Stand-up Maths' content, represented by the average number of likes on his YouTube videos. While the connection might seem as elusive as finding a parking spot in a crowded lot, our statistical analysis strives to shed light on this intriguing relationship, providing empirical evidence to support our findings.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis revealed a substantial positive correlation between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos for the period from 2011 to 2022. The correlation coefficient was calculated to be 0.9177726, indicating a strong positive linear relationship between the two variables. This correlation coefficient suggests that as the average number of likes on Stand-up Maths videos increased, so did the number of motor vehicle thefts in Wyoming. It's as if the more people enjoyed math humor, the more someone might "borrow" a car for an unscheduled spin.

The coefficient of determination (r-squared) also corroborated the strength of the relationship, with a value of 0.8423066. This implies that approximately 84.23% of the variance in motor vehicle thefts can be explained by the average number of likes on Stand-up Maths YouTube videos. That's quite an "arithmetic" of attention being paid to mathematical humor.

The statistical significance of the correlation was confirmed with a p-value of less than 0.01, indicating that the observed relationship is unlikely to have occurred due to random chance. It appears that the affinity for mathematical humor may drive not only a liking button tap but also perhaps a car, leading to the clichéd "liking something so much, you could steal it."

Our findings are summarized graphically in Figure 1, which depicts a scatterplot illustrating the strong positive correlation between motor vehicle thefts and the average number of likes on Stand-up Maths YouTube videos during the study period.

In conclusion, our research has unveiled a surprising connection between motor vehicle thefts in Wyoming and the online popularity of Stand-up Maths content. It seems that the allure of math humor may inadvertently coincide with an increase in automobile misadventures. Next time you enjoy a math joke, remember to also lock your car – you wouldn't want it to "derive" a new owner overnight!


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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

[[LITERATURE REVIEW]]
In their groundbreaking study "The Relationship Between Motor Vehicle Thefts and Social Media Engagement," Smith and Doe (2015) observed a positive correlation between the frequency of car thefts and the level of social media activity in urban areas. Similarly, Jones et al. (2018) explored the impact of online content consumption on criminal behavior, revealing intriguing patterns in the digital age. These studies laid the groundwork for our investigation into the intersection of motor vehicle thefts and the online popularity of Stand-up Maths.
Turning to the world of literature, "The Art of Car Theft" by W. Bushway and "Mathematics for Entertainment" by Y. Perelman offer unique perspectives on the intricate connection between automotive misappropriation and mathematical amusement. Moving into the realm of fiction, "Gone in 60 Seconds" by H.B. Halicki and "The Curious Incident of the Dog in the Night-Time" by Mark Haddon provide a lens through which to examine the enigmatic relationship between real-world theft and virtual likes.
Speaking of virtual engagement, the popular internet meme "Car Thieves vs. Stand-up Maths" humorously juxtaposes the adrenaline-fueled escapades of car theft with the intellectually stimulating escapades of mathematical comedy. The memetic portrayal of these two seemingly unrelated domains has garnered widespread attention and serves as a testament to the unexpected intersections found in the digital sphere.
Returning to the task at hand, our analysis of the FBI Criminal Justice Information Services data alongside Stand-up Maths' YouTube metrics has uncovered a remarkably strong correlation between motor vehicle thefts in Wyoming and the average number of likes on the creator's videos. This unexpected link has surpassed our initial expectations and has left us "puzzled" as to how such disparate phenomena can be so closely linked. It appears that the more Stand-up Maths fans hit the "like" button, the more some individuals may be tempted to "drive away" with someone else's car. It's as if the virtual appreciation of mathematical humor has inadvertently become a "car-jacker" of attention, influencing real-world behavior in unsuspecting ways.
In conclusion, our literature review and analysis have shown that the relationship between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos is a "tire"-less subject worthy of further investigation. As we embark on further research, we hope to unravel more mysteries and "drive" home the unexpected connections that underpin our understanding of human behavior in the modern age.

[[RESULTS]]
The analysis revealed a substantial positive correlation between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos for the period from 2011 to 2022. The correlation coefficient was calculated to be 0.9177726, indicating a strong positive linear relationship between the two variables. This correlation coefficient suggests that as the average number of likes on Stand-up Maths videos increased, so did the number of motor vehicle thefts in Wyoming. It's as if the more people enjoyed math humor, the more someone might "borrow" a car for an unscheduled spin.
The coefficient of determination (r-squared) also corroborated the strength of the relationship, with a value of 0.8423066. This implies that approximately 84.23% of the variance in motor vehicle thefts can be explained by the average number of likes on Stand-up Maths YouTube videos. That's quite an "arithmetic" of attention being paid to mathematical humor.
The statistical significance of the correlation was confirmed with a p-value of less than 0.01, indicating that the observed relationship is unlikely to have occurred due to random chance. It appears that the affinity for mathematical humor may drive not only a liking button tap but also perhaps a car, leading to the clichéd "liking something so much, you could steal it."
Our findings are summarized graphically in Figure 1, which depicts a scatterplot illustrating the strong positive correlation between motor vehicle thefts and the average number of likes on Stand-up Maths YouTube videos during the study period.
In conclusion, our research has unveiled a surprising connection between motor vehicle thefts in Wyoming and the online popularity of Stand-up Maths content. It seems that the allure of math humor may inadvertently coincide with an increase in automobile misadventures. Next time you enjoy a math joke, remember to also lock your car – you wouldn't want it to "derive" a new owner overnight!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our investigation into the connection between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos has yielded some illuminating insights. The strong positive correlation coefficient of 0.9177726 and a p-value of less than 0.01 affirm the hypothesis that there is indeed a statistical relationship between these seemingly unrelated variables. The results of our study align with prior research, as highlighted by Smith and Doe (2015) and Jones et al. (2018), who noted similar patterns linking social media engagement and criminal behavior. Taking a lighter view, it's as if the more people engage with math humor, the more likely someone might "calculate" a grand theft auto.

The literature review not only provided a theoretical framework for our investigation but also offered unexpected perspectives from diverse sources. The intriguing juxtaposition drawn from "Gone in 60 Seconds" and "Mathematics for Entertainment" sheds light on the unanticipated synergy between real-world larceny and virtual appreciation of mathematical wit. On a more humorous note, the internet meme "Car Thieves vs. Stand-up Maths" playfully captures the attention-grabbing contrast between car theft and mathematical comedy. It's as if the virtual world is throwing a "curve"ball into the understanding of real-world behavior.

The significant correlation we observed further supports the unanticipated convergence between the mathematical musings and criminal misdeeds. The coefficient of determination corroborates the strength of the relationship, indicating that approximately 84.23% of the variance in motor vehicle thefts can be explained by the average number of likes on Stand-up Maths YouTube videos. This high percentage suggests that the dynamics at play in this connection are far from "half-baked."

The robust p-value underscores the statistical significance of our findings, suggesting that the relationship between motor vehicle thefts and the popularity of Stand-up Maths content is unlikely to have occurred by mere coincidence. The scatterplot depicted in Figure 1 visually encapsulates the strong positive correlation, demonstrating the intriguingly interconnected nature of these phenomena. It's as if the statistical "plot" thickens, revealing an unexpected narrative of human behavior.

In conclusion, our research has not only established a quantitative link between motor vehicle thefts in Wyoming and the online appreciation of Stand-up Maths but has also illustrated the remarkable intertwining of seemingly disparate spheres. Our findings invite further exploration into the nuanced relationship between virtual engagement and real-world actions. As we delve deeper into this "drive"ing force behind criminal behavior, we aim to unravel more layers of this unexpected intersection, all while keeping a watchful eye on our parked vehicles. After all, it appears that the appreciation of math humor may inadvertently perpetrate a different kind of "grand theft auto."


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 Motor vehicle thefts in Wyoming and The average number of likes on Stand-up Maths YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes"

[[ABSTRACT]]
In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.

It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

[[INTRDUCTION]]
Motor vehicle theft is a prevalent and serious issue that affects individuals and communities worldwide. The repercussions of such theft extend beyond the loss of property, impacting personal safety and economic well-being. On the other hand, the realm of online content creation, particularly in the form of educational and entertaining videos, has seen a surge in popularity with platforms like YouTube serving as a digital stage for creators to showcase their talents. One such creator, Stand-up Maths, has gained a substantial following for his whimsical and informative take on mathematics – a subject often seen as a tough nut to crack.
Combining these disparate subjects may seem as incongruous as fitting a square peg into a round hole, but our research aims to demonstrate that correlation does not imply causation, unless, of course, we're talking about dad jokes which imply groans. As the saying goes, "Sometimes, you just have to 'car'ry on, 'cause vehicle puns can be quite 'exhausting.'"
In this paper, we seek to unveil the unexpected interplay between motor vehicle thefts in the undeniably charming state of Wyoming and the online admiration of Stand-up Maths' content, represented by the average number of likes on his YouTube videos. While the connection might seem as elusive as finding a parking spot in a crowded lot, our statistical analysis strives to shed light on this intriguing relationship, providing empirical evidence to support our findings.

[[RESULTS]]
The analysis revealed a substantial positive correlation between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos for the period from 2011 to 2022. The correlation coefficient was calculated to be 0.9177726, indicating a strong positive linear relationship between the two variables. This correlation coefficient suggests that as the average number of likes on Stand-up Maths videos increased, so did the number of motor vehicle thefts in Wyoming. It's as if the more people enjoyed math humor, the more someone might "borrow" a car for an unscheduled spin.
The coefficient of determination (r-squared) also corroborated the strength of the relationship, with a value of 0.8423066. This implies that approximately 84.23% of the variance in motor vehicle thefts can be explained by the average number of likes on Stand-up Maths YouTube videos. That's quite an "arithmetic" of attention being paid to mathematical humor.
The statistical significance of the correlation was confirmed with a p-value of less than 0.01, indicating that the observed relationship is unlikely to have occurred due to random chance. It appears that the affinity for mathematical humor may drive not only a liking button tap but also perhaps a car, leading to the clichéd "liking something so much, you could steal it."
Our findings are summarized graphically in Figure 1, which depicts a scatterplot illustrating the strong positive correlation between motor vehicle thefts and the average number of likes on Stand-up Maths YouTube videos during the study period.
In conclusion, our research has unveiled a surprising connection between motor vehicle thefts in Wyoming and the online popularity of Stand-up Maths content. It seems that the allure of math humor may inadvertently coincide with an increase in automobile misadventures. Next time you enjoy a math joke, remember to also lock your car – you wouldn't want it to "derive" a new owner overnight!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unearthed an intriguing correlation between motor vehicle thefts in Wyoming and the average number of likes on Stand-up Maths YouTube videos. The striking correlation coefficient of 0.9177726 and the robust p-value of less than 0.01 provide compelling evidence for the statistical connection between these seemingly disparate phenomena. It appears that the more likes Stand-up Maths videos accrue, the more vehicles may become unexpectedly mobile - talk about a mathematical "car-mony"!

The coefficient of determination (r-squared) further accentuates the strength of this relationship, explaining approximately 84.23% of the variance in motor vehicle thefts. It seems that the higher the appreciation for math humor, the higher the likelihood of a vehicular escapade. It's as if the charm of mathematical wit inadvertently revs up the engine of car misadventures!

As we reflect on these findings, it's clear that the appeal of mathematical humor may inadvertently coincide with an increase in automotive adventures of the unauthorized kind. One could say that the humor is "driving" some unexpected real-world outcomes, quite literally!

In light of these revelatory results, it's safe to say that our study has shed light on a truly unexpected relationship. No further research is needed in this area, as we've certainly "crunched the numbers" on this whimsical intersection of comedic math appreciation and vehicular misadventures. It seems the only thing left to do now is to keep enjoying the math jokes and, of course, remember to keep our cars securely parked. After all, we wouldn't want our vehicles to "divide" in unexpected ways.


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 Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Connections in Social Sciences


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 Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Quirky Data Analysis


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 Driven to Like: The Car-tographic Connection Between Motor Vehicle Thefts in Wyoming and the Stand-up Maths YouTube Likes with an abstract of In this paper, we take a lighthearted look into the unexpected relationship between motor vehicle thefts in the picturesque Wyoming and the average number of likes on Stand-up Maths YouTube videos. Working on the premise that humor is the best vehicle for understanding data, we delve into the statistical intersection of these seemingly unrelated phenomena. Our research team, equipped with calculators and a sense of humor, conducted an analysis utilizing data from the FBI Criminal Justice Information Services and the comedic expertise of Stand-up Maths. Our findings revealed a striking correlation coefficient of 0.9177726 and a robust p-value of less than 0.01 over the period from 2011 to 2022, indicating a strong statistical connection between the two variables.
It seems that the more Math jokes people "car-p"e diem to like, the more carpe diem someone might take their vehicle. So, the next time you're crunching numbers, don't forget to factor in the puns!

ChatGPT:

motor vehicle thefts, Wyoming, Stand-up Maths, YouTube likes, statistical analysis, correlation coefficient, data analysis, FBI Criminal Justice Information Services, humor in data analysis

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

Motor vehicle thefts in Wyoming
Detailed data title: The motor vehicle theft rate per 100,000 residents in Wyoming
Source: FBI Criminal Justice Information Services
See what else correlates with Motor vehicle thefts in Wyoming

The average number of likes on Matt Parker's YouTube videos
Detailed data title: The average number of likes on Stand-up Maths YouTube videos.
Source: Stand-up Maths on YouTube
See what else correlates with The average number of likes on Matt Parker's YouTube videos

Correlation r = 0.9177726 (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.8423066 (Coefficient of determination)
This means 84.2% of the change in the one variable (i.e., The average number of likes on Matt Parker's YouTube videos) is predictable based on the change in the other (i.e., Motor vehicle thefts in Wyoming) over the 12 years from 2011 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.6E-5. 0.0000257552182750193460000000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.92 in 0.0026% of random cases. Said differently, if you correlated 38,827 random variables You don't actually need 38 thousand variables to find a correlation like this one. 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.

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 11 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 11 because we have two variables measured over a period of 12 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.73, 0.98 ] 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.
201120122013201420152016201720182019202020212022
Motor vehicle thefts in Wyoming (Motor Vehicle Theft rate)91.8101.399.1103.2100.9136.8131.4135.6124.5165.5223.8162.4
The average number of likes on Matt Parker's YouTube videos (Average likes)3643.8379481694.3317308.54429.0516185.2121807744.7112014.22629939699.127532.3




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.
  4. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.




Try it yourself

You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.

Step 2: Open a plaintext editor like Notepad and paste the code below into it.

Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"

Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.

Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.

Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.

Step 7: Run the Python script by typing "python calculate_correlation.py"

If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:

"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."


# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats

# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):

    # Calculate Pearson correlation coefficient and p-value
    correlation, p_value = stats.pearsonr(array1, array2)

    # Calculate R-squared as the square of the correlation coefficient
    r_squared = correlation**2

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([91.8,101.3,99.1,103.2,100.9,136.8,131.4,135.6,124.5,165.5,223.8,162.4,])
array_2 = np.array([3643.83,7948,1694.33,17308.5,4429.05,16185.2,12180,7744.71,12014.2,26299,39699.1,27532.3,])
array_1_name = "Motor vehicle thefts in Wyoming"
array_2_name = "The average number of likes on Matt Parker'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?

Big thanks for reviewing!


Correlation ID: 5251 · Black Variable ID: 20174 · Red Variable ID: 25795
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0