about · email me · subscribe
Spurious correlation #3,614 · 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 Dayton and the second variable is The divorce rate in Ohio.  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

Happy to oblige! As the air cleared in Dayton, it seems the city wasn't the only thing experiencing a breath of fresh air. Perhaps with cleaner air, Ohio couples finally felt like they could *re-spark* their love and avoid any *sulphur* feelings toward each other. It's like the smog was clouding their judgment, but now they can see *clear-ly* how to work things out.

Model: dalle-3
Prompt: Prompt: Generate a comic-book-style illustration in the 1960s aesthetic. Depict a cozy living room in Dayton, Ohio, with a couple peacefully sitting together, enjoying the fresh air from the open windows. The air outside is clean and clear, portraying a noticeable lack of pollution. Emphasize the relaxed and harmonious atmosphere, highlighting how the drop in air pollution has led to a decrease in marital disputes, ultimately lowering divorce rates across Ohio. Let the illustration convey the serene and tranquil mood of the couple's evening together. 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 Dayton and The divorce rate in Ohio. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s Surrealism Cubism Data cyber art Art nouveau
ChatGPT: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Air pollution in Dayton and The divorce rate in Ohio, in the following situation: As air pollution decreased in Dayton, so did the number of disagreements over who left the window open, leading to a decrease in divorce rates across Ohio as couples found themselves arguing less about letting polluted air into the house.. Keep the description simple.
ChatGPT: In a cozy living room in Dayton, Ohio, a couple is sitting together with the windows open. The air outside is clean and fresh, and there is a noticeable lack of pollution. The couple is not arguing, and instead, they are enjoying a peaceful evening together. The decrease in air pollution has eliminated the need for debates over who left the window open, leading to a decrease in divorce rates across Ohio.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s ] and depicting this scene: In a cozy living room in Dayton, Ohio, a couple is sitting together with the windows open. The air outside is clean and fresh, and there is a noticeable lack of pollution. The couple is not arguing, and instead, they are enjoying a peaceful evening together. The decrease in air pollution has eliminated the need for debates over who left the window open, leading to a decrease in divorce rates across Ohio. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Generate a comic-book-style illustration in the 1960s aesthetic. Depict a cozy living room in Dayton, Ohio, with a couple peacefully sitting together, enjoying the fresh air from the open windows. The air outside is clean and clear, portraying a noticeable lack of pollution. Emphasize the relaxed and harmonious atmosphere, highlighting how the drop in air pollution has led to a decrease in marital disputes, ultimately lowering divorce rates across Ohio. Let the illustration convey the serene and tranquil mood of the couple's evening together.

*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 Dayton caused The divorce rate in Ohio to decrease. Include one good pun.

AI academic paper

(Because p < 0.01)
Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio

The Journal of Ecological Relationships

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Air pollution in Dayton and The divorce rate in Ohio. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title punny if you can come up with clever pun. If not, just make it sound 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.8606795 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]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!



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 Dayton and The divorce rate in Ohio. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!


-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the old adage goes, "love is in the air," but could it be that air pollution is also having an impact on love? In this study, we explore the relationship between air pollution levels in Dayton, Ohio and the divorce rates in the state. We aim to shed light on this unexpected and peculiar connection, all while trying to refrain from making too many "aired" jokes.

Air pollution is a serious issue that affects the health and well-being of individuals and communities. It is often associated with respiratory problems, cardiovascular diseases, and even premature mortality. However, the ramifications of air pollution may extend beyond just health concerns. Could it be that air pollution, like a toxic relationship, is also contributing to the breakdown of marriages? It seems that this topic is not just up in the air, but also down to earth.

Our investigation involves a comprehensive analysis of air quality data obtained from the Environmental Protection Agency's monitoring stations in Dayton, Ohio. We have also delved into the National Vital Statistics from the Centers for Disease Control and Prevention to examine the divorce rates in Ohio during the same period. It may sound like we've really gone deep into the weeds, but we promise it's all for a greater cause.

While some might think that correlation does not imply causation, the correlation coefficient we have uncovered is as strong as a bond in a healthy relationship, with the value of 0.8606795. When we observed this correlation, it was almost like a breath of fresh air - albeit, a slightly polluted one. Furthermore, our statistical analyses have yielded a significance level of p < 0.01, indicating that the relationship between air pollution and divorce rates is not just blowing in the wind.

So, as we embark on this academic journey investigating the unexpected intersection of air pollution and marital dissolution, let's brace ourselves for some surprising findings, and perhaps a few "air-ritating" puns along the way. We hope that our findings will not only contribute to the literature on environmental health and social dynamics but also provide a breath of fresh comedic air in the world of academic research.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.You draft 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 Dayton and The divorce rate in Ohio. 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]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!


-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the old adage goes, "love is in the air," but could it be that air pollution is also having an impact on love? In this study, we explore the relationship between air pollution levels in Dayton, Ohio and the divorce rates in the state. We aim to shed light on this unexpected and peculiar connection, all while trying to refrain from making too many "aired" jokes.
Air pollution is a serious issue that affects the health and well-being of individuals and communities. It is often associated with respiratory problems, cardiovascular diseases, and even premature mortality. However, the ramifications of air pollution may extend beyond just health concerns. Could it be that air pollution, like a toxic relationship, is also contributing to the breakdown of marriages? It seems that this topic is not just up in the air, but also down to earth.
Our investigation involves a comprehensive analysis of air quality data obtained from the Environmental Protection Agency's monitoring stations in Dayton, Ohio. We have also delved into the National Vital Statistics from the Centers for Disease Control and Prevention to examine the divorce rates in Ohio during the same period. It may sound like we've really gone deep into the weeds, but we promise it's all for a greater cause.
While some might think that correlation does not imply causation, the correlation coefficient we have uncovered is as strong as a bond in a healthy relationship, with the value of 0.8606795. When we observed this correlation, it was almost like a breath of fresh air - albeit, a slightly polluted one. Furthermore, our statistical analyses have yielded a significance level of p < 0.01, indicating that the relationship between air pollution and divorce rates is not just blowing in the wind.
So, as we embark on this academic journey investigating the unexpected intersection of air pollution and marital dissolution, let's brace ourselves for some surprising findings, and perhaps a few "air-ritating" puns along the way. We hope that our findings will not only contribute to the literature on environmental health and social dynamics but also provide a breath of fresh comedic air in the world of academic research.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their study "The Impact of Air Pollution on Public Health," Smith and Doe provide an extensive analysis of the detrimental effects of air pollution on respiratory and cardiovascular health. The authors outline the various pollutants present in the air, including particulate matter, nitrogen dioxide, and ozone, and their adverse impact on human well-being. It's enough to make one want to invest in a personal bubble helmet! Despite the serious nature of the topic, their findings provide a breath of fresh air in terms of understanding the pervasive consequences of air pollution.

Adding to the discussion, Jones et al. in "Environmental Factors and Health Outcomes" explore the broader societal implications of environmental pollution. They highlight the complex interplay between environmental factors and public health, shedding light on the far-reaching effects of air pollution beyond physical well-being. It's almost as if air pollution is infiltrating every aspect of our lives, much like a nosy neighbor! Their work underscores the need to consider unconventional pathways through which air pollution may exert its influence, such as behavioral and social dynamics.

Turning to some more accessible sources, "The Air That We Breathe: A Practical Guide to Air Quality" by Environmental Specialist Jane Smith presents a comprehensive overview of air pollution sources and their impact on human health. The book's poignant insights into the invisible threats lurking in the atmosphere serve as a wake-up call to the importance of clean air. One might say it's like a breath of fresh air in the genre of environmental literature.

On a more whimsical note, the novel "Love in the Time of Air Pollution" by Fictional Author Emma Doe takes a creative spin on the intersection of environmental challenges and personal relationships. While clearly a work of fiction, it playfully weaves together the struggles of a couple navigating the complexities of love amidst the backdrop of a polluted city. It's as if the characters are trying to find the "clean" slate to start anew!

Perhaps in a more unorthodox turn of events, a social media post by @CleanAirEnthusiast raises an intriguing anecdotal connection between heightened air pollution days and an increase in divorce filings in their community. While social media may not be the traditional bastion of scholarly rigor, the post sparks curiosity about the potential influence of environmental factors on interpersonal relationships. It's certainly cause for some breathless contemplation!



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 Dayton and The divorce rate in Ohio. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!


[[INTRODUCTION]]
As the old adage goes, "love is in the air," but could it be that air pollution is also having an impact on love? In this study, we explore the relationship between air pollution levels in Dayton, Ohio and the divorce rates in the state. We aim to shed light on this unexpected and peculiar connection, all while trying to refrain from making too many "aired" jokes.
Air pollution is a serious issue that affects the health and well-being of individuals and communities. It is often associated with respiratory problems, cardiovascular diseases, and even premature mortality. However, the ramifications of air pollution may extend beyond just health concerns. Could it be that air pollution, like a toxic relationship, is also contributing to the breakdown of marriages? It seems that this topic is not just up in the air, but also down to earth.
Our investigation involves a comprehensive analysis of air quality data obtained from the Environmental Protection Agency's monitoring stations in Dayton, Ohio. We have also delved into the National Vital Statistics from the Centers for Disease Control and Prevention to examine the divorce rates in Ohio during the same period. It may sound like we've really gone deep into the weeds, but we promise it's all for a greater cause.
While some might think that correlation does not imply causation, the correlation coefficient we have uncovered is as strong as a bond in a healthy relationship, with the value of 0.8606795. When we observed this correlation, it was almost like a breath of fresh air - albeit, a slightly polluted one. Furthermore, our statistical analyses have yielded a significance level of p < 0.01, indicating that the relationship between air pollution and divorce rates is not just blowing in the wind.
So, as we embark on this academic journey investigating the unexpected intersection of air pollution and marital dissolution, let's brace ourselves for some surprising findings, and perhaps a few "air-ritating" puns along the way. We hope that our findings will not only contribute to the literature on environmental health and social dynamics but also provide a breath of fresh comedic air in the world of academic research.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the intriguing connection between air pollution in Dayton and the divorce rate in Ohio, we employed a rigorous and systematic methodology to ensure the reliability and validity of our findings. Our data collection process resembled a finely orchestrated dance, with each step carefully choreographed to waltz our way to illuminating results that would leave our audience breathless with excitement… or perhaps a touch of air pollution, depending on their proximity to our findings.

We gathered air quality data from the Environmental Protection Agency's monitoring stations in Dayton, Ohio. These data, akin to a fine wine, aged between 1999 and 2021, allowing for a comprehensive assessment of the air pollution levels over a substantial period. Meanwhile, our divorce rate data from the CDC National Vital Statistics was akin to a perfectly ripe avocado, representing the dissolution of marriages in Ohio with precision and depth. It's as if we were conducting a culinary experiment in the laboratory of life, blending the pungent aromas of air pollution with the bittersweet flavor of divorce statistics.

The air quality data were meticulously quantified using a variety of metrics, including but not limited to particulate matter (PM2.5 and PM10), nitrogen dioxide (NO2), sulfur dioxide (SO2), and ozone (O3) levels. These measurements were then harmoniously harmonized into a comprehensive air pollution index, which served as our primary independent variable. It was almost like conducting a symphony, where each instrument played its part in contributing to the grand orchestral performance of our analysis - though in our case, the air pollution index was more likely a cacophony than a harmonious melody.

Simultaneously, we delved into the vast ocean of divorce rates, extracting data on the annual number of divorces per capita in Ohio. These figures were then assembled into a cohesive time series, capturing the ebb and flow of marital dissolutions over the years. It was as if we were embarking on an archaeological expedition, unearthing the buried remnants of broken relationships scattered across the statistical terrain. Or perhaps we were more like sommeliers, savoring the vintage of divorce rates and discerning the distinct notes of each year's uncouplings.

Once our data were safely extracted from the digital wilderness and corralled into a manageable format, we employed a series of advanced statistical methodologies to unravel the intricate relationship between air pollution and divorce rates. Our analyses included a Pearson correlation coefficient calculation, a multiple linear regression model, and a time series analysis, each serving as a unique lens through which to scrutinize the interplay of air pollution and marital dissolution. It was like harnessing the power of a multifaceted kaleidoscope to reveal the kaleidoscopic patterns of environmental and social dynamics, though with decidedly less dazzling colors and more nuanced statistical significance.

Finally, to ensure the robustness of our findings, we conducted sensitivity analyses, bootstrapping procedures, and cross-validation techniques, akin to shoring up the walls of our research fortress with additional layers of statistical reinforcement. It's as if we were building a sturdy statistical dam to withstand the torrents of skepticism and provide a reservoir of compelling evidence for our proposed relationship between air pollution and divorce rates.
In a way, we were the metaphorical plumbers of the research world, fixing leaks in the theoretical pipeline and ensuring a steady flow of meaningful results.


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 Dayton and The divorce rate in Ohio. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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.8606795, r-squared of 0.7407691, and p < 0.01.

One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.

Here is the title and abstract of the paper:
[[TITLE]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!


-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the old adage goes, "love is in the air," but could it be that air pollution is also having an impact on love? In this study, we explore the relationship between air pollution levels in Dayton, Ohio and the divorce rates in the state. We aim to shed light on this unexpected and peculiar connection, all while trying to refrain from making too many "aired" jokes.
Air pollution is a serious issue that affects the health and well-being of individuals and communities. It is often associated with respiratory problems, cardiovascular diseases, and even premature mortality. However, the ramifications of air pollution may extend beyond just health concerns. Could it be that air pollution, like a toxic relationship, is also contributing to the breakdown of marriages? It seems that this topic is not just up in the air, but also down to earth.
Our investigation involves a comprehensive analysis of air quality data obtained from the Environmental Protection Agency's monitoring stations in Dayton, Ohio. We have also delved into the National Vital Statistics from the Centers for Disease Control and Prevention to examine the divorce rates in Ohio during the same period. It may sound like we've really gone deep into the weeds, but we promise it's all for a greater cause.
While some might think that correlation does not imply causation, the correlation coefficient we have uncovered is as strong as a bond in a healthy relationship, with the value of 0.8606795. When we observed this correlation, it was almost like a breath of fresh air - albeit, a slightly polluted one. Furthermore, our statistical analyses have yielded a significance level of p < 0.01, indicating that the relationship between air pollution and divorce rates is not just blowing in the wind.
So, as we embark on this academic journey investigating the unexpected intersection of air pollution and marital dissolution, let's brace ourselves for some surprising findings, and perhaps a few "air-ritating" puns along the way. We hope that our findings will not only contribute to the literature on environmental health and social dynamics but also provide a breath of fresh comedic air in the world of academic research.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our findings reveal a notably robust correlation between air pollution levels in Dayton, Ohio and the divorce rates in the state of Ohio, spanning the years 1999 to 2021. The correlation coefficient of 0.8606795 indicates a strong positive relationship between these variables. It seems that when it comes to air pollution and divorce, the connection is as clear as the air on a smoggy day.

Applying the princely Pearson's r statistic, our r-squared value of 0.7407691 exemplifies that a substantial 74.08% of the variation in divorce rates can be explained by changes in air pollution levels. This relationship is so strong, it's like they've been holding hands during a romantic stroll down a pollen-filled street.

Our analysis of the p-value confirms the statistical significance of this relationship, with p < 0.01, indicating that the likelihood of the observed association occurring by chance is as remote as finding a needle in a haystack - or perhaps a nearly odorless molecule in a plume of pollution.

Fig. 1 displays a scatter plot visually representing the compelling correlation between air pollution levels and divorce rates. The figure illustrates the strikingly upward trend, which suggests that as air pollution levels increase, so do the divorce rates. It's almost as if the polluted air is whispering "it's not you, it's the air" into the ears of estranged couples.

In conclusion, our findings underscore the potent link between air pollution and marital dissolution, offering a breath of fresh air to the field of environmental and social research. As we continue to unearth the unexpected associations in the world around us, we remain hopeful that our research will not only enrich scientific knowledge but also infuse a touch of lightheartedness into the serious business of academic inquiry.

It looks like we've cleared the air on this subject, shedding light on the unexpected ways in which air pollution impacts our lives.


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 Dayton and The divorce rate in Ohio. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!


[[LITERATURE REVIEW]]
In their study "The Impact of Air Pollution on Public Health," Smith and Doe provide an extensive analysis of the detrimental effects of air pollution on respiratory and cardiovascular health. The authors outline the various pollutants present in the air, including particulate matter, nitrogen dioxide, and ozone, and their adverse impact on human well-being. It's enough to make one want to invest in a personal bubble helmet! Despite the serious nature of the topic, their findings provide a breath of fresh air in terms of understanding the pervasive consequences of air pollution.
Adding to the discussion, Jones et al. in "Environmental Factors and Health Outcomes" explore the broader societal implications of environmental pollution. They highlight the complex interplay between environmental factors and public health, shedding light on the far-reaching effects of air pollution beyond physical well-being. It's almost as if air pollution is infiltrating every aspect of our lives, much like a nosy neighbor! Their work underscores the need to consider unconventional pathways through which air pollution may exert its influence, such as behavioral and social dynamics.
Turning to some more accessible sources, "The Air That We Breathe: A Practical Guide to Air Quality" by Environmental Specialist Jane Smith presents a comprehensive overview of air pollution sources and their impact on human health. The book's poignant insights into the invisible threats lurking in the atmosphere serve as a wake-up call to the importance of clean air. One might say it's like a breath of fresh air in the genre of environmental literature.
On a more whimsical note, the novel "Love in the Time of Air Pollution" by Fictional Author Emma Doe takes a creative spin on the intersection of environmental challenges and personal relationships. While clearly a work of fiction, it playfully weaves together the struggles of a couple navigating the complexities of love amidst the backdrop of a polluted city. It's as if the characters are trying to find the "clean" slate to start anew!
Perhaps in a more unorthodox turn of events, a social media post by @CleanAirEnthusiast raises an intriguing anecdotal connection between heightened air pollution days and an increase in divorce filings in their community. While social media may not be the traditional bastion of scholarly rigor, the post sparks curiosity about the potential influence of environmental factors on interpersonal relationships. It's certainly cause for some breathless contemplation!


[[RESULTS]]
Our findings reveal a notably robust correlation between air pollution levels in Dayton, Ohio and the divorce rates in the state of Ohio, spanning the years 1999 to 2021. The correlation coefficient of 0.8606795 indicates a strong positive relationship between these variables. It seems that when it comes to air pollution and divorce, the connection is as clear as the air on a smoggy day.
Applying the princely Pearson's r statistic, our r-squared value of 0.7407691 exemplifies that a substantial 74.08% of the variation in divorce rates can be explained by changes in air pollution levels. This relationship is so strong, it's like they've been holding hands during a romantic stroll down a pollen-filled street.
Our analysis of the p-value confirms the statistical significance of this relationship, with p < 0.01, indicating that the likelihood of the observed association occurring by chance is as remote as finding a needle in a haystack - or perhaps a nearly odorless molecule in a plume of pollution.
Fig. 1 displays a scatter plot visually representing the compelling correlation between air pollution levels and divorce rates. The figure illustrates the strikingly upward trend, which suggests that as air pollution levels increase, so do the divorce rates. It's almost as if the polluted air is whispering "it's not you, it's the air" into the ears of estranged couples.
In conclusion, our findings underscore the potent link between air pollution and marital dissolution, offering a breath of fresh air to the field of environmental and social research. As we continue to unearth the unexpected associations in the world around us, we remain hopeful that our research will not only enrich scientific knowledge but also infuse a touch of lightheartedness into the serious business of academic inquiry.
It looks like we've cleared the air on this subject, shedding light on the unexpected ways in which air pollution impacts our lives.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study provide compelling evidence supporting the previously established link between air pollution and adverse societal outcomes. The robust correlation coefficient of 0.8606795 between air pollution levels in Dayton, Ohio and the divorce rates in the state of Ohio echoes the findings of Smith and Doe, who emphasized the detrimental effects of air pollution on respiratory and cardiovascular health. It seems these researchers were not just blowing hot air; their insights have, indeed, withstood the test of time.

Moreover, the significant relationship discovered in this study aligns with the work of Jones et al., who highlighted the far-reaching effects of air pollution beyond physical well-being, emphasizing the importance of considering behavioral and social dynamics. It appears that our findings offer a breath of fresh air in reaffirming the broader societal implications outlined by Jones et al. It's as if we've managed to clear the fog of uncertainty that permeated the air.

Even the lighthearted musings of @CleanAirEnthusiast, although initially perceived as an unconventional addition to the literature review, hinted at an intriguing anecdotal connection, reflecting the unexpected association identified in our study. The seemingly whimsical social media post has proven to be an unexpected breath of fresh air in sparking our curiosity in unearthing the underexplored connections between environmental factors and interpersonal relationships. One might say that even in the realm of social media, sometimes, fresh air can blow in from unexpected sources.

Notably, our results demonstrate a substantial explanatory power of 74.08%, reaffirming the influential role of air pollution in shaping divorce rates. This finding serves as a clarion call to recognize the substantial impact of air quality on social dynamics. It's as if these variables are engaged in a relationship as complex as a soap opera plot, with each element influencing the other in ways that are both profound and unexpected.

The significant p-value further emphasizes the strength of the observed association, highlighting the unlikelihood of this relationship occurring by chance. This statistical significance is as reassuring as finding a measuring instrument that never makes a mistak-ule.

In essence, our study not only corroborates the substantial influence of air pollution on divorce rates but also emphasizes the necessity of recognizing the multifaceted ways in which environmental factors intertwine with societal outcomes. By shedding light on the unexpected connections between seemingly unrelated variables, we hope to inspire further exploration of the uncharted territories where science and social dynamics intersect. It's as if we've managed to clear the smog of uncertainty and shed light on the unexpected ways in which air pollution impacts our lives.

Overall, our findings offer a breath of fresh air to the field of environmental and social research, underscoring the profound and unexpected ways in which air pollution permeates various aspects of our society. It's as if we've managed to clear the air on this subject, using statistical rigor to unveil the hidden connections between air quality and social dynamics. Who knew statistics and puns could make such a breath-taking combination!


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 Dayton and The divorce rate in Ohio. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio"

[[ABSTRACT]]
This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!


[[INTRDUCTION]]
As the old adage goes, "love is in the air," but could it be that air pollution is also having an impact on love? In this study, we explore the relationship between air pollution levels in Dayton, Ohio and the divorce rates in the state. We aim to shed light on this unexpected and peculiar connection, all while trying to refrain from making too many "aired" jokes.
Air pollution is a serious issue that affects the health and well-being of individuals and communities. It is often associated with respiratory problems, cardiovascular diseases, and even premature mortality. However, the ramifications of air pollution may extend beyond just health concerns. Could it be that air pollution, like a toxic relationship, is also contributing to the breakdown of marriages? It seems that this topic is not just up in the air, but also down to earth.
Our investigation involves a comprehensive analysis of air quality data obtained from the Environmental Protection Agency's monitoring stations in Dayton, Ohio. We have also delved into the National Vital Statistics from the Centers for Disease Control and Prevention to examine the divorce rates in Ohio during the same period. It may sound like we've really gone deep into the weeds, but we promise it's all for a greater cause.
While some might think that correlation does not imply causation, the correlation coefficient we have uncovered is as strong as a bond in a healthy relationship, with the value of 0.8606795. When we observed this correlation, it was almost like a breath of fresh air - albeit, a slightly polluted one. Furthermore, our statistical analyses have yielded a significance level of p < 0.01, indicating that the relationship between air pollution and divorce rates is not just blowing in the wind.
So, as we embark on this academic journey investigating the unexpected intersection of air pollution and marital dissolution, let's brace ourselves for some surprising findings, and perhaps a few "air-ritating" puns along the way. We hope that our findings will not only contribute to the literature on environmental health and social dynamics but also provide a breath of fresh comedic air in the world of academic research.

[[RESULTS]]
Our findings reveal a notably robust correlation between air pollution levels in Dayton, Ohio and the divorce rates in the state of Ohio, spanning the years 1999 to 2021. The correlation coefficient of 0.8606795 indicates a strong positive relationship between these variables. It seems that when it comes to air pollution and divorce, the connection is as clear as the air on a smoggy day.
Applying the princely Pearson's r statistic, our r-squared value of 0.7407691 exemplifies that a substantial 74.08% of the variation in divorce rates can be explained by changes in air pollution levels. This relationship is so strong, it's like they've been holding hands during a romantic stroll down a pollen-filled street.
Our analysis of the p-value confirms the statistical significance of this relationship, with p < 0.01, indicating that the likelihood of the observed association occurring by chance is as remote as finding a needle in a haystack - or perhaps a nearly odorless molecule in a plume of pollution.
Fig. 1 displays a scatter plot visually representing the compelling correlation between air pollution levels and divorce rates. The figure illustrates the strikingly upward trend, which suggests that as air pollution levels increase, so do the divorce rates. It's almost as if the polluted air is whispering "it's not you, it's the air" into the ears of estranged couples.
In conclusion, our findings underscore the potent link between air pollution and marital dissolution, offering a breath of fresh air to the field of environmental and social research. As we continue to unearth the unexpected associations in the world around us, we remain hopeful that our research will not only enrich scientific knowledge but also infuse a touch of lightheartedness into the serious business of academic inquiry.
It looks like we've cleared the air on this subject, shedding light on the unexpected ways in which air pollution impacts our lives.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has uncovered a remarkably robust correlation between air pollution levels in Dayton, Ohio, and the divorce rates in the state of Ohio from 1999 to 2021. The substantial correlation coefficient of 0.8606795 suggests a strong positive relationship between these variables, almost as undeniable as a dad's love for his cheesy jokes. It seems that when it comes to air pollution and divorce, the connection is as compelling as a marriage proposal.

Utilizing the princely Pearson's r statistic, our r-squared value of 0.7407691 demonstrates that a staggering 74.08% of the variation in divorce rates can be attributed to changes in air pollution levels. This relationship is so significant, it's like the statistical equivalent of love at first sight - statistically speaking, of course.

Furthermore, the p-value of < 0.01 reaffirms the statistical significance of this association, making the likelihood of this relationship occurring by chance as slim as a molecule of fresh air in a bustling metropolis. It's like finding a diamond in the rough, or perhaps even a marriage proposal in the middle of a crowded smog-filled street.

Our scatter plot in Fig. 1 vividly illustrates the compelling correlation, depicting a striking upward trend – suggesting that as air pollution levels increase, so do the divorce rates. It's almost as if the polluted air is whispering "it's not you, it's the air" into the ears of estranged couples, providing a breath of fresh air for our understanding of the complexities of human behavior.

In sum, our findings not only contribute to the burgeoning literature on environmental health and social dynamics but also inject a touch of whimsy into the often serious domain of academic research. This investigation has truly brought a breath of fresh air to the scientific community, reminding us that even in the realm of statistics, there's always room for a good dad joke.

In light of these compelling findings, it seems that no more research is needed in this area - unless, of course, we want to uncover the secrets of how air pollution affects our sense of humor 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 Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Ecological Relationships


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Quirky Social Science Research


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Gasping for Fresh Air: The Inhaling Impact of Air Pollution on Marital Dissolution in Dayton, Ohio with an abstract of This study delves into the unexpected intersection of air pollution and divorce rates, unearthing the intriguing correlation between these seemingly disparate factors. Leveraging data from the Environmental Protection Agency's air quality monitoring and the CDC National Vital Statistics, we have unearthed a striking correlation coefficient of 0.8606795 and a significance level of p < 0.01 for the period spanning 1999 to 2021. No pun in ten did, but we've breathed in some surprising results!

ChatGPT:

"air pollution marital dissolution," "air quality divorce rates," "environmental impact on divorce," "air pollution correlation with divorce rates," "CDC National Vital Statistics air pollution," "EPA air quality monitoring divorce rates," "air pollution effects on marriage," "spousal health and air pollution," "relationship between air pollution and divorce," "marital dissolution in Dayton Ohio."

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

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

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

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.4E-7. 0.0000001374477310406377900000
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.4E-5% of random cases. Said differently, if you correlated 7,275,493 random variables You don't actually need 7 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.7, 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 Dayton (Bad air quality days)12.87678.4699410.13713.69869.315074.6448110.95895.479456.849324.918032.465756.849325.753426.83062.465751.095892.191781.912570.8219181.3698601.09290.273973
The divorce rate in Ohio (Divorce rate)3.94.2443.73.63.53.53.43.33.33.43.43.43.294843.174793.071363.029872.922652.905962.768732.472892.62012




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([12.8767,8.46994,10.137,13.6986,9.31507,4.64481,10.9589,5.47945,6.84932,4.91803,2.46575,6.84932,5.75342,6.8306,2.46575,1.09589,2.19178,1.91257,0.821918,1.36986,0,1.0929,0.273973,])
array_2 = np.array([3.9,4.2,4,4,3.7,3.6,3.5,3.5,3.4,3.3,3.3,3.4,3.4,3.4,3.29484,3.17479,3.07136,3.02987,2.92265,2.90596,2.76873,2.47289,2.62012,])
array_1_name = "Air pollution in Dayton"
array_2_name = "The divorce rate in Ohio"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating skills are legendary!


Correlation ID: 3614 · Black Variable ID: 20526 · Red Variable ID: 19816
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0