about · email me · subscribe
Spurious correlation #3,561 · 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 Fargo and the second variable is Google searches for 'Suez Canal'.  The chart goes from 2005 to 2023, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The smoggy air created a domino effect, leading to a global shortage of pristine, pollution-free canal jokes. As the dirty air circulated, people had to look for alternative, unpolluted sources of entertainment, and the Suez Canal happened to float to the top of their search lists. At least someone was able to capitalize on all that foul air!

Model: dalle-3
Prompt: Image Generation Prompt: Generate a visually striking scene of Fargo's skyline with a high-tech twist - the cityscape obscured by a thick haze of air pollution. Above, a stylized flock of Canadian geese is in migration, their flight path altering the Earth's magnetic field. Simultaneously, depict individuals on nearby computer screens urgently typing "Suez Canal" into a search engine. 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 Fargo and Google searches for 'Suez Canal'. 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: Cyberpunk Whimsical illustration High-tech Art nouveau Concept art
ChatGPT: High-tech

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 Fargo and Google searches for 'Suez Canal', in the following situation: Because increased air pollution in Fargo led to a mass migration of Canadian geese, causing a disturbance in the Earth's magnetic field, leading people to search for the Suez Canal as a navigational beacon.. Keep the description simple.
ChatGPT: In Fargo, the city's skyline is shrouded in a thick haze of air pollution, while a flock of Canadian geese fly overhead in migration. Meanwhile, on nearby computer screens, people are frantically typing "Suez Canal" into Google search, looking for navigational aid due to the disturbance caused by the geese's migration altering the Earth's magnetic field.

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: [ High-tech ] and depicting this scene: In Fargo, the city's skyline is shrouded in a thick haze of air pollution, while a flock of Canadian geese fly overhead in migration. Meanwhile, on nearby computer screens, people are frantically typing "Suez Canal" into Google search, looking for navigational aid due to the disturbance caused by the geese's migration altering the Earth's magnetic field. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Image Generation Prompt: Generate a visually striking scene of Fargo's skyline with a high-tech twist - the cityscape obscured by a thick haze of air pollution. Above, a stylized flock of Canadian geese is in migration, their flight path altering the Earth's magnetic field. Simultaneously, depict individuals on nearby computer screens urgently typing "Suez Canal" into a search engine.

*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 Fargo caused Suez Canal (Google searches for 'Suez Canal') to increase.

AI academic paper

(Because p < 0.01)
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

Journal of Ecological Quirks

Jan 2024

Reminder: This paper is AI-generated. Not real!
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

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.8655286 and p < 0.01 for 2005 to 2023.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Amidst the serene plains and friendly folks of Fargo, North Dakota, a quirky connection has emerged between the air pollution levels and the rather peculiar Google searches for the 'Suez Canal'. While one might expect a correlation between air pollution and health-related concerns or environmental activism, it's quite the surprise to stumble upon a correlation with a seemingly unrelated internet search. Nonetheless, as the adage goes, "correlation does not imply causation," we are compelled to explore the whimsical relationship between these two seemingly disparate phenomena.

As researchers, we often find ourselves navigating through the labyrinth of data, searching for meaningful patterns and connections. We embrace the unexpected, the eyebrow-raising, and the head-scratching moments that make the scientific journey all the more enjoyable. And, my oh my, did we stumble upon a delightful surprise in the annals of our analysis.

Before delving into the meat of our findings, it's important to illuminate the context of our investigation. On one hand, we have the air pollution levels in Fargo, a city renowned for its charming hospitality and downright freezing winters. On the other hand, we have the enigmatic quest for knowledge about the Suez Canal, a waterway nestled in the sands of Egypt, a world away from the prairie landscape of Fargo. It's as if we've unearthed a newfound kinship between two seemingly unrelated entities, akin to discovering that peanut butter and pickles make a surprisingly delectable sandwich combination.

In the following sections, we will dissect our research methodology, meticulously present our findings, and sprinkle some statistical seasoning to add flavor to our curious discoveries. Along the way, expect a dash of humor, a pinch of puns, and perhaps an unexpected twist or two, because who said academic research had to be as dry as unbuttered toast?

So, dear readers, buckle up for a quirky ride through the realms of air pollution, online inquiry, and the wondrous world of statistical analysis. Let us embark on a journey filled with surprises, statistical shenanigans, and the unanticipated twists that make academic research a delightfully peculiar pursuit.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then you might move on to cartoons and children's shows that you watched for research.

Here is the title and abstract of the paper:
[[TITLE]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Amidst the serene plains and friendly folks of Fargo, North Dakota, a quirky connection has emerged between the air pollution levels and the rather peculiar Google searches for the 'Suez Canal'. While one might expect a correlation between air pollution and health-related concerns or environmental activism, it's quite the surprise to stumble upon a correlation with a seemingly unrelated internet search. Nonetheless, as the adage goes, "correlation does not imply causation," we are compelled to explore the whimsical relationship between these two seemingly disparate phenomena.
As researchers, we often find ourselves navigating through the labyrinth of data, searching for meaningful patterns and connections. We embrace the unexpected, the eyebrow-raising, and the head-scratching moments that make the scientific journey all the more enjoyable. And, my oh my, did we stumble upon a delightful surprise in the annals of our analysis.
Before delving into the meat of our findings, it's important to illuminate the context of our investigation. On one hand, we have the air pollution levels in Fargo, a city renowned for its charming hospitality and downright freezing winters. On the other hand, we have the enigmatic quest for knowledge about the Suez Canal, a waterway nestled in the sands of Egypt, a world away from the prairie landscape of Fargo. It's as if we've unearthed a newfound kinship between two seemingly unrelated entities, akin to discovering that peanut butter and pickles make a surprisingly delectable sandwich combination.
In the following sections, we will dissect our research methodology, meticulously present our findings, and sprinkle some statistical seasoning to add flavor to our curious discoveries. Along the way, expect a dash of humor, a pinch of puns, and perhaps an unexpected twist or two, because who said academic research had to be as dry as unbuttered toast?
So, dear readers, buckle up for a quirky ride through the realms of air pollution, online inquiry, and the wondrous world of statistical analysis. Let us embark on a journey filled with surprises, statistical shenanigans, and the unanticipated twists that make academic research a delightfully peculiar pursuit.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The authors find that a substantial body of research has been dedicated to investigating the effects of air pollution on human health and the environment. Smith et al. (2018) discuss the detrimental impact of particulate matter and volatile organic compounds emitted from various sources, including industrial facilities and vehicular traffic, on respiratory health and overall air quality. Similarly, Doe and Jones (2020) highlight the correlation between high levels of air pollution and increased rates of respiratory illnesses in urban areas. While these studies shed light on the serious implications of air pollution, our research takes an unconventional turn by exploring its connection with the online phenomenon of Google searches for 'Suez Canal'.

Turning our attention to the world of online search behavior and its peculiar patterns, it is essential to acknowledge the work of Johnson and Lee (2017), who delve into the intriguing realm of internet search queries and their relation to societal trends. Their study provides insights into the diverse range of topics and trends that captivate the curiosity of internet users, with an emphasis on the dynamic nature of online search behavior. As we venture into the unexpected correlation between air pollution in Fargo and Google searches for 'Suez Canal', we draw upon the foundational understanding of digital inquiries to uncover the unique bond that ties these disparate elements together.

In a departure from the traditional scholarly sources, we also draw inspiration from non-fiction literature that touches upon the themes of environmental quirks and unexpected connections. "The Hidden Life of Trees" by Peter Wohlleben, although focused on the intricacies of forest ecosystems, invites readers to contemplate the interconnectedness of natural phenomena. Similarly, "The Tipping Point" by Malcolm Gladwell offers a compelling exploration of how small, seemingly unrelated events can culminate in significant societal shifts, echoing the essence of our research endeavor.

Venturing into the realm of fiction, we encounter literary works that evoke the spirit of quirkiness and unexpected correlations, albeit in a more imaginative context. Jorge Luis Borges' "Labyrinths" weaves a tapestry of enigmatic narratives and labyrinthine connections, serving as a metaphorical reflection of our quest to unravel the intricacies of the Fargo air pollution – Suez Canal search correlation. On a lighter note, Douglas Adams' "The Hitchhiker's Guide to the Galaxy" introduces readers to a whimsical universe where absurdity and serendipity reign supreme, offering a playful parallel to the unexpected twists and turns of our research findings.

In the spirit of embracing unorthodox sources of inspiration, the researchers also dabbled in the world of cartoons and children's shows to glean insights from the unbounded creativity and whimsy of animated storytelling. From the zany antics of Looney Tunes to the thought-provoking adventures in "Phineas and Ferb", our foray into animated narratives served as a lighthearted source of creative stimulation, infusing a dose of humor and playfulness into the pursuit of scholarly inquiry.

In the next section, we will unveil the methodology employed to unravel the peculiar correlation between Fargo's air pollution and the search frenzy for the Suez Canal, blending statistical rigor with a dash of quirkiness to illuminate the nuances of this curious connection.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

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

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

[[INTRODUCTION]]
Amidst the serene plains and friendly folks of Fargo, North Dakota, a quirky connection has emerged between the air pollution levels and the rather peculiar Google searches for the 'Suez Canal'. While one might expect a correlation between air pollution and health-related concerns or environmental activism, it's quite the surprise to stumble upon a correlation with a seemingly unrelated internet search. Nonetheless, as the adage goes, "correlation does not imply causation," we are compelled to explore the whimsical relationship between these two seemingly disparate phenomena.
As researchers, we often find ourselves navigating through the labyrinth of data, searching for meaningful patterns and connections. We embrace the unexpected, the eyebrow-raising, and the head-scratching moments that make the scientific journey all the more enjoyable. And, my oh my, did we stumble upon a delightful surprise in the annals of our analysis.
Before delving into the meat of our findings, it's important to illuminate the context of our investigation. On one hand, we have the air pollution levels in Fargo, a city renowned for its charming hospitality and downright freezing winters. On the other hand, we have the enigmatic quest for knowledge about the Suez Canal, a waterway nestled in the sands of Egypt, a world away from the prairie landscape of Fargo. It's as if we've unearthed a newfound kinship between two seemingly unrelated entities, akin to discovering that peanut butter and pickles make a surprisingly delectable sandwich combination.
In the following sections, we will dissect our research methodology, meticulously present our findings, and sprinkle some statistical seasoning to add flavor to our curious discoveries. Along the way, expect a dash of humor, a pinch of puns, and perhaps an unexpected twist or two, because who said academic research had to be as dry as unbuttered toast?
So, dear readers, buckle up for a quirky ride through the realms of air pollution, online inquiry, and the wondrous world of statistical analysis. Let us embark on a journey filled with surprises, statistical shenanigans, and the unanticipated twists that make academic research a delightfully peculiar pursuit.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unearth the peculiar connection between air pollution in Fargo and Google searches for the 'Suez Canal', our research team dove headfirst into the digital ocean of data, armed with an unwavering spirit of curiosity and a penchant for the quirky. We harnessed the power of information from the Environmental Protection Agency (EPA) and Google Trends, utilizing data spanning from 2005 to 2023; a period ripe with the whims and caprices of the internet zeitgeist.

Our journey commenced with the acquisition of air quality data from the EPA, sifting through a veritable smorgasbord of fine particulate matter (PM2.5), ozone, carbon monoxide, sulfur dioxide, and nitrogen dioxide levels in the charming city of Fargo. The meticulous collection of this air pollution data involved a touch of daring acrobatics to navigate the metaphorical haze of statistical complexities, akin to performing statistical gymnastics amidst the fog of environmental nuances.

Meanwhile, the exploration of Google search trends for the 'Suez Canal' meandered through the labyrinthine corridors of online curiosity. We harnessed the power of Google Trends, marveling at the ebb and flow of search volume for this nautical marvel. This involved a not-so-secret concoction of Boolean logic, keyword wizardry, and perhaps a sprinkle of digital divination to unravel the enigma of internet inquiry. It's akin to deciphering the cryptic hieroglyphs of online search behavior, an adventure that often leaves one navigating through digital mirages reminiscent of an online oasis.

With the data in hand, we dared to tread on statistically uncharted territory, seeking the elusive link between air pollution and the quest for Suezian knowledge. We unleashed the formidable power of correlation analysis, venturing into the statistical jungle armed with correlation coefficients, p-values, and confidence intervals. This statistical safari through the tangled underbrush of data allowed us to quantify the strength and significance of the conspicuous connection.

To robustly affirm the statistical significance of our findings, we employed rigorous time series analysis, embracing the temporal dimensions of our data to unravel the mysteries that lay hidden within the sands of time. Our analytical arsenal comprised autoregressive integrated moving average (ARIMA) models, time series decomposition, and the gentle art of smoothing to unveil the subtle patterns and underlying trends.

In the spirit of scientific rigor and academic thoroughness, we subjected our findings to the crucible of sub-analyses, scrutinizing sub-periods within our dataset, performing sensitivity analyses, and validating our results through various statistical lenses. Our determination to illuminate this quirky coupling between air pollution and Suez Canal searches led us down the meandering paths of data transformations, outlier detection, and sensitivity testing, reminiscent of a statistical expedition through the digital wilderness.

With the culmination of our data wrangling odyssey and statistical escapade, we sauntered into the realm of regression analysis. Here, we marveled at the elegant dance between air pollution and Suezian curiosity, employing varying degrees of complexity in our regression models to unravel the intertwined nuances of this curious association.

Our methodology, much like a delightful recipe for a statistical stew, amalgamated the finest ingredients of data collection, statistical analyses, and a dash of academic exuberance to paint a comprehensive portrait of the quirkily linked phenomena at hand. Join us as we savor the piquant flavors of statistical intrigue and the whiff of unexpected revelations that permeate the pathways of academic research.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

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

For the time period 2005 to 2023, you found a correlation 0.8655286, r-squared of 0.7491397, 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]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Amidst the serene plains and friendly folks of Fargo, North Dakota, a quirky connection has emerged between the air pollution levels and the rather peculiar Google searches for the 'Suez Canal'. While one might expect a correlation between air pollution and health-related concerns or environmental activism, it's quite the surprise to stumble upon a correlation with a seemingly unrelated internet search. Nonetheless, as the adage goes, "correlation does not imply causation," we are compelled to explore the whimsical relationship between these two seemingly disparate phenomena.
As researchers, we often find ourselves navigating through the labyrinth of data, searching for meaningful patterns and connections. We embrace the unexpected, the eyebrow-raising, and the head-scratching moments that make the scientific journey all the more enjoyable. And, my oh my, did we stumble upon a delightful surprise in the annals of our analysis.
Before delving into the meat of our findings, it's important to illuminate the context of our investigation. On one hand, we have the air pollution levels in Fargo, a city renowned for its charming hospitality and downright freezing winters. On the other hand, we have the enigmatic quest for knowledge about the Suez Canal, a waterway nestled in the sands of Egypt, a world away from the prairie landscape of Fargo. It's as if we've unearthed a newfound kinship between two seemingly unrelated entities, akin to discovering that peanut butter and pickles make a surprisingly delectable sandwich combination.
In the following sections, we will dissect our research methodology, meticulously present our findings, and sprinkle some statistical seasoning to add flavor to our curious discoveries. Along the way, expect a dash of humor, a pinch of puns, and perhaps an unexpected twist or two, because who said academic research had to be as dry as unbuttered toast?
So, dear readers, buckle up for a quirky ride through the realms of air pollution, online inquiry, and the wondrous world of statistical analysis. Let us embark on a journey filled with surprises, statistical shenanigans, and the unanticipated twists that make academic research a delightfully peculiar pursuit.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our investigation into the perplexing connection between air pollution levels in Fargo and Google searches for the 'Suez Canal' has unearthed some truly captivating findings. The correlation coefficient of 0.8655286 indicates a remarkably strong association between these two seemingly unrelated phenomena. This statistically significant relationship is further supported by an r-squared value of 0.7491397 and a p-value of less than 0.01. It seems the data has made it abundantly clear that there's more to this peculiar pairing than meets the eye.

Fig. 1 displays a scatterplot illustrating the robust correlation between the air pollution levels in Fargo and the frequency of Google searches related to the Suez Canal. The data points align with remarkable coherence, almost as if the air pollution levels are whispering tales of international waterways to the curious denizens of the internet.

It's as if the pollution particles are carrying tiny scrolls of Suez Canal facts, released into the digital realm, nudging people to seek knowledge about a marvel of human engineering. Who knew that particulate matter could serve as little messengers of historical inquiries?

In the grand tapestry of statistical analysis, this unexpected correlation adds a splash of color, a twist of whimsy, and a sprinkle of enigma. It reminds us that life – and data – often dance to an unforeseen melody, creating unexpected connections that test the limits of human curiosity and statistical pondering.

There you have it, dear readers, a statistical saga of pollution, inquiries, and the intertwining threads of the digital age. As we've traversed the plains of Fargo and delved into the depths of internet searches, we've discovered a rather quirky connection that adds a charming quirk to the scientific landscape.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

[[LITERATURE REVIEW]]
The authors find that a substantial body of research has been dedicated to investigating the effects of air pollution on human health and the environment. Smith et al. (2018) discuss the detrimental impact of particulate matter and volatile organic compounds emitted from various sources, including industrial facilities and vehicular traffic, on respiratory health and overall air quality. Similarly, Doe and Jones (2020) highlight the correlation between high levels of air pollution and increased rates of respiratory illnesses in urban areas. While these studies shed light on the serious implications of air pollution, our research takes an unconventional turn by exploring its connection with the online phenomenon of Google searches for 'Suez Canal'.
Turning our attention to the world of online search behavior and its peculiar patterns, it is essential to acknowledge the work of Johnson and Lee (2017), who delve into the intriguing realm of internet search queries and their relation to societal trends. Their study provides insights into the diverse range of topics and trends that captivate the curiosity of internet users, with an emphasis on the dynamic nature of online search behavior. As we venture into the unexpected correlation between air pollution in Fargo and Google searches for 'Suez Canal', we draw upon the foundational understanding of digital inquiries to uncover the unique bond that ties these disparate elements together.
In a departure from the traditional scholarly sources, we also draw inspiration from non-fiction literature that touches upon the themes of environmental quirks and unexpected connections. "The Hidden Life of Trees" by Peter Wohlleben, although focused on the intricacies of forest ecosystems, invites readers to contemplate the interconnectedness of natural phenomena. Similarly, "The Tipping Point" by Malcolm Gladwell offers a compelling exploration of how small, seemingly unrelated events can culminate in significant societal shifts, echoing the essence of our research endeavor.
Venturing into the realm of fiction, we encounter literary works that evoke the spirit of quirkiness and unexpected correlations, albeit in a more imaginative context. Jorge Luis Borges' "Labyrinths" weaves a tapestry of enigmatic narratives and labyrinthine connections, serving as a metaphorical reflection of our quest to unravel the intricacies of the Fargo air pollution – Suez Canal search correlation. On a lighter note, Douglas Adams' "The Hitchhiker's Guide to the Galaxy" introduces readers to a whimsical universe where absurdity and serendipity reign supreme, offering a playful parallel to the unexpected twists and turns of our research findings.
In the spirit of embracing unorthodox sources of inspiration, the researchers also dabbled in the world of cartoons and children's shows to glean insights from the unbounded creativity and whimsy of animated storytelling. From the zany antics of Looney Tunes to the thought-provoking adventures in "Phineas and Ferb", our foray into animated narratives served as a lighthearted source of creative stimulation, infusing a dose of humor and playfulness into the pursuit of scholarly inquiry.
In the next section, we will unveil the methodology employed to unravel the peculiar correlation between Fargo's air pollution and the search frenzy for the Suez Canal, blending statistical rigor with a dash of quirkiness to illuminate the nuances of this curious connection.

[[RESULTS]]
Our investigation into the perplexing connection between air pollution levels in Fargo and Google searches for the 'Suez Canal' has unearthed some truly captivating findings. The correlation coefficient of 0.8655286 indicates a remarkably strong association between these two seemingly unrelated phenomena. This statistically significant relationship is further supported by an r-squared value of 0.7491397 and a p-value of less than 0.01. It seems the data has made it abundantly clear that there's more to this peculiar pairing than meets the eye.
Fig. 1 displays a scatterplot illustrating the robust correlation between the air pollution levels in Fargo and the frequency of Google searches related to the Suez Canal. The data points align with remarkable coherence, almost as if the air pollution levels are whispering tales of international waterways to the curious denizens of the internet.
It's as if the pollution particles are carrying tiny scrolls of Suez Canal facts, released into the digital realm, nudging people to seek knowledge about a marvel of human engineering. Who knew that particulate matter could serve as little messengers of historical inquiries?
In the grand tapestry of statistical analysis, this unexpected correlation adds a splash of color, a twist of whimsy, and a sprinkle of enigma. It reminds us that life – and data – often dance to an unforeseen melody, creating unexpected connections that test the limits of human curiosity and statistical pondering.
There you have it, dear readers, a statistical saga of pollution, inquiries, and the intertwining threads of the digital age. As we've traversed the plains of Fargo and delved into the depths of internet searches, we've discovered a rather quirky connection that adds a charming quirk to the scientific landscape.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings have splendidly illuminated the unexpected and quirky connection between air pollution in Fargo and the quest for knowledge about the Suez Canal on the digital stage. It seems our statistical analysis has unmasked a delightful narrative that transcends the conventional realms of environmental and online inquiries.

As we reflect on the prior research, it is clear that our study aligns with the explorations of Smith et al. (2018) and Doe and Jones (2020), who diligently probed the adverse effects of air pollution on human health and the environment. While they delved into the serious repercussions of polluted air, our investigation takes an offbeat turn, uncovering a connection that adds a touch of whimsy to the discourse on air quality. The relationship we have unveiled resonates with the essence of unforeseen correlations highlighted in non-fiction and fictional works such as "The Hidden Life of Trees" and Borges' "Labyrinths", underscoring the enchanting nature of human curiosity and the interconnectedness of seemingly disparate phenomena.

In a similar vein, our study harmonizes with the spirit of Johnson and Lee's (2017) examination of internet search queries and societal trends, shedding light on the dynamic nature of digital inquiries and the captivation of online users by unconventional topics. Our statistical analysis has lent credence to the peculiar intertwining of air pollution and historical curiosity, offering a whimsical echo of the non-traditional sources of inspiration that underpin our research endeavor.

The statistical coherence of our findings not only underscores the robust correlation between air pollution in Fargo and Google searches for the Suez Canal but also infuses a dash of playfulness into the scholarly discourse on environmental and online phenomena. The scatterplot, akin to a digital canvas of statistical artistry, visually narrates the captivating harmony between these seemingly incongruent elements and invites contemplation on the mysterious ways in which statistical patterns can mirror the whimsical undercurrents of human behavior.

The quirks of our findings serve as a poignant reminder of the unbounded creativity and serendipitous nature of scientific inquiry. Just as the unexpected twists and turns of Douglas Adams' "The Hitchhiker's Guide to the Galaxy" invite readers to embrace the whimsy of the unknown, our research beckons scholars to revel in the unanticipated connections that lie beneath the surface of seemingly disparate phenomena.

In the absence of a conclusion, we leave our readers with a sense of wonder and lighthearted curiosity, inviting them to contemplate the myriad avenues of unexpected correlations that await exploration in the interconnected tapestry of environmental and digital inquiries.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Air pollution in Fargo and Google searches for 'Suez Canal'. Make lots of jokes, goofy observations, and puns.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries

[[ABSTRACT]]
This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

[[INTRDUCTION]]
Amidst the serene plains and friendly folks of Fargo, North Dakota, a quirky connection has emerged between the air pollution levels and the rather peculiar Google searches for the 'Suez Canal'. While one might expect a correlation between air pollution and health-related concerns or environmental activism, it's quite the surprise to stumble upon a correlation with a seemingly unrelated internet search. Nonetheless, as the adage goes, "correlation does not imply causation," we are compelled to explore the whimsical relationship between these two seemingly disparate phenomena.
As researchers, we often find ourselves navigating through the labyrinth of data, searching for meaningful patterns and connections. We embrace the unexpected, the eyebrow-raising, and the head-scratching moments that make the scientific journey all the more enjoyable. And, my oh my, did we stumble upon a delightful surprise in the annals of our analysis.
Before delving into the meat of our findings, it's important to illuminate the context of our investigation. On one hand, we have the air pollution levels in Fargo, a city renowned for its charming hospitality and downright freezing winters. On the other hand, we have the enigmatic quest for knowledge about the Suez Canal, a waterway nestled in the sands of Egypt, a world away from the prairie landscape of Fargo. It's as if we've unearthed a newfound kinship between two seemingly unrelated entities, akin to discovering that peanut butter and pickles make a surprisingly delectable sandwich combination.
In the following sections, we will dissect our research methodology, meticulously present our findings, and sprinkle some statistical seasoning to add flavor to our curious discoveries. Along the way, expect a dash of humor, a pinch of puns, and perhaps an unexpected twist or two, because who said academic research had to be as dry as unbuttered toast?
So, dear readers, buckle up for a quirky ride through the realms of air pollution, online inquiry, and the wondrous world of statistical analysis. Let us embark on a journey filled with surprises, statistical shenanigans, and the unanticipated twists that make academic research a delightfully peculiar pursuit.

[[RESULTS]]
Our investigation into the perplexing connection between air pollution levels in Fargo and Google searches for the 'Suez Canal' has unearthed some truly captivating findings. The correlation coefficient of 0.8655286 indicates a remarkably strong association between these two seemingly unrelated phenomena. This statistically significant relationship is further supported by an r-squared value of 0.7491397 and a p-value of less than 0.01. It seems the data has made it abundantly clear that there's more to this peculiar pairing than meets the eye.
Fig. 1 displays a scatterplot illustrating the robust correlation between the air pollution levels in Fargo and the frequency of Google searches related to the Suez Canal. The data points align with remarkable coherence, almost as if the air pollution levels are whispering tales of international waterways to the curious denizens of the internet.
It's as if the pollution particles are carrying tiny scrolls of Suez Canal facts, released into the digital realm, nudging people to seek knowledge about a marvel of human engineering. Who knew that particulate matter could serve as little messengers of historical inquiries?
In the grand tapestry of statistical analysis, this unexpected correlation adds a splash of color, a twist of whimsy, and a sprinkle of enigma. It reminds us that life – and data – often dance to an unforeseen melody, creating unexpected connections that test the limits of human curiosity and statistical pondering.
There you have it, dear readers, a statistical saga of pollution, inquiries, and the intertwining threads of the digital age. As we've traversed the plains of Fargo and delved into the depths of internet searches, we've discovered a rather quirky connection that adds a charming quirk to the scientific landscape.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has not only revealed a surprisingly strong correlation between air pollution levels in Fargo and Google searches for the 'Suez Canal' but has also added a whimsical twist to the often mundane world of statistical analysis. The robust association, as depicted by the correlation coefficient and supported by the statistical significance, defies conventional expectations and tickles the imagination with its quirkiness.

The scatterplot, akin to a humorous anecdote in a serious discussion, visually encapsulates the intriguing relationship between these seemingly disparate entities. It's almost as if the pollution particles are playing the roles of mischievous storytellers, whispering tales of a distant waterway to the denizens of the internet.

As we reflect on this peculiar pairing, one cannot help but marvel at the serendipitous nature of statistical exploration. Who would have thought that the windswept plains of Fargo and the ancient allure of the Suez Canal could find common ground in the realm of data analysis? It's as unexpected as finding a kangaroo in a snowstorm – a delightful surprise that challenges the boundaries of conventional wisdom and statistical predictability.

Despite the temptation to dive deeper into this delightful quirk of statistical serendipity, we assert that no further research is needed in this area. Instead, let this study stand as a testament to the delightful surprises and unexpected connections that ensue when we embrace the whimsy of statistical inquiry. After all, sometimes the most eye-opening discoveries come from unlikely pairings, much like stumbling upon a unicorn in a traffic jam.

In the grand narrative of academic pursuit, let us embrace the anomalies, relish the statistical quirks, and celebrate the joy of uncovering unexpected correlations that add a touch of whimsy to the scientific landscape. And with that, we bid adieu to the tale of Fargo's air, Google's searches, and the delightful dance of statistical eccentricity.


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 Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Ecological Quirks


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 Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries. Respond only with the name of a fictional organization.

ChatGPT:

The International Association for Quirky Environmental 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 Fargo's Air Pollutes, Searches Shoots: A Quirky Connection Between Pollution and Peculiar Google Queries with an abstract of This research paper delves into the unexpected correlation between air pollution levels in Fargo and the frequency of Google searches for 'Suez Canal'. Utilizing data from the Environmental Protection Agency and Google Trends, our study uncovers a surprisingly strong association between these seemingly unrelated phenomena. Our analysis reveals a correlation coefficient of 0.8655286 and a statistical significance with p < 0.01 for the years 2005 to 2023. The findings not only highlight the quirkiness of human behavior in the digital age but also emphasize the need to explore unconventional connections in environmental and societal studies.

ChatGPT:

Fargo air pollution, Google search queries, correlation study, environmental impact, unusual correlations, pollution levels, Google Trends analysis, unconventional connections, societal behavior, environmental studies

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

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

See what else correlates with Google searches for 'Suez Canal'

Correlation r = 0.8655286 (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.7491397 (Coefficient of determination)
This means 74.9% of the change in the one variable (i.e., Google searches for 'Suez Canal') is predictable based on the change in the other (i.e., Air pollution in Fargo) over the 19 years from 2005 through 2023.

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

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

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

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

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2005200620072008200920102011201220132014201520162017201820192020202120222023
Air pollution in Fargo (Bad air quality days)0.0027624300.005494510.0027322400000000000.0027548200.024793400.0097561
Google searches for 'Suez Canal' (Rel. search volume)2.416672.583331.916671.916671.833331.752.51.666671.752.583334.16667222.0833322.08333122.166672.11111




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.00276243,0,0.00549451,0.00273224,0,0,0,0,0,0,0,0,0,0,0.00275482,0,0.0247934,0,0.0097561,])
array_2 = np.array([2.41667,2.58333,1.91667,1.91667,1.83333,1.75,2.5,1.66667,1.75,2.58333,4.16667,2,2,2.08333,2,2.08333,12,2.16667,2.11111,])
array_1_name = "Air pollution in Fargo"
array_2_name = "Google searches for 'Suez Canal'"

# Perform the calculation
print(f"Calculating the correlation between {array_1_name} and {array_2_name}...")
correlation, r_squared, p_value = calculate_correlation(array_1, array_2)

# Print the results
print("Correlation Coefficient:", correlation)
print("R-squared:", r_squared)
print("P-value:", p_value)



Reuseable content

You may re-use the images on this page for any purpose, even commercial purposes, without asking for permission. The only requirement is that you attribute Tyler Vigen. Attribution can take many different forms. If you leave the "tylervigen.com" link in the image, that satisfies it just fine. If you remove it and move it to a footnote, that's fine too. You can also just write "Charts courtesy of Tyler Vigen" at the bottom of an article.

You do not need to attribute "the spurious correlations website," and you don't even need to link here if you don't want to. I don't gain anything from pageviews. There are no ads on this site, there is nothing for sale, and I am not for hire.

For the record, I am just one person. Tyler Vigen, he/him/his. I do have degrees, but they should not go after my name unless you want to annoy my wife. If that is your goal, then go ahead and cite me as "Tyler Vigen, A.A. A.A.S. B.A. J.D." Otherwise it is just "Tyler Vigen."

When spoken, my last name is pronounced "vegan," like I don't eat meat.

Full license details.
For more on re-use permissions, or to get a signed release form, see tylervigen.com/permission.

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating is much appreciated!


Correlation ID: 3561 · Black Variable ID: 21814 · Red Variable ID: 1473
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0