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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Popularity of the first name Dominique and the second variable is Burglaries in South Dakota.  The chart goes from 1985 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the popularity of the name Dominique decreased, so did the number of people named Dom in South Dakota. This led to a shortage of individuals with cat-burglar-like agility and stealth in the state, ultimately decreasing the overall number of successful burglaries. It turns out, when there are fewer Doms, there are fewer pilfering problems in the Peace Garden State!

Model: dalle-3
Prompt: Prompt: Create a pop art style image of a small town in South Dakota, with a noticeable decline in the number of successful burglaries due to the decrease in individuals named Dom. Show the transition from bustling streets with sneaky figures on rooftops to a quiet and serene town as a result of the decline in Doms. Use bold colors and stark contrasts to convey the impact of this decline on the town's atmosphere. 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: Popularity of the first name Dominique and Burglaries 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: Glitch art Steampunk An image that looks like it is a scene from a Pixar movie Pop art 3D Pixar Style
ChatGPT: Pop art

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 Popularity of the first name Dominique and Burglaries in South Dakota, in the following situation: As the popularity of the name Dominique decreased, so did the number of people named Dom in South Dakota. This led to a shortage of individuals with cat-burglar-like agility and stealth in the state, ultimately decreasing the overall number of successful burglaries. It turns out, when there are fewer Doms, there are fewer pilfering problems in the Peace Garden State!. Keep the description simple.
ChatGPT: A small town in South Dakota sees a decrease in the name Dominique's popularity on the birth certificates, and with this decline, the number of individuals named Dom in the state also dwindles. As a result, the town experiences a decrease in successful burglaries. The once bustling streets with sneaky figures on rooftops are now quiet, reflecting the impact of the reduced number of Doms on the decrease in burglary incidents.

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: [ Pop art ] and depicting this scene: A small town in South Dakota sees a decrease in the name Dominique's popularity on the birth certificates, and with this decline, the number of individuals named Dom in the state also dwindles. As a result, the town experiences a decrease in successful burglaries. The once bustling streets with sneaky figures on rooftops are now quiet, reflecting the impact of the reduced number of Doms on the decrease in burglary incidents. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Create a pop art style image of a small town in South Dakota, with a noticeable decline in the number of successful burglaries due to the decrease in individuals named Dom. Show the transition from bustling streets with sneaky figures on rooftops to a quiet and serene town as a result of the decline in Doms. Use bold colors and stark contrasts to convey the impact of this decline on the town's atmosphere.

*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 Popularity of the first name Dominique caused Burglaries in South Dakota to decrease.

AI academic paper

(Because p < 0.01)
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

The South Dakota Journal of Criminology and Behavioral Science

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 silly researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from US Social Security Administration and FBI Criminal Justice Information Services to assess this nagging question. You found a correlation coefficient of 0.9481762 and p < 0.01 for 1985 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]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Greetings, esteemed colleagues and curious minds alike! Prepare yourselves for a truly captivating foray into the enigmatic world of statistical oddities and whimsical correlations. In this whimsically titled study, "Dominique in Distress: An Investigation into the Burgling Burden in South Dakota," we embark on a journey to unravel the perplexing connection between the popularity of the first name Dominique and the prevalence of burglaries in the arid plains of South Dakota.

As researchers, we are accustomed to diving into the depths of data, crossing our T's and dotting our I's, and occasionally stumbling upon bizarre and unexpected relationships. Yet, even in the realm of scholarly pursuits, we are not immune to the lure of the peculiar and the delightfully absurd. And what could be more delightfully absurd than the notion that a name, as unassuming as "Dominique," could hold sway over criminal activities in the heartland of America?

Brimming with anticipation, we set out to explore this improbable link, armed with the robust data from the US Social Security Administration and the FBI Criminal Justice Information Services. Imagine our astonishment when the numbers revealed a staggering correlation coefficient of 0.9481762 between the popularity of the name Dominique and the incidence of burglaries, spanning a period that stretches from 1985 to 2022. Yes, you heard that right – a correlation so strong, it could make even the most seasoned statistician do a double-take!

Now, I know what you're thinking – "But how can a name influence crime rates? Isn't this just statistical hocus-pocus?" Ah, my dear cynic, we thought the same! Yet, as our data waltzed into significance with a p-value of less than 0.01, we found ourselves wading into a realm where the whimsical meets the mysteriously meaningful.

This study not only offers a fresh perspective on crime and nomenclature but also provides a light-hearted reminder that even the most rigorous investigations can yield unexpected delights. So, fasten your seatbelts and secure your keyboards, because we are about to embark on a scholarly adventure that is as amusing as it is enlightening!


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading the backs of shampoo bottles.

Here is the title and abstract of the paper:
[[TITLE]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Greetings, esteemed colleagues and curious minds alike! Prepare yourselves for a truly captivating foray into the enigmatic world of statistical oddities and whimsical correlations. In this whimsically titled study, "Dominique in Distress: An Investigation into the Burgling Burden in South Dakota," we embark on a journey to unravel the perplexing connection between the popularity of the first name Dominique and the prevalence of burglaries in the arid plains of South Dakota.
As researchers, we are accustomed to diving into the depths of data, crossing our T's and dotting our I's, and occasionally stumbling upon bizarre and unexpected relationships. Yet, even in the realm of scholarly pursuits, we are not immune to the lure of the peculiar and the delightfully absurd. And what could be more delightfully absurd than the notion that a name, as unassuming as "Dominique," could hold sway over criminal activities in the heartland of America?
Brimming with anticipation, we set out to explore this improbable link, armed with the robust data from the US Social Security Administration and the FBI Criminal Justice Information Services. Imagine our astonishment when the numbers revealed a staggering correlation coefficient of 0.9481762 between the popularity of the name Dominique and the incidence of burglaries, spanning a period that stretches from 1985 to 2022. Yes, you heard that right – a correlation so strong, it could make even the most seasoned statistician do a double-take!
Now, I know what you're thinking – "But how can a name influence crime rates? Isn't this just statistical hocus-pocus?" Ah, my dear cynic, we thought the same! Yet, as our data waltzed into significance with a p-value of less than 0.01, we found ourselves wading into a realm where the whimsical meets the mysteriously meaningful.
This study not only offers a fresh perspective on crime and nomenclature but also provides a light-hearted reminder that even the most rigorous investigations can yield unexpected delights. So, fasten your seatbelts and secure your keyboards, because we are about to embark on a scholarly adventure that is as amusing as it is enlightening!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In attempting to unravel the confounding correlation between the popularity of the first name Dominique and the incidence of burglaries in South Dakota, the authors were met with a myriad of scholarly works that shed light on various societal trends and their potential effects on criminal activities. Smith et al. (2007) explored the impact of names on individual characteristics and behavior, drawing attention to the subtle yet influential role of nomenclature in shaping societal dynamics. Building on this, Doe (2012) delved into the psychological underpinnings of name associations, uncovering intriguing connections between certain names and behavioral predispositions. Similarly, Jones (2015) conducted an in-depth analysis of regional naming patterns and their implications for community dynamics, offering a nuanced perspective on the interplay between names and social phenomena.

Delving into the realm of non-fiction literature, compelling insights emerged from works such as "Freakonomics" by Steven D. Levitt and Stephen J. Dubner, which underscored the often unpredictable and whimsical nature of human behavior and its societal repercussions. Additionally, "Predictably Irrational" by Dan Ariely provided thought-provoking commentary on the inexplicable quirks of decision-making, hinting at the potential influence of seemingly unrelated factors on behavioral outcomes.

Furthermore, drawing from the realm of fiction, the authors encountered literary narratives that, while not directly addressing the peculiar correlation at hand, painted vivid portraits of individual and societal idiosyncrasies. From George Orwell's "1984," with its exploration of oppressive societal structures, to Franz Kafka's "The Trial," which delves into the absurdities of bureaucracy, these fictional works served as an inspiration for contemplating the enigmatic nature of human behavior and societal intricacies.

Moving beyond traditional scholarly sources, the authors humbly confess to conducting a thorough analysis of unconventional material in pursuit of a comprehensive understanding of the subject matter. This unconventional approach led to the perusal of the backs of shampoo bottles, where, incidentally, no mention of name-related crime correlations was found, but an unexpectedly delightful array of puns and promises of luscious locks awaited. While this unorthodox source may not have directly contributed to the scholarly discourse, it certainly injected a dose of whimsy into the research process.

In amalgamating these diverse bodies of literature, the authors have illuminated the peculiar interplay between societal naming trends and criminal phenomena, transcending the confines of traditional academic inquiry to embrace the whimsical and inexplicable nature of human behavior. This synthesis of serious scholarship, light-hearted fiction, and even shampoo bottle musings has enriched the scholarly discourse with an irreverent yet enlightening perspective, mirroring the captivating absurdity of the subject matter at hand.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from US Social Security Administration and FBI Criminal Justice Information Services . You used data from 1985 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]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

[[INTRODUCTION]]
Greetings, esteemed colleagues and curious minds alike! Prepare yourselves for a truly captivating foray into the enigmatic world of statistical oddities and whimsical correlations. In this whimsically titled study, "Dominique in Distress: An Investigation into the Burgling Burden in South Dakota," we embark on a journey to unravel the perplexing connection between the popularity of the first name Dominique and the prevalence of burglaries in the arid plains of South Dakota.
As researchers, we are accustomed to diving into the depths of data, crossing our T's and dotting our I's, and occasionally stumbling upon bizarre and unexpected relationships. Yet, even in the realm of scholarly pursuits, we are not immune to the lure of the peculiar and the delightfully absurd. And what could be more delightfully absurd than the notion that a name, as unassuming as "Dominique," could hold sway over criminal activities in the heartland of America?
Brimming with anticipation, we set out to explore this improbable link, armed with the robust data from the US Social Security Administration and the FBI Criminal Justice Information Services. Imagine our astonishment when the numbers revealed a staggering correlation coefficient of 0.9481762 between the popularity of the name Dominique and the incidence of burglaries, spanning a period that stretches from 1985 to 2022. Yes, you heard that right – a correlation so strong, it could make even the most seasoned statistician do a double-take!
Now, I know what you're thinking – "But how can a name influence crime rates? Isn't this just statistical hocus-pocus?" Ah, my dear cynic, we thought the same! Yet, as our data waltzed into significance with a p-value of less than 0.01, we found ourselves wading into a realm where the whimsical meets the mysteriously meaningful.
This study not only offers a fresh perspective on crime and nomenclature but also provides a light-hearted reminder that even the most rigorous investigations can yield unexpected delights. So, fasten your seatbelts and secure your keyboards, because we are about to embark on a scholarly adventure that is as amusing as it is enlightening!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To untangle the enigma of the correlation between the eponymous Dominique and the incidence of burglaries in South Dakota, our research team embarked on a convoluted and whimsical journey through the annals of data collection and statistical wizardry. Our methodological approach, while unconventional, was as rigorous as it was charmingly unconventional.

First, we scoured the vast expanse of the internet, traversing through the digital mazes of the US Social Security Administration and the FBI Criminal Justice Information Services. Our tireless quest for data spanning the years 1985 to 2022 led us to unexpected portals and labyrinthine databases, where numbers and nomenclature intertwined in a most remarkable dance.

Having gathered the requisite data, we employed a series of statistical analyses that were as entertaining as they were illuminating. Our primary methodological tool, the whimsically named "Name-Crime Correlation Model," teased out the relationship between the popularity of the name Dominique and the incidence of burglaries with a delicate finesse fit for a courtly dance.

In addition to the Name-Crime Correlation Model, our research also harnessed the power of a statistical spell known as "The Burglarious Birth Distribution Index." This index, though charmingly absurd in name, allowed us to map the temporal fluctuations of Dominique's popularity against the ebb and flow of burglary rates in South Dakota, generating insights that bordered on the mesmerizing.

Furthermore, to ensure the robustness of our findings and guard against the perils of spurious causation, we applied a medley of injunctions from the hallowed ensemble of statistical tests. From the whimsical chi-squared test to the droll but dependable Spearman's rank correlation coefficient, our arsenal of statistical instruments provided a merry Hoberman sphere of inquiry, expanding and contracting with each twist and turn of the data.

In a nod to the whimsical nature of our investigation, we adopted a lighthearted approach to qualitative analysis, engaging in delightful discussions that often meandered into whimsy and wonder. This qualitative exploration, infused with the spirit of scholarly mirth, allowed us to ponder the potential societal influences that intertwine names and nefarious deeds, adding a touch of joviality to our otherwise rigorous inquiry.

To conclude, our research methodology, while unconventional in its whimsy, yielded results that not only titillated the scholarly mind but also lent a touch of levity to the often solemn corridors of academic pursuits. Our findings, though initially inconceivable, bear testament to the beguiling interplay of data and the dainty dance of statistics on the grand stage of human curiosity.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 1985 to 2022, you found a correlation 0.9481762, r-squared of 0.8990380, 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]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Greetings, esteemed colleagues and curious minds alike! Prepare yourselves for a truly captivating foray into the enigmatic world of statistical oddities and whimsical correlations. In this whimsically titled study, "Dominique in Distress: An Investigation into the Burgling Burden in South Dakota," we embark on a journey to unravel the perplexing connection between the popularity of the first name Dominique and the prevalence of burglaries in the arid plains of South Dakota.
As researchers, we are accustomed to diving into the depths of data, crossing our T's and dotting our I's, and occasionally stumbling upon bizarre and unexpected relationships. Yet, even in the realm of scholarly pursuits, we are not immune to the lure of the peculiar and the delightfully absurd. And what could be more delightfully absurd than the notion that a name, as unassuming as "Dominique," could hold sway over criminal activities in the heartland of America?
Brimming with anticipation, we set out to explore this improbable link, armed with the robust data from the US Social Security Administration and the FBI Criminal Justice Information Services. Imagine our astonishment when the numbers revealed a staggering correlation coefficient of 0.9481762 between the popularity of the name Dominique and the incidence of burglaries, spanning a period that stretches from 1985 to 2022. Yes, you heard that right – a correlation so strong, it could make even the most seasoned statistician do a double-take!
Now, I know what you're thinking – "But how can a name influence crime rates? Isn't this just statistical hocus-pocus?" Ah, my dear cynic, we thought the same! Yet, as our data waltzed into significance with a p-value of less than 0.01, we found ourselves wading into a realm where the whimsical meets the mysteriously meaningful.
This study not only offers a fresh perspective on crime and nomenclature but also provides a light-hearted reminder that even the most rigorous investigations can yield unexpected delights. So, fasten your seatbelts and secure your keyboards, because we are about to embark on a scholarly adventure that is as amusing as it is enlightening!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our statistical analysis has unearthed a remarkably robust correlation between the popularity of the first name Dominique and the incidence of burglaries in South Dakota. From 1985 to 2022, we found a correlation coefficient of 0.9481762, indicating a strikingly strong relationship between these seemingly unrelated variables. In simpler terms, it's as if the name "Dominique" and burglaries in South Dakota are engaged in a dance of statistical significance, twirling and prancing in a most unexpected tango.

The r-squared value of 0.8990380 further underscores the influence of the variable "Dominique" on the occurrence of burglaries, leaving little doubt about the captivating connection we've unraveled. This finding suggests that approximately 89.9% of the variability in burglary rates can be explained by the popularity of the name Dominique. It's as if the name itself holds a magnetic appeal, drawing criminal activities into its orbit with an inexplicable allure.

The p-value of less than 0.01 emphasizes the statistical significance of our results, providing compelling evidence that the correlation we've identified is not merely a whimsical fluke. It's akin to stumbling upon a rare gem in the statistical mine, a discovery that both dazzles and perplexes with its unexpected splendor.

As depicted in Figure 1, our scatterplot vividly illustrates the potent relationship between the popularity of the name Dominique and the incidence of burglaries in South Dakota. Behold the scatter of data points, artfully arranged in a manner that defies conventional expectations, forming a pattern that speaks volumes about the mystifying interplay between nomenclature and nefarious activities.

Overall, our findings not only highlight the peculiar correlation between the first name Dominique and burglaries in South Dakota but also serve as a whimsical reminder that the realms of statistics and human behavior are as intricately interwoven as they are unpredictable. In conclusion, our research infuses a touch of the absurd into the scholarly dialogue, signaling the need for further exploration into the whimsical and inexplicable facets of societal phenomena.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

[[LITERATURE REVIEW]]
In attempting to unravel the confounding correlation between the popularity of the first name Dominique and the incidence of burglaries in South Dakota, the authors were met with a myriad of scholarly works that shed light on various societal trends and their potential effects on criminal activities. Smith et al. (2007) explored the impact of names on individual characteristics and behavior, drawing attention to the subtle yet influential role of nomenclature in shaping societal dynamics. Building on this, Doe (2012) delved into the psychological underpinnings of name associations, uncovering intriguing connections between certain names and behavioral predispositions. Similarly, Jones (2015) conducted an in-depth analysis of regional naming patterns and their implications for community dynamics, offering a nuanced perspective on the interplay between names and social phenomena.
Delving into the realm of non-fiction literature, compelling insights emerged from works such as "Freakonomics" by Steven D. Levitt and Stephen J. Dubner, which underscored the often unpredictable and whimsical nature of human behavior and its societal repercussions. Additionally, "Predictably Irrational" by Dan Ariely provided thought-provoking commentary on the inexplicable quirks of decision-making, hinting at the potential influence of seemingly unrelated factors on behavioral outcomes.
Furthermore, drawing from the realm of fiction, the authors encountered literary narratives that, while not directly addressing the peculiar correlation at hand, painted vivid portraits of individual and societal idiosyncrasies. From George Orwell's "1984," with its exploration of oppressive societal structures, to Franz Kafka's "The Trial," which delves into the absurdities of bureaucracy, these fictional works served as an inspiration for contemplating the enigmatic nature of human behavior and societal intricacies.
Moving beyond traditional scholarly sources, the authors humbly confess to conducting a thorough analysis of unconventional material in pursuit of a comprehensive understanding of the subject matter. This unconventional approach led to the perusal of the backs of shampoo bottles, where, incidentally, no mention of name-related crime correlations was found, but an unexpectedly delightful array of puns and promises of luscious locks awaited. While this unorthodox source may not have directly contributed to the scholarly discourse, it certainly injected a dose of whimsy into the research process.
In amalgamating these diverse bodies of literature, the authors have illuminated the peculiar interplay between societal naming trends and criminal phenomena, transcending the confines of traditional academic inquiry to embrace the whimsical and inexplicable nature of human behavior. This synthesis of serious scholarship, light-hearted fiction, and even shampoo bottle musings has enriched the scholarly discourse with an irreverent yet enlightening perspective, mirroring the captivating absurdity of the subject matter at hand.

[[RESULTS]]
Our statistical analysis has unearthed a remarkably robust correlation between the popularity of the first name Dominique and the incidence of burglaries in South Dakota. From 1985 to 2022, we found a correlation coefficient of 0.9481762, indicating a strikingly strong relationship between these seemingly unrelated variables. In simpler terms, it's as if the name "Dominique" and burglaries in South Dakota are engaged in a dance of statistical significance, twirling and prancing in a most unexpected tango.
The r-squared value of 0.8990380 further underscores the influence of the variable "Dominique" on the occurrence of burglaries, leaving little doubt about the captivating connection we've unraveled. This finding suggests that approximately 89.9% of the variability in burglary rates can be explained by the popularity of the name Dominique. It's as if the name itself holds a magnetic appeal, drawing criminal activities into its orbit with an inexplicable allure.
The p-value of less than 0.01 emphasizes the statistical significance of our results, providing compelling evidence that the correlation we've identified is not merely a whimsical fluke. It's akin to stumbling upon a rare gem in the statistical mine, a discovery that both dazzles and perplexes with its unexpected splendor.
As depicted in Figure 1, our scatterplot vividly illustrates the potent relationship between the popularity of the name Dominique and the incidence of burglaries in South Dakota. Behold the scatter of data points, artfully arranged in a manner that defies conventional expectations, forming a pattern that speaks volumes about the mystifying interplay between nomenclature and nefarious activities.
Overall, our findings not only highlight the peculiar correlation between the first name Dominique and burglaries in South Dakota but also serve as a whimsical reminder that the realms of statistics and human behavior are as intricately interwoven as they are unpredictable. In conclusion, our research infuses a touch of the absurd into the scholarly dialogue, signaling the need for further exploration into the whimsical and inexplicable facets of societal phenomena.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The gravity-defying correlation discovered in this study has left us thoroughly amused and bewildered. Our findings have not only upheld the prior research that hinted at the influence of naming fashions on behavioral proclivities, but have also revealed that the name "Dominique" seems to possess an inexplicable gravitational pull, drawing criminal activities into its orbit with almost magnetic allure. Indeed, it's like witnessing an unforeseen tango between nomenclature and illicit endeavors, where statistical significance pirouettes with statistical allure.

The connection we've unearthed is as surprising as finding a mathematical equation scrawled on a shampoo bottle – unexpected, yet oddly captivating. While we initially approached our research with a lighthearted curiosity reminiscent of perusing the whimsical promises of luscious locks on shampoo bottles, the statistical dance between "Dominique" and burglaries has left us with a profound appreciation for the absurdity that often underpins human behavior.

We have, effectively, uncovered an unlikely duet between societal naming trends and criminal activities, echoing the serendipitous yet impactful encounters one might find in the pages of a Kafkaesque narrative. Our research stands as a whimsical testament to the enigmatic interplay between the serious and the surreal – a statistical tango with societal implications that prance beyond the conventions of traditional inquiry.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Popularity of the first name Dominique and Burglaries in South Dakota. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Dominique in Distress: An Investigation into the Burgling Burden in South Dakota

[[ABSTRACT]]
Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.

While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

[[INTRDUCTION]]
Greetings, esteemed colleagues and curious minds alike! Prepare yourselves for a truly captivating foray into the enigmatic world of statistical oddities and whimsical correlations. In this whimsically titled study, "Dominique in Distress: An Investigation into the Burgling Burden in South Dakota," we embark on a journey to unravel the perplexing connection between the popularity of the first name Dominique and the prevalence of burglaries in the arid plains of South Dakota.
As researchers, we are accustomed to diving into the depths of data, crossing our T's and dotting our I's, and occasionally stumbling upon bizarre and unexpected relationships. Yet, even in the realm of scholarly pursuits, we are not immune to the lure of the peculiar and the delightfully absurd. And what could be more delightfully absurd than the notion that a name, as unassuming as "Dominique," could hold sway over criminal activities in the heartland of America?
Brimming with anticipation, we set out to explore this improbable link, armed with the robust data from the US Social Security Administration and the FBI Criminal Justice Information Services. Imagine our astonishment when the numbers revealed a staggering correlation coefficient of 0.9481762 between the popularity of the name Dominique and the incidence of burglaries, spanning a period that stretches from 1985 to 2022. Yes, you heard that right – a correlation so strong, it could make even the most seasoned statistician do a double-take!
Now, I know what you're thinking – "But how can a name influence crime rates? Isn't this just statistical hocus-pocus?" Ah, my dear cynic, we thought the same! Yet, as our data waltzed into significance with a p-value of less than 0.01, we found ourselves wading into a realm where the whimsical meets the mysteriously meaningful.
This study not only offers a fresh perspective on crime and nomenclature but also provides a light-hearted reminder that even the most rigorous investigations can yield unexpected delights. So, fasten your seatbelts and secure your keyboards, because we are about to embark on a scholarly adventure that is as amusing as it is enlightening!

[[RESULTS]]
Our statistical analysis has unearthed a remarkably robust correlation between the popularity of the first name Dominique and the incidence of burglaries in South Dakota. From 1985 to 2022, we found a correlation coefficient of 0.9481762, indicating a strikingly strong relationship between these seemingly unrelated variables. In simpler terms, it's as if the name "Dominique" and burglaries in South Dakota are engaged in a dance of statistical significance, twirling and prancing in a most unexpected tango.
The r-squared value of 0.8990380 further underscores the influence of the variable "Dominique" on the occurrence of burglaries, leaving little doubt about the captivating connection we've unraveled. This finding suggests that approximately 89.9% of the variability in burglary rates can be explained by the popularity of the name Dominique. It's as if the name itself holds a magnetic appeal, drawing criminal activities into its orbit with an inexplicable allure.
The p-value of less than 0.01 emphasizes the statistical significance of our results, providing compelling evidence that the correlation we've identified is not merely a whimsical fluke. It's akin to stumbling upon a rare gem in the statistical mine, a discovery that both dazzles and perplexes with its unexpected splendor.
As depicted in Figure 1, our scatterplot vividly illustrates the potent relationship between the popularity of the name Dominique and the incidence of burglaries in South Dakota. Behold the scatter of data points, artfully arranged in a manner that defies conventional expectations, forming a pattern that speaks volumes about the mystifying interplay between nomenclature and nefarious activities.
Overall, our findings not only highlight the peculiar correlation between the first name Dominique and burglaries in South Dakota but also serve as a whimsical reminder that the realms of statistics and human behavior are as intricately interwoven as they are unpredictable. In conclusion, our research infuses a touch of the absurd into the scholarly dialogue, signaling the need for further exploration into the whimsical and inexplicable facets of societal phenomena.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In unraveling the curious connection between the popularity of the first name Dominique and the occurrences of burglaries in South Dakota, our study has not only added a whimsical twist to the scholarly discourse but has also unveiled a remarkable dance of statistical significance. As we bid adieu to this delightfully absurd journey, we are reminded of the capricious nature of human behavior and the inexplicable allure of statistical quirks.

The correlation coefficient of 0.9481762, akin to a virtuoso performance in the grand symphony of statistics, has brought to light a tale of unexpected entanglement between nomenclature and nefarious deeds. It's as if the name "Dominique" has cast a spell over the crime data, drawing burglaries into its orbit with an enchanting magnetism that defies conventional logic.

As much as we delight in this whimsical correlation, it's clear that no more research is needed in this area. Our findings stand as a beacon of statistical peculiarity, emphasizing the sheer unpredictability of human phenomena. So, let us bid farewell to this curious escapade and leave the name "Dominique" to its enigmatic influence, whilst we turn our scholarly gaze to fresher peculiarities awaiting discovery.


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 Dominique in Distress: An Investigation into the Burgling Burden in South Dakota. Respond only with the name of a fictional academic journal.

ChatGPT:

The South Dakota Journal of Criminology and Behavioral Science


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 Dominique in Distress: An Investigation into the Burgling Burden in South Dakota. Respond only with the name of a fictional organization.

ChatGPT:

Society for Quirky Criminology 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 Dominique in Distress: An Investigation into the Burgling Burden in South Dakota with an abstract of Our research delves into the intriguing and often overlooked relationship between the popularity of the first name Dominique and the occurrence of burglaries in the state of South Dakota. Through a rigorous analysis of data from the US Social Security Administration and the FBI Criminal Justice Information Services, we uncovered a surprisingly strong correlation between the two variables, with a correlation coefficient of 0.9481762 and a statistically significant p-value of less than 0.01 for the period spanning from 1985 to 2022.
While many may find it whimsical to ponder the potential influence of a first name on the incidence of crime, our findings suggest that there may indeed be a curious connection between the two. This seemingly bizarre correlation, though puzzling, highlights the need for further investigations into the peculiar interplay between societal naming trends and criminal activities. Our study not only sheds light on this unorthodox association but also underscores the whimsical and inexplicable nature of human behavior – a thought-provoking endeavor that both enriches and amuses the scholarly discourse.

ChatGPT:

Dominique, distress, investigation, burglaries, South Dakota, relationship, first name, correlation, Social Security Administration, FBI Criminal Justice Information Services, data analysis, correlation coefficient, p-value, naming trends, criminal activities, human behavior, scholarly discourse

*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

Popularity of the first name Dominique
Detailed data title: Babies of all sexes born in the US named Dominique
Source: US Social Security Administration
See what else correlates with Popularity of the first name Dominique

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

Correlation r = 0.9481762 (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.8990380 (Coefficient of determination)
This means 89.9% of the change in the one variable (i.e., Burglaries in South Dakota) is predictable based on the change in the other (i.e., Popularity of the first name Dominique) over the 38 years from 1985 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.6E-19. 0.0000000000000000001649874818
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.95 in 1.6E-17% of random cases. Said differently, if you correlated 6,061,065,900,819,149,824 random variables You don't actually need 6 quintillion variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 37 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 37 because we have two variables measured over a period of 38 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.9, 0.97 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
19851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Popularity of the first name Dominique (Babies born)3683346731282934287434314275467141543627319632653321261620731686141012081001898847733660664574535479493456365374370346313271258261215
Burglaries in South Dakota (Burglary rate)546.2553.5534.1517.9474.7527.4589.8541.4549.2546.2540.7557553.9468.6444383.7407.1399376.3408.5323.3386.7332.4333.6322.6390.9355.4393.3400.1330.1346.1348.4324.6284.7300.1340.1269.7263




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([3683,3467,3128,2934,2874,3431,4275,4671,4154,3627,3196,3265,3321,2616,2073,1686,1410,1208,1001,898,847,733,660,664,574,535,479,493,456,365,374,370,346,313,271,258,261,215,])
array_2 = np.array([546.2,553.5,534.1,517.9,474.7,527.4,589.8,541.4,549.2,546.2,540.7,557,553.9,468.6,444,383.7,407.1,399,376.3,408.5,323.3,386.7,332.4,333.6,322.6,390.9,355.4,393.3,400.1,330.1,346.1,348.4,324.6,284.7,300.1,340.1,269.7,263,])
array_1_name = "Popularity of the first name Dominique"
array_2_name = "Burglaries 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 stellar!


Correlation ID: 4158 · Black Variable ID: 2191 · Red Variable ID: 20120
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0