about · email me · subscribe
Spurious correlation #3,672 · 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 Memphis and the second variable is The marriage rate in Tennessee.  The chart goes from 1999 to 2021, and the two variables track closely in value over that time. Small Image

AI explanation

The cleaner air revealed everyone's true colors, making it harder to sweep relationship issues under the rug. As a result, more people in Tennessee realized they just couldn't take the smog of marriage any longer.

Model: dalle-3
Prompt: Prompt: Create an image with a humorous twist on the scene in Memphis where couples see each other clearly for the first time due to improved air quality. Show a couple standing face to face, with subtle expressions of regret as they realize the impact of the previously hazy air on their decision to get married. The surroundings should reflect a clear sky and a sense of newfound clarity. The image should capture the irony or humor of the situation, suitable for sharing on Reddit. 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 Memphis and The marriage rate in Tennessee. 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: Cyber folk Photorealism Data cyber art Symbolism a funny image you would see on reddit
ChatGPT: a funny image you would see on reddit

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 Memphis and The marriage rate in Tennessee, in the following situation: Because as the air got cleaner, people could finally see each other clearly and realized they made terrible life choices.. Keep the description simple.
ChatGPT: In Memphis, the sky was clear of pollution for the first time in years. As the clean air allowed for improved visibility, couples stood face to face, seeing each other clearly for the first time in a while. Some couples, with a look of regret, realized that the hazy air had obscured their judgment, and they had made a terrible life choice in getting married.

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 funny image you would see on reddit ] and depicting this scene: In Memphis, the sky was clear of pollution for the first time in years. As the clean air allowed for improved visibility, couples stood face to face, seeing each other clearly for the first time in a while. Some couples, with a look of regret, realized that the hazy air had obscured their judgment, and they had made a terrible life choice in getting married. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Create an image with a humorous twist on the scene in Memphis where couples see each other clearly for the first time due to improved air quality. Show a couple standing face to face, with subtle expressions of regret as they realize the impact of the previously hazy air on their decision to get married. The surroundings should reflect a clear sky and a sense of newfound clarity. The image should capture the irony or humor of the situation, suitable for sharing on Reddit.

*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 Memphis caused The marriage rate in Tennessee to decrease.

AI academic paper

(Because p < 0.01)
The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee

The Journal of Environmental Entanglements

Jan 2024
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 Memphis and The marriage rate in Tennessee. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from Environmental Protection Agency and CDC National Vital Statistics to assess this nagging question. You found a correlation coefficient of 0.8580418 and p < 0.01 for 1999 to 2021.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!


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 Memphis and The marriage rate in Tennessee. 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]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the old saying goes, "love is in the air", but what if that air is polluted? In this study, we delve into the fascinating and, at first glance, bewildering relationship between air pollution in Memphis and the marriage rate in Tennessee. It's an unexpected connection that will leave you gasping for breath, figuratively speaking, of course. After all, nothing clears the air quite like a good statistical analysis.

They say love is blind, but is it also susceptible to the invisible toxins lingering in the atmosphere? Our research seeks to answer this question by examining the data on air pollution levels in Memphis and how it coincides with the ebb and flow of marriage rates in the great state of Tennessee. We aim to shed light on this unexpected pairing and, let's face it, clear the air on this topic.

You might be wondering how we stumbled upon this peculiar correlation. Well, it's like a marriage between statistics and environmental science - statistically significant, if you will. Our data analysis revealed a striking connection between the two variables - it seems air pollution may be more than just a breath of fresh smog.

Speaking of smog, did you hear about the air pollution that got married? It took its partner’s breath away! But in all seriousness, our findings suggest that air pollution may indeed have an impact on the marital landscape in Tennessee.

Intriguing, isn't it? Stay tuned as we dive deeper into our methodology and findings, and uncover just how these two seemingly unrelated factors may be dancing in the air, affecting the romantic decisions of Tennesseans. So, hold your breath (not because of the pollution, of course), we are about to embark on an enlightening journey through the hazy world of correlations and societal dynamics!


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 Memphis and The marriage rate in Tennessee. 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 cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the old saying goes, "love is in the air", but what if that air is polluted? In this study, we delve into the fascinating and, at first glance, bewildering relationship between air pollution in Memphis and the marriage rate in Tennessee. It's an unexpected connection that will leave you gasping for breath, figuratively speaking, of course. After all, nothing clears the air quite like a good statistical analysis.
They say love is blind, but is it also susceptible to the invisible toxins lingering in the atmosphere? Our research seeks to answer this question by examining the data on air pollution levels in Memphis and how it coincides with the ebb and flow of marriage rates in the great state of Tennessee. We aim to shed light on this unexpected pairing and, let's face it, clear the air on this topic.
You might be wondering how we stumbled upon this peculiar correlation. Well, it's like a marriage between statistics and environmental science - statistically significant, if you will. Our data analysis revealed a striking connection between the two variables - it seems air pollution may be more than just a breath of fresh smog.
Speaking of smog, did you hear about the air pollution that got married? It took its partner’s breath away! But in all seriousness, our findings suggest that air pollution may indeed have an impact on the marital landscape in Tennessee.
Intriguing, isn't it? Stay tuned as we dive deeper into our methodology and findings, and uncover just how these two seemingly unrelated factors may be dancing in the air, affecting the romantic decisions of Tennesseans. So, hold your breath (not because of the pollution, of course), we are about to embark on an enlightening journey through the hazy world of correlations and societal dynamics!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

To our surprise and delight, our literature review has unveiled a smorgasbord of studies exploring the impact of environmental factors on social dynamics. In "The Effect of Air Pollution on Social Behavior" by Smith et al., a notable connection is drawn between airborne pollutants and interpersonal relationships, laying the groundwork for our investigation. Building on this foundation, Doe et al. in "The Invisible Invader: Air Pollution and Social Interactions" expand upon the potential influences of air quality on societal dynamics, providing valuable insights that further piqued our curiosity.

Now, let's take a detour from the academic offerings and venture into the realm of non-fiction literature. In "Air Pollution and Its Impacts on Communities" by Dr. A. Cleanair, a comprehensive analysis of air pollution's effects on various aspects of community life sheds light on the multifaceted repercussions of polluted air. Similarly, in "The Anatomy of Marital Dynamics" by Dr. R. Relations, the intricate web of factors influencing marital decisions takes center stage, offering a rich tapestry of insights into the complexities of romantic relationships and their contextual nuances.

Venturing into the world of fiction, we would be remiss not to mention the compelling narratives that mirror our research theme. In "Love in the Time of Smog" by G. Garciá, the entwined fates of star-crossed lovers unfold amidst a backdrop of environmental challenges, serving as a poignant reminder of the pervasive influence of external circumstances on matters of the heart. Likewise, in "The Polluted Promises" by A. Author, a tale of love, loss, and environmental awakening unravels, drawing haunting parallels to our pursuit of understanding the interplay between air pollution and marriage rates.

On a more contemporary note, social media platforms have become an unexpected trove of anecdotal evidence pertaining to our research. A tweet from @PollutedPonderings offers a whimsical take on the subject matter, musing, "Is it just me, or does the smog in Memphis seem to cast a spell on the love lives of Tennesseans? #AirPollutionRomance". Furthermore, an insightful Instagram post by @MarriageMetrics_101 delves into the potential societal influences on marriage trends, prompting followers to consider the role of environmental factors in romantic decision-making.

In conclusion, our foray into the literature surrounding the correlation between air pollution in Memphis and the marriage rate in Tennessee has revealed a rich tapestry of scholarly works, literary narratives, and contemporary perspectives. As we proceed to analyze our own findings, we remain mindful of the diverse sources that have contributed to shaping our understanding of this captivating, if somewhat unconventional, research terrain. And just remember, when it comes to the link between air pollution and marriage rates, the correlation might be hazy, but our pursuit of knowledge is crystal clear!


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 Memphis and The marriage rate in Tennessee. 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 CDC National Vital Statistics . You used data from 1999 to 2021

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

[[INTRODUCTION]]
As the old saying goes, "love is in the air", but what if that air is polluted? In this study, we delve into the fascinating and, at first glance, bewildering relationship between air pollution in Memphis and the marriage rate in Tennessee. It's an unexpected connection that will leave you gasping for breath, figuratively speaking, of course. After all, nothing clears the air quite like a good statistical analysis.
They say love is blind, but is it also susceptible to the invisible toxins lingering in the atmosphere? Our research seeks to answer this question by examining the data on air pollution levels in Memphis and how it coincides with the ebb and flow of marriage rates in the great state of Tennessee. We aim to shed light on this unexpected pairing and, let's face it, clear the air on this topic.
You might be wondering how we stumbled upon this peculiar correlation. Well, it's like a marriage between statistics and environmental science - statistically significant, if you will. Our data analysis revealed a striking connection between the two variables - it seems air pollution may be more than just a breath of fresh smog.
Speaking of smog, did you hear about the air pollution that got married? It took its partner’s breath away! But in all seriousness, our findings suggest that air pollution may indeed have an impact on the marital landscape in Tennessee.
Intriguing, isn't it? Stay tuned as we dive deeper into our methodology and findings, and uncover just how these two seemingly unrelated factors may be dancing in the air, affecting the romantic decisions of Tennesseans. So, hold your breath (not because of the pollution, of course), we are about to embark on an enlightening journey through the hazy world of correlations and societal dynamics!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To kick off our analysis, we gathered data from the Environmental Protection Agency and the CDC National Vital Statistics, harnessing the power of the internet to navigate through the tangled web of information. We combed through obscure databases and dusty reports, hoping to unearth correlations between air pollution levels in Memphis and the marriage rate in Tennessee. It was like trying to find a needle in a haystack - except the needle was a correlation and the haystack was the internet.

Our team employed a time series analysis, allowing us to track changes in air pollution levels and marriage rates over the span of 1999 to 2021. We meticulously assembled our dataset, piecing together historical pollution data and marriage statistics like a puzzling jigsaw game. It was a data wrangling tango, with each variable taking a turn leading the dance.

To measure air pollution, we homed in on key pollutants such as particulate matter, nitrogen dioxide, and ozone. We wanted to ensure that our analysis wasn't just full of hot air, so we carefully selected pollutants known to have significant impacts on public health and the environment. It was a tough decision - after all, we didn't want to leave any harmful pollutants feeling left out, but we had to draw the line somewhere.

In order to assess the marriage rate, we obtained the number of marriages per 1,000 inhabitants in Tennessee. It was like exploring the complex world of love and commitment, armed only with spreadsheets and statistical software. We uncovered the highs and lows of the marital rollercoaster, plotting each twist and turn along the way.

As we delved deeper into the methodology, we utilized rigorous statistical techniques such as correlation analysis and regression modeling. We wanted to ensure that our findings weren’t just a statistical fling, but rather a meaningful and robust exploration of the relationship between air pollution and matrimonial decisions. It was like a statistical love affair, with correlations and regression coefficients waltzing gracefully across the pages of our analysis.

After ensuring the validity and reliability of our data, we embraced the statistical beast known as hypothesis testing. We put our findings to the test, examining the strength and significance of the relationship between air pollution in Memphis and the marriage rate in Tennessee. It was like a high-stakes game of love and statistics, with p-values and confidence intervals stealing the spotlight.

As we wrapped up our analysis, we couldn't help but marvel at the unexpected dance between air pollution and marriage rates. It was like watching an unlikely pair take the stage at a ballroom - surprising, mesmerizing, and leaving us with a newfound appreciation for the interconnectedness of the world around us. We hope our findings leave you breathless - for all the right reasons, of course!

On a related note, why did the statistician break up with the air pollution researcher? He couldn't handle the toxic relationship! Just a little statistician humor to clear the air.


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 Memphis and The marriage rate in Tennessee. 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 CDC National Vital Statistics .

For the time period 1999 to 2021, you found a correlation 0.8580418, r-squared of 0.7362357, 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]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the old saying goes, "love is in the air", but what if that air is polluted? In this study, we delve into the fascinating and, at first glance, bewildering relationship between air pollution in Memphis and the marriage rate in Tennessee. It's an unexpected connection that will leave you gasping for breath, figuratively speaking, of course. After all, nothing clears the air quite like a good statistical analysis.
They say love is blind, but is it also susceptible to the invisible toxins lingering in the atmosphere? Our research seeks to answer this question by examining the data on air pollution levels in Memphis and how it coincides with the ebb and flow of marriage rates in the great state of Tennessee. We aim to shed light on this unexpected pairing and, let's face it, clear the air on this topic.
You might be wondering how we stumbled upon this peculiar correlation. Well, it's like a marriage between statistics and environmental science - statistically significant, if you will. Our data analysis revealed a striking connection between the two variables - it seems air pollution may be more than just a breath of fresh smog.
Speaking of smog, did you hear about the air pollution that got married? It took its partner’s breath away! But in all seriousness, our findings suggest that air pollution may indeed have an impact on the marital landscape in Tennessee.
Intriguing, isn't it? Stay tuned as we dive deeper into our methodology and findings, and uncover just how these two seemingly unrelated factors may be dancing in the air, affecting the romantic decisions of Tennesseans. So, hold your breath (not because of the pollution, of course), we are about to embark on an enlightening journey through the hazy world of correlations and societal dynamics!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our investigation into the relationship between air pollution in Memphis and the marriage rate in Tennessee yielded some intriguing results. The correlation coefficient of 0.8580418 suggested a strong positive relationship, indicating that as air pollution levels increased, the marriage rate in Tennessee decreased. It seems the air pollution in Memphis may be taking the wind out of the state's romantic sails!

In addition to the high correlation coefficient, our analysis revealed an r-squared value of 0.7362357. This indicates that a substantial portion of the variation in the marriage rate in Tennessee can be explained by the variation in air pollution levels in Memphis. In other words, it's not just a breath of fresh air – the association between these two factors is no mere puff of smoke!

The p-value being less than 0.01 further solidified the statistical significance of our findings. This means that the likelihood of observing such a strong relationship between air pollution and the marriage rate by mere chance is less than 1 in 100. It’s as rare as finding a pollutant with a heart as big as its emissions!

Our findings are encapsulated in Figure 1, a scatterplot that vividly illustrates the robust correlation between air pollution in Memphis and the marriage rate in Tennessee. It's a captivating sight, almost as captivating as a romantic sunset if it weren't for the haze!

So, it seems there's more to the air than meets the eye. Our unexpected correlation suggests that air pollution may be casting a shadow over the matrimonial prospects of Tennesseans. This research holds potential implications for public health and environmental policy, providing a breath of fresh air for those seeking innovative approaches to societal challenges.

As for a fitting dad joke related to the content – Why did the air pollution cross the road? To get to the smoggy side! This correlation may be no laughing matter, but a good joke always helps clear the air, doesn't it?


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 Memphis and The marriage rate in Tennessee. 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]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

[[LITERATURE REVIEW]]
To our surprise and delight, our literature review has unveiled a smorgasbord of studies exploring the impact of environmental factors on social dynamics. In "The Effect of Air Pollution on Social Behavior" by Smith et al., a notable connection is drawn between airborne pollutants and interpersonal relationships, laying the groundwork for our investigation. Building on this foundation, Doe et al. in "The Invisible Invader: Air Pollution and Social Interactions" expand upon the potential influences of air quality on societal dynamics, providing valuable insights that further piqued our curiosity.
Now, let's take a detour from the academic offerings and venture into the realm of non-fiction literature. In "Air Pollution and Its Impacts on Communities" by Dr. A. Cleanair, a comprehensive analysis of air pollution's effects on various aspects of community life sheds light on the multifaceted repercussions of polluted air. Similarly, in "The Anatomy of Marital Dynamics" by Dr. R. Relations, the intricate web of factors influencing marital decisions takes center stage, offering a rich tapestry of insights into the complexities of romantic relationships and their contextual nuances.
Venturing into the world of fiction, we would be remiss not to mention the compelling narratives that mirror our research theme. In "Love in the Time of Smog" by G. Garciá, the entwined fates of star-crossed lovers unfold amidst a backdrop of environmental challenges, serving as a poignant reminder of the pervasive influence of external circumstances on matters of the heart. Likewise, in "The Polluted Promises" by A. Author, a tale of love, loss, and environmental awakening unravels, drawing haunting parallels to our pursuit of understanding the interplay between air pollution and marriage rates.
On a more contemporary note, social media platforms have become an unexpected trove of anecdotal evidence pertaining to our research. A tweet from @PollutedPonderings offers a whimsical take on the subject matter, musing, "Is it just me, or does the smog in Memphis seem to cast a spell on the love lives of Tennesseans? #AirPollutionRomance". Furthermore, an insightful Instagram post by @MarriageMetrics_101 delves into the potential societal influences on marriage trends, prompting followers to consider the role of environmental factors in romantic decision-making.
In conclusion, our foray into the literature surrounding the correlation between air pollution in Memphis and the marriage rate in Tennessee has revealed a rich tapestry of scholarly works, literary narratives, and contemporary perspectives. As we proceed to analyze our own findings, we remain mindful of the diverse sources that have contributed to shaping our understanding of this captivating, if somewhat unconventional, research terrain. And just remember, when it comes to the link between air pollution and marriage rates, the correlation might be hazy, but our pursuit of knowledge is crystal clear!

[[RESULTS]]
Our investigation into the relationship between air pollution in Memphis and the marriage rate in Tennessee yielded some intriguing results. The correlation coefficient of 0.8580418 suggested a strong positive relationship, indicating that as air pollution levels increased, the marriage rate in Tennessee decreased. It seems the air pollution in Memphis may be taking the wind out of the state's romantic sails!
In addition to the high correlation coefficient, our analysis revealed an r-squared value of 0.7362357. This indicates that a substantial portion of the variation in the marriage rate in Tennessee can be explained by the variation in air pollution levels in Memphis. In other words, it's not just a breath of fresh air – the association between these two factors is no mere puff of smoke!
The p-value being less than 0.01 further solidified the statistical significance of our findings. This means that the likelihood of observing such a strong relationship between air pollution and the marriage rate by mere chance is less than 1 in 100. It’s as rare as finding a pollutant with a heart as big as its emissions!
Our findings are encapsulated in Figure 1, a scatterplot that vividly illustrates the robust correlation between air pollution in Memphis and the marriage rate in Tennessee. It's a captivating sight, almost as captivating as a romantic sunset if it weren't for the haze!
So, it seems there's more to the air than meets the eye. Our unexpected correlation suggests that air pollution may be casting a shadow over the matrimonial prospects of Tennesseans. This research holds potential implications for public health and environmental policy, providing a breath of fresh air for those seeking innovative approaches to societal challenges.
As for a fitting dad joke related to the content – Why did the air pollution cross the road? To get to the smoggy side! This correlation may be no laughing matter, but a good joke always helps clear the air, doesn't it?

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our study has uncovered a surprising and robust relationship between air pollution in Memphis and the marriage rate in Tennessee. The statistically significant correlation coefficient of 0.8580418 and the p-value less than 0.01 provide compelling evidence that as air pollution levels increased, the marriage rate in Tennessee decreased. It seems the smog over Memphis might be dimming the state's romantic prospects! As we reflect on these findings, we are reminded that sometimes, love is truly in the air – although in this case, it's not the kind we would hope for.

Our results corroborate the prior research that has hinted at the influence of environmental factors on social dynamics. Smith et al.'s work on the impact of air pollution on social behavior set the stage for our investigation, and our findings support their initial observations. Like the air pollution itself, these connections are difficult to ignore and warrant serious consideration. It looks like the particles in the air weren't just blowing hot air after all!

Similarly, the literature review highlighted Doe et al.'s exploration of the potential influences of air quality on societal dynamics. Our findings serve as a confirmation of their insights, showing that air pollution may indeed have unexpected repercussions on social phenomena like marriage rates. It seems the smog isn't just clouding our vision – it's also clouding Tennesseans' romantic inclinations!

While the correlation between air pollution and marriage rates may seem perplexing at first blush, our results lend support to the notion that external environmental factors could be playing a role in shaping romantic decisions. Reminiscent of a chance encounter in a foggy setting, these findings hint at the subtle interplay between environmental conditions and human behavior. It's almost as if the air pollution is writing its own tragic love story – "Romeo and Pollution."

The r-squared value of 0.7362357 indicates that a substantial portion of the variation in the marriage rate in Tennessee can be explained by the variation in air pollution levels in Memphis. This adds a layer of depth to our understanding and suggests that the influence of air pollution on marital decisions is no mere fleeting whim – it's a significant factor in the romantic equation. It seems the air pollution isn't just leaving a temporary mark – it's making a lasting impression on Tennessee's marriage landscape!

Our findings carry practical implications that extend beyond the realm of romance. The potential societal impacts of air pollution highlight the necessity of considering environmental factors in public health and policy decisions. As we grapple with these unexpected connections, we are reminded that the consequences of air pollution may extend far beyond what meets the eye. It appears that the air pollution in Memphis is not just a cause for concern in terms of public health and environmental policy – it's also a player in Tennessee's love story.

In summary, our study has brought to light a compelling association between air pollution in Memphis and the marriage rate in Tennessee, shedding new light on the intricate interplay between environmental factors and societal dynamics. While the correlation may seem hazy, our findings stand as a testament to the tangible influence of air pollution on romantic decisions. It seems that when it comes to love and air pollution, the connections may be thicker than the smog itself. And remember, when it comes to uncovering unexpected correlations, sometimes you just have to hold your breath and dive right in!


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 Memphis and The marriage rate in Tennessee. 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]]
"The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee"

[[ABSTRACT]]
This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.

Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.

We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

[[INTRDUCTION]]
As the old saying goes, "love is in the air", but what if that air is polluted? In this study, we delve into the fascinating and, at first glance, bewildering relationship between air pollution in Memphis and the marriage rate in Tennessee. It's an unexpected connection that will leave you gasping for breath, figuratively speaking, of course. After all, nothing clears the air quite like a good statistical analysis.
They say love is blind, but is it also susceptible to the invisible toxins lingering in the atmosphere? Our research seeks to answer this question by examining the data on air pollution levels in Memphis and how it coincides with the ebb and flow of marriage rates in the great state of Tennessee. We aim to shed light on this unexpected pairing and, let's face it, clear the air on this topic.
You might be wondering how we stumbled upon this peculiar correlation. Well, it's like a marriage between statistics and environmental science - statistically significant, if you will. Our data analysis revealed a striking connection between the two variables - it seems air pollution may be more than just a breath of fresh smog.
Speaking of smog, did you hear about the air pollution that got married? It took its partner’s breath away! But in all seriousness, our findings suggest that air pollution may indeed have an impact on the marital landscape in Tennessee.
Intriguing, isn't it? Stay tuned as we dive deeper into our methodology and findings, and uncover just how these two seemingly unrelated factors may be dancing in the air, affecting the romantic decisions of Tennesseans. So, hold your breath (not because of the pollution, of course), we are about to embark on an enlightening journey through the hazy world of correlations and societal dynamics!

[[RESULTS]]
Our investigation into the relationship between air pollution in Memphis and the marriage rate in Tennessee yielded some intriguing results. The correlation coefficient of 0.8580418 suggested a strong positive relationship, indicating that as air pollution levels increased, the marriage rate in Tennessee decreased. It seems the air pollution in Memphis may be taking the wind out of the state's romantic sails!
In addition to the high correlation coefficient, our analysis revealed an r-squared value of 0.7362357. This indicates that a substantial portion of the variation in the marriage rate in Tennessee can be explained by the variation in air pollution levels in Memphis. In other words, it's not just a breath of fresh air – the association between these two factors is no mere puff of smoke!
The p-value being less than 0.01 further solidified the statistical significance of our findings. This means that the likelihood of observing such a strong relationship between air pollution and the marriage rate by mere chance is less than 1 in 100. It’s as rare as finding a pollutant with a heart as big as its emissions!
Our findings are encapsulated in Figure 1, a scatterplot that vividly illustrates the robust correlation between air pollution in Memphis and the marriage rate in Tennessee. It's a captivating sight, almost as captivating as a romantic sunset if it weren't for the haze!
So, it seems there's more to the air than meets the eye. Our unexpected correlation suggests that air pollution may be casting a shadow over the matrimonial prospects of Tennesseans. This research holds potential implications for public health and environmental policy, providing a breath of fresh air for those seeking innovative approaches to societal challenges.
As for a fitting dad joke related to the content – Why did the air pollution cross the road? To get to the smoggy side! This correlation may be no laughing matter, but a good joke always helps clear the air, doesn't it?

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research shed light on the unexpected yet statistically significant link between air pollution in Memphis and the marriage rate in Tennessee. Our findings revealed a strong positive correlation, suggesting that as air pollution levels increased, the marriage rate in Tennessee decreased. It seems the romantic prospects in Tennessee are being clouded by more than just infatuation – air pollutants are also playing a role! It's like pollution is the third wheel in this relationship!

The high correlation coefficient and the r-squared value highlighted the substantial impact of air pollution on the variation in the marriage rate. It's clear that the air pollution in Memphis isn't just a fleeting whiff of romance – it's a long-term player in Tennessee's marital dynamics!

The p-value further substantiated the robustness of our findings, making it as rare as finding a pollutant with a heart as big as its emissions. This correlation may be no laughing matter, but a good joke always helps clear the air, doesn't it?

While our results provide intriguing insights, it's important to recognize the limitations of our study. Factors such as socioeconomic conditions and cultural shifts could also influence the marriage rate. After all, love isn't just about the air you breathe, it's also about the music in your soul (or should I say, "sole"?).

Based on our findings, it is evident that air pollution in Memphis appears to be intertwined with the marital landscape in Tennessee. Therefore, it is crucial for policymakers to consider the potential societal impacts of air pollution when devising environmental and public health policies.

Ultimately, this research represents an important step in understanding the intricate interplay between environmental factors and societal dynamics. As for any future research in this area, it's safe to say that this study has really "swept the airwaves," and no more research is needed to clear the air on this unexpected relationship!




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 The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Environmental Entanglements


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 The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Environmental Health and Domestic Harmony


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 The Dirty Truth: Air Pollution in Memphis and the Marital Mess in Tennessee with an abstract of This paper unravels the somewhat surprising link between air pollution in Memphis and the marriage rate in Tennessee. Utilizing data from the Environmental Protection Agency and the CDC National Vital Statistics, we took a deep dive into this unconventional pairing. Our findings reveal a statistically significant correlation coefficient of 0.8580418 and a p-value less than 0.01 for the period spanning from 1999 to 2021.
Our study aimed to clear the air on the relationship between these seemingly unrelated phenomena. The data showed a clear association between elevated levels of air pollutants and a decrease in the marriage rate. It seems these environmental factors might be playing a role in Tennessee's romantic landscape.
We hope this research breathes fresh air into the discussions about societal factors influencing marital decisions. As for a fitting dad joke related to the content - Why did the air pollution cross the road? To get to the smoggy side!

ChatGPT:

air pollution, Memphis, Tennessee, marriage rate, environmental factors, correlation coefficient, CDC National Vital Statistics, EPA data, societal factors, marital decisions

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

The marriage rate in Tennessee
Source: CDC National Vital Statistics
See what else correlates with The marriage rate in Tennessee

Correlation r = 0.8580418 (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.7362357 (Coefficient of determination)
This means 73.6% of the change in the one variable (i.e., The marriage rate in Tennessee) is predictable based on the change in the other (i.e., Air pollution in Memphis) over the 23 years from 1999 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.7E-7. 0.0000001653412494543047200000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.86 in 1.7E-5% of random cases. Said differently, if you correlated 6,048,098 random variables You don't actually need 6 million 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 22 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 22 because we have two variables measured over a period of 23 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.94 ] 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.
19992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
Air pollution in Memphis (Bad air quality days)20.27418.579215.890413.424713.15077.6502720.27413.698614.24666.557382.465756.575349.5890410.10931.369861.095891.369862.185791.095893.01371.369861.09291.91781
The marriage rate in Tennessee (Marriage rate)14.715.513.513.111.911.410.910.610.19.48.48.898.88.447848.409238.502348.614098.234397.95117.488757.342567.60292




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([20.274,18.5792,15.8904,13.4247,13.1507,7.65027,20.274,13.6986,14.2466,6.55738,2.46575,6.57534,9.58904,10.1093,1.36986,1.09589,1.36986,2.18579,1.09589,3.0137,1.36986,1.0929,1.91781,])
array_2 = np.array([14.7,15.5,13.5,13.1,11.9,11.4,10.9,10.6,10.1,9.4,8.4,8.8,9,8.8,8.44784,8.40923,8.50234,8.61409,8.23439,7.9511,7.48875,7.34256,7.60292,])
array_1_name = "Air pollution in Memphis"
array_2_name = "The marriage rate in Tennessee"

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

Big thanks for reviewing!


Correlation ID: 3672 · Black Variable ID: 20886 · Red Variable ID: 19779
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0