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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is How good CGP Grey YouTube video titles are and the second variable is The divorce rate in South Dakota.  The chart goes from 2011 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the entertainment value of CGP Grey's videos increased, so did the marital satisfaction in South Dakota. Couples found common ground in discussing the fascinating topics, leading to a decrease in divorce rates. Perhaps all they needed was a little "Brain Divorce" from their everyday problems.

Model: dalle-3
Prompt: Generate an image of a cozy living room in South Dakota with a captivating poster featuring a CGP Grey video titled "The Intriguing World of Brain Divorce" displayed prominently. In the background, a couple sits on a couch engrossed in the video, engaged in a stimulating conversation. The poster is adorned with a tagline "Finding Common Ground," symbolizing the newfound shared interests that have strengthened their bond and contributed to the decreasing divorce rates in South Dakota. The atmosphere should feel warm and inviting, promoting a sense of togetherness and shared intellectual curiosity. 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: How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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: 3D Pixar Style Cute cartoon Data cyber art Concept art a funny image macro
ChatGPT: a funny image macro

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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota, in the following situation: As the entertainment value of CGP Grey's videos increased, so did the marital satisfaction in South Dakota. Couples found common ground in discussing the fascinating topics, leading to a decrease in divorce rates. Perhaps all they needed was a little "Brain Divorce" from their everyday problems.. Keep the description simple.
ChatGPT: A poster featuring a captivating CGP Grey video titled "The Intriguing World of Brain Divorce" is displayed in a cozy living room in South Dakota. In the background, a couple sits on a couch engrossed in the video, engaged in a stimulating conversation. The poster is adorned with a tagline "Finding Common Ground," symbolizing the newfound shared interests that have strengthened their bond and contributed to the decreasing divorce rates in South Dakota.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ a funny image macro ] and depicting this scene: A poster featuring a captivating CGP Grey video titled "The Intriguing World of Brain Divorce" is displayed in a cozy living room in South Dakota. In the background, a couple sits on a couch engrossed in the video, engaged in a stimulating conversation. The poster is adorned with a tagline "Finding Common Ground," symbolizing the newfound shared interests that have strengthened their bond and contributed to the decreasing divorce rates in South Dakota. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a cozy living room in South Dakota with a captivating poster featuring a CGP Grey video titled "The Intriguing World of Brain Divorce" displayed prominently. In the background, a couple sits on a couch engrossed in the video, engaged in a stimulating conversation. The poster is adorned with a tagline "Finding Common Ground," symbolizing the newfound shared interests that have strengthened their bond and contributed to the decreasing divorce rates in South Dakota. The atmosphere should feel warm and inviting, promoting a sense of togetherness and shared intellectual curiosity.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in How good CGP Grey YouTube video titles are caused The divorce rate in South Dakota to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
I Do, CGP Grey’s Video Titles Tell Who

The Journal of Comedic Studies

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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Rhyme words in the title.

Your research team used data from AI analysis of YouTube video titles and CDC National Vital Statistics to assess this nagging question. You found a correlation coefficient of 0.8635951 and p < 0.01 for 2011 to 2021.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.


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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

In the vast world of digital content creation, the art of crafting attention-grabbing titles is considered paramount for engaging audiences and increasing viewership. Enter CGP Grey, a prominent figure in the educational YouTube sphere, renowned for his thought-provoking and visually captivating video essays. However, amidst the sea of impressive data visualizations and eloquent explanations, a peculiar question arose: could the efficacy of CGP Grey's YouTube video titles have any bearing on the divorce rate in South Dakota? As we delved into this inquiry, we couldn't help but recall the classic dad joke: "I used to play piano by ear, but now I use my hands."

The notion of a connection between CGP Grey's video titles and the divorce rate may initially elicit skepticism, yet our study unravels a correlation worth pondering. Drawing on a combination of digital analytics and demographic data, we embarked on a journey to unravel the enigmatic relationship between these seemingly distant phenomena. Much like the punchline of a well-timed dad joke, our findings delivered unexpected intrigue and surprise.

Previous research has delved into the psychological impact of YouTube content and the social factors influencing divorce rates, but few studies have ventured into the intersection of these domains. Our investigation sought to fill this gap by employing a rigorous statistical analysis, endeavoring to shed light on the underlying mechanisms driving this unanticipated correlation. As we navigated through the data, we couldn't help but reflect on the witticism, "I'm reading a book on anti-gravity. It's impossible to put down."

The significance of this endeavor goes beyond the amusement of observing an unlikely association; it speaks to the interdisciplinary nature of modern research and the unforeseen connections that can emerge from the convergence of seemingly disparate domains. With this in mind, we invite our readers to join us in untangling the web of statistical correlations and cultural influences, where the unexpected awaits at every turn. As we embark on this academic exploration, we trust that the journey will be as rewarding as the clever twist of a well-crafted dad joke.


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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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 devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading CVS receipts.

Here is the title and abstract of the paper:
[[TITLE]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
In the vast world of digital content creation, the art of crafting attention-grabbing titles is considered paramount for engaging audiences and increasing viewership. Enter CGP Grey, a prominent figure in the educational YouTube sphere, renowned for his thought-provoking and visually captivating video essays. However, amidst the sea of impressive data visualizations and eloquent explanations, a peculiar question arose: could the efficacy of CGP Grey's YouTube video titles have any bearing on the divorce rate in South Dakota? As we delved into this inquiry, we couldn't help but recall the classic dad joke: "I used to play piano by ear, but now I use my hands."
The notion of a connection between CGP Grey's video titles and the divorce rate may initially elicit skepticism, yet our study unravels a correlation worth pondering. Drawing on a combination of digital analytics and demographic data, we embarked on a journey to unravel the enigmatic relationship between these seemingly distant phenomena. Much like the punchline of a well-timed dad joke, our findings delivered unexpected intrigue and surprise.
Previous research has delved into the psychological impact of YouTube content and the social factors influencing divorce rates, but few studies have ventured into the intersection of these domains. Our investigation sought to fill this gap by employing a rigorous statistical analysis, endeavoring to shed light on the underlying mechanisms driving this unanticipated correlation. As we navigated through the data, we couldn't help but reflect on the witticism, "I'm reading a book on anti-gravity. It's impossible to put down."
The significance of this endeavor goes beyond the amusement of observing an unlikely association; it speaks to the interdisciplinary nature of modern research and the unforeseen connections that can emerge from the convergence of seemingly disparate domains. With this in mind, we invite our readers to join us in untangling the web of statistical correlations and cultural influences, where the unexpected awaits at every turn. As we embark on this academic exploration, we trust that the journey will be as rewarding as the clever twist of a well-crafted dad joke.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith et al.," the authors find that the quality of YouTube video titles plays a crucial role in attracting and retaining viewer engagement, with implications for digital content creators and their audience reach. Similarly, "Doe and Jones" highlight the impact of socio-economic factors on divorce rates, emphasizing the complex interplay of cultural, economic, and relational dynamics. These scholarly works lay a solid foundation for understanding the individual components of our investigation; however, they offer no hint of the unexpected humor that unfolds in our study.

Turning to the realm of non-fiction literature, "Contagious: How to Build Word of Mouth in the Digital Age" by Jonah Berger provides insights into the virality of online content, offering a framework that resonates with our examination of CGP Grey's video titles. "Predictably Irrational: The Hidden Forces That Shape Our Decisions" by Dan Ariely delves into the quirks of human behavior, shedding light on the elusive factors that may influence viewer responses to YouTube titles. Moving into the realm of fiction, titles such as "The Marriage Plot" by Jeffrey Eugenides and "The Unlikely Pilgrimage of Harold Fry" by Rachel Joyce prompt contemplation on the unpredictable trajectories of relationships, mirroring the unpredictable connection we have unearthed.

However, our exploration did not stop there. In an unorthodox approach to literature review, we turned our attention to the world of mundane ephemera and conducted an analysis of CVS receipts, seeking hidden clues in their labyrinthine printouts. While the results were, unsurprisingly, inconclusive, the exercise was not without its humorous moments. After all, what is research without stumbling upon the unexpected – much like a well-timed dad joke? The whimsical and light-hearted nature of this journey adds a layer of levity to the formal rigor of our analysis, making this study as enjoyable as a clever wordplay.


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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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 AI analysis of YouTube video titles and CDC National Vital Statistics . You used data from 2011 to 2021

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

[[INTRODUCTION]]
In the vast world of digital content creation, the art of crafting attention-grabbing titles is considered paramount for engaging audiences and increasing viewership. Enter CGP Grey, a prominent figure in the educational YouTube sphere, renowned for his thought-provoking and visually captivating video essays. However, amidst the sea of impressive data visualizations and eloquent explanations, a peculiar question arose: could the efficacy of CGP Grey's YouTube video titles have any bearing on the divorce rate in South Dakota? As we delved into this inquiry, we couldn't help but recall the classic dad joke: "I used to play piano by ear, but now I use my hands."
The notion of a connection between CGP Grey's video titles and the divorce rate may initially elicit skepticism, yet our study unravels a correlation worth pondering. Drawing on a combination of digital analytics and demographic data, we embarked on a journey to unravel the enigmatic relationship between these seemingly distant phenomena. Much like the punchline of a well-timed dad joke, our findings delivered unexpected intrigue and surprise.
Previous research has delved into the psychological impact of YouTube content and the social factors influencing divorce rates, but few studies have ventured into the intersection of these domains. Our investigation sought to fill this gap by employing a rigorous statistical analysis, endeavoring to shed light on the underlying mechanisms driving this unanticipated correlation. As we navigated through the data, we couldn't help but reflect on the witticism, "I'm reading a book on anti-gravity. It's impossible to put down."
The significance of this endeavor goes beyond the amusement of observing an unlikely association; it speaks to the interdisciplinary nature of modern research and the unforeseen connections that can emerge from the convergence of seemingly disparate domains. With this in mind, we invite our readers to join us in untangling the web of statistical correlations and cultural influences, where the unexpected awaits at every turn. As we embark on this academic exploration, we trust that the journey will be as rewarding as the clever twist of a well-crafted dad joke.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the correlation between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota, our research team employed a multifaceted approach that was as intricate as untangling a bowl of spaghetti. We sourced data from an array of unconventional yet complementary sources, including AI analysis of YouTube video titles and the CDC National Vital Statistics, spanning the period from 2011 to 2021. Like a craftsman sculpting a delicate piece of art, we meticulously crafted a research design that embraced the unexpected and pursued the unexpected, much like stumbling upon a well-timed dad joke in a sea of academic literature.

Our first step involved utilizing advanced AI algorithms to scrutinize and dissect the nuances of CGP Grey's YouTube video titles. We delved into the semantic intricacies, the lexical composition, and the syntactic underpinnings of these titles, akin to peeling back layers of an onion to uncover their essence. As we navigated through the labyrinth of digital content, we couldn't help but recognize the parallels between this process and a carefully constructed pun – a blend of wit, precision, and an element of surprise.

Simultaneously, our team harvested demographic data from the CDC National Vital Statistics, honing our focus on the divorce rate in South Dakota. With the precision of a seasoned archer aiming for the bullseye, we extracted and analyzed the temporal trends and regional variations in divorce rates, seeking to paint a comprehensive picture of this societal phenomenon. Amidst the meticulous data extraction and sleuthing through statistical archives, we maintained a keen eye for the unforeseen, much like waiting for the opportune moment to interject a well-timed dad joke.

Following the data collection phase, we harnessed the power of statistical analysis to unravel the nexus between CGP Grey's YouTube video titles and the divorce rate in South Dakota. Employing robust statistical techniques, including correlation analysis and regression modeling, we deciphered the subtle patterns and associations concealed within the data, akin to deciphering the punchline of a tongue-in-cheek dad joke. Our quest to unlock the mysteries of this perplexing connection demanded a blend of methodological rigor, analytical acumen, and an unyielding appetite for the unpredictable.

In synthesizing the results of our analysis, we unearthed a striking correlation coefficient of 0.8635951 and a significance level of p < 0.01, firmly establishing the substantive link between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota. This empirical revelation not only underscores the unexpected interplay between digital culture and societal dynamics but also mirrors the element of surprise that accompanies a well-crafted dad joke, unveiling layers of meaning and connection where least expected.


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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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 AI analysis of YouTube video titles and CDC National Vital Statistics .

For the time period 2011 to 2021, you found a correlation 0.8635951, r-squared of 0.7457965, 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]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
In the vast world of digital content creation, the art of crafting attention-grabbing titles is considered paramount for engaging audiences and increasing viewership. Enter CGP Grey, a prominent figure in the educational YouTube sphere, renowned for his thought-provoking and visually captivating video essays. However, amidst the sea of impressive data visualizations and eloquent explanations, a peculiar question arose: could the efficacy of CGP Grey's YouTube video titles have any bearing on the divorce rate in South Dakota? As we delved into this inquiry, we couldn't help but recall the classic dad joke: "I used to play piano by ear, but now I use my hands."
The notion of a connection between CGP Grey's video titles and the divorce rate may initially elicit skepticism, yet our study unravels a correlation worth pondering. Drawing on a combination of digital analytics and demographic data, we embarked on a journey to unravel the enigmatic relationship between these seemingly distant phenomena. Much like the punchline of a well-timed dad joke, our findings delivered unexpected intrigue and surprise.
Previous research has delved into the psychological impact of YouTube content and the social factors influencing divorce rates, but few studies have ventured into the intersection of these domains. Our investigation sought to fill this gap by employing a rigorous statistical analysis, endeavoring to shed light on the underlying mechanisms driving this unanticipated correlation. As we navigated through the data, we couldn't help but reflect on the witticism, "I'm reading a book on anti-gravity. It's impossible to put down."
The significance of this endeavor goes beyond the amusement of observing an unlikely association; it speaks to the interdisciplinary nature of modern research and the unforeseen connections that can emerge from the convergence of seemingly disparate domains. With this in mind, we invite our readers to join us in untangling the web of statistical correlations and cultural influences, where the unexpected awaits at every turn. As we embark on this academic exploration, we trust that the journey will be as rewarding as the clever twist of a well-crafted dad joke.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Upon conducting an in-depth analysis, we uncovered a strong correlation between the quality of CGP Grey's video titles and the divorce rate in South Dakota. The correlation coefficient of 0.8635951 and an r-squared value of 0.7457965 attest to the robustness of this relationship. This suggests that there may be more at play than meets the eye when it comes to the influence of YouTube video titles on the intricacies of marital dynamics in the state of South Dakota.

Our findings revealed a statistically significant relationship (p < 0.01) between the two variables, indicating that as the quality of CGP Grey's video titles increased, so did the divorce rate in South Dakota. This unexpected connection left us pondering the timeless question: "What do you call fake spaghetti? An impasta."

Figure 1 presents a scatterplot illustrating the compelling correlation between the quality of CGP Grey's video titles and the divorce rate in South Dakota. This graphic representation provides a visually striking portrayal of the strong positive relationship between these seemingly divergent phenomena.

This result underscores the importance of considering diverse and unexpected factors in understanding societal trends and cultural influences. As we navigated through the data, we couldn't help but appreciate the irony in the correlation between carefully curated YouTube video titles and the intricacies of human relationships, akin to the clever punchline of a well-constructed dad joke. The unforeseen harmony between these variables reminds us that in the world of statistics, as in life, surprises often abound.

In conclusion, our study uncovers a compelling association between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota, offering a fresh perspective on the interconnectedness of digital culture and societal dynamics. This unexpected correlation serves as a poignant reminder that in the realm of statistical analysis, as in humor, the most compelling insights often emerge from the most unexpected places.


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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

[[LITERATURE REVIEW]]
In "Smith et al.," the authors find that the quality of YouTube video titles plays a crucial role in attracting and retaining viewer engagement, with implications for digital content creators and their audience reach. Similarly, "Doe and Jones" highlight the impact of socio-economic factors on divorce rates, emphasizing the complex interplay of cultural, economic, and relational dynamics. These scholarly works lay a solid foundation for understanding the individual components of our investigation; however, they offer no hint of the unexpected humor that unfolds in our study.
Turning to the realm of non-fiction literature, "Contagious: How to Build Word of Mouth in the Digital Age" by Jonah Berger provides insights into the virality of online content, offering a framework that resonates with our examination of CGP Grey's video titles. "Predictably Irrational: The Hidden Forces That Shape Our Decisions" by Dan Ariely delves into the quirks of human behavior, shedding light on the elusive factors that may influence viewer responses to YouTube titles. Moving into the realm of fiction, titles such as "The Marriage Plot" by Jeffrey Eugenides and "The Unlikely Pilgrimage of Harold Fry" by Rachel Joyce prompt contemplation on the unpredictable trajectories of relationships, mirroring the unpredictable connection we have unearthed.
However, our exploration did not stop there. In an unorthodox approach to literature review, we turned our attention to the world of mundane ephemera and conducted an analysis of CVS receipts, seeking hidden clues in their labyrinthine printouts. While the results were, unsurprisingly, inconclusive, the exercise was not without its humorous moments. After all, what is research without stumbling upon the unexpected – much like a well-timed dad joke? The whimsical and light-hearted nature of this journey adds a layer of levity to the formal rigor of our analysis, making this study as enjoyable as a clever wordplay.

[[RESULTS]]
Upon conducting an in-depth analysis, we uncovered a strong correlation between the quality of CGP Grey's video titles and the divorce rate in South Dakota. The correlation coefficient of 0.8635951 and an r-squared value of 0.7457965 attest to the robustness of this relationship. This suggests that there may be more at play than meets the eye when it comes to the influence of YouTube video titles on the intricacies of marital dynamics in the state of South Dakota.
Our findings revealed a statistically significant relationship (p < 0.01) between the two variables, indicating that as the quality of CGP Grey's video titles increased, so did the divorce rate in South Dakota. This unexpected connection left us pondering the timeless question: "What do you call fake spaghetti? An impasta."
Figure 1 presents a scatterplot illustrating the compelling correlation between the quality of CGP Grey's video titles and the divorce rate in South Dakota. This graphic representation provides a visually striking portrayal of the strong positive relationship between these seemingly divergent phenomena.
This result underscores the importance of considering diverse and unexpected factors in understanding societal trends and cultural influences. As we navigated through the data, we couldn't help but appreciate the irony in the correlation between carefully curated YouTube video titles and the intricacies of human relationships, akin to the clever punchline of a well-constructed dad joke. The unforeseen harmony between these variables reminds us that in the world of statistics, as in life, surprises often abound.
In conclusion, our study uncovers a compelling association between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota, offering a fresh perspective on the interconnectedness of digital culture and societal dynamics. This unexpected correlation serves as a poignant reminder that in the realm of statistical analysis, as in humor, the most compelling insights often emerge from the most unexpected places.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study unveil a surprising, albeit robust, connection between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota. The statistically significant correlation coefficient of 0.8635951 and p < 0.01 between these seemingly unrelated variables cannot be overlooked, underscoring the unexpected harmony between digital content and societal dynamics. As we pondered the implications of these results, we couldn't help but recall the age-old query: "Did you hear about the mathematician who's afraid of negative numbers? He will stop at nothing to avoid them." Much like this playful jest, our study sheds light on the unforeseen humor that arises from unexpected statistical relationships.

The implications of our findings echo the sentiments of Smith et al.'s work on the importance of YouTube video titles in viewer engagement, emphasizing that the allure of a well-crafted title extends beyond mere entertainment and extends into the fabric of societal dynamics. Similarly, the study by Doe and Jones on the multifaceted influences on divorce rates finds resonance in our findings, as it becomes evident that socio-economic factors intertwine with digital culture in shaping relational outcomes. The unexpected yet unequivocal alignment of our results with prior research reinforces the value of exploring uncharted statistical territories, much like stumbling upon a lighthearted dad joke amidst a serious academic discourse.

Our study serves as an unconventional addition to the literature by infusing a touch of levity into the otherwise austere domain of statistical analysis. The unexpected connection between CGP Grey's video titles and the divorce rate in South Dakota unfolds much like a well-timed dad joke – a delightful twist that challenges conventional wisdom and sparks introspection. As we dived into the intricacies of this correlation, we couldn't help but appreciate the whimsical nature of statistical discovery, akin to the delight of stumbling upon an unexpected pun.

In summary, this study unravels a compelling correlation that defies traditional boundaries. The unexpected harmony between digital content and societal dynamics prompts a reevaluation of the intricate threads that weave together seemingly distinct facets of human experience. Our work emphasizes that, in the world of statistics as in life, there's always room for surprises and humor, much like the punchline of a well-placed dad joke.


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 How good CGP Grey YouTube video titles are and The divorce rate in South Dakota. 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]]
"I Do, CGP Grey’s Video Titles Tell Who"

[[ABSTRACT]]
The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.

As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

[[INTRDUCTION]]
In the vast world of digital content creation, the art of crafting attention-grabbing titles is considered paramount for engaging audiences and increasing viewership. Enter CGP Grey, a prominent figure in the educational YouTube sphere, renowned for his thought-provoking and visually captivating video essays. However, amidst the sea of impressive data visualizations and eloquent explanations, a peculiar question arose: could the efficacy of CGP Grey's YouTube video titles have any bearing on the divorce rate in South Dakota? As we delved into this inquiry, we couldn't help but recall the classic dad joke: "I used to play piano by ear, but now I use my hands."
The notion of a connection between CGP Grey's video titles and the divorce rate may initially elicit skepticism, yet our study unravels a correlation worth pondering. Drawing on a combination of digital analytics and demographic data, we embarked on a journey to unravel the enigmatic relationship between these seemingly distant phenomena. Much like the punchline of a well-timed dad joke, our findings delivered unexpected intrigue and surprise.
Previous research has delved into the psychological impact of YouTube content and the social factors influencing divorce rates, but few studies have ventured into the intersection of these domains. Our investigation sought to fill this gap by employing a rigorous statistical analysis, endeavoring to shed light on the underlying mechanisms driving this unanticipated correlation. As we navigated through the data, we couldn't help but reflect on the witticism, "I'm reading a book on anti-gravity. It's impossible to put down."
The significance of this endeavor goes beyond the amusement of observing an unlikely association; it speaks to the interdisciplinary nature of modern research and the unforeseen connections that can emerge from the convergence of seemingly disparate domains. With this in mind, we invite our readers to join us in untangling the web of statistical correlations and cultural influences, where the unexpected awaits at every turn. As we embark on this academic exploration, we trust that the journey will be as rewarding as the clever twist of a well-crafted dad joke.

[[RESULTS]]
Upon conducting an in-depth analysis, we uncovered a strong correlation between the quality of CGP Grey's video titles and the divorce rate in South Dakota. The correlation coefficient of 0.8635951 and an r-squared value of 0.7457965 attest to the robustness of this relationship. This suggests that there may be more at play than meets the eye when it comes to the influence of YouTube video titles on the intricacies of marital dynamics in the state of South Dakota.
Our findings revealed a statistically significant relationship (p < 0.01) between the two variables, indicating that as the quality of CGP Grey's video titles increased, so did the divorce rate in South Dakota. This unexpected connection left us pondering the timeless question: "What do you call fake spaghetti? An impasta."
Figure 1 presents a scatterplot illustrating the compelling correlation between the quality of CGP Grey's video titles and the divorce rate in South Dakota. This graphic representation provides a visually striking portrayal of the strong positive relationship between these seemingly divergent phenomena.
This result underscores the importance of considering diverse and unexpected factors in understanding societal trends and cultural influences. As we navigated through the data, we couldn't help but appreciate the irony in the correlation between carefully curated YouTube video titles and the intricacies of human relationships, akin to the clever punchline of a well-constructed dad joke. The unforeseen harmony between these variables reminds us that in the world of statistics, as in life, surprises often abound.
In conclusion, our study uncovers a compelling association between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota, offering a fresh perspective on the interconnectedness of digital culture and societal dynamics. This unexpected correlation serves as a poignant reminder that in the realm of statistical analysis, as in humor, the most compelling insights often emerge from the most unexpected places.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research unearths a fascinating correlation between the quality of CGP Grey's YouTube video titles and the divorce rate in South Dakota. The robust correlation coefficient of 0.8635951 and statistically significant relationship (p < 0.01) offer compelling evidence of this unexpected link. As we reflect on these findings, one can't help but ponder the age-old question: "Why don't skeletons fight each other? They don't have the guts."

Our study highlights the intricate interplay between digital media and societal trends, providing a fresh perspective that transcends traditional paradigms. By delving into the uncharted territory of YouTube title effectiveness and marital dynamics, we've uncovered a correlation that is as perplexing as a riddle yet as resolute as a punchline.

As we wrap up this exploration, it becomes evident that the connection between CGP Grey's video titles and the divorce rate in South Dakota holds more weight than meets the eye, much like a well-timed dad joke. The visual representation in Figure 1 encapsulates the compelling nature of this relationship, paralleling the artful delivery of a witty punchline.

In light of these revelatory findings, we assert with confidence that further investigation into this whimsical correlation would yield limited additional insights. Just as a dad's humor is timeless, our research concludes that the association between CGP Grey's YouTube video titles and the divorce rate in South Dakota has been thoroughly illuminated, leaving little room for further inquiry. It seems that, much like a perfectly crafted dad joke, some mysteries are best left as they are.


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 I Do, CGP Grey’s Video Titles Tell Who. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Comedic Studies


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 I Do, CGP Grey’s Video Titles Tell Who. Respond only with the name of a fictional organization.

ChatGPT:

The Association for Humorous Linguistic Studies


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 I Do, CGP Grey’s Video Titles Tell Who with an abstract of The correlation between the effectiveness of CGP Grey’s YouTube video titles and the divorce rate in South Dakota has left many scratching their heads. This study dives into the depths of this unexpected connection, drawing from a unique blend of digital culture and statistical analysis. Leveraging data from AI processing of YouTube video titles and the CDC National Vital Statistics, our research team raises the curtain on the relationship between these seemingly unrelated phenomena. The findings reveal a correlation coefficient of 0.8635951 and p < 0.01 for the period from 2011 to 2021, leaving little room for doubt that there's more to this match than meets the eye.
As we unraveled the significance of CGP Grey’s video titles in relation to South Dakota's divorce rate, we couldn't help but ponder the timeless question: "Why don't scientists trust atoms? Because they make up everything." In addition to the statistical insights, our study introduces an unexpected layer of humor and curiosity, shedding light on the unforeseen harmony between algorithmically crafted YouTube titles and the ebb and flow of marital bonds in the heart of America. So, sit back, relax, and get ready to delve into a data-driven journey that is as unpredictable as a dad joke.

ChatGPT:

CGP Grey, YouTube video titles, divorce rate, South Dakota, correlation, statistical analysis, digital culture, AI processing, CDC National Vital Statistics, correlation coefficient, humor, algorithmically crafted titles, marital bonds

*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

How good CGP Grey YouTube video titles are
Detailed data title: How good CGP Grey YouTube video titles are, as rated by an AI.
Source: AI analysis of YouTube video titles
Additional Info: I asked a large language model, 'On a scale of 1-10, how _______ do you think this YouTube video title is?' for every video.

See what else correlates with How good CGP Grey YouTube video titles are

The divorce rate in South Dakota
Source: CDC National Vital Statistics
See what else correlates with The divorce rate in South Dakota

Correlation r = 0.8635951 (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.7457965 (Coefficient of determination)
This means 74.6% of the change in the one variable (i.e., The divorce rate in South Dakota) is predictable based on the change in the other (i.e., How good CGP Grey YouTube video titles are) over the 11 years from 2011 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.00061. 0.0006124885305679499000000000
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.86 in 0.061% of random cases. Said differently, if you correlated 1,633 random variables Which I absolutely did.
with the same 10 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 10 because we have two variables measured over a period of 11 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.55, 0.96 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
20112012201320142015201620172018201920202021
How good CGP Grey YouTube video titles are (Score (out of 10))7.83337.54556.72737.44446.333376.6256.276.26326.2
The divorce rate in South Dakota (Divorce rate)3.332.899832.782552.623272.784672.694142.567342.622482.493512.47605




Why this works

  1. Data dredging: I have 25,237 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 636,906,169 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([7.8333,7.5455,6.7273,7.4444,6.3333,7,6.625,6.2,7,6.2632,6.2,])
array_2 = np.array([3.3,3,2.89983,2.78255,2.62327,2.78467,2.69414,2.56734,2.62248,2.49351,2.47605,])
array_1_name = "How good CGP Grey YouTube video titles are"
array_2_name = "The divorce rate in South Dakota"

# 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 rating is much appreciated!


Correlation ID: 5307 · Black Variable ID: 25902 · Red Variable ID: 19822
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0