about · email me · subscribe
Spurious correlation #4,432 · 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 Bozeman, Montana and the second variable is Google searches for 'who is donald trump'.  The chart goes from 2004 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As air pollution in Bozeman increased, it led to a higher concentration of charged particles in the atmosphere. These charged particles somehow formed a unique pattern in the sky that resembled Donald Trump's hair, sparking curiosity and prompting people to search for the man behind the iconic hairstyle. It's like a smoggy, political Rorschach test in the sky!

Model: dalle-3
Prompt: Generate an image depicting a hazy sky above Bozeman, Montana, filled with charged particles forming a unique pattern resembling the iconic hairstyle of Donald Trump. People in the scene are looking up, puzzled, and searching on Google for 'who is donald trump,' intrigued by the political Rorschach test in the smoggy sky. The image should convey the unusual sight and the intrigue of the people, keeping the visual depiction simple yet impactful. 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 Bozeman, Montana and Google searches for 'who is donald trump'. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: a meme A scene from Skyrim Vaporwave Charcoal Concept art
ChatGPT: A meme

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 Bozeman, Montana and Google searches for 'who is donald trump', in the following situation: As air pollution in Bozeman increased, it led to a higher concentration of charged particles in the atmosphere. These charged particles somehow formed a unique pattern in the sky that resembled Donald Trump's hair, sparking curiosity and prompting people to search for the man behind the iconic hairstyle. It's like a smoggy, political Rorschach test in the sky!. Keep the description simple.
ChatGPT: In Bozeman, Montana, as the air pollution increased, a hazy sky filled with charged particles formed a unique pattern that strangely resembled the iconic hairstyle of Donald Trump. People looked up, puzzled by the unusual sight, and began searching on Google for 'who is donald trump,' intrigued by the political Rorschach test in the smoggy sky.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A meme ] and depicting this scene: In Bozeman, Montana, as the air pollution increased, a hazy sky filled with charged particles formed a unique pattern that strangely resembled the iconic hairstyle of Donald Trump. People looked up, puzzled by the unusual sight, and began searching on Google for 'who is donald trump,' intrigued by the political Rorschach test in the smoggy sky. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image depicting a hazy sky above Bozeman, Montana, filled with charged particles forming a unique pattern resembling the iconic hairstyle of Donald Trump. People in the scene are looking up, puzzled, and searching on Google for 'who is donald trump,' intrigued by the political Rorschach test in the smoggy sky. The image should convey the unusual sight and the intrigue of the people, keeping the visual depiction simple yet impactful.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how increases in Air pollution in Bozeman, Montana positively influenced who is donald trump (Google searches for 'who is donald trump').

AI academic paper

(Because p < 0.01)
Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump

The Journal of Quirky Psychosocial Research

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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Rhyme words in the title.

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

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!


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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The relationship between environmental factors and human behavior has long been a topic of interest. From the impact of air pollution on respiratory health to the influence of political figures on public discourse, these seemingly disparate elements often intersect in surprising ways. In the case of Bozeman, Montana, a picturesque town nestled in the Rocky Mountains, our research sought to uncover a correlation that left us both puzzled and amused – the connection between air pollution and Google searches for 'who is Donald Trump'.

It's no secret that air pollution can leave us breathless, but who would have thought it could also ignite an interest in Donald Trump? This unexpected association piqued our curiosity and drove us to investigate further. As the saying goes, when it comes to research, we took a deep breath and dived right into the data.

The charm of Bozeman and the enigmatic allure of Trump may seem worlds apart, but as our findings will reveal, they are brought together by a thread of air particles and search queries. It's almost as if the haze of air pollution and the craze for Trump are engaged in a secret rendezvous, leaving us itching to uncover their clandestine romance.

Now, let's clear the air and delve into the nitty-gritty of our research methodology and the surprising results that await. Take a deep breath, for this journey promises to be as refreshing as a lungful of fresh Montana mountain air – with just a hint of political intrigue!


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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The relationship between environmental factors and human behavior has long been a topic of interest. From the impact of air pollution on respiratory health to the influence of political figures on public discourse, these seemingly disparate elements often intersect in surprising ways. In the case of Bozeman, Montana, a picturesque town nestled in the Rocky Mountains, our research sought to uncover a correlation that left us both puzzled and amused – the connection between air pollution and Google searches for 'who is Donald Trump'.
It's no secret that air pollution can leave us breathless, but who would have thought it could also ignite an interest in Donald Trump? This unexpected association piqued our curiosity and drove us to investigate further. As the saying goes, when it comes to research, we took a deep breath and dived right into the data.
The charm of Bozeman and the enigmatic allure of Trump may seem worlds apart, but as our findings will reveal, they are brought together by a thread of air particles and search queries. It's almost as if the haze of air pollution and the craze for Trump are engaged in a secret rendezvous, leaving us itching to uncover their clandestine romance.
Now, let's clear the air and delve into the nitty-gritty of our research methodology and the surprising results that await. Take a deep breath, for this journey promises to be as refreshing as a lungful of fresh Montana mountain air – with just a hint of political intrigue!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between air pollution and human behavior has been a subject of extensive study in the scientific community. In "Smith and Doe" study, the authors find that exposure to air pollutants can have a significant impact on neurological functions, leading to changes in cognitive abilities and decision-making processes. Similarly, Jones et al. examine the effects of air pollution on mental health, demonstrating a link between poor air quality and increased levels of stress and anxiety among individuals.

As we embark on this journey to explore the unexpected correlation between air pollution in Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump', it's important to consider the broader context of environmental influences on human curiosity and information-seeking behavior. Much like a polluted atmosphere can obscure visibility, our understanding of this peculiar connection was initially clouded by uncertainty and skepticism.

"Air Quality and Public Interest: A Comprehensive Analysis" by Environmental Research Institute presents an in-depth analysis of the impact of air pollution on public awareness and engagement with political topics. The authors highlight the potential for environmental factors to influence online search trends and social media interactions, shedding light on the interconnected nature of environmental concerns and public discourse.

The unexpected nature of our findings prompted us to seek inspiration from a diverse range of sources. Drawing from non-fiction works such as "The Sixth Extinction: An Unnatural History" by Elizabeth Kolbert and "This Changes Everything: Capitalism vs. The Climate" by Naomi Klein, we explored the intricate web of interactions between human behavior, environmental conditions, and political phenomena. These insightful works provided a framework for understanding the complex dynamics at play in our investigation.

On a lighter note, the realm of fiction also offered valuable perspectives on the interplay between environmental factors and human curiosity. Titles such as "The Air He Breathes" by Brittainy C. Cherry and "The Trump Card Mystery" by Carolyn Keene invited us to consider the intriguing parallels between the atmosphere of Bozeman and the enigmatic allure of political intrigue. Who knew that a cozy mystery and a romance novel could offer hints about the peculiar blend of air pollution and presidential pondering?

In the spirit of thorough research, our team indulged in a delightful binge of TV shows that seemed tangentially relevant to our investigation. From "Breaking Bad" to "The X-Files," we ventured into the realms of fictional mysteries and hidden truths, drawing parallels between the intrigue of investigative dramas and the unexpected relationship between air quality in Bozeman and online inquiries about a certain prominent figure. Who would have thought that Walter White's chemical endeavors and Mulder's quest for the truth could hold clues to our own scientific pursuit?

As we navigate the maze of literature and popular culture, it becomes clear that the intersection of environmental factors and human behavior is a rich tapestry, woven with unexpected connections and surprising revelations. In the next section, we will unveil the methodology behind our investigation and the riveting results that emerged from our exploration of Bozeman's haze and the unexpected intrigue surrounding Donald Trump. Get ready for a breath of fresh insight, with just a hint of whimsical curiosity!


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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

[[INTRODUCTION]]
The relationship between environmental factors and human behavior has long been a topic of interest. From the impact of air pollution on respiratory health to the influence of political figures on public discourse, these seemingly disparate elements often intersect in surprising ways. In the case of Bozeman, Montana, a picturesque town nestled in the Rocky Mountains, our research sought to uncover a correlation that left us both puzzled and amused – the connection between air pollution and Google searches for 'who is Donald Trump'.
It's no secret that air pollution can leave us breathless, but who would have thought it could also ignite an interest in Donald Trump? This unexpected association piqued our curiosity and drove us to investigate further. As the saying goes, when it comes to research, we took a deep breath and dived right into the data.
The charm of Bozeman and the enigmatic allure of Trump may seem worlds apart, but as our findings will reveal, they are brought together by a thread of air particles and search queries. It's almost as if the haze of air pollution and the craze for Trump are engaged in a secret rendezvous, leaving us itching to uncover their clandestine romance.
Now, let's clear the air and delve into the nitty-gritty of our research methodology and the surprising results that await. Take a deep breath, for this journey promises to be as refreshing as a lungful of fresh Montana mountain air – with just a hint of political intrigue!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the peculiar correlation between air pollution levels in Bozeman, Montana and Google searches for 'who is Donald Trump', our research team embarked on a data-driven odyssey that spanned the digital realm. The first step in our methodology involved obtaining air quality data from the Environmental Protection Agency (EPA) for the chosen time period of 2004 to 2021. We meticulously filtered through the EPA's treasure trove of atmospheric intricacies, akin to environmental detectives on the trail of a mischievous smog culprit.

Once armed with the air pollution data, we turned our attention to the realm of online search queries. Utilizing the vast expanse of Google Trends, we harnessed the power of internet sleuthing to track the frequency of searches for 'who is Donald Trump' in the Bozeman region. It was as if we were delving into the digital equivalent of a political treasure map, navigating through the virtual labyrinth of online inquiries and data points.

Feeling a little out of breath yet? Well, it's about to get even airier – or should we say, 'who is Donald Trump'ier? Our team then employed a cutting-edge statistical analysis approach, brimming with elegant equations and swooping graphs that danced with data. We calculated the correlation coefficient between air pollution levels and the frequency of 'who is Donald Trump' searches, leaving no stone unturned in our quest to unravel this intriguing connection. It was a bit like solving a mystery where the suspects were air particles and search algorithms – a true whodunit for the digital age!

In a bid to ensure the robustness and reliability of our findings, we also conducted various sensitivity analyses and model validations to test the stability of the observed correlation. This stage of our methodology was akin to performing a digital tango, as we twirled and tested our data with the finesse of online agility.

Furthermore, to mitigate any potential confounding variables and to isolate the influence of air pollution on the inclination to search for Donald Trump, we rigorously controlled for demographic, socioeconomic, and political factors using advanced statistical techniques. It was a bit like herding digital cats – a challenging endeavor, but one that ultimately tamed the unruly elements and allowed us to focus on the key players in our quest for answers.

There you have it, folks! Our research methodology encapsulates the intricacies of our inquisitive journey, as we navigated through the digital haze in pursuit of the unexpected connection between Bozeman's air pollution and the enigmatic allure of Donald Trump. Much like a breath of fresh air, our methodology promises to invigorate the mind and tickle the intellect, leaving you pondering the mysterious dance of environmental influences and online intrigue. Keep your wits sharp, for the results are just a click away!


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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

For the time period 2004 to 2021, you found a correlation 0.8023304, r-squared of 0.6437340, 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]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The relationship between environmental factors and human behavior has long been a topic of interest. From the impact of air pollution on respiratory health to the influence of political figures on public discourse, these seemingly disparate elements often intersect in surprising ways. In the case of Bozeman, Montana, a picturesque town nestled in the Rocky Mountains, our research sought to uncover a correlation that left us both puzzled and amused – the connection between air pollution and Google searches for 'who is Donald Trump'.
It's no secret that air pollution can leave us breathless, but who would have thought it could also ignite an interest in Donald Trump? This unexpected association piqued our curiosity and drove us to investigate further. As the saying goes, when it comes to research, we took a deep breath and dived right into the data.
The charm of Bozeman and the enigmatic allure of Trump may seem worlds apart, but as our findings will reveal, they are brought together by a thread of air particles and search queries. It's almost as if the haze of air pollution and the craze for Trump are engaged in a secret rendezvous, leaving us itching to uncover their clandestine romance.
Now, let's clear the air and delve into the nitty-gritty of our research methodology and the surprising results that await. Take a deep breath, for this journey promises to be as refreshing as a lungful of fresh Montana mountain air – with just a hint of political intrigue!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our investigation into the relationship between air pollution in Bozeman, Montana and Google searches for 'who is Donald Trump' revealed a striking correlation. We found a correlation coefficient of 0.8023304, indicating a strong positive relationship between the two variables. In addition, the r-squared value of 0.6437340 indicated that approximately 64.4% of the variance in Trump searches can be explained by changes in air pollution levels. Furthermore, the p-value of less than 0.01 underscores the statistical significance of this association, providing robust support for our findings.

The magnitude of the correlation coefficient suggests that as air pollution levels in Bozeman increased, there was a corresponding surge in Google searches seeking information about Donald Trump. This surprising connection may leave us gasping for breath, but it also sheds light on the intricate ways in which environmental factors and online behavior intersect. It's almost as if the hazy air stirred up a whirlwind of curiosity about a certain politician, causing the townsfolk to collectively ask, "Who is Donald Trump, and what's all the fuss about?"

The compelling nature of this correlation is visually depicted in Figure 1, where a scatterplot illustrates the strong positive relationship between air pollution and 'who is Donald Trump' searches. The data points congregate in a manner that almost mirrors the chaotic dance of fine particulate matter in the air, as if to say, "When the air is clouded, so are our Google searches for political figures."

This unexpected correlation may leave us all a little breathless, but it provides a fascinating glimpse into the interconnectedness of environmental conditions and online search behavior. It seems that even the crisp mountain air of Bozeman cannot escape the magnetic pull of Trump-related inquiries. As we ponder this revelation, it's hard not to wonder: is there a hidden message lingering in the air, or has this correlation simply trumped all our expectations?


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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

[[LITERATURE REVIEW]]
The connection between air pollution and human behavior has been a subject of extensive study in the scientific community. In "Smith and Doe" study, the authors find that exposure to air pollutants can have a significant impact on neurological functions, leading to changes in cognitive abilities and decision-making processes. Similarly, Jones et al. examine the effects of air pollution on mental health, demonstrating a link between poor air quality and increased levels of stress and anxiety among individuals.
As we embark on this journey to explore the unexpected correlation between air pollution in Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump', it's important to consider the broader context of environmental influences on human curiosity and information-seeking behavior. Much like a polluted atmosphere can obscure visibility, our understanding of this peculiar connection was initially clouded by uncertainty and skepticism.
"Air Quality and Public Interest: A Comprehensive Analysis" by Environmental Research Institute presents an in-depth analysis of the impact of air pollution on public awareness and engagement with political topics. The authors highlight the potential for environmental factors to influence online search trends and social media interactions, shedding light on the interconnected nature of environmental concerns and public discourse.
The unexpected nature of our findings prompted us to seek inspiration from a diverse range of sources. Drawing from non-fiction works such as "The Sixth Extinction: An Unnatural History" by Elizabeth Kolbert and "This Changes Everything: Capitalism vs. The Climate" by Naomi Klein, we explored the intricate web of interactions between human behavior, environmental conditions, and political phenomena. These insightful works provided a framework for understanding the complex dynamics at play in our investigation.
On a lighter note, the realm of fiction also offered valuable perspectives on the interplay between environmental factors and human curiosity. Titles such as "The Air He Breathes" by Brittainy C. Cherry and "The Trump Card Mystery" by Carolyn Keene invited us to consider the intriguing parallels between the atmosphere of Bozeman and the enigmatic allure of political intrigue. Who knew that a cozy mystery and a romance novel could offer hints about the peculiar blend of air pollution and presidential pondering?
In the spirit of thorough research, our team indulged in a delightful binge of TV shows that seemed tangentially relevant to our investigation. From "Breaking Bad" to "The X-Files," we ventured into the realms of fictional mysteries and hidden truths, drawing parallels between the intrigue of investigative dramas and the unexpected relationship between air quality in Bozeman and online inquiries about a certain prominent figure. Who would have thought that Walter White's chemical endeavors and Mulder's quest for the truth could hold clues to our own scientific pursuit?
As we navigate the maze of literature and popular culture, it becomes clear that the intersection of environmental factors and human behavior is a rich tapestry, woven with unexpected connections and surprising revelations. In the next section, we will unveil the methodology behind our investigation and the riveting results that emerged from our exploration of Bozeman's haze and the unexpected intrigue surrounding Donald Trump. Get ready for a breath of fresh insight, with just a hint of whimsical curiosity!

[[RESULTS]]
The results of our investigation into the relationship between air pollution in Bozeman, Montana and Google searches for 'who is Donald Trump' revealed a striking correlation. We found a correlation coefficient of 0.8023304, indicating a strong positive relationship between the two variables. In addition, the r-squared value of 0.6437340 indicated that approximately 64.4% of the variance in Trump searches can be explained by changes in air pollution levels. Furthermore, the p-value of less than 0.01 underscores the statistical significance of this association, providing robust support for our findings.
The magnitude of the correlation coefficient suggests that as air pollution levels in Bozeman increased, there was a corresponding surge in Google searches seeking information about Donald Trump. This surprising connection may leave us gasping for breath, but it also sheds light on the intricate ways in which environmental factors and online behavior intersect. It's almost as if the hazy air stirred up a whirlwind of curiosity about a certain politician, causing the townsfolk to collectively ask, "Who is Donald Trump, and what's all the fuss about?"
The compelling nature of this correlation is visually depicted in Figure 1, where a scatterplot illustrates the strong positive relationship between air pollution and 'who is Donald Trump' searches. The data points congregate in a manner that almost mirrors the chaotic dance of fine particulate matter in the air, as if to say, "When the air is clouded, so are our Google searches for political figures."
This unexpected correlation may leave us all a little breathless, but it provides a fascinating glimpse into the interconnectedness of environmental conditions and online search behavior. It seems that even the crisp mountain air of Bozeman cannot escape the magnetic pull of Trump-related inquiries. As we ponder this revelation, it's hard not to wonder: is there a hidden message lingering in the air, or has this correlation simply trumped all our expectations?

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The surprisingly strong correlation between air pollution levels in Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump' has left us both puzzled and amused. Our findings not only validated previous research suggesting the impact of environmental factors on human behavior but also added a humorous twist to the scientific narrative.

Building on the work of Smith and Doe and Jones et al., who explored the cognitive and psychological effects of air pollution, our study provides compelling evidence that poor air quality might trigger an uptick in searches for the former president. It appears that when the air is thick with pollutants, people turn to the internet to clear the air about Trump. It's almost as if the townsfolk are collectively saying, "Let's pollute the search engines with queries about Trump!"

Similarly, the comprehensive analysis by the Environmental Research Institute anticipated the potential link between air quality and public interest in political topics. Our results not only support this perspective but also inject a humorous undertone, suggesting that the pollutants in Bozeman's air may have a penchant for stirring political curiosity.

In line with the unexpected yet intriguing nature of our findings, we drew inspiration from a diverse range of sources, including literary works and popular culture. While these sources may seem tangential to a scientific investigation, they offered valuable insights that enhanced our understanding of the complex interaction between environmental conditions and human curiosity. Just as Walter White's chemical pursuits captivated audiences, our study revealed a hidden intrigue in the atmospheric interactions of Bozeman, triggering a desire to uncover the truth behind the correlation.

The statistical robustness of our findings, with a correlation coefficient of 0.8023304 and a p-value of less than 0.01, emphasizes the significance of the connection between air pollution and Trump searches. It's a refreshing reminder that science can sometimes take an unexpected turn, much like a breath of fresh air in a polluted world. As we continue to unravel the mysteries of human behavior, this study offers a lighthearted yet thought-provoking insight into the whimsical dance between environmental factors and online intrigue.

In the midst of this unexpected revelation, it becomes evident that the convergence of air pollution and online curiosity about political figures unfolds as a tale rich in amusement and scientific fascination. Who would have thought that the hazy air of Bozeman carried within it the seeds of political curiosity, prompting the town's residents to embark on a digital quest for knowledge about Donald Trump? As we delve deeper into this peculiar correlation, it's tempting to entertain the notion that even air quality can have a sense of humor, perhaps whispering a dad joke or two as it nudges the townsfolk toward their screens in search of presidential enlightenment.


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 Bozeman, Montana and Google searches for 'who is donald trump'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump"

[[ABSTRACT]]
This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.

Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.

As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

[[INTRDUCTION]]
The relationship between environmental factors and human behavior has long been a topic of interest. From the impact of air pollution on respiratory health to the influence of political figures on public discourse, these seemingly disparate elements often intersect in surprising ways. In the case of Bozeman, Montana, a picturesque town nestled in the Rocky Mountains, our research sought to uncover a correlation that left us both puzzled and amused – the connection between air pollution and Google searches for 'who is Donald Trump'.
It's no secret that air pollution can leave us breathless, but who would have thought it could also ignite an interest in Donald Trump? This unexpected association piqued our curiosity and drove us to investigate further. As the saying goes, when it comes to research, we took a deep breath and dived right into the data.
The charm of Bozeman and the enigmatic allure of Trump may seem worlds apart, but as our findings will reveal, they are brought together by a thread of air particles and search queries. It's almost as if the haze of air pollution and the craze for Trump are engaged in a secret rendezvous, leaving us itching to uncover their clandestine romance.
Now, let's clear the air and delve into the nitty-gritty of our research methodology and the surprising results that await. Take a deep breath, for this journey promises to be as refreshing as a lungful of fresh Montana mountain air – with just a hint of political intrigue!

[[RESULTS]]
The results of our investigation into the relationship between air pollution in Bozeman, Montana and Google searches for 'who is Donald Trump' revealed a striking correlation. We found a correlation coefficient of 0.8023304, indicating a strong positive relationship between the two variables. In addition, the r-squared value of 0.6437340 indicated that approximately 64.4% of the variance in Trump searches can be explained by changes in air pollution levels. Furthermore, the p-value of less than 0.01 underscores the statistical significance of this association, providing robust support for our findings.
The magnitude of the correlation coefficient suggests that as air pollution levels in Bozeman increased, there was a corresponding surge in Google searches seeking information about Donald Trump. This surprising connection may leave us gasping for breath, but it also sheds light on the intricate ways in which environmental factors and online behavior intersect. It's almost as if the hazy air stirred up a whirlwind of curiosity about a certain politician, causing the townsfolk to collectively ask, "Who is Donald Trump, and what's all the fuss about?"
The compelling nature of this correlation is visually depicted in Figure 1, where a scatterplot illustrates the strong positive relationship between air pollution and 'who is Donald Trump' searches. The data points congregate in a manner that almost mirrors the chaotic dance of fine particulate matter in the air, as if to say, "When the air is clouded, so are our Google searches for political figures."
This unexpected correlation may leave us all a little breathless, but it provides a fascinating glimpse into the interconnectedness of environmental conditions and online search behavior. It seems that even the crisp mountain air of Bozeman cannot escape the magnetic pull of Trump-related inquiries. As we ponder this revelation, it's hard not to wonder: is there a hidden message lingering in the air, or has this correlation simply trumped all our expectations?

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has uncovered a remarkable and statistically significant correlation between air pollution in Bozeman, Montana and Google searches for 'who is Donald Trump', leaving us not only intrigued but also mildly amused. With a correlation coefficient of 0.8023304 and a p-value of less than 0.01, it's clear that something in the air is fueling the curiosity about the former president. It's almost as if the haze of air pollution is whispering, "Pssst, Google 'who is Donald Trump'... you know you want to!"

The visually striking scatterplot in Figure 1 vividly illustrates the synchronized dance of air pollution levels and Trump-related searches, as if they were engaged in a tango of intrigue and fine particulate matter. It's as if the air pollution is saying, "Let me draw you in for a lungful of Trump-related mystery."

It's humorous, isn't it? Our findings suggest there may be more to the air in Bozeman than meets the eye, or the lung, for that matter. It's almost as if the air quality is vying for attention, desperately asking, "Achoo looking for Trump? Look no further – here's where the political pollen is!"

In the grand scheme of research, this unexpected connection may seem like a breath of fresh air – or perhaps a breath of slightly polluted air, but nevertheless, it offers an intriguing insight into the whimsical world of human behavior. As we draw the curtain on this study, we can confidently assert that no further research is needed in this area. After all, we've already cleared the air on the unexpected rendezvous between air pollution and Trump searches. It seems our findings have trumped all expectations – pun intended.


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 Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Psychosocial Research


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 Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Sociological and Atmospheric 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 Bozeman's Haze, Trump's Craze: The Surprising Link Between Air Pollution and Searching for Donald Trump with an abstract of This study delves into the unexpected correlation between air pollution levels in the charming town of Bozeman, Montana and the frequency of Google searches for 'who is Donald Trump'. Using data from the Environmental Protection Agency and Google Trends, our research team uncovered a remarkable connection that will leave you breathless, as well as slightly bemused.
Our findings revealed a correlation coefficient of 0.8023304 and p < 0.01 for the time period spanning from 2004 to 2021. This discovery is not just hot air – it sheds light on the previously unexplored intersection between environmental factors and online curiosity about political figures.
As we navigate through the haze of this unexpected correlation, it becomes clear that air pollution in Bozeman may be playing a role in driving individuals to seek out information about the former president. Perhaps the answer lies in a breath of fresh air, or maybe there's just something about the way pollutants and political intrigue interact that triggers our dopamine receptors. It seems like even air quality can't resist the allure of a good old Trump search!

ChatGPT:

Bozeman air pollution, Bozeman Montana, air pollution correlation, environmental factors, Google searches, Donald Trump, online curiosity, political figures, EPA data, Google Trends, correlation coefficient, air quality, political intrigue, dopamine receptors, former president.

*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 Bozeman, Montana
Detailed data title: Percentage of days 'unhealthy' or worse air quality in Bozeman, MT
Source: Environmental Protection Agency
See what else correlates with Air pollution in Bozeman, Montana

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

See what else correlates with Google searches for 'who is donald trump'

Correlation r = 0.8023304 (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.6437340 (Coefficient of determination)
This means 64.4% of the change in the one variable (i.e., Google searches for 'who is donald trump') is predictable based on the change in the other (i.e., Air pollution in Bozeman, Montana) over the 18 years from 2004 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 6.2E-5. 0.0000617157179140504900000000
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.8 in 0.0062% of random cases. Said differently, if you correlated 16,203 random variables Which I absolutely did.
with the same 17 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 17 because we have two variables measured over a period of 18 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.54, 0.92 ] 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.
200420052006200720082009201020112012201320142015201620172018201920202021
Air pollution in Bozeman, Montana (Bad air quality days)0.0027322400.002739730.0054794500000000.002739730.0109290.002739730.0027397300.005464480.00273973
Google searches for 'who is donald trump' (Rel. search volume)0.8333330.60.4444440.3333330111.444441.1115.5833321.833395.333335.8333312.253.33333




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.00273973,0.00547945,0,0,0,0,0,0,0,0.00273973,0.010929,0.00273973,0.00273973,0,0.00546448,0.00273973,])
array_2 = np.array([0.833333,0.6,0.444444,0.333333,0,1,1,1.44444,1.1,1,1,5.58333,21.8333,9,5.33333,5.83333,12.25,3.33333,])
array_1_name = "Air pollution in Bozeman, Montana"
array_2_name = "Google searches for 'who is donald trump'"

# 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 being the explorer we needed!


Correlation ID: 4432 · Black Variable ID: 22284 · Red Variable ID: 1538
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0