about · email me · subscribe
Spurious correlation #3,812 · 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 'Smores'.  The chart goes from 2008 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The smog in Bozeman was giving off some serious s'more-like vibes, leading to a craving for that charred, gooey goodness. It's like the pollution was saying, "Let's add some 'flavor' to the air and really 'smoke out' those taste buds!"

Model: dalle-3
Prompt: "A Discovery magazine cover image" style is an excellent choice for this prompt. Here's a refined prompt for generating an engaging visual using DALL·E-3: Generate an image showing a breathtaking landscape in Bozeman, Montana, where the air quality has greatly improved. The sky should be a vivid, clear blue, with a hint of pink as the sun sets on the horizon. In the foreground, depict families and friends gathering around a crackling campfire, delightfully roasting marshmallows to make s'mores. Capture the joyous atmosphere with laughter in the air as people search on their phones for the perfect s'mores recipes, reflecting an increased number of Google searches for 'S'mores'. The scene should exude warmth and coziness, evoking a sense of togetherness and relaxation. Ensure the visual is filled with vibrant colors and rich details to create an inviting and wholesome ambiance. Avoid any text or speech bubbles to keep the depiction as straightforward and visually compelling as possible. 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 'Smores'. 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 Discovery magazine cover image An image that looks like it is a scene from A Disney Movie Futuristic Cubism Pop art
ChatGPT: A Discovery magazine cover image

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 'Smores', in the following situation: Because as air pollution decreased in Bozeman, Montana, more people were able to enjoy outdoor activities like camping and bonfires, leading to an increase in the craving for s'mores. As the air quality improved, so did the urge to indulge in the gooey, chocolatey goodness of this classic campfire treat.. Keep the description simple.
ChatGPT: In Bozeman, Montana, the air quality has improved, and the sky is now clear and blue. Families and friends gather around a crackling campfire, roasting marshmallows to make s'mores. Laughter fills the air as people search on their phones for the perfect s'mores recipes, filling the internet with an increased number of Google searches for 'S'mores'.

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 Discovery magazine cover image ] and depicting this scene: In Bozeman, Montana, the air quality has improved, and the sky is now clear and blue. Families and friends gather around a crackling campfire, roasting marshmallows to make s'mores. Laughter fills the air as people search on their phones for the perfect s'mores recipes, filling the internet with an increased number of Google searches for 'S'mores'. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: "A Discovery magazine cover image" style is an excellent choice for this prompt. Here's a refined prompt for generating an engaging visual using DALL·E-3: Generate an image showing a breathtaking landscape in Bozeman, Montana, where the air quality has greatly improved. The sky should be a vivid, clear blue, with a hint of pink as the sun sets on the horizon. In the foreground, depict families and friends gathering around a crackling campfire, delightfully roasting marshmallows to make s'mores. Capture the joyous atmosphere with laughter in the air as people search on their phones for the perfect s'mores recipes, reflecting an increased number of Google searches for 'S'mores'. The scene should exude warmth and coziness, evoking a sense of togetherness and relaxation. Ensure the visual is filled with vibrant colors and rich details to create an inviting and wholesome ambiance. Avoid any text or speech bubbles to keep the depiction as straightforward and visually compelling as possible.

*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 Bozeman, Montana caused Smores (Google searches for 'Smores') to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

Journal of Gastronomical Ecology

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 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title an alliteration.

Your research team used data from Environmental Protection Agency and Google Trends to assess this nagging question. You found a correlation coefficient of 0.6920319 and p < 0.01 for 2008 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]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The interplay between environmental factors and human behavior has long been a subject of fascination and inquiry. While traditional research has focused on the direct effects of air pollution on health outcomes and environmental degradation, our study takes a different, more whimsical turn. We set out to explore a unique correlation between air pollution in Bozeman, Montana, and the Google searches for that most delectable and quintessentially American treat, 'S'mores'. Yes, you read that correctly – we are venturing into the uncharted territory where the sweet scent of marshmallows collides with the not-so-fragrant odor of industrial emissions.

At first glance, the idea of linking air pollution to digital quests for s'more s'mores seems as improbable as a snow cone in a blizzard. However, as we ventured deeper into the data, patterns emerged that were more compelling than a campfire under the starry night sky. Our approach combined environmental science with a sprinkle of digital anthropology, aiming to illuminate the unexpected ways in which environmental conditions may influence online search behavior.

By undertaking this unconventional investigation, we hope not only to deepen our understanding of the multifaceted impacts of air pollution but also to inject a bit of levity into the sometimes-serious realm of academic research. So, buckle up and prepare to embark on a journey that will blend the scientific rigor of environmental analysis with the indulgent delight of everyone’s favorite fireside sweet. Let’s dive into the fantastical realm where the sooty clouds of pollution mingle with the insatiable yearning for a gooey, chocolatey, and perfectly roasted treat.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 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]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The interplay between environmental factors and human behavior has long been a subject of fascination and inquiry. While traditional research has focused on the direct effects of air pollution on health outcomes and environmental degradation, our study takes a different, more whimsical turn. We set out to explore a unique correlation between air pollution in Bozeman, Montana, and the Google searches for that most delectable and quintessentially American treat, 'S'mores'. Yes, you read that correctly – we are venturing into the uncharted territory where the sweet scent of marshmallows collides with the not-so-fragrant odor of industrial emissions.
At first glance, the idea of linking air pollution to digital quests for s'more s'mores seems as improbable as a snow cone in a blizzard. However, as we ventured deeper into the data, patterns emerged that were more compelling than a campfire under the starry night sky. Our approach combined environmental science with a sprinkle of digital anthropology, aiming to illuminate the unexpected ways in which environmental conditions may influence online search behavior.
By undertaking this unconventional investigation, we hope not only to deepen our understanding of the multifaceted impacts of air pollution but also to inject a bit of levity into the sometimes-serious realm of academic research. So, buckle up and prepare to embark on a journey that will blend the scientific rigor of environmental analysis with the indulgent delight of everyone’s favorite fireside sweet. Let’s dive into the fantastical realm where the sooty clouds of pollution mingle with the insatiable yearning for a gooey, chocolatey, and perfectly roasted treat.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between air pollution and seemingly unrelated phenomena has been a subject of interest in various academic disciplines. Smith et al. (2017) conducted an extensive study on the impact of air pollution on human behavior, focusing primarily on health-related outcomes. Similarly, Doe (2014) explored the social and economic implications of environmental pollution, delving into the broader societal effects.

Moving on from the serious tones of these studies, we take a more lighthearted approach to investigate the correlation between air pollution in Bozeman, Montana, and Google searches for 'S'mores'. The literature on this specific topic is, unsurprisingly, scant. However, the relevance of environmental factors to seemingly unrelated consumer behaviors has been explored in various contexts.

Jones (2019) delved into the psychology of consumer preferences, uncovering how environmental cues can influence product choices. This psychological perspective provides a framework for understanding how air pollution, as an environmental cue, might unconsciously prompt individuals to seek comfort in the form of 'S'mores'.

In "The Great Outdoors: Exploring Nature's Influence on Human Behavior" by Meadow (2016), the author delves into the profound impact of natural environments on human psychology and behavior. While not explicitly focusing on air pollution, the broader exploration of the interplay between natural settings and human actions lays the groundwork for our investigation. After all, what could be more natural than a hankering for 'S'mores'?

Transitioning from non-fiction literature to the world of fiction, books such as "The Campfire Cookbook" and "Sweets and Treats by the Fire" demonstrate the enduring cultural association between campfire treats and the great outdoors. Furthermore, classic novels like "To Kill a Mockingbird" and "Treasure Island" evoke nostalgic imagery of campfire gatherings, possibly kindling the desire for 'S'mores' amid a backdrop of adventure and camaraderie.

In the realm of popular media, TV shows such as "Man vs. Wild" and "Survivorman" have portrayed the culinary pleasures of campfire cooking, even under challenging environmental conditions. While watching these shows, it's hard not to imagine oneself partaking in the simple joy of roasting marshmallows, regardless of the air quality in Bozeman.

With a nod to the entertainment industry, it's worth noting that the compelling aroma and culinary allure of 'S'mores' have not escaped the notice of popular culture. TV commercials, comedy sketches, and even memes have all celebrated the gooey goodness of melted marshmallows and chocolate, permeating the collective consciousness with an irresistible appeal.

In summary, while the research literature provides limited direct insight into the specific correlation we are exploring, the broader understanding of environmental cues, cultural associations, and media representations lays the groundwork for our investigation into the unexpected connection between air pollution in Bozeman and the irresistible allure of 'S'mores'.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 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]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

[[INTRODUCTION]]
The interplay between environmental factors and human behavior has long been a subject of fascination and inquiry. While traditional research has focused on the direct effects of air pollution on health outcomes and environmental degradation, our study takes a different, more whimsical turn. We set out to explore a unique correlation between air pollution in Bozeman, Montana, and the Google searches for that most delectable and quintessentially American treat, 'S'mores'. Yes, you read that correctly – we are venturing into the uncharted territory where the sweet scent of marshmallows collides with the not-so-fragrant odor of industrial emissions.
At first glance, the idea of linking air pollution to digital quests for s'more s'mores seems as improbable as a snow cone in a blizzard. However, as we ventured deeper into the data, patterns emerged that were more compelling than a campfire under the starry night sky. Our approach combined environmental science with a sprinkle of digital anthropology, aiming to illuminate the unexpected ways in which environmental conditions may influence online search behavior.
By undertaking this unconventional investigation, we hope not only to deepen our understanding of the multifaceted impacts of air pollution but also to inject a bit of levity into the sometimes-serious realm of academic research. So, buckle up and prepare to embark on a journey that will blend the scientific rigor of environmental analysis with the indulgent delight of everyone’s favorite fireside sweet. Let’s dive into the fantastical realm where the sooty clouds of pollution mingle with the insatiable yearning for a gooey, chocolatey, and perfectly roasted treat.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To tease out the deliciously unexpected link between air pollution levels in Bozeman, Montana, and the Google searches for 'Smores', our research team employed a combination of rigorous data analysis and a pinch of whimsy.

Data Collection:
We started by sourcing air pollution data from the Environmental Protection Agency (EPA), as the EPA has been diligently collecting air quality data from various locations, including dear old Bozeman, for decades. The EPA's data provided us with a veritable feast of information on pollutants such as particulate matter, sulfur dioxide, nitrogen dioxide, and carbon monoxide, giving us a robust spread of air quality metrics to sink our teeth into.

For the delectable 'Smores' search data, we turned to the Google Trends platform, serving as our metaphorical campfire in the digital wilderness. By harnessing the power of Google Trends, we tracked and measured the frequency of searches related to 'Smores', the classic gooey indulgence that conjures up images of crackling campfires and starlit nights. It was fascinating to witness the ebb and flow of public interest in 'Smores', akin to the dance of crackling flames beneath a star-studded sky.

Data Analysis:
Once we had gathered these disparate yet tantalizing datasets, we turned to the statistical buffet to uncover any noteworthy correlations. Armed with a veritable cornucopia of analytical tools, including regression analysis, time series modeling, and perhaps a sprinkling of wishful thinking, we set out to unveil the entwined relationship between air pollution and 'Smores' searches. We applied advanced statistical techniques, flavored with a dash of data visualization, to diligently unravel the patterns and fluctuations within our datasets.

The Process:
Now, here's where things get interesting. Our methodology waded into uncharted waters, blending the somber rigidity of environmental data analysis with the tantalizing allure of dessert-themed internet queries - a veritable fusion of the serious and the delectable. The process may have seemed as complex as the layered construction of a gourmet 'Smores' creation, but rest assured, we navigated through it with zest and zeal.

In a nutshell, our research approach was a delightful concoction, much like the perfect 'Smores' recipe - a harmonious blend of seriousness and whimsy, backed by copious amounts of data, analyses, and a sprinkle of humor. Just as the marriage of graham crackers, marshmallows, and chocolate forms the essence of a delectable 'Smores' treat, our methodology melds the essence of scientific rigor with a touch of indulgence, producing a study that is as captivating as it is unconventional. The metaphorical campfire of our research methodology has illuminated the unexpected connections between the pungent haze of air pollution and the digital yearning for that gooey, melt-in-your-mouth delight.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 2021, you found a correlation 0.6920319, r-squared of 0.4789081, 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]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The interplay between environmental factors and human behavior has long been a subject of fascination and inquiry. While traditional research has focused on the direct effects of air pollution on health outcomes and environmental degradation, our study takes a different, more whimsical turn. We set out to explore a unique correlation between air pollution in Bozeman, Montana, and the Google searches for that most delectable and quintessentially American treat, 'S'mores'. Yes, you read that correctly – we are venturing into the uncharted territory where the sweet scent of marshmallows collides with the not-so-fragrant odor of industrial emissions.
At first glance, the idea of linking air pollution to digital quests for s'more s'mores seems as improbable as a snow cone in a blizzard. However, as we ventured deeper into the data, patterns emerged that were more compelling than a campfire under the starry night sky. Our approach combined environmental science with a sprinkle of digital anthropology, aiming to illuminate the unexpected ways in which environmental conditions may influence online search behavior.
By undertaking this unconventional investigation, we hope not only to deepen our understanding of the multifaceted impacts of air pollution but also to inject a bit of levity into the sometimes-serious realm of academic research. So, buckle up and prepare to embark on a journey that will blend the scientific rigor of environmental analysis with the indulgent delight of everyone’s favorite fireside sweet. Let’s dive into the fantastical realm where the sooty clouds of pollution mingle with the insatiable yearning for a gooey, chocolatey, and perfectly roasted treat.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis revealed a strong positive correlation between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. The Pearson correlation coefficient (r) of 0.6920319 indicated a robust relationship between these seemingly disparate variables. Additionally, the coefficient of determination (r-squared) of 0.4789081 suggested that approximately 47.89% of the variation in 'S'mores' searches could be explained by the variation in air pollution levels.

The p-value of less than 0.01 further underscored the significance of the relationship, providing compelling evidence that this association was not merely a marshmallow fluff of the imagination. Rather, it served as a beacon illuminating the unexpected intersection of environmental factors and digital cravings.

Figure 1 showcases the scatterplot depicting the clear positive trend between air pollution levels and 'S'mores' search interest. Like two star-crossed lovers, these variables exhibited a captivating embrace that defied conventional expectations and offered a fresh perspective on the interplay between environmental conditions and online behavior.

The findings from this analysis highlight the potential for unconventional and lighthearted avenues of inquiry to yield valuable insights into the nuanced connections that permeate our modern, interconnected world. The detection of a significant correlation between air pollution and the yearning for gooey, chocolatey goodness not only adds a dash of whimsy to the scientific discourse but also paves the way for future explorations into the unanticipated consequences of environmental factors on everyday human experiences.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

[[LITERATURE REVIEW]]
The connection between air pollution and seemingly unrelated phenomena has been a subject of interest in various academic disciplines. Smith et al. (2017) conducted an extensive study on the impact of air pollution on human behavior, focusing primarily on health-related outcomes. Similarly, Doe (2014) explored the social and economic implications of environmental pollution, delving into the broader societal effects.
Moving on from the serious tones of these studies, we take a more lighthearted approach to investigate the correlation between air pollution in Bozeman, Montana, and Google searches for 'S'mores'. The literature on this specific topic is, unsurprisingly, scant. However, the relevance of environmental factors to seemingly unrelated consumer behaviors has been explored in various contexts.
Jones (2019) delved into the psychology of consumer preferences, uncovering how environmental cues can influence product choices. This psychological perspective provides a framework for understanding how air pollution, as an environmental cue, might unconsciously prompt individuals to seek comfort in the form of 'S'mores'.
In "The Great Outdoors: Exploring Nature's Influence on Human Behavior" by Meadow (2016), the author delves into the profound impact of natural environments on human psychology and behavior. While not explicitly focusing on air pollution, the broader exploration of the interplay between natural settings and human actions lays the groundwork for our investigation. After all, what could be more natural than a hankering for 'S'mores'?
Transitioning from non-fiction literature to the world of fiction, books such as "The Campfire Cookbook" and "Sweets and Treats by the Fire" demonstrate the enduring cultural association between campfire treats and the great outdoors. Furthermore, classic novels like "To Kill a Mockingbird" and "Treasure Island" evoke nostalgic imagery of campfire gatherings, possibly kindling the desire for 'S'mores' amid a backdrop of adventure and camaraderie.
In the realm of popular media, TV shows such as "Man vs. Wild" and "Survivorman" have portrayed the culinary pleasures of campfire cooking, even under challenging environmental conditions. While watching these shows, it's hard not to imagine oneself partaking in the simple joy of roasting marshmallows, regardless of the air quality in Bozeman.
With a nod to the entertainment industry, it's worth noting that the compelling aroma and culinary allure of 'S'mores' have not escaped the notice of popular culture. TV commercials, comedy sketches, and even memes have all celebrated the gooey goodness of melted marshmallows and chocolate, permeating the collective consciousness with an irresistible appeal.
In summary, while the research literature provides limited direct insight into the specific correlation we are exploring, the broader understanding of environmental cues, cultural associations, and media representations lays the groundwork for our investigation into the unexpected connection between air pollution in Bozeman and the irresistible allure of 'S'mores'.

[[RESULTS]]
The statistical analysis revealed a strong positive correlation between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. The Pearson correlation coefficient (r) of 0.6920319 indicated a robust relationship between these seemingly disparate variables. Additionally, the coefficient of determination (r-squared) of 0.4789081 suggested that approximately 47.89% of the variation in 'S'mores' searches could be explained by the variation in air pollution levels.
The p-value of less than 0.01 further underscored the significance of the relationship, providing compelling evidence that this association was not merely a marshmallow fluff of the imagination. Rather, it served as a beacon illuminating the unexpected intersection of environmental factors and digital cravings.
Figure 1 showcases the scatterplot depicting the clear positive trend between air pollution levels and 'S'mores' search interest. Like two star-crossed lovers, these variables exhibited a captivating embrace that defied conventional expectations and offered a fresh perspective on the interplay between environmental conditions and online behavior.
The findings from this analysis highlight the potential for unconventional and lighthearted avenues of inquiry to yield valuable insights into the nuanced connections that permeate our modern, interconnected world. The detection of a significant correlation between air pollution and the yearning for gooey, chocolatey goodness not only adds a dash of whimsy to the scientific discourse but also paves the way for future explorations into the unanticipated consequences of environmental factors on everyday human experiences.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study unveiled a compelling alliance between air pollution in Bozeman, Montana, and the online quest for the delectable delight of 'S'mores.' While some might dismiss this correlation as mere fluff, our findings align with prior research on the influence of environmental factors on human behavior. The whimsical nature of our investigation is reminiscent of the marshmallow fluff that adorns a perfectly crafted 'S'more' - seemingly insubstantial but undeniably delightful.

Previous scholarly efforts by Smith et al. (2017) and Doe (2014) discussed the impact of air pollution on human health and broader societal effects. While our investigation may appear to be a departure from the mainstream, it reverberates with peculiar echoes of its predecessors. Just as the aroma of a toasty campfire permeates the surrounding air, so too do the effects of air pollution pervade our digital environment, kindling an inexplicable craving for campfire treats among internet users.

Drawing inspiration from the literary realm, it cannot be overlooked that cultural associations and media representations have long fostered the allure of 'S'mores.' The psychological framework proposed by Jones (2019) provides a tantalizing lens through which to envision how environmental cues might subliminally stoke the flames of 'S'more' yearning. These elements, quaint as they may seem, intertwine to form the backdrop against which our findings shimmer like glistening marshmallows under the campfire's glow.

On a statistical note, our results offered a befittingly robust correlation, akin to the firm grip of a marshmallow being sandwiched between graham crackers and chocolate. The high Pearson correlation coefficient and the significant p-value paint a vivid picture of the entwined fate of air pollution and 'S'mores' searches – a tale as compelling as any literary saga.

The scatterplot presented in Figure 1 captures the enchanting embrace between air pollution levels and 'S'mores' search interest – an embrace that defies convention and invites the academic community to indulge in the delight of unexpected scientific discoveries. Just as the crackling of a campfire sets the stage for tales of adventure and camaraderie, our study crackles with the promise of uncovering the unexpected facets of the human experience, even within the digital landscape.

In conclusion, our research, infused with a hint of whimsy, scintillates with the promise of unraveling the uncharted territories of the human-ambient interaction, much like the glistening allure of a perfectly toasted marshmallow. As we ponder the implications of our findings, it becomes clear that the intersection of air pollution and 'S'mores' search interest is not just a frivolous dalliance but an earnest foray into the unforeseen interplay of environmental conditions and the digital whims of modern life.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 'Smores'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation

[[ABSTRACT]]
This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.

The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.

This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

[[INTRDUCTION]]
The interplay between environmental factors and human behavior has long been a subject of fascination and inquiry. While traditional research has focused on the direct effects of air pollution on health outcomes and environmental degradation, our study takes a different, more whimsical turn. We set out to explore a unique correlation between air pollution in Bozeman, Montana, and the Google searches for that most delectable and quintessentially American treat, 'S'mores'. Yes, you read that correctly – we are venturing into the uncharted territory where the sweet scent of marshmallows collides with the not-so-fragrant odor of industrial emissions.
At first glance, the idea of linking air pollution to digital quests for s'more s'mores seems as improbable as a snow cone in a blizzard. However, as we ventured deeper into the data, patterns emerged that were more compelling than a campfire under the starry night sky. Our approach combined environmental science with a sprinkle of digital anthropology, aiming to illuminate the unexpected ways in which environmental conditions may influence online search behavior.
By undertaking this unconventional investigation, we hope not only to deepen our understanding of the multifaceted impacts of air pollution but also to inject a bit of levity into the sometimes-serious realm of academic research. So, buckle up and prepare to embark on a journey that will blend the scientific rigor of environmental analysis with the indulgent delight of everyone’s favorite fireside sweet. Let’s dive into the fantastical realm where the sooty clouds of pollution mingle with the insatiable yearning for a gooey, chocolatey, and perfectly roasted treat.

[[RESULTS]]
The statistical analysis revealed a strong positive correlation between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. The Pearson correlation coefficient (r) of 0.6920319 indicated a robust relationship between these seemingly disparate variables. Additionally, the coefficient of determination (r-squared) of 0.4789081 suggested that approximately 47.89% of the variation in 'S'mores' searches could be explained by the variation in air pollution levels.
The p-value of less than 0.01 further underscored the significance of the relationship, providing compelling evidence that this association was not merely a marshmallow fluff of the imagination. Rather, it served as a beacon illuminating the unexpected intersection of environmental factors and digital cravings.
Figure 1 showcases the scatterplot depicting the clear positive trend between air pollution levels and 'S'mores' search interest. Like two star-crossed lovers, these variables exhibited a captivating embrace that defied conventional expectations and offered a fresh perspective on the interplay between environmental conditions and online behavior.
The findings from this analysis highlight the potential for unconventional and lighthearted avenues of inquiry to yield valuable insights into the nuanced connections that permeate our modern, interconnected world. The detection of a significant correlation between air pollution and the yearning for gooey, chocolatey goodness not only adds a dash of whimsy to the scientific discourse but also paves the way for future explorations into the unanticipated consequences of environmental factors on everyday human experiences.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has toasted the idea that air pollution in Bozeman, Montana is correlated with the online pursuit of 'S'mores'. The statistically significant positive relationship, with a robust correlation coefficient and p-value akin to hitting the jackpot on a slot machine, highlights the unexpected interplay between environmental quality and digital yearnings for the iconic campfire treat. This study adds a delightful twist to the discourse on environmental impact, revealing that as the air quality dips, the internet's appetite for marshmallow marvels rises – a sweet revelation indeed.

As we wrap up our findings, it becomes clear that this correlation is not just a mere fluke. It's as real as the crackling of a campfire and as satisfying as that first gooey bite of a perfectly browned marshmallow. The implications of our research extend beyond the realm of academic whimsy, delving into uncharted territories of environmental psychology and virtual gastronomy.

Our study's results not only challenge conventional wisdom but also make a compelling case for the need to consider the unexpected effects of air pollution on the culinary cravings of the digital age – a blend of environmental science and culinary arts, if you will. So, as we bid adieu to this tantalizing investigation, we assert with a solemn smile that no further research is needed in this area. It's time to let this marshmallow roast over the campfire of scientific curiosity, as we turn our gaze to other equally unexpected confections of the academic world.


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 S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Gastronomical Ecology


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 S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Campfire Conservation and Culinary Science


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 S'mores Search and Air Pollution in Bozeman: A Beacon on the Correlation with an abstract of This paper uncovers the unexpected and toasty relationship between air pollution in Bozeman, Montana, and the search interest in 'S'mores' on Google. Through a rigorous analysis of data collected from the Environmental Protection Agency and Google Trends, a striking correlation emerged, boasting a coefficient of 0.6920319 and a significance level of p < 0.01 from 2008 to 2021.
The findings shed light on the whimsical and, dare I say, sweet connection between environmental factors and the cravings of internet users. While the link may seem fluffier than a marshmallow, our research presents compelling evidence to suggest that as air quality worsens in Bozeman, the search for 'S'mores' heats up online. Our study, panned off as a mere flight of fancy, has roasted critics with evidence that ties air pollution to dessert-seeking behavior.
This research aims to encourage further investigation into the unanticipated impacts of environmental conditions on seemingly unrelated aspects of modern life, such as late-night snack cravings. So, grab your graham crackers and get ready to delve into the unexpected intersection of smog and s'mores.

ChatGPT:

Bozeman air pollution, Google Trends, environmental factors, air quality, search behavior, internet search trends, dessert-seeking behavior, late-night snack cravings, correlation analysis, unexpected impacts, Environmental Protection Agency data, sweet connection

*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 'Smores'
Detailed data title: Relative volume of Google searches for 'Smores' (Worldwide, without quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for 'Smores'

Correlation r = 0.6920319 (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.4789081 (Coefficient of determination)
This means 47.9% of the change in the one variable (i.e., Google searches for 'Smores') is predictable based on the change in the other (i.e., Air pollution in Bozeman, Montana) over the 14 years from 2008 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.0061. 0.0060996818963016880000000000
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.69 in 0.61% of random cases. Said differently, if you correlated 164 random variables Which I absolutely did.
with the same 13 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 13 because we have two variables measured over a period of 14 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.26, 0.89 ] 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.
20082009201020112012201320142015201620172018201920202021
Air pollution in Bozeman, Montana (Bad air quality days)00000000.002739730.0109290.002739730.0027397300.005464480.00273973
Google searches for 'Smores' (Rel. search volume)27.583332.083332.833340.416750.2547.25445562.083356.583351.416753.083367.416752.25




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([0,0,0,0,0,0,0,0.00273973,0.010929,0.00273973,0.00273973,0,0.00546448,0.00273973,])
array_2 = np.array([27.5833,32.0833,32.8333,40.4167,50.25,47.25,44,55,62.0833,56.5833,51.4167,53.0833,67.4167,52.25,])
array_1_name = "Air pollution in Bozeman, Montana"
array_2_name = "Google searches for 'Smores'"

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

Kudos for rating!


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

CC BY 4.0