about · email me · subscribe
Spurious correlation #2,059 · 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 Flagstaff, Arizona and the second variable is The divorce rate in Arizona.  The chart goes from 1999 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the air became cleaner, people in Flagstaff were suddenly able to see things more clearly - including the cracks in their relationships. The lack of pollution meant there was no longer a need for a 'toxic' marriage, leading to a happier and more harmonious state of matrimony for many couples in Arizona.

Model: dalle-3
Prompt: Generate an image in the style of a black-and-white newspaper illustration. Depict a somber scene taking place in Flagstaff, Arizona. Show a couple sitting across from each other in a courthouse, signing divorce papers as smoky haze fills the air. Distant mountains should be barely visible through the pollution. The mood should reflect the emotional weight of their separation as they finalize the end of their relationship. 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: Less than ideal air quality in Flagstaff, Arizona and The divorce rate in Arizona. 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: Magic realism Voxel art Art nouveau Steampunk A black-and-white newspaper illustration
ChatGPT: A black-and-white newspaper illustration

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 Less than ideal air quality in Flagstaff, Arizona and The divorce rate in Arizona together. Keep the description simple.
ChatGPT: In Flagstaff, Arizona, smoky haze fills the air as the divorce papers are signed in a courthouse. The distant mountains are barely visible through the pollution, while a couple sits across from each other, finalizing their separation.

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 black-and-white newspaper illustration ] and depicting this scene: In Flagstaff, Arizona, smoky haze fills the air as the divorce papers are signed in a courthouse. The distant mountains are barely visible through the pollution, while a couple sits across from each other, finalizing their separation. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image in the style of a black-and-white newspaper illustration. Depict a somber scene taking place in Flagstaff, Arizona. Show a couple sitting across from each other in a courthouse, signing divorce papers as smoky haze fills the air. Distant mountains should be barely visible through the pollution. The mood should reflect the emotional weight of their separation as they finalize the end of their relationship.

*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 Flagstaff, Arizona caused The divorce rate in Arizona to decrease.

AI academic paper

(Because p < 0.01)
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

The Journal of Ecological Psychosociology

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. 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 CDC National Vital Statistics to assess this nagging question. You found a correlation coefficient of 0.7489445 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]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The charming city of Flagstaff, Arizona, is often lauded for its picturesque landscapes, enchanting pine forests, and crisp mountain air. However, beneath the facade of natural beauty lies a lingering concern – air pollution. Intriguingly, we embarked on a journey to delve into the unexpected relationship between air pollution levels in Flagstaff and the divorce rate in Arizona. It's an unlikely pair, like a cactus and an ice cream truck, but the correlation we uncovered left us breathless.

As we surveyed the data on air quality, it became clear that the issue was not merely blowing hot air. Our findings hinted at a strong link between increased levels of air pollutants in Flagstaff and the rise in divorce rates across the state. It was a match made in statistical heaven, or perhaps in this case, statistical purgatory.

While initially met with skepticism, our research stands as sturdy as a cactus in the desert. The correlation coefficient and p-value of our analysis presented a connection as glaring as the midday sun in the Grand Canyon. It seems that when air quality deteriorates, so does the harmony within households, leaving marriages as fragile as a sandcastle in a dust storm.

Now, you might wonder, what does air pollution have to do with the dissolution of marriages? Well, as the old adage goes, "love is in the air," but it seems so are toxic particles and fumes, which do not bode well for romantic escapades. It's almost like the air pollution is saying, "I'm not letting you breathe easy, or happily ever after for that matter."

Our research, tying the knot between environmental factors and human relationships, highlights the need for policymakers to consider the impact of air quality on family dynamics. It's a call to action to clear the air, both metaphorically and literally, to preserve the sanctity of marriage. After all, a marriage might survive rough patches, but it's hard to keep the flame alive when the air is smokier than a barbecue on the Fourth of July.

In this paper, we present our robust findings, demonstrating the unexpected yet compelling connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Our data-driven analysis offers a fresh perspective, akin to a gust of clean, unpolluted air amid a haze of uncertainty. So buckle up and breathe in – our findings are as refreshing as a gulp of fresh, unpolluted air in the desert.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. 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 you might move on to cartoons and children's shows that you watched for research.

Here is the title and abstract of the paper:
[[TITLE]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The charming city of Flagstaff, Arizona, is often lauded for its picturesque landscapes, enchanting pine forests, and crisp mountain air. However, beneath the facade of natural beauty lies a lingering concern – air pollution. Intriguingly, we embarked on a journey to delve into the unexpected relationship between air pollution levels in Flagstaff and the divorce rate in Arizona. It's an unlikely pair, like a cactus and an ice cream truck, but the correlation we uncovered left us breathless.
As we surveyed the data on air quality, it became clear that the issue was not merely blowing hot air. Our findings hinted at a strong link between increased levels of air pollutants in Flagstaff and the rise in divorce rates across the state. It was a match made in statistical heaven, or perhaps in this case, statistical purgatory.
While initially met with skepticism, our research stands as sturdy as a cactus in the desert. The correlation coefficient and p-value of our analysis presented a connection as glaring as the midday sun in the Grand Canyon. It seems that when air quality deteriorates, so does the harmony within households, leaving marriages as fragile as a sandcastle in a dust storm.
Now, you might wonder, what does air pollution have to do with the dissolution of marriages? Well, as the old adage goes, "love is in the air," but it seems so are toxic particles and fumes, which do not bode well for romantic escapades. It's almost like the air pollution is saying, "I'm not letting you breathe easy, or happily ever after for that matter."
Our research, tying the knot between environmental factors and human relationships, highlights the need for policymakers to consider the impact of air quality on family dynamics. It's a call to action to clear the air, both metaphorically and literally, to preserve the sanctity of marriage. After all, a marriage might survive rough patches, but it's hard to keep the flame alive when the air is smokier than a barbecue on the Fourth of July.
In this paper, we present our robust findings, demonstrating the unexpected yet compelling connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Our data-driven analysis offers a fresh perspective, akin to a gust of clean, unpolluted air amid a haze of uncertainty. So buckle up and breathe in – our findings are as refreshing as a gulp of fresh, unpolluted air in the desert.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between environmental factors and human behavior has long been a subject of interest, akin to the captivating mating dance of the blue-footed booby. In “Air Pollution and Divorce,” Smith et al. present an exploratory analysis of the potential link between air quality and marital discord, outlining the far-reaching implications of polluted air on family dynamics. The findings speak volumes, much like the thunderous roar of a waterfall or perhaps the reverberating echo of a high-pressure tire pump at a gas station.

Doe and Jones, in their seminal work "Atmospheric Agony: The Impact of Air Pollutants on Human Relationships," shed light on the intricate interplay between air pollution and interpersonal strife. Their comprehensive study delves deep into the metaphorical fog of marital discord, uncovering a correlation as unmistakable as a neon sign in a dark alley.

On a less serious note, the book "Toxic Love: A Suffocating Romance" by A. Smogbreath offers a satirical take on the romantic implications of air pollution, infusing wit and humor into an otherwise grave subject. As the author jests, perhaps love is not in the air when the air is filled with noxious fumes and particulate matter.

In a surprising twist, the fictitious novel "The Smog of Broken Hearts" by P. Ollution takes a whimsical approach to the unlikely connection between air pollution and marital discord, weaving a tale of love's struggles against the backdrop of a hazy urban landscape. It seems that even in the realm of fiction, the impact of air pollution on relationships cannot be swept under the rug.

Drawing inspiration from unexpected sources, the animated series "Pollutoons" provides a quirky yet insightful take on environmental issues, including the effects of air pollution on human behavior. As the characters navigate through comical mishaps caused by polluted air, the show humorously underscores the serious repercussions of environmental degradation.

In a departure from conventional sources, the children's program "The Air Quality Brigade" introduces young audiences to the importance of clean air and its potential influence on interpersonal relationships. Through lighthearted adventures and catchy tunes, the show imparts valuable lessons about environmental stewardship and its impact on the well-being of communities.

In summary, the literature surrounding the correlation between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state spans a diverse spectrum, from scholarly investigations to fictional portrayals and even children's media. While the subject matter may seem unconventional, the findings underscore the profound influence of environmental factors on human relationships, leaving no shortage of puns and unexpected twists to keep the dialogue fresh, much like a gust of clean air on a smoggy day.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and 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]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."

[[INTRODUCTION]]
The charming city of Flagstaff, Arizona, is often lauded for its picturesque landscapes, enchanting pine forests, and crisp mountain air. However, beneath the facade of natural beauty lies a lingering concern – air pollution. Intriguingly, we embarked on a journey to delve into the unexpected relationship between air pollution levels in Flagstaff and the divorce rate in Arizona. It's an unlikely pair, like a cactus and an ice cream truck, but the correlation we uncovered left us breathless.
As we surveyed the data on air quality, it became clear that the issue was not merely blowing hot air. Our findings hinted at a strong link between increased levels of air pollutants in Flagstaff and the rise in divorce rates across the state. It was a match made in statistical heaven, or perhaps in this case, statistical purgatory.
While initially met with skepticism, our research stands as sturdy as a cactus in the desert. The correlation coefficient and p-value of our analysis presented a connection as glaring as the midday sun in the Grand Canyon. It seems that when air quality deteriorates, so does the harmony within households, leaving marriages as fragile as a sandcastle in a dust storm.
Now, you might wonder, what does air pollution have to do with the dissolution of marriages? Well, as the old adage goes, "love is in the air," but it seems so are toxic particles and fumes, which do not bode well for romantic escapades. It's almost like the air pollution is saying, "I'm not letting you breathe easy, or happily ever after for that matter."
Our research, tying the knot between environmental factors and human relationships, highlights the need for policymakers to consider the impact of air quality on family dynamics. It's a call to action to clear the air, both metaphorically and literally, to preserve the sanctity of marriage. After all, a marriage might survive rough patches, but it's hard to keep the flame alive when the air is smokier than a barbecue on the Fourth of July.
In this paper, we present our robust findings, demonstrating the unexpected yet compelling connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Our data-driven analysis offers a fresh perspective, akin to a gust of clean, unpolluted air amid a haze of uncertainty. So buckle up and breathe in – our findings are as refreshing as a gulp of fresh, unpolluted air in the desert.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:


[[METHODOLOGY]]

To unravel the enigmatic bond between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state, we employed a multi-faceted methodology. Our research team harnessed data from various sources, including the Environmental Protection Agency and CDC National Vital Statistics. The data spanned the years from 1999 to 2021, encompassing a broad spectrum of environmental and social indicators. It's fair to say our data collection process was as thorough as a labrador sniffing out a bone.

Firstly, we meticulously gathered air quality data from various monitoring stations in Flagstaff, focusing on key pollutants such as particulate matter, ozone, sulfur dioxide, nitrogen dioxide, and carbon monoxide. We then wrangled this data with all the care of a cowboy taming a wild stallion to obtain a comprehensive picture of air pollution levels over the past two decades.

Alongside this, we delved into the CDC National Vital Statistics to mine divorce rates across Arizona during the same period. Our team sifted through this data with the precision of a gold miner panning for nuggets, extracting divorce rates and population statistics to factor in the nuances of demographic shifts.

Next, we maneuvered through a labyrinth of statistical analyses to tease out the relationship between air pollution levels in Flagstaff and divorce rates in Arizona. We've crunched more numbers than a mathematician with a craving for salads, conducting correlation analyses and regression models to identify patterns and trends. We also employed advanced time series analysis to uncover any temporal dynamics between air quality and the divorce rate.

To ensure the robustness of our findings, we carefully controlled for potential confounding variables, such as socioeconomic factors, educational attainment, and employment rates. After all, we didn't want any sneaky variables to swoop in and muddy the waters, much like a dust storm descending upon an otherwise pristine desert landscape.

Moreover, we carried out sensitivity analyses and Monte Carlo simulations to test the stability of the observed relationship. It was a bit like baking a meticulous souffle – we needed to ensure that the correlation didn't collapse under pressure, much like an overworked spouse under the strain of air pollution-related stress.

In essence, our methodology was a blend of meticulous data wrangling, sophisticated statistical analyses, and careful consideration of potential confounders. We've left no statistical stone unturned, striving to illuminate the intricate connection between air pollution levels in Flagstaff and the divorce rate in Arizona. Just like marriage, our data analysis process demanded patience, steadfastness, and a good sense of humor – after all, what's life without a few unexpected twists and turns?

And remember, when statistical analysis gets tough, just take a breather – unless, of course, the air quality index in Flagstaff is off the charts!


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

Please make up the results section of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and CDC National Vital Statistics .

For the time period 1999 to 2021, you found a correlation 0.7489445, r-squared of 0.5609178, 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]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The charming city of Flagstaff, Arizona, is often lauded for its picturesque landscapes, enchanting pine forests, and crisp mountain air. However, beneath the facade of natural beauty lies a lingering concern – air pollution. Intriguingly, we embarked on a journey to delve into the unexpected relationship between air pollution levels in Flagstaff and the divorce rate in Arizona. It's an unlikely pair, like a cactus and an ice cream truck, but the correlation we uncovered left us breathless.
As we surveyed the data on air quality, it became clear that the issue was not merely blowing hot air. Our findings hinted at a strong link between increased levels of air pollutants in Flagstaff and the rise in divorce rates across the state. It was a match made in statistical heaven, or perhaps in this case, statistical purgatory.
While initially met with skepticism, our research stands as sturdy as a cactus in the desert. The correlation coefficient and p-value of our analysis presented a connection as glaring as the midday sun in the Grand Canyon. It seems that when air quality deteriorates, so does the harmony within households, leaving marriages as fragile as a sandcastle in a dust storm.
Now, you might wonder, what does air pollution have to do with the dissolution of marriages? Well, as the old adage goes, "love is in the air," but it seems so are toxic particles and fumes, which do not bode well for romantic escapades. It's almost like the air pollution is saying, "I'm not letting you breathe easy, or happily ever after for that matter."
Our research, tying the knot between environmental factors and human relationships, highlights the need for policymakers to consider the impact of air quality on family dynamics. It's a call to action to clear the air, both metaphorically and literally, to preserve the sanctity of marriage. After all, a marriage might survive rough patches, but it's hard to keep the flame alive when the air is smokier than a barbecue on the Fourth of July.
In this paper, we present our robust findings, demonstrating the unexpected yet compelling connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Our data-driven analysis offers a fresh perspective, akin to a gust of clean, unpolluted air amid a haze of uncertainty. So buckle up and breathe in – our findings are as refreshing as a gulp of fresh, unpolluted air in the desert.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The investigation into the potential link between air pollution levels in Flagstaff, Arizona, and the divorce rate in Arizona revealed an intriguing relationship. Our analysis unveiled a significant positive correlation coefficient of 0.7489445, with an r-squared value of 0.5609178, and a p-value less than 0.01, indicating a strong association between these seemingly disparate variables.

Fig. 1 presents a scatterplot illustrating the robust association between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state over the period of 1999 to 2021. The data points demonstrate a clear and compelling pattern, resembling the clarity of a cloudless, pollution-free sky.

It appears that when the air quality in Flagstaff deteriorates, so does the stability of marriages across Arizona. The correlation we found is as solid as a rock formation in the Grand Canyon. It seems that the presence of harmful air pollutants may sow the seeds of marital discord, continuing their relationship-wrecking antics like an unwanted guest who just won't leave.

This unexpected link between air pollution and divorce rates brings to mind a classic dad joke: "Why did the air particle break up with the oxygen molecule? There was no chemistry between them – it just wasn't a 'breathtaking' relationship!" Our research suggests that perhaps clean air is not only essential for a healthy body but also for a thriving marriage.

In light of our findings, it is imperative for policymakers to recognize the influence of air quality on family dynamics. After all, as the saying goes, "a breath of fresh air can do wonders," and it seems that clearing the air may just be the key to restoring harmony within households.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."

[[LITERATURE REVIEW]]
The connection between environmental factors and human behavior has long been a subject of interest, akin to the captivating mating dance of the blue-footed booby. In “Air Pollution and Divorce,” Smith et al. present an exploratory analysis of the potential link between air quality and marital discord, outlining the far-reaching implications of polluted air on family dynamics. The findings speak volumes, much like the thunderous roar of a waterfall or perhaps the reverberating echo of a high-pressure tire pump at a gas station.
Doe and Jones, in their seminal work "Atmospheric Agony: The Impact of Air Pollutants on Human Relationships," shed light on the intricate interplay between air pollution and interpersonal strife. Their comprehensive study delves deep into the metaphorical fog of marital discord, uncovering a correlation as unmistakable as a neon sign in a dark alley.
On a less serious note, the book "Toxic Love: A Suffocating Romance" by A. Smogbreath offers a satirical take on the romantic implications of air pollution, infusing wit and humor into an otherwise grave subject. As the author jests, perhaps love is not in the air when the air is filled with noxious fumes and particulate matter.
In a surprising twist, the fictitious novel "The Smog of Broken Hearts" by P. Ollution takes a whimsical approach to the unlikely connection between air pollution and marital discord, weaving a tale of love's struggles against the backdrop of a hazy urban landscape. It seems that even in the realm of fiction, the impact of air pollution on relationships cannot be swept under the rug.
Drawing inspiration from unexpected sources, the animated series "Pollutoons" provides a quirky yet insightful take on environmental issues, including the effects of air pollution on human behavior. As the characters navigate through comical mishaps caused by polluted air, the show humorously underscores the serious repercussions of environmental degradation.
In a departure from conventional sources, the children's program "The Air Quality Brigade" introduces young audiences to the importance of clean air and its potential influence on interpersonal relationships. Through lighthearted adventures and catchy tunes, the show imparts valuable lessons about environmental stewardship and its impact on the well-being of communities.
In summary, the literature surrounding the correlation between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state spans a diverse spectrum, from scholarly investigations to fictional portrayals and even children's media. While the subject matter may seem unconventional, the findings underscore the profound influence of environmental factors on human relationships, leaving no shortage of puns and unexpected twists to keep the dialogue fresh, much like a gust of clean air on a smoggy day.

[[RESULTS]]
The investigation into the potential link between air pollution levels in Flagstaff, Arizona, and the divorce rate in Arizona revealed an intriguing relationship. Our analysis unveiled a significant positive correlation coefficient of 0.7489445, with an r-squared value of 0.5609178, and a p-value less than 0.01, indicating a strong association between these seemingly disparate variables.
Fig. 1 presents a scatterplot illustrating the robust association between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state over the period of 1999 to 2021. The data points demonstrate a clear and compelling pattern, resembling the clarity of a cloudless, pollution-free sky.
It appears that when the air quality in Flagstaff deteriorates, so does the stability of marriages across Arizona. The correlation we found is as solid as a rock formation in the Grand Canyon. It seems that the presence of harmful air pollutants may sow the seeds of marital discord, continuing their relationship-wrecking antics like an unwanted guest who just won't leave.
This unexpected link between air pollution and divorce rates brings to mind a classic dad joke: "Why did the air particle break up with the oxygen molecule? There was no chemistry between them – it just wasn't a 'breathtaking' relationship!" Our research suggests that perhaps clean air is not only essential for a healthy body but also for a thriving marriage.
In light of our findings, it is imperative for policymakers to recognize the influence of air quality on family dynamics. After all, as the saying goes, "a breath of fresh air can do wonders," and it seems that clearing the air may just be the key to restoring harmony within households.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study shed light on the unexpected yet compelling relationship between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Our findings align with prior research by Smith et al. and Doe and Jones, highlighting the ripple effect of air quality on interpersonal relationships just like how a skipped stone creates ripples on the surface of a still pond. Through a rigorous statistical analysis, we have exposed a correlation that stands as firm as the rock formations in the Grand Canyon, broadening the discourse on the impact of environmental factors on marital discord.

The substantial positive correlation coefficient and the statistically significant p-value corroborate the contentions of previous studies, reaffirming the notion of a tangible link between air pollution in Flagstaff and the divorce rate in Arizona. It seems that the fog of marital discord can be attributed not only to interpersonal dynamics but also to the environmental haze that permeates the air like an unwanted guest at a party. Our results emphasize that this seemingly offbeat correlation is no mere flight of fancy, but rather a reality as tangible as the polluted air itself.

The unexpected correlation uncovered in our research evokes a classic dad joke: "Why did the air particle break up with the oxygen molecule? There was no chemistry between them – it just wasn't a 'breathtaking' relationship!" This humorous anecdote amusingly parallels our findings, highlighting the importance of clean air not only for respiratory health but also for maintaining the sanctity of marriage. It underscores the profound influence of environmental quality on human relationships, adding a touch of levity to a serious subject.

Our study reinforces the need for policymakers to consider the broader implications of air pollution on family dynamics, echoing the sentiments of a breath of fresh air being able to work wonders. It emphasizes the imperative for environmental stewardship not only for the preservation of natural resources but also for the preservation of harmonious family relationships. The findings call for a clear-sighted approach to environmental policymaking, where clean air becomes not just an environmental necessity but also a cornerstone of stable and enduring relationships.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Air pollution in Flagstaff, Arizona and The divorce rate in Arizona. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona

[[ABSTRACT]]
The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.

It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.

Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage."

[[INTRDUCTION]]
The charming city of Flagstaff, Arizona, is often lauded for its picturesque landscapes, enchanting pine forests, and crisp mountain air. However, beneath the facade of natural beauty lies a lingering concern – air pollution. Intriguingly, we embarked on a journey to delve into the unexpected relationship between air pollution levels in Flagstaff and the divorce rate in Arizona. It's an unlikely pair, like a cactus and an ice cream truck, but the correlation we uncovered left us breathless.
As we surveyed the data on air quality, it became clear that the issue was not merely blowing hot air. Our findings hinted at a strong link between increased levels of air pollutants in Flagstaff and the rise in divorce rates across the state. It was a match made in statistical heaven, or perhaps in this case, statistical purgatory.
While initially met with skepticism, our research stands as sturdy as a cactus in the desert. The correlation coefficient and p-value of our analysis presented a connection as glaring as the midday sun in the Grand Canyon. It seems that when air quality deteriorates, so does the harmony within households, leaving marriages as fragile as a sandcastle in a dust storm.
Now, you might wonder, what does air pollution have to do with the dissolution of marriages? Well, as the old adage goes, "love is in the air," but it seems so are toxic particles and fumes, which do not bode well for romantic escapades. It's almost like the air pollution is saying, "I'm not letting you breathe easy, or happily ever after for that matter."
Our research, tying the knot between environmental factors and human relationships, highlights the need for policymakers to consider the impact of air quality on family dynamics. It's a call to action to clear the air, both metaphorically and literally, to preserve the sanctity of marriage. After all, a marriage might survive rough patches, but it's hard to keep the flame alive when the air is smokier than a barbecue on the Fourth of July.
In this paper, we present our robust findings, demonstrating the unexpected yet compelling connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Our data-driven analysis offers a fresh perspective, akin to a gust of clean, unpolluted air amid a haze of uncertainty. So buckle up and breathe in – our findings are as refreshing as a gulp of fresh, unpolluted air in the desert.

[[RESULTS]]
The investigation into the potential link between air pollution levels in Flagstaff, Arizona, and the divorce rate in Arizona revealed an intriguing relationship. Our analysis unveiled a significant positive correlation coefficient of 0.7489445, with an r-squared value of 0.5609178, and a p-value less than 0.01, indicating a strong association between these seemingly disparate variables.
Fig. 1 presents a scatterplot illustrating the robust association between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state over the period of 1999 to 2021. The data points demonstrate a clear and compelling pattern, resembling the clarity of a cloudless, pollution-free sky.
It appears that when the air quality in Flagstaff deteriorates, so does the stability of marriages across Arizona. The correlation we found is as solid as a rock formation in the Grand Canyon. It seems that the presence of harmful air pollutants may sow the seeds of marital discord, continuing their relationship-wrecking antics like an unwanted guest who just won't leave.
This unexpected link between air pollution and divorce rates brings to mind a classic dad joke: "Why did the air particle break up with the oxygen molecule? There was no chemistry between them – it just wasn't a 'breathtaking' relationship!" Our research suggests that perhaps clean air is not only essential for a healthy body but also for a thriving marriage.
In light of our findings, it is imperative for policymakers to recognize the influence of air quality on family dynamics. After all, as the saying goes, "a breath of fresh air can do wonders," and it seems that clearing the air may just be the key to restoring harmony within households.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has unearthed a substantial and unexpected relationship between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. The robust correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021 point to a compelling association between these seemingly incongruent variables. It's as if the air pollution is shouting, "It's not me, it's your toxic behavior!"

The findings of our study raise questions about the broader implications of environmental factors on interpersonal relationships. Our data-driven analysis suggests that when the air quality index rises, so do the tension levels within marriages, quite literally leaving couples gasping for breath.

As we've unraveled this puzzling correlation, it's difficult not to make a pun about a breath-taking relationship. It seems that love isn't the only thing in the air; so are harmful pollutants, apparently dead set on dismantling matrimonial bliss. It's like the pollution particles are saying, "We're not letting you breathe easy, or live happily ever after for that matter."

Our findings have implications for policy-makers and environmental advocates alike. It is imperative to acknowledge the profound impact of air quality on family dynamics. After all, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage," or so the saying goes. It's time to clear the air – both literally and metaphorically – to protect the sanctity of marriage.

In light of our research, we assert that no further investigation in this area is needed. Our findings stand as solid as a rock formation in the Grand Canyon. It seems we've cleared the air on this subject - both literally and metaphorically!

So, next time you're enjoying the fresh air in Flagstaff, remember that it not only cleanses your lungs but might just save your marriage too.


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 Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Ecological Psychosociology


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 Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Environmental Sociology and Geographical Analysis


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 Clear Skies, Broken Ties: Investigating the Relationship Between Air Pollution Levels in Flagstaff, Arizona and the Divorce Rate in Arizona with an abstract of The study has a breath of fresh air for you! We delve into the intricate connection between air pollution levels in Flagstaff, Arizona, and the divorce rate in the state. Using data from the Environmental Protection Agency and CDC National Vital Statistics, our research team undertook a thorough analysis to unravel this seemingly offbeat correlation. The findings stand out like a sore thumb – a correlation coefficient of 0.7489445 and a p-value less than 0.01 from 1999 to 2021.
It’s no smoggy mystery that air pollution can fray more than just the ozone layer. Our results reveal a surprising connection between elevated levels of air contaminants in Flagstaff and the uptick in divorce rates across Arizona. Perhaps, when the air quality index is off the charts, so are the stress levels in marital relationships. It seems that love may not conquer all, especially when obscured by a thick cloud of smog.
Marrying the realms of environmental science and human relationships, we urge policymakers to consider the impact of air quality on family dynamics. It seems we must clear the air not only figuratively but also quite literally to maintain the sanctity of marriage. After all, as the old saying goes, "clean air, clear mind, and a happy heart are key ingredients for a lasting marriage.

ChatGPT:

air pollution, divorce rate, Flagstaff, Arizona, correlation, relationship, environmental impact, family dynamics, stress levels, marriage, air quality index, EPA data, CDC National Vital Statistics, environmental science, public policy, clean air, relationship satisfaction

*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 Flagstaff, Arizona
Detailed data title: Percentage of days with moderate or worse air quality in Flagstaff, AZ
Source: Environmental Protection Agency
See what else correlates with Air pollution in Flagstaff, Arizona

The divorce rate in Arizona
Source: CDC National Vital Statistics
See what else correlates with The divorce rate in Arizona

Correlation r = 0.7489445 (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.5609178 (Coefficient of determination)
This means 56.1% of the change in the one variable (i.e., The divorce rate in Arizona) is predictable based on the change in the other (i.e., Air pollution in Flagstaff, Arizona) over the 23 years from 1999 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 3.9E-5. 0.0000392793959696508200000000
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.75 in 0.0039% of random cases. Said differently, if you correlated 25,459 random variables You don't actually need 25 thousand variables to find a correlation like this one. 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.

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.49, 0.89 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
19992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
Air pollution in Flagstaff, Arizona (Bad air quality days)40.720237.637432.869145.125341.782733.977932.681641.551242.016832.602727.823734.710737.260334.972728.02229.97228.767117.759629.041134.246620.821915.84726.5753
The divorce rate in Arizona (Divorce rate)4.64.644.84.44.34.2443.83.63.53.94.33.929153.892013.578473.352013.47922.954272.91592.914952.70467




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([40.7202,37.6374,32.8691,45.1253,41.7827,33.9779,32.6816,41.5512,42.0168,32.6027,27.8237,34.7107,37.2603,34.9727,28.022,29.972,28.7671,17.7596,29.0411,34.2466,20.8219,15.847,26.5753,])
array_2 = np.array([4.6,4.6,4,4.8,4.4,4.3,4.2,4,4,3.8,3.6,3.5,3.9,4.3,3.92915,3.89201,3.57847,3.35201,3.4792,2.95427,2.9159,2.91495,2.70467,])
array_1_name = "Air pollution in Flagstaff, Arizona"
array_2_name = "The divorce rate in Arizona"

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

You're the correlation whisperer we needed!


Correlation ID: 2059 · Black Variable ID: 20625 · Red Variable ID: 19790
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0