about · email me · subscribe
Spurious correlation #4,680 · 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 Shreveport, Louisiana and the second variable is Google searches for 'Gangnam Style'.  The chart goes from 2012 to 2023, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the air got cleaner in Shreveport, people had less need to 'oppan air pollution style' and were able to 'breathe easy' instead of busting out the Gangnam moves. The correlation seems to suggest that as the smog cleared, so did the craze for this K-pop hit. It's like the atmosphere said, "Hey, sexy pollutant, get out!"

Model: dalle-3
Prompt: Generate a comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s, depicting a scene in Shreveport, Louisiana. The smog has cleared, and people are strolling through the city streets with ease, taking in deep breaths of fresh air. The city's atmosphere echoes the hit song's lyrics, saying "Hey, sexy pollutant, get out!" The illustration should showcase locals trading in their dance moves for leisurely walks and enjoying the newfound clean air. The emphasis should be on depicting the city streets, people leisurely walking, and a noticeable decline in the Google searches for 'Gangnam Style.' 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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. 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 funny image you would see on reddit A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s a funny image macro A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s inspired by bauhaus
ChatGPT: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s

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 Shreveport, Louisiana and Google searches for 'Gangnam Style', in the following situation: As the air got cleaner in Shreveport, people had less need to 'oppan air pollution style' and were able to 'breathe easy' instead of busting out the Gangnam moves. The correlation seems to suggest that as the smog cleared, so did the craze for this K-pop hit. It's like the atmosphere said, "Hey, sexy pollutant, get out!". Keep the description simple.
ChatGPT: In Shreveport, Louisiana, as the smog cleared, people strolled through the city streets with ease, taking in deep breaths of fresh air. The Google searches for 'Gangnam Style' saw a noticeable decline, as locals traded in their dance moves for leisurely walks, enjoying the newfound clean air. The city's atmosphere seemed to echo the hit song's lyrics, saying "Hey, sexy pollutant, get out!"

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 comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s ] and depicting this scene: In Shreveport, Louisiana, as the smog cleared, people strolled through the city streets with ease, taking in deep breaths of fresh air. The Google searches for 'Gangnam Style' saw a noticeable decline, as locals traded in their dance moves for leisurely walks, enjoying the newfound clean air. The city's atmosphere seemed to echo the hit song's lyrics, saying "Hey, sexy pollutant, get out!" Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate a comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s, depicting a scene in Shreveport, Louisiana. The smog has cleared, and people are strolling through the city streets with ease, taking in deep breaths of fresh air. The city's atmosphere echoes the hit song's lyrics, saying "Hey, sexy pollutant, get out!" The illustration should showcase locals trading in their dance moves for leisurely walks and enjoying the newfound clean air. The emphasis should be on depicting the city streets, people leisurely walking, and a noticeable decline in the Google searches for 'Gangnam Style.'

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in Air pollution in Shreveport, Louisiana caused Gangnam Style (Google searches for 'Gangnam Style') to decrease. Include one good pun.

AI academic paper

(Because p < 0.01)
Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'

The Journal of Environmental Epidemiology and Pop Culture Trends

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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title seem clever.

Your research team used data from Environmental Protection Agency and Google Trends to assess this nagging question. You found a correlation coefficient of 0.9056774 and p < 0.01 for 2012 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]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"


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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

The nexus of environmental factors and cultural trends has long piqued the interest of researchers and casual observers alike. In this paper, we unravel the enthralling relationship between air pollution levels in Shreveport, Louisiana, and the Google searches for the iconic sensation "Gangnam Style." It's a tale as old as time - who would have thought that air pollution and K-pop would join forces in an unexpected statistical dance?

The study spotlights a correlation that is as surprising as finding a trombone in a tulip field – a 0.9056774 correlation coefficient and a p-value of less than 0.01 between air pollution and "Gangnam Style" searches from 2012 to 2023. Our investigation aims to answer the perplexing question - could there be a connection so peculiar, it leaves us exclaiming, "Shreveport, where the air is hazy and the 'Gangnam Style' is crazy"?

As we dig deeper into the data, we are compelled to ponder the whimsical notion that perhaps the citizens of Shreveport turn to the infectious beats and unorthodox dance moves of "Gangnam Style" as a form of lighthearted relief from the challenges posed by their local environmental stress. It's as if, when faced with polluted air, Shreveport locals opt for a different kind of fresh air – in the form of a pop culture phenomenon.

This study endeavors to shed light on the intersection of environmental concerns and the idiosyncratic ways in which people seek solace and entertainment. The findings not only resonate with statistical significance but also evoke a wry smile and a quip, "When the air quality dips, the people of Shreveport have no choice but to dance away the pollution."


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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
The nexus of environmental factors and cultural trends has long piqued the interest of researchers and casual observers alike. In this paper, we unravel the enthralling relationship between air pollution levels in Shreveport, Louisiana, and the Google searches for the iconic sensation "Gangnam Style." It's a tale as old as time - who would have thought that air pollution and K-pop would join forces in an unexpected statistical dance?
The study spotlights a correlation that is as surprising as finding a trombone in a tulip field – a 0.9056774 correlation coefficient and a p-value of less than 0.01 between air pollution and "Gangnam Style" searches from 2012 to 2023. Our investigation aims to answer the perplexing question - could there be a connection so peculiar, it leaves us exclaiming, "Shreveport, where the air is hazy and the 'Gangnam Style' is crazy"?
As we dig deeper into the data, we are compelled to ponder the whimsical notion that perhaps the citizens of Shreveport turn to the infectious beats and unorthodox dance moves of "Gangnam Style" as a form of lighthearted relief from the challenges posed by their local environmental stress. It's as if, when faced with polluted air, Shreveport locals opt for a different kind of fresh air – in the form of a pop culture phenomenon.
This study endeavors to shed light on the intersection of environmental concerns and the idiosyncratic ways in which people seek solace and entertainment. The findings not only resonate with statistical significance but also evoke a wry smile and a quip, "When the air quality dips, the people of Shreveport have no choice but to dance away the pollution."

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Smith and Doe (2015) examined the impact of air pollution on cultural behaviors, focusing primarily on the correlation between particulate matter levels and local music preferences. Their findings, while not directly related to the current research, laid the groundwork for exploring the unexpected relationships between environmental stressors and popular cultural phenomena. It's like they were trying to find the "pollution to pop culture" radio frequency.

Jones et al. (2017) conducted a comprehensive study on the effects of air pollution on public behavior, uncovering intriguing patterns in online search queries during periods of heightened pollution. Surprisingly, their analysis hinted at an uptick in searches for dance-related content during smoggy days. It's as if people are trying to "air out" their grievances through digital boogies.

Turning to non-fiction literature, "The Air We Breathe" by Curious Mind (2018) delves into the intricacies of air quality and its impact on human well-being. While the book does not directly address cultural manifestations, its insights into the far-reaching consequences of polluted air are informative. It's almost like the author was taking a breather from the usual air pollution research.

In a fictional context, "The Smog Strut" by Novel Writer (2016) provides an imaginative narrative set in a dystopian future where dance becomes a symbol of defiance against environmental decay. Though purely speculative, the novel's intriguing premise somewhat resonates with the unexpected correlation observed in the current study. It's almost as if the author was trying to air out their creativity.

On a lighter note, the animated series "Captain Planet and the Planeteers" explores environmental themes in a whimsical, adventurous manner, encouraging audiences to take action against pollution. The show's emphasis on environmental responsibility parallels the underlying message of resilience in the face of adversity, much like the inhabitants of Shreveport grooving to "Gangnam Style" amidst air quality challenges. It's almost as if the writers were trying to air out some environmental justice with a side of dad jokes.

Furthermore, "Sesame Street" often incorporates educational segments on air pollution and environmental conservation into its episodes, fostering early awareness and understanding among young viewers. The show's playful approach to serious topics mirrors the intriguing juxtaposition of air pollution and pop culture observed in the current study. It's almost as if the characters were trying to air their grievances in a kid-friendly way.

In summary, the intersection of air pollution and cultural trends unveils an unexpectedly captivating narrative, blending environmental concerns with lighthearted expressions of popular culture. As the old saying goes, "When the air gets hazy, the 'Gangnam Style' gets crazy – it's an air-ly fitting response!"


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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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 2012 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]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"

[[INTRODUCTION]]
INTRODUCTION
The nexus of environmental factors and cultural trends has long piqued the interest of researchers and casual observers alike. In this paper, we unravel the enthralling relationship between air pollution levels in Shreveport, Louisiana, and the Google searches for the iconic sensation "Gangnam Style." It's a tale as old as time - who would have thought that air pollution and K-pop would join forces in an unexpected statistical dance?
The study spotlights a correlation that is as surprising as finding a trombone in a tulip field – a 0.9056774 correlation coefficient and a p-value of less than 0.01 between air pollution and "Gangnam Style" searches from 2012 to 2023. Our investigation aims to answer the perplexing question - could there be a connection so peculiar, it leaves us exclaiming, "Shreveport, where the air is hazy and the 'Gangnam Style' is crazy"?
As we dig deeper into the data, we are compelled to ponder the whimsical notion that perhaps the citizens of Shreveport turn to the infectious beats and unorthodox dance moves of "Gangnam Style" as a form of lighthearted relief from the challenges posed by their local environmental stress. It's as if, when faced with polluted air, Shreveport locals opt for a different kind of fresh air – in the form of a pop culture phenomenon.
This study endeavors to shed light on the intersection of environmental concerns and the idiosyncratic ways in which people seek solace and entertainment. The findings not only resonate with statistical significance but also evoke a wry smile and a quip, "When the air quality dips, the people of Shreveport have no choice but to dance away the pollution."

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the enigmatic relationship between air pollution and "Gangnam Style" in Shreveport, Louisiana, our research team ventured down the statistical rabbit hole with a methodology as intricate as a Rubik's cube and as deliberate as a tango.

First, we collected air quality data from the Environmental Protection Agency (EPA), employing our keen eye for detail akin to a detective in a crime novel - except our pursuit was for correlations, not culprits. We focused on pollutants such as particulate matter, ozone, carbon monoxide, and nitrogen dioxide, aiming to capture the full symphony of atmospheric mischief lurking over Shreveport. As they say, we didn't want to let any gas go unnoticed – pun intended.

Next, we tapped into the whimsical world of Google Trends data, capturing the search interest in "Gangnam Style" with the precision of a conductor leading a prestigious orchestra. We wanted to quantify the moments when Shreveport residents just couldn't resist the urge to embrace their inner Psy and dance to the catchy tune.

In our pursuit of a robust statistical analysis, we employed a mixed-methods approach that would make even the most seasoned statistician raise an eyebrow. We unleashed the power of time-series analysis, multiple regression models, and a touch of magical realism - because some correlations are just so mystical, they defy conventional reasoning. It's like using a GPS to map the winding road from air pollution to K-pop – except our coordinates were statistical measures.

Furthermore, we conducted sensitivity analyses and cross-validated our findings through bootstrapping techniques, ensuring our conclusions were as solid as a well-rehearsed moonwalk. We went the extra mile to verify that our results weren't just a statistical fluke but a genuine correlation amidst this unexpected dance of variables.

Lastly, we employed inferential statistics to test the significance of our correlation coefficient, standing firm against the gusts of doubt like a sturdy oak tree. We wanted to confirm that our results weren't just a statistical whimsy but a robust insight into the peculiar link between air pollution and pop culture enthusiasm. After all, we couldn't let our findings dance away without an encore of statistical validation.

In summary, our methodology boogied through data collection, statistical analysis, and validation with the grace and precision of a seasoned disc jockey, spinning both environmental data and pop culture trends into a harmonious statistical melody. We left no stone unturned, no dance move unexplored – our methodology was as rigorous as it was rhythmic.


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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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 2012 to 2023, you found a correlation 0.9056774, r-squared of 0.8202516, 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]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
The nexus of environmental factors and cultural trends has long piqued the interest of researchers and casual observers alike. In this paper, we unravel the enthralling relationship between air pollution levels in Shreveport, Louisiana, and the Google searches for the iconic sensation "Gangnam Style." It's a tale as old as time - who would have thought that air pollution and K-pop would join forces in an unexpected statistical dance?
The study spotlights a correlation that is as surprising as finding a trombone in a tulip field – a 0.9056774 correlation coefficient and a p-value of less than 0.01 between air pollution and "Gangnam Style" searches from 2012 to 2023. Our investigation aims to answer the perplexing question - could there be a connection so peculiar, it leaves us exclaiming, "Shreveport, where the air is hazy and the 'Gangnam Style' is crazy"?
As we dig deeper into the data, we are compelled to ponder the whimsical notion that perhaps the citizens of Shreveport turn to the infectious beats and unorthodox dance moves of "Gangnam Style" as a form of lighthearted relief from the challenges posed by their local environmental stress. It's as if, when faced with polluted air, Shreveport locals opt for a different kind of fresh air – in the form of a pop culture phenomenon.
This study endeavors to shed light on the intersection of environmental concerns and the idiosyncratic ways in which people seek solace and entertainment. The findings not only resonate with statistical significance but also evoke a wry smile and a quip, "When the air quality dips, the people of Shreveport have no choice but to dance away the pollution."

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our statistical analysis reveal a robust and positively correlated relationship between air pollution in Shreveport, Louisiana, and Google searches for 'Gangnam Style.' The correlation coefficient of 0.9056774 indicates a strong association between these seemingly disparate variables. This correlation coefficient is as strong as the aroma of Cajun cuisine wafting through the streets of Shreveport!

The r-squared value of 0.8202516 further reinforces the strength of the relationship, explaining an impressive 82.02% of the variation in 'Gangnam Style' searches based on air pollution levels. It's as if the air pollution levels are doing the dance moves themselves, syncopating with the rise and fall of 'Gangnam Style' searches.

Moreover, the p-value of less than 0.01 demonstrates the statistical significance of the relationship, indicating that the likelihood of observing such a strong relationship by random chance is as improbable as happening upon a gator doing the Gangnam Style in the swamps of Louisiana!

Figure 1 displays a scatterplot showcasing the striking correlation between air pollution levels and Google searches for 'Gangnam Style.' It's a visual representation that's as eye-catching as a Mardi Gras float, illustrating the unmistakable connection between these otherwise unrelated phenomena. Who would've thought that environmental data and pop culture could make such a harmonious duo?

Our findings bring to mind a classic dad joke: Why did the air pollution researcher break up with the climate scientist? They had too many volatile relations! But in all seriousness, our research illuminates a lighthearted yet thought-provoking link between air pollution and cultural trends, challenging us to view environmental data through a musical lens. High air pollution may be no joke, but finding correlations in unexpected places certainly is!


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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"

[[LITERATURE REVIEW]]
Smith and Doe (2015) examined the impact of air pollution on cultural behaviors, focusing primarily on the correlation between particulate matter levels and local music preferences. Their findings, while not directly related to the current research, laid the groundwork for exploring the unexpected relationships between environmental stressors and popular cultural phenomena. It's like they were trying to find the "pollution to pop culture" radio frequency.
Jones et al. (2017) conducted a comprehensive study on the effects of air pollution on public behavior, uncovering intriguing patterns in online search queries during periods of heightened pollution. Surprisingly, their analysis hinted at an uptick in searches for dance-related content during smoggy days. It's as if people are trying to "air out" their grievances through digital boogies.
Turning to non-fiction literature, "The Air We Breathe" by Curious Mind (2018) delves into the intricacies of air quality and its impact on human well-being. While the book does not directly address cultural manifestations, its insights into the far-reaching consequences of polluted air are informative. It's almost like the author was taking a breather from the usual air pollution research.
In a fictional context, "The Smog Strut" by Novel Writer (2016) provides an imaginative narrative set in a dystopian future where dance becomes a symbol of defiance against environmental decay. Though purely speculative, the novel's intriguing premise somewhat resonates with the unexpected correlation observed in the current study. It's almost as if the author was trying to air out their creativity.
On a lighter note, the animated series "Captain Planet and the Planeteers" explores environmental themes in a whimsical, adventurous manner, encouraging audiences to take action against pollution. The show's emphasis on environmental responsibility parallels the underlying message of resilience in the face of adversity, much like the inhabitants of Shreveport grooving to "Gangnam Style" amidst air quality challenges. It's almost as if the writers were trying to air out some environmental justice with a side of dad jokes.
Furthermore, "Sesame Street" often incorporates educational segments on air pollution and environmental conservation into its episodes, fostering early awareness and understanding among young viewers. The show's playful approach to serious topics mirrors the intriguing juxtaposition of air pollution and pop culture observed in the current study. It's almost as if the characters were trying to air their grievances in a kid-friendly way.
In summary, the intersection of air pollution and cultural trends unveils an unexpectedly captivating narrative, blending environmental concerns with lighthearted expressions of popular culture. As the old saying goes, "When the air gets hazy, the 'Gangnam Style' gets crazy – it's an air-ly fitting response!"

[[RESULTS]]
The results of our statistical analysis reveal a robust and positively correlated relationship between air pollution in Shreveport, Louisiana, and Google searches for 'Gangnam Style.' The correlation coefficient of 0.9056774 indicates a strong association between these seemingly disparate variables. This correlation coefficient is as strong as the aroma of Cajun cuisine wafting through the streets of Shreveport!
The r-squared value of 0.8202516 further reinforces the strength of the relationship, explaining an impressive 82.02% of the variation in 'Gangnam Style' searches based on air pollution levels. It's as if the air pollution levels are doing the dance moves themselves, syncopating with the rise and fall of 'Gangnam Style' searches.
Moreover, the p-value of less than 0.01 demonstrates the statistical significance of the relationship, indicating that the likelihood of observing such a strong relationship by random chance is as improbable as happening upon a gator doing the Gangnam Style in the swamps of Louisiana!
Figure 1 displays a scatterplot showcasing the striking correlation between air pollution levels and Google searches for 'Gangnam Style.' It's a visual representation that's as eye-catching as a Mardi Gras float, illustrating the unmistakable connection between these otherwise unrelated phenomena. Who would've thought that environmental data and pop culture could make such a harmonious duo?
Our findings bring to mind a classic dad joke: Why did the air pollution researcher break up with the climate scientist? They had too many volatile relations! But in all seriousness, our research illuminates a lighthearted yet thought-provoking link between air pollution and cultural trends, challenging us to view environmental data through a musical lens. High air pollution may be no joke, but finding correlations in unexpected places certainly is!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study underscore the remarkable connection between air pollution in Shreveport, Louisiana, and the public's interest in "Gangnam Style." It appears that when the air quality wanes, the city's residents turn to the infectious beat of Psy's iconic tune, perhaps seeking solace or amusement in the face of environmental challenges. It's as if they are saying, "When the air gets hazy, the 'Gangnam Style' gets crazy!"

Our findings align with prior research by Smith and Doe, who probed the impact of air pollution on cultural behaviors. While they were not directly examining the "pollution to pop culture" radio frequency, our study inadvertently tuned into this frequency and found a surprisingly clear signal. It's like finding a hidden track on an old vinyl record, only instead of music, it's a statistical relationship that makes you want to dance.

Similarly, the study by Jones et al. highlighted an uptick in dance-related online searches during periods of heightened pollution. Just like a catchy song that you can't get out of your head, our results have us tapping our feet along to the tune of environmental stressors and playful cultural phenomena. It's as if Shreveport locals are saying, "Why worry about pollutants when you can shuffle to 'Gangnam Style'?"

Our r-squared value of 0.8202516 reflects the strength of the relationship, explaining a whopping 82.02% of the variation in 'Gangnam Style' searches based on air pollution levels. That's as impressive as a brass band in a Mardi Gras parade! It's like the air pollution levels are leading the dance, taking the reins and waltzing through the data with finesse.

Moreover, the p-value of less than 0.01 reinforces the statistical significance of the relationship. The likelihood of observing such a strong relationship by random chance is as improbable as spotting a gator doing the Gangnam Style in the Louisiana swamps! Our study has unearthed a statistical relationship as rare and unexpected as a Louisiana snowstorm.

In conclusion, our research sheds light on the unexpected correlation between air pollution and cultural trends, offering a unique perspective on the interplay between environmental stressors and public behavior. It's an intriguing dance of data that encourages us to view air pollution through a musical lens. After all, high air pollution may be no joke, but finding correlations in unexpected places certainly is!


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 Shreveport, Louisiana and Google searches for 'Gangnam Style'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
"Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.

Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!"

[[INTRDUCTION]]
INTRODUCTION
The nexus of environmental factors and cultural trends has long piqued the interest of researchers and casual observers alike. In this paper, we unravel the enthralling relationship between air pollution levels in Shreveport, Louisiana, and the Google searches for the iconic sensation "Gangnam Style." It's a tale as old as time - who would have thought that air pollution and K-pop would join forces in an unexpected statistical dance?
The study spotlights a correlation that is as surprising as finding a trombone in a tulip field – a 0.9056774 correlation coefficient and a p-value of less than 0.01 between air pollution and "Gangnam Style" searches from 2012 to 2023. Our investigation aims to answer the perplexing question - could there be a connection so peculiar, it leaves us exclaiming, "Shreveport, where the air is hazy and the 'Gangnam Style' is crazy"?
As we dig deeper into the data, we are compelled to ponder the whimsical notion that perhaps the citizens of Shreveport turn to the infectious beats and unorthodox dance moves of "Gangnam Style" as a form of lighthearted relief from the challenges posed by their local environmental stress. It's as if, when faced with polluted air, Shreveport locals opt for a different kind of fresh air – in the form of a pop culture phenomenon.
This study endeavors to shed light on the intersection of environmental concerns and the idiosyncratic ways in which people seek solace and entertainment. The findings not only resonate with statistical significance but also evoke a wry smile and a quip, "When the air quality dips, the people of Shreveport have no choice but to dance away the pollution."

[[RESULTS]]
The results of our statistical analysis reveal a robust and positively correlated relationship between air pollution in Shreveport, Louisiana, and Google searches for 'Gangnam Style.' The correlation coefficient of 0.9056774 indicates a strong association between these seemingly disparate variables. This correlation coefficient is as strong as the aroma of Cajun cuisine wafting through the streets of Shreveport!
The r-squared value of 0.8202516 further reinforces the strength of the relationship, explaining an impressive 82.02% of the variation in 'Gangnam Style' searches based on air pollution levels. It's as if the air pollution levels are doing the dance moves themselves, syncopating with the rise and fall of 'Gangnam Style' searches.
Moreover, the p-value of less than 0.01 demonstrates the statistical significance of the relationship, indicating that the likelihood of observing such a strong relationship by random chance is as improbable as happening upon a gator doing the Gangnam Style in the swamps of Louisiana!
Figure 1 displays a scatterplot showcasing the striking correlation between air pollution levels and Google searches for 'Gangnam Style.' It's a visual representation that's as eye-catching as a Mardi Gras float, illustrating the unmistakable connection between these otherwise unrelated phenomena. Who would've thought that environmental data and pop culture could make such a harmonious duo?
Our findings bring to mind a classic dad joke: Why did the air pollution researcher break up with the climate scientist? They had too many volatile relations! But in all seriousness, our research illuminates a lighthearted yet thought-provoking link between air pollution and cultural trends, challenging us to view environmental data through a musical lens. High air pollution may be no joke, but finding correlations in unexpected places certainly is!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unearthed a fascinating correlation between air pollution levels in Shreveport, Louisiana, and Google searches for 'Gangnam Style.' It's as if the residents of Shreveport have found a unique way to breathe in the cultural phenomenon while navigating their environmental challenges. As we ponder the possibility of K-pop providing a form of musical respiration amidst hazy air, we can't help but exclaim, "Looks like Shreveportians have found a 'Gangnam' style of air purification!"

The statistical significance of our findings, with a correlation coefficient of 0.9056774 and a p-value of less than 0.01, leaves us as surprised as a pelican in the desert – a rare sight indeed! Our results suggest that when air pollution levels sashay up, the search interest in 'Gangnam Style' struts right along with it, almost like a synchronized dance routine. It seems that when the air gets thick, the people of Shreveport turn to a different kind of 'air guitar' for some much-needed levity!

Our research opens up a new avenue for understanding the intertwining of environmental stressors and whimsical cultural responses. As we wrap up our findings, we can't help but crack a dad joke: Why did the air pollution researcher have to visit Shreveport? To see if the 'Gangnam Style' searches were off the charts! It's clear that the residents of Shreveport have their own unique way of clearing the air, one trendy search at a time.

In light of these compelling results, we assert that no further research is required in this area. The connection between air pollution in Shreveport and Google searches for 'Gangnam Style' is as clear as day. It may be time for us to put on our dancing shoes and search for correlations in new, unexpected places!


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 Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Environmental Epidemiology and Pop Culture Trends


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 Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style'. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Environmental Data Analysis and Trends


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 Gasping for Air or Grooving for Gangnam: A Statistical Analysis of the Relationship between Air Pollution in Shreveport, Louisiana and Google Searches for 'Gangnam Style' with an abstract of This study investigates the unexpected intersection of air pollution and pop culture in Shreveport, Louisiana, a city with a rich musical heritage. Utilizing data from the Environmental Protection Agency and Google Trends, our research team dives into the correlation between local air quality and the search interest in the iconic "Gangnam Style" dance craze. As we waltz through the statistical analysis, we unveil a correlation coefficient of 0.9056774 and a p-value of less than 0.01 for the period spanning from 2012 to 2023.
Our findings suggest a striking positive relationship between air pollution levels in Shreveport and Google searches for "Gangnam Style," as if the city's residents turn to the infectious groove of Psy's hit song as a coping mechanism amidst environmental challenges. Our data provides compelling evidence for a curious confluence of environmental stress and playful cultural phenomena, leaving us to quip, "When the air quality dips, Shreveport locals bust out the hits!

ChatGPT:

Shreveport, Louisiana, air pollution, Google searches, Gangnam Style, statistical analysis, correlation coefficient, p-value, Environmental Protection Agency, Google Trends, pop culture, musical heritage

*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 Shreveport, Louisiana
Detailed data title: Percentage of days with air quality at 'unhealthy for sensitive groups' or worse in Shreveport-Bossier City, LA
Source: Environmental Protection Agency
See what else correlates with Air pollution in Shreveport, Louisiana

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

See what else correlates with Google searches for 'Gangnam Style'

Correlation r = 0.9056774 (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.8202516 (Coefficient of determination)
This means 82% of the change in the one variable (i.e., Google searches for 'Gangnam Style') is predictable based on the change in the other (i.e., Air pollution in Shreveport, Louisiana) over the 12 years from 2012 through 2023.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.01E-5. 0.0000500959944300922140000000
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.91 in 0.00501% of random cases. Said differently, if you correlated 19,962 random variables Which I absolutely did.
with the same 11 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 11 because we have two variables measured over a period of 12 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.69, 0.97 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
201220132014201520162017201820192020202120222023
Air pollution in Shreveport, Louisiana (Bad air quality days)0.01366120.01095890.002747250.00273973000.0054794500.0027322400.002739730.0037037
Google searches for 'Gangnam Style' (Rel. search volume)36.920.33334.666672.833331.333331111111




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.0136612,0.0109589,0.00274725,0.00273973,0,0,0.00547945,0,0.00273224,0,0.00273973,0.0037037,])
array_2 = np.array([36.9,20.3333,4.66667,2.83333,1.33333,1,1,1,1,1,1,1,])
array_1_name = "Air pollution in Shreveport, Louisiana"
array_2_name = "Google searches for 'Gangnam Style'"

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

I'm genuinely thankful for your rating!


Correlation ID: 4680 · Black Variable ID: 21591 · Red Variable ID: 1442
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0