about · email me · subscribe
Spurious correlation #1,355 · 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 Green Bay, Wisconsin 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

As air quality improved, the local seagulls were no longer hopped up on smog fumes, leading to a noticeable reduction in their aggressive behavior. Maybe they were just high on life instead!

Model: dalle-3
Prompt: Create an image of a hazy sky looming over Green Bay, Wisconsin, where people hustle past a row of houses. In the background, capture the flashing lights of a police car as officers are engaged in an investigation. The scene should convey a sense of mystery and tension, with the hazy sky and hurried movement of people adding to the ambiance of uncertainty. 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 Green Bay, Wisconsin 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: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s Cyber folk Magic realism Symbolism Symbolism
ChatGPT: Symbolism

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 Green Bay, Wisconsin and Violent crime rates together. Keep the description simple.
ChatGPT: A hazy sky hangs over Green Bay, Wisconsin as people walk quickly past a row of houses. In the background, a police car's lights flash while officers investigate a 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: [ Symbolism ] and depicting this scene: A hazy sky hangs over Green Bay, Wisconsin as people walk quickly past a row of houses. In the background, a police car's lights flash while officers investigate a scene. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create an image of a hazy sky looming over Green Bay, Wisconsin, where people hustle past a row of houses. In the background, capture the flashing lights of a police car as officers are engaged in an investigation. The scene should convey a sense of mystery and tension, with the hazy sky and hurried movement of people adding to the ambiance of uncertainty.

*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 Green Bay, Wisconsin caused Violent crime rates to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

Journal of Environmental Criminology and Pollution Analysis

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 dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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 a clever pun.

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.6707277 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]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The relationship between environmental factors and human behavior has long intrigued researchers in various disciplines. Among these factors, air pollution has garnered particular attention due to its pervasive presence and potential impact on public health and well-being. In the context of criminology, the investigation of the link between air pollution and violent crime represents an innovative approach to understanding the multifaceted influences on criminal behavior.

Green Bay, Wisconsin, with its picturesque landscapes and renowned cheese production, serves as the focal point of this study. Beyond its fame in football, the city's unique combination of industrial activity and natural beauty provides an intriguing backdrop for exploring the potential connection between air quality and criminal activity. As we embark on this exploration, it is important to acknowledge the complexities inherent in unraveling the interplay of pollution and crime, while also appreciating the subtle nuances of conducting research in a location known for its football fervor, Friday fish fries, and fervent devotion to all things dairy.

While the prevailing literature has delved into the individual impacts of air pollution and crime on public health and safety separately, our endeavor seeks to bridge the gap and shed light on the potential relational dynamics that may exist between these seemingly disparate realms. By doing so, we endeavor to contribute not only to the academic understanding of environmental criminology but also to the broader societal dialogue on devising inventive strategies for promoting community well-being, which may involve measures that go beyond simply airing out grievances.

In the pages that follow, we delve into the empirical findings that have surfaced through our meticulous analysis of environmental and criminological data. The relationship uncovered between air pollution and violent crime rates in Green Bay is poised to shift the conversation from mere statistical correlations to actionable insights that could, quite literally, clear the air in addressing crime and pollution in this charming corner of the state.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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 name some cartoons and childrens' shows that you watched that are related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The relationship between environmental factors and human behavior has long intrigued researchers in various disciplines. Among these factors, air pollution has garnered particular attention due to its pervasive presence and potential impact on public health and well-being. In the context of criminology, the investigation of the link between air pollution and violent crime represents an innovative approach to understanding the multifaceted influences on criminal behavior.
Green Bay, Wisconsin, with its picturesque landscapes and renowned cheese production, serves as the focal point of this study. Beyond its fame in football, the city's unique combination of industrial activity and natural beauty provides an intriguing backdrop for exploring the potential connection between air quality and criminal activity. As we embark on this exploration, it is important to acknowledge the complexities inherent in unraveling the interplay of pollution and crime, while also appreciating the subtle nuances of conducting research in a location known for its football fervor, Friday fish fries, and fervent devotion to all things dairy.
While the prevailing literature has delved into the individual impacts of air pollution and crime on public health and safety separately, our endeavor seeks to bridge the gap and shed light on the potential relational dynamics that may exist between these seemingly disparate realms. By doing so, we endeavor to contribute not only to the academic understanding of environmental criminology but also to the broader societal dialogue on devising inventive strategies for promoting community well-being, which may involve measures that go beyond simply airing out grievances.
In the pages that follow, we delve into the empirical findings that have surfaced through our meticulous analysis of environmental and criminological data. The relationship uncovered between air pollution and violent crime rates in Green Bay is poised to shift the conversation from mere statistical correlations to actionable insights that could, quite literally, clear the air in addressing crime and pollution in this charming corner of the state.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between air pollution and violent crime rates has been a subject of scholarly inquiry, generating a body of literature that delves into the potential interplay between these seemingly distinct phenomena. Smith et al. (2015) explored the association between particulate matter and criminal behavior, while Doe and Jones (2018) examined the potential impact of air quality on violent crime occurrences.

In "The Air Pollution Crisis" by Miller (2019), the author discusses the far-reaching implications of air pollution on public health, raising the possibility of broader societal implications beyond physical well-being. Similarly, "Crime and the Environment" by Brown (2017) offers insights into the complexities of environmental factors shaping criminal behaviors, providing a theoretical framework for understanding the potential links between pollution and crime.

Turning to the realm of fiction, the novel "breathless" by Aire (2016) presents a thought-provoking narrative that weaves the themes of air quality and visceral human experiences, albeit in a metaphorical context. "The Poisonous Air Affair" by Greene (2018) offers a fictional account that intriguingly intertwines pollution and criminal intrigue, albeit in a lighthearted manner.

Additionally, animated television shows such as "Captain Planet and the Planeteers" and "The Magic School Bus" have long entertained and educated audiences about environmental issues, including air pollution, albeit in a manner more suited for younger viewers. These imaginative representations not only reflect societal awareness of environmental concerns but also underscore the potential for creative engagement with the topic at hand.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

[[INTRODUCTION]]
The relationship between environmental factors and human behavior has long intrigued researchers in various disciplines. Among these factors, air pollution has garnered particular attention due to its pervasive presence and potential impact on public health and well-being. In the context of criminology, the investigation of the link between air pollution and violent crime represents an innovative approach to understanding the multifaceted influences on criminal behavior.
Green Bay, Wisconsin, with its picturesque landscapes and renowned cheese production, serves as the focal point of this study. Beyond its fame in football, the city's unique combination of industrial activity and natural beauty provides an intriguing backdrop for exploring the potential connection between air quality and criminal activity. As we embark on this exploration, it is important to acknowledge the complexities inherent in unraveling the interplay of pollution and crime, while also appreciating the subtle nuances of conducting research in a location known for its football fervor, Friday fish fries, and fervent devotion to all things dairy.
While the prevailing literature has delved into the individual impacts of air pollution and crime on public health and safety separately, our endeavor seeks to bridge the gap and shed light on the potential relational dynamics that may exist between these seemingly disparate realms. By doing so, we endeavor to contribute not only to the academic understanding of environmental criminology but also to the broader societal dialogue on devising inventive strategies for promoting community well-being, which may involve measures that go beyond simply airing out grievances.
In the pages that follow, we delve into the empirical findings that have surfaced through our meticulous analysis of environmental and criminological data. The relationship uncovered between air pollution and violent crime rates in Green Bay is poised to shift the conversation from mere statistical correlations to actionable insights that could, quite literally, clear the air in addressing crime and pollution in this charming corner of the state.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

The methodology employed in this study involved a comprehensive and systematic approach to collecting, analyzing, and interpreting data to investigate the relationship between air pollution and violent crime rates in Green Bay, Wisconsin. The data utilized in this research was predominantly sourced from the Environmental Protection Agency and the FBI Criminal Justice Information Services. The period of analysis spanned from 1985 to 2022, encompassing several decades of socio-environmental dynamics in the region.

To begin, air pollution data was obtained from various monitoring stations in Green Bay, capturing metrics such as particulate matter (PM2.5 and PM10), nitrogen dioxide (NO2), sulfur dioxide (SO2), carbon monoxide (CO), and ozone (O3) levels. These environmental indicators were aggregated and standardized to facilitate comparative analysis across different time periods.

Concurrently, violent crime data, including reports of homicide, assault, robbery, and other similar offenses, was gathered from law enforcement agencies within Green Bay and integrated with the FBI's comprehensive database. The categorization and classification of crime incidents were meticulously reviewed to ensure consistency and accuracy in the representation of criminal activities within the city.

Following the acquisition of both environmental and criminological datasets, a series of statistical analyses were conducted to discern patterns and associations between air pollution and violent crime rates. Linear regression models were employed to examine the potential causal relationship between air quality and instances of violent crime, while controlling for relevant demographic and socio-economic variables. Additionally, temporal analysis techniques were utilized to discern any temporal trends and fluctuations in the observed correlations over the extensive timeframe under consideration.

Furthermore, spatial analysis methodologies were applied to investigate the geographical distribution of air pollution hotspots and their potential influence on localized patterns of criminal behavior. Geographic information systems (GIS) technology facilitated the visualization of spatial relationships, offering insights into the proximity of pollution sources to areas of heightened criminal activity. This spatial lens contributed to a more nuanced understanding of the interconnected dynamics between environmental factors and crime patterns within Green Bay.

Lastly, sensitivity analyses were performed to assess the robustness of the findings and account for any potential confounding variables or methodological limitations. Sensitivity to alternate model specifications and variations in the data inputs provided a comprehensive perspective on the reliability and stability of the observed associations between air pollution and violent crime rates.

In summation, the suite of methodologies employed in this research endeavor sought to disentangle the intricate interplay between air pollution and violent crime in Green Bay, capturing the complexity of this relationship through a multi-pronged analytical framework that plumbed the depths of both environmental and criminological data with scientific rigor and a touch of whimsy.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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.6707277, r-squared of 0.4498757, 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]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The relationship between environmental factors and human behavior has long intrigued researchers in various disciplines. Among these factors, air pollution has garnered particular attention due to its pervasive presence and potential impact on public health and well-being. In the context of criminology, the investigation of the link between air pollution and violent crime represents an innovative approach to understanding the multifaceted influences on criminal behavior.
Green Bay, Wisconsin, with its picturesque landscapes and renowned cheese production, serves as the focal point of this study. Beyond its fame in football, the city's unique combination of industrial activity and natural beauty provides an intriguing backdrop for exploring the potential connection between air quality and criminal activity. As we embark on this exploration, it is important to acknowledge the complexities inherent in unraveling the interplay of pollution and crime, while also appreciating the subtle nuances of conducting research in a location known for its football fervor, Friday fish fries, and fervent devotion to all things dairy.
While the prevailing literature has delved into the individual impacts of air pollution and crime on public health and safety separately, our endeavor seeks to bridge the gap and shed light on the potential relational dynamics that may exist between these seemingly disparate realms. By doing so, we endeavor to contribute not only to the academic understanding of environmental criminology but also to the broader societal dialogue on devising inventive strategies for promoting community well-being, which may involve measures that go beyond simply airing out grievances.
In the pages that follow, we delve into the empirical findings that have surfaced through our meticulous analysis of environmental and criminological data. The relationship uncovered between air pollution and violent crime rates in Green Bay is poised to shift the conversation from mere statistical correlations to actionable insights that could, quite literally, clear the air in addressing crime and pollution in this charming corner of the state.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected from the Environmental Protection Agency and the FBI Criminal Justice Information Services revealed a correlation coefficient of 0.6707277 between air pollution and violent crime rates in Green Bay, Wisconsin, for the period from 1985 to 2022. This correlation coefficient indicates a moderately strong positive relationship between the two variables, suggesting that as air pollution levels increased, so did the rates of violent crime in this picturesque city.

The r-squared value of 0.4498757 further corroborates the substantial influence of air pollution on violent crime rates, indicating that approximately 44.99% of the variability in crime rates can be explained by changes in air pollution levels. This finding underscores the potent impact of environmental factors on criminal behavior and emphasizes the importance of considering air quality in the broader context of crime prevention and public health efforts.

Moreover, the statistically significant p-value of less than 0.01 provides compelling evidence to reject the null hypothesis of no relationship between air pollution and violent crime rates in Green Bay. This indicates that the observed association is unlikely to have occurred by chance, lending further support to the notion that air pollution may indeed play a pivotal role in shaping the patterns of violent criminal activity in this region.

Notably, the scatterplot (Fig. 1) visually illustrates the strong positive correlation between air pollution and violent crime rates, showcasing the compelling relationship uncovered by our analysis. The upward trend depicted in the scatterplot reinforces the notion that as air pollution levels rise, so too do the incidences of violent crime, offering a vivid representation of the interplay between these interconnected phenomena.

In light of these findings, it is evident that the implications extend beyond the realms of environmental criminology and public policy, resonating with the very essence of societal well-being. The recognition of such a correlation prompts consideration not only for innovative strategies in crime prevention but also for initiatives aimed at enhancing air quality, evoking the potential for a literal "breath of fresh air" in addressing both crime and pollution in Green Bay, Wisconsin.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

[[LITERATURE REVIEW]]
The connection between air pollution and violent crime rates has been a subject of scholarly inquiry, generating a body of literature that delves into the potential interplay between these seemingly distinct phenomena. Smith et al. (2015) explored the association between particulate matter and criminal behavior, while Doe and Jones (2018) examined the potential impact of air quality on violent crime occurrences.
In "The Air Pollution Crisis" by Miller (2019), the author discusses the far-reaching implications of air pollution on public health, raising the possibility of broader societal implications beyond physical well-being. Similarly, "Crime and the Environment" by Brown (2017) offers insights into the complexities of environmental factors shaping criminal behaviors, providing a theoretical framework for understanding the potential links between pollution and crime.
Turning to the realm of fiction, the novel "breathless" by Aire (2016) presents a thought-provoking narrative that weaves the themes of air quality and visceral human experiences, albeit in a metaphorical context. "The Poisonous Air Affair" by Greene (2018) offers a fictional account that intriguingly intertwines pollution and criminal intrigue, albeit in a lighthearted manner.
Additionally, animated television shows such as "Captain Planet and the Planeteers" and "The Magic School Bus" have long entertained and educated audiences about environmental issues, including air pollution, albeit in a manner more suited for younger viewers. These imaginative representations not only reflect societal awareness of environmental concerns but also underscore the potential for creative engagement with the topic at hand.

[[RESULTS]]
The analysis of the data collected from the Environmental Protection Agency and the FBI Criminal Justice Information Services revealed a correlation coefficient of 0.6707277 between air pollution and violent crime rates in Green Bay, Wisconsin, for the period from 1985 to 2022. This correlation coefficient indicates a moderately strong positive relationship between the two variables, suggesting that as air pollution levels increased, so did the rates of violent crime in this picturesque city.
The r-squared value of 0.4498757 further corroborates the substantial influence of air pollution on violent crime rates, indicating that approximately 44.99% of the variability in crime rates can be explained by changes in air pollution levels. This finding underscores the potent impact of environmental factors on criminal behavior and emphasizes the importance of considering air quality in the broader context of crime prevention and public health efforts.
Moreover, the statistically significant p-value of less than 0.01 provides compelling evidence to reject the null hypothesis of no relationship between air pollution and violent crime rates in Green Bay. This indicates that the observed association is unlikely to have occurred by chance, lending further support to the notion that air pollution may indeed play a pivotal role in shaping the patterns of violent criminal activity in this region.
Notably, the scatterplot (Fig. 1) visually illustrates the strong positive correlation between air pollution and violent crime rates, showcasing the compelling relationship uncovered by our analysis. The upward trend depicted in the scatterplot reinforces the notion that as air pollution levels rise, so too do the incidences of violent crime, offering a vivid representation of the interplay between these interconnected phenomena.
In light of these findings, it is evident that the implications extend beyond the realms of environmental criminology and public policy, resonating with the very essence of societal well-being. The recognition of such a correlation prompts consideration not only for innovative strategies in crime prevention but also for initiatives aimed at enhancing air quality, evoking the potential for a literal "breath of fresh air" in addressing both crime and pollution in Green Bay, Wisconsin.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of the current study provide compelling evidence supporting the long-standing notion of an association between air pollution and violent crime rates, as previously posited by scholars such as Smith et al. (2015) and Doe and Jones (2018). The moderately strong positive correlation coefficient revealed in our analysis aligns with the theoretical and empirical underpinnings of prior research, indicating that as air pollution levels increased, so did the rates of violent crime in the charming city of Green Bay, Wisconsin.

Furthermore, the r-squared value of 0.4498757 underscores the substantial influence of air pollution on violent crime rates, harking back to the theoretical constructs advanced by Brown (2017) regarding the interplay of environmental factors in shaping criminal behaviors. The recognition of approximately 44.99% of the variability in crime rates being explained by changes in air pollution levels lends additional credence to the significance of considering air quality as a pertinent factor in the understanding of crime patterns.

The statistically significant p-value of less than 0.01 not only aligns with the expectations based on prior literature but also echoes the fictional narratives of "The Poisonous Air Affair" by Greene (2018) in evoking the sense of intrigue and poignancy surrounding the potential impact of pollution on criminal activities. This compelling evidence further corroborates the substantive nature of the relationship uncovered in our analysis, resonating with the broader conceptualization advanced by Miller (2019) on the broader societal implications of air pollution on public well-being.

The scatterplot (Fig. 1) visually highlights the robust positive correlation between air pollution and violent crime rates, eliciting a metaphorical connection to Aire's "breathless" (2016) in showcasing the vivid representation of the interplay between these interconnected phenomena. This visual depiction serves not only to encapsulate the essence of the findings but also to engage with a creative reinterpretation of the empirical evidence, as exemplified by the animated television shows "Captain Planet and the Planeteers" and "The Magic School Bus."

In essence, the findings of this study not only underscore the empirical validity of the association between air pollution and violent crime rates but also offer a nuanced understanding of the intricate relationship between these seemingly distinct phenomena. The implications extend beyond the realms of environmental criminology and public policy, resonating with the very essence of societal well-being. The recognition of such a correlation prompts consideration not only for innovative strategies in crime prevention but also for initiatives aimed at enhancing air quality, evoking the potential for a literal "breath of fresh air" in addressing both crime and pollution in Green Bay, Wisconsin.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Green Bay, Wisconsin 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]]
When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates

[[ABSTRACT]]
This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

[[INTRDUCTION]]
The relationship between environmental factors and human behavior has long intrigued researchers in various disciplines. Among these factors, air pollution has garnered particular attention due to its pervasive presence and potential impact on public health and well-being. In the context of criminology, the investigation of the link between air pollution and violent crime represents an innovative approach to understanding the multifaceted influences on criminal behavior.
Green Bay, Wisconsin, with its picturesque landscapes and renowned cheese production, serves as the focal point of this study. Beyond its fame in football, the city's unique combination of industrial activity and natural beauty provides an intriguing backdrop for exploring the potential connection between air quality and criminal activity. As we embark on this exploration, it is important to acknowledge the complexities inherent in unraveling the interplay of pollution and crime, while also appreciating the subtle nuances of conducting research in a location known for its football fervor, Friday fish fries, and fervent devotion to all things dairy.
While the prevailing literature has delved into the individual impacts of air pollution and crime on public health and safety separately, our endeavor seeks to bridge the gap and shed light on the potential relational dynamics that may exist between these seemingly disparate realms. By doing so, we endeavor to contribute not only to the academic understanding of environmental criminology but also to the broader societal dialogue on devising inventive strategies for promoting community well-being, which may involve measures that go beyond simply airing out grievances.
In the pages that follow, we delve into the empirical findings that have surfaced through our meticulous analysis of environmental and criminological data. The relationship uncovered between air pollution and violent crime rates in Green Bay is poised to shift the conversation from mere statistical correlations to actionable insights that could, quite literally, clear the air in addressing crime and pollution in this charming corner of the state.

[[RESULTS]]
The analysis of the data collected from the Environmental Protection Agency and the FBI Criminal Justice Information Services revealed a correlation coefficient of 0.6707277 between air pollution and violent crime rates in Green Bay, Wisconsin, for the period from 1985 to 2022. This correlation coefficient indicates a moderately strong positive relationship between the two variables, suggesting that as air pollution levels increased, so did the rates of violent crime in this picturesque city.
The r-squared value of 0.4498757 further corroborates the substantial influence of air pollution on violent crime rates, indicating that approximately 44.99% of the variability in crime rates can be explained by changes in air pollution levels. This finding underscores the potent impact of environmental factors on criminal behavior and emphasizes the importance of considering air quality in the broader context of crime prevention and public health efforts.
Moreover, the statistically significant p-value of less than 0.01 provides compelling evidence to reject the null hypothesis of no relationship between air pollution and violent crime rates in Green Bay. This indicates that the observed association is unlikely to have occurred by chance, lending further support to the notion that air pollution may indeed play a pivotal role in shaping the patterns of violent criminal activity in this region.
Notably, the scatterplot (Fig. 1) visually illustrates the strong positive correlation between air pollution and violent crime rates, showcasing the compelling relationship uncovered by our analysis. The upward trend depicted in the scatterplot reinforces the notion that as air pollution levels rise, so too do the incidences of violent crime, offering a vivid representation of the interplay between these interconnected phenomena.
In light of these findings, it is evident that the implications extend beyond the realms of environmental criminology and public policy, resonating with the very essence of societal well-being. The recognition of such a correlation prompts consideration not only for innovative strategies in crime prevention but also for initiatives aimed at enhancing air quality, evoking the potential for a literal "breath of fresh air" in addressing both crime and pollution in Green Bay, Wisconsin.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the relationship between air pollution and violent crime rates in Green Bay, Wisconsin has unearthed a compelling correlation that suggests a notable association between these two phenomena. The statistically significant correlation coefficient, r-squared value, and p-value collectively indicate a moderately robust positive relationship, signifying that as air pollution levels wax and wane, so do the rates of violent crime in this idyllic city. The visual representation provided by the scatterplot further underscores the strength of this association, offering a graphic depiction of the ascendancy of crime in tandem with elevated levels of air pollution.

The implications of these findings extend far beyond the realm of mere statistical analyses, calling for innovative strategies that not only combat crime but also clear the air in a quite literal sense. The potential for inventive policymaking that incorporates measures to improve air quality offers a breath of fresh air in the landscape of environmental criminology and public health efforts. It is imperative to recognize the multifaceted influences that permeate the fabric of crime and pollution, as these intricacies underscore the need for holistic approaches to addressing societal well-being.

While our research has shed light on this intriguing correlation, it is important to acknowledge the inherent complexity in disentangling the myriad factors that underpin criminal behavior and environmental influences. Our study serves as a pivotal stepping stone in unraveling the interplay of pollution and crime, yet it also highlights the need for continued exploration in this domain.

In light of the ramifications of our findings, we assert that no further research is needed in this area, as we have quite literally cleared the air on the relationship between air pollution and violent crime rates in Green Bay, Wisconsin.


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 When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Environmental Criminology and Pollution Analysis


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 When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Environmental Justice and Urban Safety


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 When the Air Clears: Uncovering the Relationship Between Air Pollution in Green Bay, Wisconsin, and Violent Crime Rates with an abstract of This research delves into the intricate relationship between air pollution in the charming city of Green Bay, Wisconsin, and the rates of violent crime. Leveraging data from the Environmental Protection Agency and the FBI Criminal Justice Information Services, our rigorous analysis unearthed a noteworthy correlation coefficient of 0.6707277 and p < 0.01 for the time period spanning from 1985 to 2022. Our findings suggest that there exists a significant association between the levels of air pollution and the occurrences of violent crime in Green Bay throughout these decades. The implications of these results may elicit not only a breath of fresh air in the field of environmental criminology but also lead to inventive policymaking that could, quite literally, clear the air when it comes to addressing crime in this quaint part of the Badger State.

ChatGPT:

Green Bay Wisconsin, air pollution, violent crime rates, correlation coefficient, Environmental Protection Agency, FBI Criminal Justice Information Services, air pollution levels, criminal occurrences, environmental criminology, policymaking, Wisconsin crime statistics, air quality, crime prevention, pollution control measures.

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

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.6707277 (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.4498757 (Coefficient of determination)
This means 45% 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 Green Bay, Wisconsin) over the 38 years from 1985 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 4.07E-6. 0.0000040689050880984230000000
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.67 in 0.000407% of random cases. Said differently, if you correlated 245,766 random variables You don't actually need 245 thousand 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.45, 0.82 ] 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 Green Bay, Wisconsin (Bad air quality days)8.219184.5454510.077513.79317.630527.3732711.73714.205612.463058.1967212.59.836078.1521711.95659.75613.225817.346947.786895.462182.74519.920644.048585.898882.272733.32413.370792.19784.918030.5479450.8219180.8287291.366120.5555561.6666700.2732241.369861.39276
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([8.21918,4.54545,10.0775,13.7931,7.63052,7.37327,11.7371,4.20561,2.46305,8.19672,12.5,9.83607,8.15217,11.9565,9.7561,3.22581,7.34694,7.78689,5.46218,2.7451,9.92064,4.04858,5.89888,2.27273,3.3241,3.37079,2.1978,4.91803,0.547945,0.821918,0.828729,1.36612,0.555556,1.66667,0,0.273224,1.36986,1.39276,])
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 Green Bay, Wisconsin"
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?

Your dedication to rating warms my heart!


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

CC BY 4.0