about · email me · subscribe
Spurious correlation #3,830 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Air pollution in Dickinson, North Dakota and the second variable is Google searches for 'ice bath'.  The chart goes from 2008 to 2023, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As air pollution increased in Dickinson, North Dakota, the local population started to experience a collective rise in body temperature, prompting a sudden need to cool down. This led to a surge in interest in ice baths as a way to beat the newfound heat. Remember, sometimes the coolest solutions can be found in the most unexpected places!

Model: dalle-3
Prompt: [ Scalar art ] Generate an image of a group of people in Dickinson, North Dakota, amidst a hazy sky filled with smog. The townspeople are seen using their phones to search for "ice bath," while a sense of desperation and discomfort is palpable due to the oppressive heat and the polluted atmosphere. Additionally, capture the surprising spike in demand for ice baths as residents seek respite from the deteriorating air quality. 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: Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. 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: Brutalism Scalar art Realistic Cutsy art illustration Scalar art
ChatGPT: Scalar 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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath', in the following situation: Because the increase in air pollution in Dickinson, North Dakota caused people to seek out ice baths as a way to escape the dirty air and cool off. Desperate times call for desperate cooling measures, and apparently, Google searches for ice baths skyrocketed as a result. Who knew that dirty air could lead to a surge in icy plunges?. Keep the description simple.
ChatGPT: In Dickinson, North Dakota, a hazy sky looms over the town as smog fills the air. People are seen searching for "ice bath" on their phones, seeking relief from the oppressive heat and the polluted atmosphere. In a surprising turn of events, the demand for ice baths has spiked in response to the worsening air quality, as residents desperately seek respite from the environmental conditions.

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: [ Scalar art ] and depicting this scene: In Dickinson, North Dakota, a hazy sky looms over the town as smog fills the air. People are seen searching for "ice bath" on their phones, seeking relief from the oppressive heat and the polluted atmosphere. In a surprising turn of events, the demand for ice baths has spiked in response to the worsening air quality, as residents desperately seek respite from the environmental conditions. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [ Scalar art ] Generate an image of a group of people in Dickinson, North Dakota, amidst a hazy sky filled with smog. The townspeople are seen using their phones to search for "ice bath," while a sense of desperation and discomfort is palpable due to the oppressive heat and the polluted atmosphere. Additionally, capture the surprising spike in demand for ice baths as residents seek respite from the deteriorating air quality.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in Air pollution in Dickinson, North Dakota caused ice bath (Google searches for 'ice bath') to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

The Journal of Ecological Quirks and Curiosities

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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. Make lots of jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from Environmental Protection Agency and Google Trends to assess this nagging question. You found a correlation coefficient of 0.8618195 and p < 0.01 for 2008 to 2023.

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]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.


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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
**[[INTRODUCTION]]**

The tangled web of environmental factors and human behavior has long preoccupied researchers seeking to unravel the mysteries of our complex relationship with the world around us. In the ever-expanding arena of environmental economics, unexpected connections can be as surprising as finding a penguin at the North Pole. Our latest study adds a chilly twist to this ongoing saga, as we venture into the unexplored territory of air pollution in Dickinson, North Dakota, and its peculiar relationship with the alluring concept of an ice bath.

One might ask, "What in the frozen tundra could possibly link these seemingly disparate elements?" It's a fair question, yet the answer might be more shocking than an unexpected polar vortex. As we brace ourselves for this compelling journey, we invite our readers to grab a warm beverage, and perhaps a blanket, as we navigate this intriguing, and at times downright frosty, terrain.

The unusual correlation between air pollution and Google searches for 'ice bath' might seem as unlikely as a snowball fight in a desert, but our intrepid research team saw an opportunity to tackle this frosty puzzle head-on. With data from the Environmental Protection Agency in one hand and insight from Google Trends in the other, we embarked on a quest to melt away the mystery behind this unforeseen bond.

As we delve into the substantial correlation coefficient of 0.8618195 and the tantalizingly low p-value, our findings not only shed light on the often-icy relationship between air pollution and the public's curiosity about cooling bath techniques, but they also beckon us to contemplate the quirky and unpredictable ways in which humans respond to environmental stressors.

So, join us as we journey deeper into the heart of this wintry enigma, where the relationship between air pollution and the allure of an ice bath is about to thaw into an intellectually stimulating exploration. Prepare to be both chilled and amused, because in the world of environmental economics, it seems that even the most frosty of connections can spark flames of curiosity and fascination.

And remember, even as you ponder the unexpected bond between air pollution and ice baths, it's always essential to keep yourself grounded – perhaps on a patch of non-slippery ice.


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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. 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]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The tangled web of environmental factors and human behavior has long preoccupied researchers seeking to unravel the mysteries of our complex relationship with the world around us. In the ever-expanding arena of environmental economics, unexpected connections can be as surprising as finding a penguin at the North Pole. Our latest study adds a chilly twist to this ongoing saga, as we venture into the unexplored territory of air pollution in Dickinson, North Dakota, and its peculiar relationship with the alluring concept of an ice bath.
One might ask, "What in the frozen tundra could possibly link these seemingly disparate elements?" It's a fair question, yet the answer might be more shocking than an unexpected polar vortex. As we brace ourselves for this compelling journey, we invite our readers to grab a warm beverage, and perhaps a blanket, as we navigate this intriguing, and at times downright frosty, terrain.
The unusual correlation between air pollution and Google searches for 'ice bath' might seem as unlikely as a snowball fight in a desert, but our intrepid research team saw an opportunity to tackle this frosty puzzle head-on. With data from the Environmental Protection Agency in one hand and insight from Google Trends in the other, we embarked on a quest to melt away the mystery behind this unforeseen bond.
As we delve into the substantial correlation coefficient of 0.8618195 and the tantalizingly low p-value, our findings not only shed light on the often-icy relationship between air pollution and the public's curiosity about cooling bath techniques, but they also beckon us to contemplate the quirky and unpredictable ways in which humans respond to environmental stressors.
So, join us as we journey deeper into the heart of this wintry enigma, where the relationship between air pollution and the allure of an ice bath is about to thaw into an intellectually stimulating exploration. Prepare to be both chilled and amused, because in the world of environmental economics, it seems that even the most frosty of connections can spark flames of curiosity and fascination.
And remember, even as you ponder the unexpected bond between air pollution and ice baths, it's always essential to keep yourself grounded – perhaps on a patch of non-slippery ice.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In the search for understanding the intriguing relationship between air pollution and human behavior, researchers have scoured the academic landscape for insights as varied as a snowflake's pattern. Smith et al. (2017) delved into the behavioral responses to environmental stressors, including the surprising ways in which individuals seek relief from atmospheric challenges. Similarly, Doe and Jones (2015) examined the impact of environmental factors on public interest in unconventional cooling methods, hinting at the tantalizing connection between air quality and the allure of an ice bath.

Drawing from the realms of non-fiction, books such as "The Hidden Life of Trees" by Peter Wohlleben and "The Sixth Extinction: An Unnatural History" by Elizabeth Kolbert shed light on the intricate interplay between the natural world and human behavior, offering valuable perspectives on the unexpected ways in which environmental influences can shape human responses.

In the domain of fiction, even seemingly unrelated works such as "The Ice Princess" by Camilla Lackberg and "Snow Crash" by Neal Stephenson provide glimpses of the chillier side of human experiences, perhaps hinting at the subconscious appeal of icy motifs that extends to the search for a cooling escape in the face of environmental challenges.

In a further leap into the research landscape, our team uncovered additional, albeit unconventional, sources of insight. Evidently, the backs of shampoo bottles, often overlooked in academic inquiry, provided unexpected gems of wisdom on the perception of cold and refreshment, offering intriguing parallels to the public's quest for respite from environmental heat. While unconventional, it is undeniable that even the most unassuming of sources can hold nuggets of knowledge waiting to be lathered—ahem—unearthed in the pursuit of understanding human behavior in the face of environmental stressors.


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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Google Trends . You used data from 2008 to 2023

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]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

[[INTRODUCTION]]
The tangled web of environmental factors and human behavior has long preoccupied researchers seeking to unravel the mysteries of our complex relationship with the world around us. In the ever-expanding arena of environmental economics, unexpected connections can be as surprising as finding a penguin at the North Pole. Our latest study adds a chilly twist to this ongoing saga, as we venture into the unexplored territory of air pollution in Dickinson, North Dakota, and its peculiar relationship with the alluring concept of an ice bath.
One might ask, "What in the frozen tundra could possibly link these seemingly disparate elements?" It's a fair question, yet the answer might be more shocking than an unexpected polar vortex. As we brace ourselves for this compelling journey, we invite our readers to grab a warm beverage, and perhaps a blanket, as we navigate this intriguing, and at times downright frosty, terrain.
The unusual correlation between air pollution and Google searches for 'ice bath' might seem as unlikely as a snowball fight in a desert, but our intrepid research team saw an opportunity to tackle this frosty puzzle head-on. With data from the Environmental Protection Agency in one hand and insight from Google Trends in the other, we embarked on a quest to melt away the mystery behind this unforeseen bond.
As we delve into the substantial correlation coefficient of 0.8618195 and the tantalizingly low p-value, our findings not only shed light on the often-icy relationship between air pollution and the public's curiosity about cooling bath techniques, but they also beckon us to contemplate the quirky and unpredictable ways in which humans respond to environmental stressors.
So, join us as we journey deeper into the heart of this wintry enigma, where the relationship between air pollution and the allure of an ice bath is about to thaw into an intellectually stimulating exploration. Prepare to be both chilled and amused, because in the world of environmental economics, it seems that even the most frosty of connections can spark flames of curiosity and fascination.
And remember, even as you ponder the unexpected bond between air pollution and ice baths, it's always essential to keep yourself grounded – perhaps on a patch of non-slippery ice.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the frosty connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath', our research team employed a combination of rigorous data collection and a hint of whimsical curiosity. Our data collection spanned from 2008 to 2023, providing a robust snapshot of the relationship between atmospheric conditions and the public's curiosity about frigid ways to beat the heat.

First, we acquired air pollution data from the Environmental Protection Agency, painstakingly sifting through reports and measurements to capture the chilling essence of Dickinson's atmospheric quality. This process involved calculating the concentrations of common air pollutants, all while resisting the temptation to break out the winter jackets in the office.

Simultaneously, we turned to Google Trends, which offered a delightful abundance of information on search trends related to 'ice bath'. With each query and graph, we found ourselves navigating the icy waters of search behavior, discovering peaks and valleys that mirrored the ebb and flow of Dickinson's chilly air.

The next step involved transforming this disparate hodgepodge of data into a coherent analysis. We craftily utilized statistical software to smooth out the wrinkles and ice crystals in the raw data, ensuring that our findings would glitter like freshly fallen snowflakes. With a hearty dose of determination and a sprinkle of statistical wizardry, we unearthed a correlation coefficient that proved as robust as a glacier in midwinter.

Now, you might be wondering, why Dickinson, North Dakota? Why 'ice bath'? While some might argue that the allure of frosty dips would be more in place in a snow-capped mountain town, our choice of location and search term was deliberately designed to add an unexpected chill to the study. As they say, sometimes the most surprising connections are found in the least expected settings – a bit like finding polar bears in the tropics.

In our quest to unravel the icy bonds between air pollution and ice bath curiosity, we also engaged in a multitude of groan-worthy ice-related puns to boost team morale and keep us cool under pressure. After all, what's a research project about ice without a flurry of puns to ice-slate the mood?

To sum it up, our methodology involved a captivating blend of data mining, statistical analyses, and a dash of humor to keep the chill at bay. With these tools in hand, we set out to navigate the frosty maze of environmental and human behavior interactions, reminding ourselves that even the most unexpected connections can thaw into fascinating discoveries. And amidst it all, we made sure to keep the hot cocoa readily available, because as we all know, a warm beverage is essential for an ice-cold brainstorming session.


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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Google Trends .

For the time period 2008 to 2023, you found a correlation 0.8618195, r-squared of 0.7427328, 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]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The tangled web of environmental factors and human behavior has long preoccupied researchers seeking to unravel the mysteries of our complex relationship with the world around us. In the ever-expanding arena of environmental economics, unexpected connections can be as surprising as finding a penguin at the North Pole. Our latest study adds a chilly twist to this ongoing saga, as we venture into the unexplored territory of air pollution in Dickinson, North Dakota, and its peculiar relationship with the alluring concept of an ice bath.
One might ask, "What in the frozen tundra could possibly link these seemingly disparate elements?" It's a fair question, yet the answer might be more shocking than an unexpected polar vortex. As we brace ourselves for this compelling journey, we invite our readers to grab a warm beverage, and perhaps a blanket, as we navigate this intriguing, and at times downright frosty, terrain.
The unusual correlation between air pollution and Google searches for 'ice bath' might seem as unlikely as a snowball fight in a desert, but our intrepid research team saw an opportunity to tackle this frosty puzzle head-on. With data from the Environmental Protection Agency in one hand and insight from Google Trends in the other, we embarked on a quest to melt away the mystery behind this unforeseen bond.
As we delve into the substantial correlation coefficient of 0.8618195 and the tantalizingly low p-value, our findings not only shed light on the often-icy relationship between air pollution and the public's curiosity about cooling bath techniques, but they also beckon us to contemplate the quirky and unpredictable ways in which humans respond to environmental stressors.
So, join us as we journey deeper into the heart of this wintry enigma, where the relationship between air pollution and the allure of an ice bath is about to thaw into an intellectually stimulating exploration. Prepare to be both chilled and amused, because in the world of environmental economics, it seems that even the most frosty of connections can spark flames of curiosity and fascination.
And remember, even as you ponder the unexpected bond between air pollution and ice baths, it's always essential to keep yourself grounded – perhaps on a patch of non-slippery ice.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of data collected from 2008 to 2023 unveiled a robust correlation between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. The correlation coefficient of 0.8618195 indicated a strong positive relationship between these seemingly disparate variables. This finding was supported by the r-squared value of 0.7427328, signifying that approximately 74.3% of the variation in ice bath searches could be explained by changes in air pollution levels.

As if our research weren't cool enough, the p-value of less than 0.01 added an extra layer of statistical significance to the relationship. The results were as clear as an ice sculpture – the link between air pollution and the public's interest in taking a chilling dip was undeniable. Fig. 1 visually depicts the strong correlation between air pollution and Google searches for 'ice bath', leaving little room for doubt and plenty of room for puns about cold hard facts.

These findings have important implications for understanding the quirky ways in which individuals seek solace from environmental stressors. While some may find the positive relationship between air pollution and ice bath searches as surprising as finding a snowman in the desert, one can't deny the cool factor of this discovery. It is a reminder that even in the world of environmental economics, the unexpected bonds between seemingly unrelated phenomena can serve as a chilling reminder of the dynamic interactions between humans and their environment.

In conclusion, our research not only uncovers the chilling truth about the connection between air pollution and the fascination with ice baths, but it also reminds us that even in the coldest of places, unexpected relationships can melt away the frosty facade of conventional wisdom. So, next time you decide to take an ice bath, remember that it might not just be an attempt to beat the heat – it could also be a response to the atmospheric conditions outside. This study serves as a refreshing reminder that the field of environmental economics is filled with surprising connections and that the coolest revelations often come from the unlikeliest places.


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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. Make lots of jokes, goofy observations, and puns.

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]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

[[LITERATURE REVIEW]]
In the search for understanding the intriguing relationship between air pollution and human behavior, researchers have scoured the academic landscape for insights as varied as a snowflake's pattern. Smith et al. (2017) delved into the behavioral responses to environmental stressors, including the surprising ways in which individuals seek relief from atmospheric challenges. Similarly, Doe and Jones (2015) examined the impact of environmental factors on public interest in unconventional cooling methods, hinting at the tantalizing connection between air quality and the allure of an ice bath.
Drawing from the realms of non-fiction, books such as "The Hidden Life of Trees" by Peter Wohlleben and "The Sixth Extinction: An Unnatural History" by Elizabeth Kolbert shed light on the intricate interplay between the natural world and human behavior, offering valuable perspectives on the unexpected ways in which environmental influences can shape human responses.
In the domain of fiction, even seemingly unrelated works such as "The Ice Princess" by Camilla Lackberg and "Snow Crash" by Neal Stephenson provide glimpses of the chillier side of human experiences, perhaps hinting at the subconscious appeal of icy motifs that extends to the search for a cooling escape in the face of environmental challenges.
In a further leap into the research landscape, our team uncovered additional, albeit unconventional, sources of insight. Evidently, the backs of shampoo bottles, often overlooked in academic inquiry, provided unexpected gems of wisdom on the perception of cold and refreshment, offering intriguing parallels to the public's quest for respite from environmental heat. While unconventional, it is undeniable that even the most unassuming of sources can hold nuggets of knowledge waiting to be lathered—ahem—unearthed in the pursuit of understanding human behavior in the face of environmental stressors.

[[RESULTS]]
The analysis of data collected from 2008 to 2023 unveiled a robust correlation between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. The correlation coefficient of 0.8618195 indicated a strong positive relationship between these seemingly disparate variables. This finding was supported by the r-squared value of 0.7427328, signifying that approximately 74.3% of the variation in ice bath searches could be explained by changes in air pollution levels.
As if our research weren't cool enough, the p-value of less than 0.01 added an extra layer of statistical significance to the relationship. The results were as clear as an ice sculpture – the link between air pollution and the public's interest in taking a chilling dip was undeniable. Fig. 1 visually depicts the strong correlation between air pollution and Google searches for 'ice bath', leaving little room for doubt and plenty of room for puns about cold hard facts.
These findings have important implications for understanding the quirky ways in which individuals seek solace from environmental stressors. While some may find the positive relationship between air pollution and ice bath searches as surprising as finding a snowman in the desert, one can't deny the cool factor of this discovery. It is a reminder that even in the world of environmental economics, the unexpected bonds between seemingly unrelated phenomena can serve as a chilling reminder of the dynamic interactions between humans and their environment.
In conclusion, our research not only uncovers the chilling truth about the connection between air pollution and the fascination with ice baths, but it also reminds us that even in the coldest of places, unexpected relationships can melt away the frosty facade of conventional wisdom. So, next time you decide to take an ice bath, remember that it might not just be an attempt to beat the heat – it could also be a response to the atmospheric conditions outside. This study serves as a refreshing reminder that the field of environmental economics is filled with surprising connections and that the coolest revelations often come from the unlikeliest places.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our groundbreaking research has uncovered a correlation that is as chilling as the water in an ice bath – the intriguing link between air pollution in Dickinson, North Dakota, and the public's interest in taking the icy plunge. The robust correlation coefficient and statistically significant p-value support the prior research in surprising ways, reminding us that the world of environmental economics is filled with unexpected twists and turns. Our findings bring a whole new meaning to the phrase "frozen assets" and shed light on the cool ways in which individuals respond to environmental stressors.

The study conducted by Smith et al. (2017) explored the behavioral responses to environmental stressors, and our research provides a frosty confirmation of their insights. Just as they discovered, individuals seek relief from atmospheric challenges in unexpected ways, such as the increased interest in ice baths revealed by our research. Similarly, the work of Doe and Jones (2015) hinted at the tantalizing connection between air quality and the allure of an ice bath, and with our findings, this connection is as clear as freshly formed icicles.

Our study not only reinforces the existing literature but also adds an icy layer of novelty to the field. The unexpected relationship between air pollution and the public's yearning for the chilling embrace of an ice bath showcases the whimsical side of human behavior. This unexpected connection is as refreshing as an ice-cold lemonade on a scorching day.

While some may find our results as surprising as discovering a penguin in the desert, we cannot deny the robustness of the correlation. Our findings demonstrate that even in the vast expanse of environmental economics, the unexpected bonds between seemingly unrelated phenomena can serve as a chilling reminder of the dynamic interactions between humans and their environment. It seems that the quest for environmental relief knows no boundaries – not even the frigid temperatures of North Dakota can freeze the desire for a cool escape.

In essence, our research serves as a reminder that the field of environmental economics is not all dry and frosty – it is filled with surprising connections that can thaw the frosty facade of conventional wisdom. As we dive into a world of unexpected relationships, let us remember that even the coldest of places can harbor the coolest revelations. So, next time you feel the urge to take an ice bath, take a moment to appreciate the unexpected environmental inspiration that may have sparked such a chilly idea. After all, in the world of environmental economics, it seems that even the coolest revelations often come from the unlikeliest places.


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 Air pollution in Dickinson, North Dakota and Google searches for 'ice bath'. Make lots of jokes, goofy observations, and puns.

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]]
Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'

[[ABSTRACT]]
In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.

With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.

So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

[[INTRDUCTION]]
The tangled web of environmental factors and human behavior has long preoccupied researchers seeking to unravel the mysteries of our complex relationship with the world around us. In the ever-expanding arena of environmental economics, unexpected connections can be as surprising as finding a penguin at the North Pole. Our latest study adds a chilly twist to this ongoing saga, as we venture into the unexplored territory of air pollution in Dickinson, North Dakota, and its peculiar relationship with the alluring concept of an ice bath.
One might ask, "What in the frozen tundra could possibly link these seemingly disparate elements?" It's a fair question, yet the answer might be more shocking than an unexpected polar vortex. As we brace ourselves for this compelling journey, we invite our readers to grab a warm beverage, and perhaps a blanket, as we navigate this intriguing, and at times downright frosty, terrain.
The unusual correlation between air pollution and Google searches for 'ice bath' might seem as unlikely as a snowball fight in a desert, but our intrepid research team saw an opportunity to tackle this frosty puzzle head-on. With data from the Environmental Protection Agency in one hand and insight from Google Trends in the other, we embarked on a quest to melt away the mystery behind this unforeseen bond.
As we delve into the substantial correlation coefficient of 0.8618195 and the tantalizingly low p-value, our findings not only shed light on the often-icy relationship between air pollution and the public's curiosity about cooling bath techniques, but they also beckon us to contemplate the quirky and unpredictable ways in which humans respond to environmental stressors.
So, join us as we journey deeper into the heart of this wintry enigma, where the relationship between air pollution and the allure of an ice bath is about to thaw into an intellectually stimulating exploration. Prepare to be both chilled and amused, because in the world of environmental economics, it seems that even the most frosty of connections can spark flames of curiosity and fascination.
And remember, even as you ponder the unexpected bond between air pollution and ice baths, it's always essential to keep yourself grounded – perhaps on a patch of non-slippery ice.

[[RESULTS]]
The analysis of data collected from 2008 to 2023 unveiled a robust correlation between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. The correlation coefficient of 0.8618195 indicated a strong positive relationship between these seemingly disparate variables. This finding was supported by the r-squared value of 0.7427328, signifying that approximately 74.3% of the variation in ice bath searches could be explained by changes in air pollution levels.
As if our research weren't cool enough, the p-value of less than 0.01 added an extra layer of statistical significance to the relationship. The results were as clear as an ice sculpture – the link between air pollution and the public's interest in taking a chilling dip was undeniable. Fig. 1 visually depicts the strong correlation between air pollution and Google searches for 'ice bath', leaving little room for doubt and plenty of room for puns about cold hard facts.
These findings have important implications for understanding the quirky ways in which individuals seek solace from environmental stressors. While some may find the positive relationship between air pollution and ice bath searches as surprising as finding a snowman in the desert, one can't deny the cool factor of this discovery. It is a reminder that even in the world of environmental economics, the unexpected bonds between seemingly unrelated phenomena can serve as a chilling reminder of the dynamic interactions between humans and their environment.
In conclusion, our research not only uncovers the chilling truth about the connection between air pollution and the fascination with ice baths, but it also reminds us that even in the coldest of places, unexpected relationships can melt away the frosty facade of conventional wisdom. So, next time you decide to take an ice bath, remember that it might not just be an attempt to beat the heat – it could also be a response to the atmospheric conditions outside. This study serves as a refreshing reminder that the field of environmental economics is filled with surprising connections and that the coolest revelations often come from the unlikeliest places.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In the realm of environmental economics, our study has plunged into uncharted waters, uncovering a connection between air pollution in Dickinson, North Dakota, and the surge in Google searches for 'ice bath' that's as strong as an iceberg. Our findings have certainly made a splash, providing indisputable evidence of the chilly relationship between these seemingly unrelated variables. It's a connection as solid as a block of ice, and it's left us feeling as cool as a cucumber in a deep freeze.

The robust correlation coefficient and statistically significant p-value have shone a spotlight on the stark relationship between environmental stressors and the public's quest for unconventional cooling methods. Clearly, the allure of the ice bath is not just a passing fad but a response to the atmospheric conditions that's as real as a snowstorm in July.

So, as we wrap up this frosty adventure, it's clear that further research in this domain might just be like icing on the cake – unnecessary! The connection between air pollution and the fascination with ice baths has been established with the unwavering certainty of a frozen pond, and it's time to let this discovery settle like freshly fallen snow. After all, who needs more research when the answer is already as clear as a block of ice?



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 Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Ecological Quirks and Curiosities


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 Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath'. Respond only with the name of a fictional organization.

ChatGPT:

Society for the Study of Eccentric Environmental Phenomena


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 Chilling Correlation: The Relationship between Air Pollution in Dickinson, North Dakota and Google Searches for 'Ice Bath' with an abstract of In the world of environmental economics, it's not often that one gets to mix ice baths and air pollution, but our adventurous research team set out to do just that. In this study, we delved into the unusual connection between air pollution in Dickinson, North Dakota, and the frequency of Google searches for 'ice bath'. Armed with data from the Environmental Protection Agency and Google Trends, we embarked on a journey to uncover the chilling truth.
With a correlation coefficient of 0.8618195 and a statistically significant p-value of less than 0.01, our findings provide robust evidence of a strong positive relationship between air pollution levels and public interest in taking an icy plunge. While some might say this correlation is as clear as ice, others might find it as unexpected as finding a polar bear in the desert. The findings also shed light on the intriguing human behavior of seeking relief from environmental stressors through unconventional means.
So, next time you decide to take an ice bath, remember that it might not just be a temporary cooldown – it could also be a response to the atmospheric conditions outside. This groundbreaking research demonstrates that even in the coldest of places, the link between human behavior and environmental factors can still heat up the academic conversation.

ChatGPT:

Dickinson, North Dakota, air pollution, Google Searches, ice bath, correlation, environmental economics, Environmental Protection Agency, Google Trends, human behavior, relief from environmental stressors

*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

Air pollution in Dickinson, North Dakota
Detailed data title: Percentage of days with air quality at 'unhealthy for sensitive groups' or worse in Dickinson, ND
Source: Environmental Protection Agency
See what else correlates with Air pollution in Dickinson, North Dakota

Google searches for 'ice bath'
Detailed data title: Relative volume of Google searches for 'ice bath' (Worldwide, without quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for 'ice bath'

Correlation r = 0.8618195 (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.7427328 (Coefficient of determination)
This means 74.3% of the change in the one variable (i.e., Google searches for 'ice bath') is predictable based on the change in the other (i.e., Air pollution in Dickinson, North Dakota) over the 16 years from 2008 through 2023.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.8E-5. 0.0000177585489500079770000000
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.0018% of random cases. Said differently, if you correlated 56,311 random variables You don't actually need 56 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 15 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 15 because we have two variables measured over a period of 16 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.64, 0.95 ] 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.
2008200920102011201220132014201520162017201820192020202120222023
Air pollution in Dickinson, North Dakota (Bad air quality days)0.002732240000000.010958900.005494510000.013736300.0377358
Google searches for 'ice bath' (Rel. search volume)9.666679.8333312.2513.666717.166717.51919.916720.333320.916721.833323.523.7527.083338.333386.2




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([0.00273224,0,0,0,0,0,0,0.0109589,0,0.00549451,0,0,0,0.0137363,0,0.0377358,])
array_2 = np.array([9.66667,9.83333,12.25,13.6667,17.1667,17.5,19,19.9167,20.3333,20.9167,21.8333,23.5,23.75,27.0833,38.3333,86.2,])
array_1_name = "Air pollution in Dickinson, North Dakota"
array_2_name = "Google searches for 'ice bath'"

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

Thanks for shining a light on this correlation!


Correlation ID: 3830 · Black Variable ID: 21731 · Red Variable ID: 1408
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0