about · email me · subscribe
Spurious correlation #2,024 · 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 Washington, D.C. and the second variable is Violent crime rates.  The chart goes from 1985 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

With cleaner air, the villains could no longer rely on the cover of smog to carry out their dastardly deeds without being spotted. This led to a significant decrease in the overall crime rate, as the would-be perpetrators found it much harder to skulk in the now pristine and transparent air. The streets became too clear for their shady business!

Model: dalle-3
Prompt: Generate an image in the style of a black-and-white newspaper illustration depicting Washington, D.C. shrouded in dense smog. The smoky skyline obscures the view of the city, and police tape cordons off a crime scene on the streets as sirens wail in the distance. Capture the ominous atmosphere with a simple yet detailed depiction. 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: Unhealthy air quality in Washington, D.C. and Violent crime rates. 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: Art nouveau A black-and-white newspaper illustration Cute cartoon An image that looks like it is a scene from 'Star Wars' Futuristic
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 Unhealthy air quality in Washington, D.C. and Violent crime rates together. Keep the description simple.
ChatGPT: In Washington, D.C., smog hangs heavily in the air as sirens wail in the distance. The skyline is obscured by a thick haze, and in the streets below, police tape cordons off a crime scene.

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 Washington, D.C., smog hangs heavily in the air as sirens wail in the distance. The skyline is obscured by a thick haze, and in the streets below, police tape cordons off a crime scene. 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 depicting Washington, D.C. shrouded in dense smog. The smoky skyline obscures the view of the city, and police tape cordons off a crime scene on the streets as sirens wail in the distance. Capture the ominous atmosphere with a simple yet detailed depiction.

*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 Washington, D.C. caused Violent crime rates to decrease.

AI academic paper

(Because p < 0.01)
Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C.

Journal of Environmental 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 goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title punny if you can come up with clever pun. If not, make it sound serious.

Your research team used data from Environmental Protection Agency and FBI Criminal Justice Information Services to assess this nagging question. You found a correlation coefficient of 0.8051721 and p < 0.01 for 1985 to 2022.

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]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The study of the impact of environmental factors on human behavior has long captured the imagination of researchers and the attention of public concern. Among these factors, air pollution has been a subject of particular interest due to its pervasive presence and potential health and social consequences. While the effects of air pollution on respiratory health and cardiovascular diseases have been extensively studied, its potential influence on the occurrence of violent crimes has remained in the shadow of research endeavors. This study seeks to shed some light on this mysterious connection and examine the relationship between air pollution and violent crime rates in the bustling metropolis of Washington, D.C.

The correlation between air pollution and human health is akin to a love-hate relationship – the air may be suffocatingly thick with pollutants, but it still manages to take our breath away. The impact of air pollution on respiratory health has been well-documented, but its potential influence on aggressive behaviors and crime rates has largely been left to linger in the haze of scientific inquiry. The present study, therefore, endeavors to unravel the concealed ties between the smoky tendrils of air pollution and the sobs of urban criminal activity.

As we delve into this convoluted web of smog and sobs, it is crucial to acknowledge the multidimensional nature of the effect of air pollution on urban life. While air pollution may obscure the grandeur of city skylines and trigger fits of coughing, its influence on social behavior and crime rates presents a new layer of complexity. By undertaking this investigation, we aim to bring attention to the intertwined relationship between environmental quality and public safety, and perhaps even inspire policymakers to clear the air, both literally and figuratively.

So, as we embark on this quest to decipher the cryptic bond between air pollution and violent crime rates, let's not hold our breath – unless, of course, the air quality index advises us to do so. For in the fog of scientific ambiguity, lies the potential to clear the air on a topic that has remained shrouded in mist and mystery.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The study of the impact of environmental factors on human behavior has long captured the imagination of researchers and the attention of public concern. Among these factors, air pollution has been a subject of particular interest due to its pervasive presence and potential health and social consequences. While the effects of air pollution on respiratory health and cardiovascular diseases have been extensively studied, its potential influence on the occurrence of violent crimes has remained in the shadow of research endeavors. This study seeks to shed some light on this mysterious connection and examine the relationship between air pollution and violent crime rates in the bustling metropolis of Washington, D.C.
The correlation between air pollution and human health is akin to a love-hate relationship – the air may be suffocatingly thick with pollutants, but it still manages to take our breath away. The impact of air pollution on respiratory health has been well-documented, but its potential influence on aggressive behaviors and crime rates has largely been left to linger in the haze of scientific inquiry. The present study, therefore, endeavors to unravel the concealed ties between the smoky tendrils of air pollution and the sobs of urban criminal activity.
As we delve into this convoluted web of smog and sobs, it is crucial to acknowledge the multidimensional nature of the effect of air pollution on urban life. While air pollution may obscure the grandeur of city skylines and trigger fits of coughing, its influence on social behavior and crime rates presents a new layer of complexity. By undertaking this investigation, we aim to bring attention to the intertwined relationship between environmental quality and public safety, and perhaps even inspire policymakers to clear the air, both literally and figuratively.
So, as we embark on this quest to decipher the cryptic bond between air pollution and violent crime rates, let's not hold our breath – unless, of course, the air quality index advises us to do so. For in the fog of scientific ambiguity, lies the potential to clear the air on a topic that has remained shrouded in mist and mystery.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The prevailing body of literature on the topic at hand offers a diverse array of perspectives and findings, shedding light on the multifaceted relationship between air pollution and violent crime rates in urban settings. Smith et al. (2015) conducted a comprehensive analysis of air quality data and crime statistics in metropolitan areas, revealing a significant positive association between particulate matter concentration and the occurrence of violent offenses. Similarly, Doe and Jones (2017) explored the impact of nitrogen dioxide levels on criminal behavior, uncovering a substantial correlation with assault and property crime rates.

Beyond the scholarly realm, numerous non-fiction works have probed into the potential repercussions of air pollution on public health and societal dynamics. In "Breathless in the Capital: A Chronicle of Washington, D.C.'s Air Quality Crisis," environmental journalist Laura Cleanair elucidates the far-reaching effects of smog on urban communities, hinting at the underexplored nexus between air pollution and criminal activity. Furthermore, "Pollution and the Pulse of the City: A Sociological Examination" by Dr. Hazel Haze presents a sociological perspective on the interplay between environmental stressors and deviant behaviors, offering intriguing insights into the potential pathways through which air pollution may influence crime rates.

Turning the page to fiction, literary works have not shied away from envisioning dystopian futures rife with environmental degradation and social unrest. In Margaret Atwood's "Ozone Over D.C.," the acclaimed Canadian author conjures a world where the capital's skyline is obscured by thick layers of pollutants, mirroring the societal unease and escalating violence that permeate the narrative. Likewise, Michael Pollution's "The Fog of Crime" paints a noirish picture of a metropolis grappling with both atmospheric haze and increased criminal activity, drawing implicit parallels between environmental degradation and urban lawlessness.

Venturing into the realm of social media, a tweet by @BreatheEasyNow sparks contemplation regarding the potential links between air pollution and community safety: "Can't help but wonder if those smog-filled skies are casting a shadow on city streets, bringing out the worst in people. #SmogAndSobs #AirQualityMatters." A post on Instagram by @CleanAirCampaign echoes these sentiments, calling attention to the uncharted territory of air pollution's impact on urban crime rates: "Could the murky veil of pollution be concealing more than just the city skyline? Let's clear the air on the hidden costs of pollution. #CleanAir #SafeStreets"

While the research landscape is colored by a medley of perspectives, the intersection of air pollution and violent crime rates awaits further scrutiny. As we navigate through this amalgamation of empirical studies, literary imaginings, and social discourse, it becomes evident that the smoky relationship between air pollution and criminal activity holds both intrigue and, dare I say, a breath of fresh air in the academic sphere.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and FBI Criminal Justice Information Services . You used data from 1985 to 2022

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]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

[[INTRODUCTION]]
The study of the impact of environmental factors on human behavior has long captured the imagination of researchers and the attention of public concern. Among these factors, air pollution has been a subject of particular interest due to its pervasive presence and potential health and social consequences. While the effects of air pollution on respiratory health and cardiovascular diseases have been extensively studied, its potential influence on the occurrence of violent crimes has remained in the shadow of research endeavors. This study seeks to shed some light on this mysterious connection and examine the relationship between air pollution and violent crime rates in the bustling metropolis of Washington, D.C.
The correlation between air pollution and human health is akin to a love-hate relationship – the air may be suffocatingly thick with pollutants, but it still manages to take our breath away. The impact of air pollution on respiratory health has been well-documented, but its potential influence on aggressive behaviors and crime rates has largely been left to linger in the haze of scientific inquiry. The present study, therefore, endeavors to unravel the concealed ties between the smoky tendrils of air pollution and the sobs of urban criminal activity.
As we delve into this convoluted web of smog and sobs, it is crucial to acknowledge the multidimensional nature of the effect of air pollution on urban life. While air pollution may obscure the grandeur of city skylines and trigger fits of coughing, its influence on social behavior and crime rates presents a new layer of complexity. By undertaking this investigation, we aim to bring attention to the intertwined relationship between environmental quality and public safety, and perhaps even inspire policymakers to clear the air, both literally and figuratively.
So, as we embark on this quest to decipher the cryptic bond between air pollution and violent crime rates, let's not hold our breath – unless, of course, the air quality index advises us to do so. For in the fog of scientific ambiguity, lies the potential to clear the air on a topic that has remained shrouded in mist and mystery.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

In this study, we employed a conglomeration of data collection methods, statistical analyses, and tongue-in-cheek humor to investigate the potential relationship between air pollution and violent crime rates in the Washington, D.C. metropolitan area. Our exploration into this peculiar connection involved both quantitative and qualitative approaches, reminiscent of a detective scrutinizing the enigmatic interplay of smog-laden air and criminal activities.

**Data Collection**

Our data collection process resembled a scavenger hunt through the vast expanses of the internet, as we gathered air quality data from the Environmental Protection Agency's Air Quality System and crime data from the FBI Criminal Justice Information Services. We diligently combed through the copious amounts of data from 1985 to 2022, ensuring that our search for correlations was as exhaustive as raking leaves in a windy autumn.

**Air Pollution Measurement**

To gauge the presence of air pollutants with the precision of a conductor leading a symphony, we focused on key air quality indicators, including particulate matter (PM2.5 and PM10), nitrogen dioxide (NO2), sulfur dioxide (SO2), carbon monoxide (CO), and ozone (O3). This comprehensive approach allowed us to capture the symphony of pollutants swirling amidst the bustling milieu of the nation's capital, akin to unravelling a symphony of pungent odors from a gourmet cheese festival.

**Crime Rate Assessment**

As we delved into the realm of criminal activities, we meticulously examined various violent crime categories, such as homicide, aggravated assault, robbery, and forcible rape. Like detectives piecing together clues at a crime scene, we sought to unravel the intricacies of criminal behavior in relation to the ambient air quality, aiming to shed light on this cryptic relationship amidst the city's hustle and bustle.

**Statistical Analysis**

Our approach to statistical analysis was akin to a delicate dance between numbers, employing Pearson correlation coefficients and regression models to unravel the intricate choreography of air pollution and violent crime rates. We treated the data with the caution of handling fragile glass sculptures, ensuring that our findings were both robust and indicative of a meaningful relationship amidst the statistical noise.

**Sensitivity Analyses**

In an effort to ensure the durability of our findings, we conducted sensitivity analyses to gauge the impact of potential confounding variables, such as socioeconomic factors and weather patterns, on the observed association between air pollution and violent crime rates. This analytical scrutiny resembled a mental juggler skillfully balancing an array of potential influencers, ensuring that our findings were not merely illusions in the haze of statistical trickery.

**Ethical Considerations**

Throughout the research process, we maintained the utmost respect for ethical standards and data privacy, ensuring that the anonymity of individuals involved in criminal activities and the integrity of the data sources were meticulously upheld. Our ethical compass steered us clear of any dubious terrain, fostering a research environment deserving of trust and integrity.

By employing this multi-faceted approach, we endeavored to unravel the tangled web of air pollution and violent crime rates with the diligence of a detective untangling a web of deceit. Our research methodology sought not only to uncover potential associations but also to inspire further investigation into the potential role of air quality in shaping urban behavior.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and FBI Criminal Justice Information Services .

For the time period 1985 to 2022, you found a correlation 0.8051721, r-squared of 0.6483020, 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]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The study of the impact of environmental factors on human behavior has long captured the imagination of researchers and the attention of public concern. Among these factors, air pollution has been a subject of particular interest due to its pervasive presence and potential health and social consequences. While the effects of air pollution on respiratory health and cardiovascular diseases have been extensively studied, its potential influence on the occurrence of violent crimes has remained in the shadow of research endeavors. This study seeks to shed some light on this mysterious connection and examine the relationship between air pollution and violent crime rates in the bustling metropolis of Washington, D.C.
The correlation between air pollution and human health is akin to a love-hate relationship – the air may be suffocatingly thick with pollutants, but it still manages to take our breath away. The impact of air pollution on respiratory health has been well-documented, but its potential influence on aggressive behaviors and crime rates has largely been left to linger in the haze of scientific inquiry. The present study, therefore, endeavors to unravel the concealed ties between the smoky tendrils of air pollution and the sobs of urban criminal activity.
As we delve into this convoluted web of smog and sobs, it is crucial to acknowledge the multidimensional nature of the effect of air pollution on urban life. While air pollution may obscure the grandeur of city skylines and trigger fits of coughing, its influence on social behavior and crime rates presents a new layer of complexity. By undertaking this investigation, we aim to bring attention to the intertwined relationship between environmental quality and public safety, and perhaps even inspire policymakers to clear the air, both literally and figuratively.
So, as we embark on this quest to decipher the cryptic bond between air pollution and violent crime rates, let's not hold our breath – unless, of course, the air quality index advises us to do so. For in the fog of scientific ambiguity, lies the potential to clear the air on a topic that has remained shrouded in mist and mystery.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected revealed a strong positive correlation between air pollution levels and violent crime rates in the Washington, D.C. metropolitan area over the years 1985 to 2022. Our findings yielded a correlation coefficient of 0.8051721, indicating a robust relationship between the two variables. This result suggests that as the levels of air pollution increased, so did the prevalence of violent crimes. It's as if the smog had a sinister effect on the peace and tranquility of the urban environment, turning it into a veritable "pollution perp" in the realm of criminal activity.

Furthermore, the coefficient of determination, or r-squared value, stood at 0.6483020, indicating that approximately 65% of the variation in violent crime rates could be explained by changes in air pollution levels. This finding emphasizes the considerable influence of air pollution on violent crime, revealing that the smoky tendrils of pollution may indeed have a hand in stirring up the tempestuous winds of criminal behavior.

The significance of the correlation was reinforced by the p-value, which was found to be less than 0.01. This indicates that the likelihood of observing such a strong correlation due to random chance alone is less than 1%, providing compelling evidence for the relationship between air pollution and violent crime rates. So, contrary to popular belief, it seems that the only "haze" affecting crime rates in the capital may not be mere confusion or uncertainty, after all.

In conjunction with these numerical findings, the graphical representation of the data in Fig. 1 portrays a clear, upward-trending scatterplot, visually demonstrating the marked association between air pollution and violent crime rates. It's as if the scatterplot itself is shouting, "Look at this correlation! It's as undeniable as the smog on a hazy summer day!"

These results provide convincing evidence of a noteworthy connection between air pollution and violent crime rates in the Washington, D.C. metropolitan area, shedding light on the potentially "smoggy" influence of environmental quality on social behavior. The implications of these findings extend beyond the realm of academic curiosity, urging for a closer examination of the mechanisms underlying this intriguing relationship. As the saying goes, where there's smog, there may indeed be sobs, and it seems that the air isn't the only thing that's been getting thick in the nation's capital.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

[[LITERATURE REVIEW]]
The prevailing body of literature on the topic at hand offers a diverse array of perspectives and findings, shedding light on the multifaceted relationship between air pollution and violent crime rates in urban settings. Smith et al. (2015) conducted a comprehensive analysis of air quality data and crime statistics in metropolitan areas, revealing a significant positive association between particulate matter concentration and the occurrence of violent offenses. Similarly, Doe and Jones (2017) explored the impact of nitrogen dioxide levels on criminal behavior, uncovering a substantial correlation with assault and property crime rates.
Beyond the scholarly realm, numerous non-fiction works have probed into the potential repercussions of air pollution on public health and societal dynamics. In "Breathless in the Capital: A Chronicle of Washington, D.C.'s Air Quality Crisis," environmental journalist Laura Cleanair elucidates the far-reaching effects of smog on urban communities, hinting at the underexplored nexus between air pollution and criminal activity. Furthermore, "Pollution and the Pulse of the City: A Sociological Examination" by Dr. Hazel Haze presents a sociological perspective on the interplay between environmental stressors and deviant behaviors, offering intriguing insights into the potential pathways through which air pollution may influence crime rates.
Turning the page to fiction, literary works have not shied away from envisioning dystopian futures rife with environmental degradation and social unrest. In Margaret Atwood's "Ozone Over D.C.," the acclaimed Canadian author conjures a world where the capital's skyline is obscured by thick layers of pollutants, mirroring the societal unease and escalating violence that permeate the narrative. Likewise, Michael Pollution's "The Fog of Crime" paints a noirish picture of a metropolis grappling with both atmospheric haze and increased criminal activity, drawing implicit parallels between environmental degradation and urban lawlessness.
Venturing into the realm of social media, a tweet by @BreatheEasyNow sparks contemplation regarding the potential links between air pollution and community safety: "Can't help but wonder if those smog-filled skies are casting a shadow on city streets, bringing out the worst in people. #SmogAndSobs #AirQualityMatters." A post on Instagram by @CleanAirCampaign echoes these sentiments, calling attention to the uncharted territory of air pollution's impact on urban crime rates: "Could the murky veil of pollution be concealing more than just the city skyline? Let's clear the air on the hidden costs of pollution. #CleanAir #SafeStreets"
While the research landscape is colored by a medley of perspectives, the intersection of air pollution and violent crime rates awaits further scrutiny. As we navigate through this amalgamation of empirical studies, literary imaginings, and social discourse, it becomes evident that the smoky relationship between air pollution and criminal activity holds both intrigue and, dare I say, a breath of fresh air in the academic sphere.

[[RESULTS]]
The analysis of the data collected revealed a strong positive correlation between air pollution levels and violent crime rates in the Washington, D.C. metropolitan area over the years 1985 to 2022. Our findings yielded a correlation coefficient of 0.8051721, indicating a robust relationship between the two variables. This result suggests that as the levels of air pollution increased, so did the prevalence of violent crimes. It's as if the smog had a sinister effect on the peace and tranquility of the urban environment, turning it into a veritable "pollution perp" in the realm of criminal activity.
Furthermore, the coefficient of determination, or r-squared value, stood at 0.6483020, indicating that approximately 65% of the variation in violent crime rates could be explained by changes in air pollution levels. This finding emphasizes the considerable influence of air pollution on violent crime, revealing that the smoky tendrils of pollution may indeed have a hand in stirring up the tempestuous winds of criminal behavior.
The significance of the correlation was reinforced by the p-value, which was found to be less than 0.01. This indicates that the likelihood of observing such a strong correlation due to random chance alone is less than 1%, providing compelling evidence for the relationship between air pollution and violent crime rates. So, contrary to popular belief, it seems that the only "haze" affecting crime rates in the capital may not be mere confusion or uncertainty, after all.
In conjunction with these numerical findings, the graphical representation of the data in Fig. 1 portrays a clear, upward-trending scatterplot, visually demonstrating the marked association between air pollution and violent crime rates. It's as if the scatterplot itself is shouting, "Look at this correlation! It's as undeniable as the smog on a hazy summer day!"
These results provide convincing evidence of a noteworthy connection between air pollution and violent crime rates in the Washington, D.C. metropolitan area, shedding light on the potentially "smoggy" influence of environmental quality on social behavior. The implications of these findings extend beyond the realm of academic curiosity, urging for a closer examination of the mechanisms underlying this intriguing relationship. As the saying goes, where there's smog, there may indeed be sobs, and it seems that the air isn't the only thing that's been getting thick in the nation's capital.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study mirror and reinforce the findings of previous research, providing robust support for the notion that air pollution and violent crime rates are intertwined in the complex tapestry of urban dynamics. The correlation coefficient of 0.8051721 obtained in our analysis aligns with the positive associations identified by Smith et al. (2015) and Doe and Jones (2017), painting a vivid picture of the smog's malevolent influence not only on respiratory health but also on the peace and tranquility of our urban habitats. It's as if the smog is the notorious culprit behind a nefarious crime spree, leaving behind a haze of uncertainty and suspicion in its wake.

In a charmingly unexpected turn of events, the literature review unearthed the subtle yet substantial relationship between air pollution and criminal activity, juxtaposing empirical studies with fictional and social media musings. These seemingly disparate sources converged to reveal a singular, smog-laden narrative – one that hints at the interconnectedness of environmental quality and societal well-being. Despite the initial levity of fictional works and social media posts, their underlying messages serve as an uncanny prelude to our study's substantive findings, affirming that the topic at hand is as complex as it is pertinent. It's almost as if Margaret Atwood and Michael Pollution were onto something more than just colorful storytelling – the smog might indeed hold the key to understanding the underbelly of urban crime.

The substantial coefficient of determination, or r-squared value, further underscores the significance of our findings by illustrating that a sizable portion of the variation in violent crime rates in Washington, D.C. can be ascribed to fluctuations in air pollution levels. It's as if the smog is not only clouding the skyline but also casting a shadow on the city's social fabric, contributing to the tempestuous currents of criminal behavior. The p-value, less than 0.01, provides resounding confirmation of the strength of the correlation, debunking the notion that the swirling haze of air pollution is merely an inconsequential backdrop to the drama of urban life. Additionally, the striking visual representation of the association in the scatterplot stands as an unequivocal testament to the robustness of our findings – it's as if the scatterplot itself is shouting, "Breathe in this correlation, and let it clear the 'air' of skepticism!"

Our study imparts valuable weight to the argument for the integration of air quality initiatives into urban policy and planning, emphasizing the far-reaching implications of air pollution not only for respiratory health but also for community safety and social well-being. It invites us to ponder the intriguing possibility of a subtle, yet undeniable, interplay between the veils of smog and the currents of criminal activity, reminding us that the nuances of urban life are often shrouded in a mist of unpredictability and surprise. As we peer through the smoggy haze of our urban landscape, it becomes increasingly clear that the tendrils of pollution extend beyond the domain of respiratory distress, casting a long shadow on the tapestry of urban crime. And, just maybe, the next time we catch a whiff of pollutants, we'll remember that it's not just the air we're breathing in – it's also the potential for trouble brewing in the winds.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Washington, D.C. and Violent crime rates. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C."

[[ABSTRACT]]
Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

[[INTRDUCTION]]
The study of the impact of environmental factors on human behavior has long captured the imagination of researchers and the attention of public concern. Among these factors, air pollution has been a subject of particular interest due to its pervasive presence and potential health and social consequences. While the effects of air pollution on respiratory health and cardiovascular diseases have been extensively studied, its potential influence on the occurrence of violent crimes has remained in the shadow of research endeavors. This study seeks to shed some light on this mysterious connection and examine the relationship between air pollution and violent crime rates in the bustling metropolis of Washington, D.C.
The correlation between air pollution and human health is akin to a love-hate relationship – the air may be suffocatingly thick with pollutants, but it still manages to take our breath away. The impact of air pollution on respiratory health has been well-documented, but its potential influence on aggressive behaviors and crime rates has largely been left to linger in the haze of scientific inquiry. The present study, therefore, endeavors to unravel the concealed ties between the smoky tendrils of air pollution and the sobs of urban criminal activity.
As we delve into this convoluted web of smog and sobs, it is crucial to acknowledge the multidimensional nature of the effect of air pollution on urban life. While air pollution may obscure the grandeur of city skylines and trigger fits of coughing, its influence on social behavior and crime rates presents a new layer of complexity. By undertaking this investigation, we aim to bring attention to the intertwined relationship between environmental quality and public safety, and perhaps even inspire policymakers to clear the air, both literally and figuratively.
So, as we embark on this quest to decipher the cryptic bond between air pollution and violent crime rates, let's not hold our breath – unless, of course, the air quality index advises us to do so. For in the fog of scientific ambiguity, lies the potential to clear the air on a topic that has remained shrouded in mist and mystery.

[[RESULTS]]
The analysis of the data collected revealed a strong positive correlation between air pollution levels and violent crime rates in the Washington, D.C. metropolitan area over the years 1985 to 2022. Our findings yielded a correlation coefficient of 0.8051721, indicating a robust relationship between the two variables. This result suggests that as the levels of air pollution increased, so did the prevalence of violent crimes. It's as if the smog had a sinister effect on the peace and tranquility of the urban environment, turning it into a veritable "pollution perp" in the realm of criminal activity.
Furthermore, the coefficient of determination, or r-squared value, stood at 0.6483020, indicating that approximately 65% of the variation in violent crime rates could be explained by changes in air pollution levels. This finding emphasizes the considerable influence of air pollution on violent crime, revealing that the smoky tendrils of pollution may indeed have a hand in stirring up the tempestuous winds of criminal behavior.
The significance of the correlation was reinforced by the p-value, which was found to be less than 0.01. This indicates that the likelihood of observing such a strong correlation due to random chance alone is less than 1%, providing compelling evidence for the relationship between air pollution and violent crime rates. So, contrary to popular belief, it seems that the only "haze" affecting crime rates in the capital may not be mere confusion or uncertainty, after all.
In conjunction with these numerical findings, the graphical representation of the data in Fig. 1 portrays a clear, upward-trending scatterplot, visually demonstrating the marked association between air pollution and violent crime rates. It's as if the scatterplot itself is shouting, "Look at this correlation! It's as undeniable as the smog on a hazy summer day!"
These results provide convincing evidence of a noteworthy connection between air pollution and violent crime rates in the Washington, D.C. metropolitan area, shedding light on the potentially "smoggy" influence of environmental quality on social behavior. The implications of these findings extend beyond the realm of academic curiosity, urging for a closer examination of the mechanisms underlying this intriguing relationship. As the saying goes, where there's smog, there may indeed be sobs, and it seems that the air isn't the only thing that's been getting thick in the nation's capital.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has successfully unveiled a robust association between air pollution and violent crime rates in the Washington, D.C. metropolitan area. The link between these two seemingly disparate phenomena is as intriguing as a suspense novel – who would have thought that the smoky tendrils of pollution could have such a substantial impact on urban criminal activity? It's like a real-life "whodunit," except in this case, the culprit might just be invisible to the naked eye – unless, of course, you count a thick layer of haze as an accomplice.

Our correlation coefficient of 0.8051721, much like an uninvited guest at a dinner party, refused to go unnoticed, indicating a formidable relationship between air pollution and violent crime rates. The r-squared value of 0.6483020 also made a grand entrance, revealing that approximately 65% of the variation in violent crime rates could be attributed to changes in air pollution levels. It's almost as if the smog whispered to the crime rates, "Hey, mind if I join you?" and then, much to everyone's surprise, they hit it off.

The p-value less than 0.01 was the final piece of evidence that sealed the deal. It was as rare as finding a needle in a haystack, indicating that the likelihood of such a strong correlation occurring by mere chance is less than 1%. So, to those skeptics who doubted the connection between air pollution and violent crime rates – it seems the joke's on them.

The implications of our findings are far-reaching, much like trying to find a clear day in a city shrouded in smog. Our results underscore the pressing need to address air pollution not only for the sake of respiratory health, but also for the overall peace and tranquility of urban communities. It's like cleaning up the city's act can clean up its crime rates as well – a two-for-one deal that's hard to resist.

Therefore, we assert that our research has brought to light a compelling relationship between air pollution and violent crime rates, and it's high time to take this connection seriously. We strongly recommend that further investigation into the mechanisms underlying this smoggy bond be conducted. However, just like a mystery novel that had a surprisingly satisfying ending, we are confident that no more research is needed in this area. It's time to clear the air and let this case rest – we've cracked the code on the smog and sobs connection.


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 Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C.. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Environmental 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 Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C.. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Atmospheric Psychosocial Research (CAPR)


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 Smog and Sobs: Exploring the Smoky Relationship Between Air Pollution and Violent Crime Rates in Washington, D.C. with an abstract of Previous research has suggested a potential link between air pollution and various health and social outcomes, yet the relationship between air pollution and violent crime rates remains relatively unexplored. This study aims to fill that gap by examining the correlation between levels of air pollution in the Washington, D.C. metropolitan area and the prevalence of violent crimes over a substantial period. Using data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, we applied rigorous statistical analysis and found a striking correlation coefficient of 0.8051721 and p < 0.01 for the years spanning from 1985 to 2022. These findings suggest a noteworthy association between air pollution and violent crime rates, pointing to the potential role of air quality in affecting social behavior. The implications of this research beckon for further investigation into the mechanisms underlying this smoggy connection and underscore the importance of mitigating air pollution not only for the sake of respiratory health but also for the tranquility of urban communities. So, the next time you can't see the sky for the smog, remember it's not just your lungs that are hurting – it could be your peace of mind too.

ChatGPT:

air pollution, violent crimes, Washington D.C., metropolitan area, correlation, statistical analysis, Environmental Protection Agency, FBI Criminal Justice Information Services, correlation coefficient, social behavior, air quality, urban communities, respiratory health, peace of mind

*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 Washington, D.C.
Detailed data title: Percentage of days with air quality at 'unhealthy for sensitive groups' or worse in Washington-Arlington-Alexandria, DC-VA-MD-WV
Source: Environmental Protection Agency
See what else correlates with Air pollution in Washington, D.C.

Violent crime rates
Detailed data title: The violent crime rate per 100,000 residents in United States
Source: FBI Criminal Justice Information Services
See what else correlates with Violent crime rates

Correlation r = 0.8051721 (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.6483020 (Coefficient of determination)
This means 64.8% of the change in the one variable (i.e., Violent crime rates) is predictable based on the change in the other (i.e., Air pollution in Washington, D.C.) over the 38 years from 1985 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.1E-9. 0.0000000010963207567393997000
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.81 in 1.1E-7% of random cases. Said differently, if you correlated 912,141,811 random variables You don't actually need 912 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 37 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 37 because we have two variables measured over a period of 38 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.65, 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.
19851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Air pollution in Washington, D.C. (Bad air quality days)28.493226.575329.315125.683122.739723.835630.41115.84725.753421.09592016.666718.904123.835624.383617.486321.369922.465813.150711.202216.164415.068518.082210.38253.5616413.698610.68499.836073.287672.739733.835624.371582.191782.739733.01370.8196722.739731.09589
Violent crime rates (Violent crime)558.1620.1612.5640.6666.9729.6758.2757.7747.1713.6684.5636.6611567.6523506.5504.5494.4475.8463.2469479.3471.8458.6431.9404.5387.1387.8369.1361.6373.7397.5394.9383.4380.8398.5387380.7




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.
  5. Outlandish outliers: There are "outliers" in this data. In concept, "outlier" just means "way different than the rest of your dataset." When calculating a correlation like this, they are particularly impactful because a single outlier can substantially increase your correlation.

    For the purposes of this project, I counted a point as an outlier if it the residual was two standard deviations from the mean.

    (This bullet point only shows up in the details page on charts that do, in fact, have outliers.)
    They stand out on the scatterplot above: notice the dots that are far away from any other dots. I intentionally mishandeled outliers, which makes the correlation look extra strong.




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([28.4932,26.5753,29.3151,25.6831,22.7397,23.8356,30.411,15.847,25.7534,21.0959,20,16.6667,18.9041,23.8356,24.3836,17.4863,21.3699,22.4658,13.1507,11.2022,16.1644,15.0685,18.0822,10.3825,3.56164,13.6986,10.6849,9.83607,3.28767,2.73973,3.83562,4.37158,2.19178,2.73973,3.0137,0.819672,2.73973,1.09589,])
array_2 = np.array([558.1,620.1,612.5,640.6,666.9,729.6,758.2,757.7,747.1,713.6,684.5,636.6,611,567.6,523,506.5,504.5,494.4,475.8,463.2,469,479.3,471.8,458.6,431.9,404.5,387.1,387.8,369.1,361.6,373.7,397.5,394.9,383.4,380.8,398.5,387,380.7,])
array_1_name = "Air pollution in Washington, D.C."
array_2_name = "Violent crime rates"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

I'm grateful for your review!


Correlation ID: 2024 · Black Variable ID: 21421 · Red Variable ID: 20220
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0