about · email me · subscribe
Spurious correlation #4,729 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bachelor's degrees awarded in Transportation and the second variable is Air pollution in Laramie, Wyoming.  The chart goes from 2012 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more and more students graduated with expertise in transportation and materials moving, they couldn't resist the temptation to rev up their engines and show off their skills. Whether it was drag racing in their souped-up cars or attempting to execute professional-grade maneuvers in big rigs, the newly-degreed individuals unwittingly turned the peaceful streets of Laramie into a chaotic, exhaust-filled arena of vehicular mayhem. As a result, air pollution levels skyrocketed, creating a cloud of irony over the city's academic and environmental ambitions. Who would have thought that the path to cleaner, more efficient transportation in Laramie would need to begin with a gentle reminder to the experts-to-be: sometimes, it's best to just, well, carpool.

Model: dalle-3
Prompt: Generate an image of a chaotic scene on the streets of Laramie, Wyoming, with newly-graduated professionals in transportation and materials moving revving their engines. Show drag racing cars and big rigs executing professional-grade maneuvers amidst a cloud of exhaust and air pollution. Capture the ironic contrast between the peaceful streets and the chaotic arena created by the professionals' displays of skill. Use a charcoal style to depict the scene with bold, dynamic strokes and intense contrast. 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: Bachelor's degrees awarded in Transportation and materials moving and Air pollution in Laramie, Wyoming. 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 Charcoal Psychedelic Scalar art Cybernetic art
ChatGPT: Charcoal

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 Bachelor's degrees awarded in Transportation and materials moving and Air pollution in Laramie, Wyoming, in the following situation: As more and more students graduated with expertise in transportation and materials moving, they couldn't resist the temptation to rev up their engines and show off their skills. Whether it was drag racing in their souped-up cars or attempting to execute professional-grade maneuvers in big rigs, the newly-degreed individuals unwittingly turned the peaceful streets of Laramie into a chaotic, exhaust-filled arena of vehicular mayhem. As a result, air pollution levels skyrocketed, creating a cloud of irony over the city's academic and environmental ambitions. Who would have thought that the path to cleaner, more efficient transportation in Laramie would need to begin with a gentle reminder to the experts-to-be: sometimes, it's best to just, well, carpool.. Keep the description simple.
ChatGPT: In a chaotic scene on the streets of Laramie, Wyoming, newly-graduated professionals in transportation and materials moving revved their engines, showing off their skills. Drag racing cars and executing professional-grade maneuvers in big rigs, they inadvertently turned the peaceful streets into a chaotic, exhaust-filled arena. In the background, air pollution levels skyrocketed, creating a cloud of irony over the city's academic and environmental ambitions.

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: [ Charcoal ] and depicting this scene: In a chaotic scene on the streets of Laramie, Wyoming, newly-graduated professionals in transportation and materials moving revved their engines, showing off their skills. Drag racing cars and executing professional-grade maneuvers in big rigs, they inadvertently turned the peaceful streets into a chaotic, exhaust-filled arena. In the background, air pollution levels skyrocketed, creating a cloud of irony over the city's academic and environmental ambitions. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a chaotic scene on the streets of Laramie, Wyoming, with newly-graduated professionals in transportation and materials moving revving their engines. Show drag racing cars and big rigs executing professional-grade maneuvers amidst a cloud of exhaust and air pollution. Capture the ironic contrast between the peaceful streets and the chaotic arena created by the professionals' displays of skill. Use a charcoal style to depict the scene with bold, dynamic strokes and intense contrast.

*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 an increase in Bachelor's degrees awarded in Transportation and materials moving caused Air pollution in Laramie, Wyoming to increase.

AI academic paper

(Because p < 0.01)
Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming

The Journal of Ecological Engineering and Urban Transportation

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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 National Center for Education Statistics and Environmental Protection Agency to assess this nagging question. You found a correlation coefficient of 0.8606922 and p < 0.01 for 2012 to 2021.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
Introduction

The enchanting city of Laramie, Wyoming, nestled in the pristine beauty of the Rocky Mountains, has long been an idyllic setting for academic pursuits and a beacon of progressive thought. While Laramie has its fair share of charm, it is not immune to the pervasive issue of air pollution, a challenge that has left many scratching their heads and wheezing for solutions. In this asph-ecially intriguing study, we embark on a journey to uncover the unsuspected link between the number of Bachelor's degrees awarded in transportation and the levels of airborne adversary in Laramie. While on the surface, the world of academic study and the air we breathe may seem as dissimilar as a plane and a mountain, our findings lift the veil on an asphalt-tively impactful relationship.

The pursuit of knowledge in transportation has historically been associated with vehicular movement, infrastructure development, and the thrill of the open highway. However, as we traverse the data landscape, we are struck by the surprising revelation that educational endeavors in transportation may possess inherent connections to the alchemical transformation of pristine mountain air into something less-breathable. Our research endeavors to showcase the road less traveled, shedding light on the often overlooked influence of academic pursuits on the air quality of Laramie.

Through a meticulous analysis of data sourced from the National Center for Education Statistics and the Environmental Protection Agency, we have harnessed the power of statistical wizardry to reveal a correlation coefficient that leaves even the most seasoned scholars admiring in awe. The asphalt-tively high correlation coefficient of 0.8606922 and a p-value that defies conventional significance thresholds reaffirms the compelling nature of our findings.

As we set out on this scholarly expedition, we aim not only to elucidate the surprising connection between transportation education and air pollution but also to prompt thoughtful reflections and pave the way for future research endeavors. Our study serves as a beacon of fresh, unpolluted air in the scholarly discourse, challenging conventional academic silos and ushering in a new era of interdisciplinary inquiry. So, fasten your seatbelts as we embark on a journey filled with unexpected twists, turns, and maybe a bit of exhaust as we delve into the intersection between education and environmental impact.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Introduction
The enchanting city of Laramie, Wyoming, nestled in the pristine beauty of the Rocky Mountains, has long been an idyllic setting for academic pursuits and a beacon of progressive thought. While Laramie has its fair share of charm, it is not immune to the pervasive issue of air pollution, a challenge that has left many scratching their heads and wheezing for solutions. In this asph-ecially intriguing study, we embark on a journey to uncover the unsuspected link between the number of Bachelor's degrees awarded in transportation and the levels of airborne adversary in Laramie. While on the surface, the world of academic study and the air we breathe may seem as dissimilar as a plane and a mountain, our findings lift the veil on an asphalt-tively impactful relationship.
The pursuit of knowledge in transportation has historically been associated with vehicular movement, infrastructure development, and the thrill of the open highway. However, as we traverse the data landscape, we are struck by the surprising revelation that educational endeavors in transportation may possess inherent connections to the alchemical transformation of pristine mountain air into something less-breathable. Our research endeavors to showcase the road less traveled, shedding light on the often overlooked influence of academic pursuits on the air quality of Laramie.
Through a meticulous analysis of data sourced from the National Center for Education Statistics and the Environmental Protection Agency, we have harnessed the power of statistical wizardry to reveal a correlation coefficient that leaves even the most seasoned scholars admiring in awe. The asphalt-tively high correlation coefficient of 0.8606922 and a p-value that defies conventional significance thresholds reaffirms the compelling nature of our findings.
As we set out on this scholarly expedition, we aim not only to elucidate the surprising connection between transportation education and air pollution but also to prompt thoughtful reflections and pave the way for future research endeavors. Our study serves as a beacon of fresh, unpolluted air in the scholarly discourse, challenging conventional academic silos and ushering in a new era of interdisciplinary inquiry. So, fasten your seatbelts as we embark on a journey filled with unexpected twists, turns, and maybe a bit of exhaust as we delve into the intersection between education and environmental impact.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The relationship between academic pursuits in transportation and environmental quality has been a subject of burgeoning interest among researchers in recent years. This review consolidates and synthesizes findings from various studies, providing a comprehensive overview of the nuanced intersection between Bachelor's degrees awarded in Transportation and air pollution in Laramie, Wyoming.

Smith et al. (2015) examine the impact of educational backgrounds in transportation on the local environment, highlighting the potential influence of non-traditional academic pathways on air quality. Similarly, Doe (2018) delves into the implications of vehicular-focused educational programs on atmospheric conditions and lays the groundwork for understanding the asphalt-tively impactful consequences of academic pursuits.

As we venture further into the literature, it is imperative to consider the works of Jones (2017), whose research sheds light on the unexpected connections between higher education in transportation and the pervasive issue of air pollution. These seminal studies pave the way for our current investigation, inviting us to challenge conventional wisdom and embrace the whimsical dance of academia and atmosphere.

Expanding our purview beyond academic research, a series of non-fiction works offer valuable insights into the subject matter at hand. "The Geography of Bliss" by Eric Weiner prompts contemplation of the geographical factors that shape personal and academic pursuits, while "The Omnivore's Dilemma" by Michael Pollan prompts us to consider the environmental impact of human activities, including educational endeavors.

In the realm of fiction, the works of Tom Clancy and his gripping narratives of high-octane vehicular pursuits offer a tangential yet intriguing perspective on the correlations between transportation education and atmospheric conditions. Furthermore, the classic "On the Road" by Jack Kerouac weaves a lyrical tale of wanderlust and the open highway, prompting us to reflect on the romanticism surrounding vehicular exploration and its unexpected impact on air quality.

Turning our attention to media influences, the whimsical world of "Thomas the Tank Engine" and its allegorical musings on transportation piques our curiosity, hinting at the unexplored implications of educational pursuits in the realm of steam and locomotion. Additionally, the animated series "Chuggington" playfully delves into the world of locomotives, challenging us to consider the environmental consequences of educational endeavors in the transportation sector, albeit in a lighthearted manner.

In sum, this literature review sets the stage for our investigation, imbuing the scholarly discourse with a touch of whimsy and levity while addressing the asphalt-tively impactful relationship between transportation Bachelor's degrees and air pollution in the charming city of Laramie, Wyoming.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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 National Center for Education Statistics and Environmental Protection Agency . You used data from 2012 to 2021

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

[[INTRODUCTION]]
Introduction
The enchanting city of Laramie, Wyoming, nestled in the pristine beauty of the Rocky Mountains, has long been an idyllic setting for academic pursuits and a beacon of progressive thought. While Laramie has its fair share of charm, it is not immune to the pervasive issue of air pollution, a challenge that has left many scratching their heads and wheezing for solutions. In this asph-ecially intriguing study, we embark on a journey to uncover the unsuspected link between the number of Bachelor's degrees awarded in transportation and the levels of airborne adversary in Laramie. While on the surface, the world of academic study and the air we breathe may seem as dissimilar as a plane and a mountain, our findings lift the veil on an asphalt-tively impactful relationship.
The pursuit of knowledge in transportation has historically been associated with vehicular movement, infrastructure development, and the thrill of the open highway. However, as we traverse the data landscape, we are struck by the surprising revelation that educational endeavors in transportation may possess inherent connections to the alchemical transformation of pristine mountain air into something less-breathable. Our research endeavors to showcase the road less traveled, shedding light on the often overlooked influence of academic pursuits on the air quality of Laramie.
Through a meticulous analysis of data sourced from the National Center for Education Statistics and the Environmental Protection Agency, we have harnessed the power of statistical wizardry to reveal a correlation coefficient that leaves even the most seasoned scholars admiring in awe. The asphalt-tively high correlation coefficient of 0.8606922 and a p-value that defies conventional significance thresholds reaffirms the compelling nature of our findings.
As we set out on this scholarly expedition, we aim not only to elucidate the surprising connection between transportation education and air pollution but also to prompt thoughtful reflections and pave the way for future research endeavors. Our study serves as a beacon of fresh, unpolluted air in the scholarly discourse, challenging conventional academic silos and ushering in a new era of interdisciplinary inquiry. So, fasten your seatbelts as we embark on a journey filled with unexpected twists, turns, and maybe a bit of exhaust as we delve into the intersection between education and environmental impact.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the enigmatic connection between the issuance of Bachelor's degrees in transportation and the atmospheric dynamics of Laramie, Wyoming, our research team embarked on a data odyssey of epic proportions. We harnessed the information power of the National Center for Education Statistics and the Environmental Protection Agency to gather data covering the years 2012 to 2021. Our intrepid journey across the vast expanse of the internet, akin to navigating a complex highway network, led us to gather data with the precision of an air traffic controller and the meticulousness of a highway patrol officer.

Firstly, we obtained the data regarding the number of Bachelor's degrees conferred in the field of transportation from the National Center for Education Statistics. This repository of academic knowledge offered us a treasure trove of information, allowing us to track the influx of transportation scholars with the intrigue of an aviation enthusiast tracing the flight paths of the rarest of birds.

Secondly, utilizing the Environmental Protection Agency's data on air quality in Laramie, we quantified the levels of various air pollutants. Armed with this data, we unfurled our statistical sails and set out to navigate the turbulent seas of correlation analysis, mindful of the wind gusts and unexpected turbulences that could alter our scholarly course.

Employing the audacious power of statistical models, we calculated the correlation coefficient between the number of transportation Bachelor's degrees awarded and air pollution levels, using advanced software reminiscent of our trusty air navigational tools. Our methodical approach to data analysis involved donning the metaphorical seatbelts of caution as we meticulously scrutinized the numbers.

Moreover, acknowledging the potential impact of confounding variables, we conducted robust sensitivity analyses to ensure that our findings were not clouded by extraneous factors. We treaded carefully through the statistical landscape, much like a cautious driver navigating icy roads, ensuring that our findings were as clear and crisp as the Wyoming air on a brisk morning.

In conclusion, our methodology encapsulated a blend of intrepid data collection, meticulous statistical analyses, and a sprinkle of scholarly whimsy, capturing the essence of our expedition into the asphalt-tively impactful relationship between transportation education and air pollution in Laramie, Wyoming.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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 National Center for Education Statistics and Environmental Protection Agency .

For the time period 2012 to 2021, you found a correlation 0.8606922, r-squared of 0.7407911, 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]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Introduction
The enchanting city of Laramie, Wyoming, nestled in the pristine beauty of the Rocky Mountains, has long been an idyllic setting for academic pursuits and a beacon of progressive thought. While Laramie has its fair share of charm, it is not immune to the pervasive issue of air pollution, a challenge that has left many scratching their heads and wheezing for solutions. In this asph-ecially intriguing study, we embark on a journey to uncover the unsuspected link between the number of Bachelor's degrees awarded in transportation and the levels of airborne adversary in Laramie. While on the surface, the world of academic study and the air we breathe may seem as dissimilar as a plane and a mountain, our findings lift the veil on an asphalt-tively impactful relationship.
The pursuit of knowledge in transportation has historically been associated with vehicular movement, infrastructure development, and the thrill of the open highway. However, as we traverse the data landscape, we are struck by the surprising revelation that educational endeavors in transportation may possess inherent connections to the alchemical transformation of pristine mountain air into something less-breathable. Our research endeavors to showcase the road less traveled, shedding light on the often overlooked influence of academic pursuits on the air quality of Laramie.
Through a meticulous analysis of data sourced from the National Center for Education Statistics and the Environmental Protection Agency, we have harnessed the power of statistical wizardry to reveal a correlation coefficient that leaves even the most seasoned scholars admiring in awe. The asphalt-tively high correlation coefficient of 0.8606922 and a p-value that defies conventional significance thresholds reaffirms the compelling nature of our findings.
As we set out on this scholarly expedition, we aim not only to elucidate the surprising connection between transportation education and air pollution but also to prompt thoughtful reflections and pave the way for future research endeavors. Our study serves as a beacon of fresh, unpolluted air in the scholarly discourse, challenging conventional academic silos and ushering in a new era of interdisciplinary inquiry. So, fasten your seatbelts as we embark on a journey filled with unexpected twists, turns, and maybe a bit of exhaust as we delve into the intersection between education and environmental impact.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected from the National Center for Education Statistics and the Environmental Protection Agency has yielded a surprising and compelling correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in Laramie, Wyoming. Our statistical analysis revealed a remarkably strong correlation coefficient of 0.8606922, with an r-squared value of 0.7407911 and a p-value less than 0.01 for the period spanning 2012 to 2021.

Figure 1 showcases the visually striking correlation, which can be likened to two entities in a tango, moving in perfect sync – in this case, transportation education and air pollution. The scatterplot visually captures the asphalt-tively impactful relationship we uncovered, further emphasizing the compelling nature of our findings.

These results highlight the unexpected and complex dance between educational pursuits in transportation and their potential environmental repercussions. It appears that the pursuit of knowledge in transportation may be leaving more than just tire tracks on the road of academia, as its influence extends to the air quality of this charming city.

Our findings invite further reflection on the interconnectedness of seemingly distinct domains and challenge the traditional boundaries that confine academic inquiry. As we navigate this uncharted territory, we invite scholars and enthusiasts alike to breathe in the fresh air of interdisciplinary inquiry and explore the road less traveled in the pursuit of understanding the intricate web of connections between education and environmental impact.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

[[LITERATURE REVIEW]]
The relationship between academic pursuits in transportation and environmental quality has been a subject of burgeoning interest among researchers in recent years. This review consolidates and synthesizes findings from various studies, providing a comprehensive overview of the nuanced intersection between Bachelor's degrees awarded in Transportation and air pollution in Laramie, Wyoming.
Smith et al. (2015) examine the impact of educational backgrounds in transportation on the local environment, highlighting the potential influence of non-traditional academic pathways on air quality. Similarly, Doe (2018) delves into the implications of vehicular-focused educational programs on atmospheric conditions and lays the groundwork for understanding the asphalt-tively impactful consequences of academic pursuits.
As we venture further into the literature, it is imperative to consider the works of Jones (2017), whose research sheds light on the unexpected connections between higher education in transportation and the pervasive issue of air pollution. These seminal studies pave the way for our current investigation, inviting us to challenge conventional wisdom and embrace the whimsical dance of academia and atmosphere.
Expanding our purview beyond academic research, a series of non-fiction works offer valuable insights into the subject matter at hand. "The Geography of Bliss" by Eric Weiner prompts contemplation of the geographical factors that shape personal and academic pursuits, while "The Omnivore's Dilemma" by Michael Pollan prompts us to consider the environmental impact of human activities, including educational endeavors.
In the realm of fiction, the works of Tom Clancy and his gripping narratives of high-octane vehicular pursuits offer a tangential yet intriguing perspective on the correlations between transportation education and atmospheric conditions. Furthermore, the classic "On the Road" by Jack Kerouac weaves a lyrical tale of wanderlust and the open highway, prompting us to reflect on the romanticism surrounding vehicular exploration and its unexpected impact on air quality.
Turning our attention to media influences, the whimsical world of "Thomas the Tank Engine" and its allegorical musings on transportation piques our curiosity, hinting at the unexplored implications of educational pursuits in the realm of steam and locomotion. Additionally, the animated series "Chuggington" playfully delves into the world of locomotives, challenging us to consider the environmental consequences of educational endeavors in the transportation sector, albeit in a lighthearted manner.
In sum, this literature review sets the stage for our investigation, imbuing the scholarly discourse with a touch of whimsy and levity while addressing the asphalt-tively impactful relationship between transportation Bachelor's degrees and air pollution in the charming city of Laramie, Wyoming.

[[RESULTS]]
The analysis of the data collected from the National Center for Education Statistics and the Environmental Protection Agency has yielded a surprising and compelling correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in Laramie, Wyoming. Our statistical analysis revealed a remarkably strong correlation coefficient of 0.8606922, with an r-squared value of 0.7407911 and a p-value less than 0.01 for the period spanning 2012 to 2021.
Figure 1 showcases the visually striking correlation, which can be likened to two entities in a tango, moving in perfect sync – in this case, transportation education and air pollution. The scatterplot visually captures the asphalt-tively impactful relationship we uncovered, further emphasizing the compelling nature of our findings.
These results highlight the unexpected and complex dance between educational pursuits in transportation and their potential environmental repercussions. It appears that the pursuit of knowledge in transportation may be leaving more than just tire tracks on the road of academia, as its influence extends to the air quality of this charming city.
Our findings invite further reflection on the interconnectedness of seemingly distinct domains and challenge the traditional boundaries that confine academic inquiry. As we navigate this uncharted territory, we invite scholars and enthusiasts alike to breathe in the fresh air of interdisciplinary inquiry and explore the road less traveled in the pursuit of understanding the intricate web of connections between education and environmental impact.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study not only affirm but accentuate the findings of previous research on the asphalt-tively impactful relationship between transportation Bachelor's degrees and air pollution in Laramie, Wyoming. Smith et al. (2015), who implicated educational backgrounds in transportation as potential influencers of air quality, might have just hit the gas pedal on an Avenue to Discovery. Our findings parallel their insights, zooming in on the undeniable connection between academic pursuits and environmental consequences. In the scholarly tango of academic rigor and real-world relevance, our study takes the lead, waltzing hand in hand with the literature, leaving no road untraveled.

While we approach this subject matter with the gravity and precision it demands, it is important to note the whimsical influences that have shaped our intellectual sojourn. From the philosophical ponderings of "The Geography of Bliss" by Eric Weiner to the high-octane narratives of Tom Clancy, and the whimsical world of "Thomas the Tank Engine," each piece has subtly steered our inquiry down an avenue of electric curiosity, prompting us to traverse the intersection of academia and atmosphere with an open mind and a touch of playfulness.

As we delve into the asphalt jungle of academia and air, it becomes increasingly apparent that the study of transportation is not just a lane of scholarly pursuit but an avenue of real-world consequence. Our findings stand as a testament to the resonating impact of pursuing knowledge in transportation and the unexpected ripple effect it has on the air quality of Laramie. Much like chugging locomotives, our results chug steadily forward, compelling us to reckon with the interconnectedness of academic pathways and environmental footprints.

In conclusion...


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and Air pollution in Laramie, Wyoming. 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]]
"Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming"

[[ABSTRACT]]
This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

[[INTRDUCTION]]
Introduction
The enchanting city of Laramie, Wyoming, nestled in the pristine beauty of the Rocky Mountains, has long been an idyllic setting for academic pursuits and a beacon of progressive thought. While Laramie has its fair share of charm, it is not immune to the pervasive issue of air pollution, a challenge that has left many scratching their heads and wheezing for solutions. In this asph-ecially intriguing study, we embark on a journey to uncover the unsuspected link between the number of Bachelor's degrees awarded in transportation and the levels of airborne adversary in Laramie. While on the surface, the world of academic study and the air we breathe may seem as dissimilar as a plane and a mountain, our findings lift the veil on an asphalt-tively impactful relationship.
The pursuit of knowledge in transportation has historically been associated with vehicular movement, infrastructure development, and the thrill of the open highway. However, as we traverse the data landscape, we are struck by the surprising revelation that educational endeavors in transportation may possess inherent connections to the alchemical transformation of pristine mountain air into something less-breathable. Our research endeavors to showcase the road less traveled, shedding light on the often overlooked influence of academic pursuits on the air quality of Laramie.
Through a meticulous analysis of data sourced from the National Center for Education Statistics and the Environmental Protection Agency, we have harnessed the power of statistical wizardry to reveal a correlation coefficient that leaves even the most seasoned scholars admiring in awe. The asphalt-tively high correlation coefficient of 0.8606922 and a p-value that defies conventional significance thresholds reaffirms the compelling nature of our findings.
As we set out on this scholarly expedition, we aim not only to elucidate the surprising connection between transportation education and air pollution but also to prompt thoughtful reflections and pave the way for future research endeavors. Our study serves as a beacon of fresh, unpolluted air in the scholarly discourse, challenging conventional academic silos and ushering in a new era of interdisciplinary inquiry. So, fasten your seatbelts as we embark on a journey filled with unexpected twists, turns, and maybe a bit of exhaust as we delve into the intersection between education and environmental impact.

[[RESULTS]]
The analysis of the data collected from the National Center for Education Statistics and the Environmental Protection Agency has yielded a surprising and compelling correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in Laramie, Wyoming. Our statistical analysis revealed a remarkably strong correlation coefficient of 0.8606922, with an r-squared value of 0.7407911 and a p-value less than 0.01 for the period spanning 2012 to 2021.
Figure 1 showcases the visually striking correlation, which can be likened to two entities in a tango, moving in perfect sync – in this case, transportation education and air pollution. The scatterplot visually captures the asphalt-tively impactful relationship we uncovered, further emphasizing the compelling nature of our findings.
These results highlight the unexpected and complex dance between educational pursuits in transportation and their potential environmental repercussions. It appears that the pursuit of knowledge in transportation may be leaving more than just tire tracks on the road of academia, as its influence extends to the air quality of this charming city.
Our findings invite further reflection on the interconnectedness of seemingly distinct domains and challenge the traditional boundaries that confine academic inquiry. As we navigate this uncharted territory, we invite scholars and enthusiasts alike to breathe in the fresh air of interdisciplinary inquiry and explore the road less traveled in the pursuit of understanding the intricate web of connections between education and environmental impact.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unearthed a remarkably robust correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in Laramie, Wyoming. The findings paint a compelling portrait of the asphalt-tively impactful relationship between academic pursuits and atmospheric adversity.

These results invite us to ponder the intertwined nature of academic studies and environmental consequences. It appears that the pursuit of knowledge in transportation may be leaving more than just educational imprints, as it seemingly adds a tinge of exhaust to the air quality of this enchanting city. Our findings serve as a reminder that even the most unexpected connections can pave the way for broader reflections and cross-disciplinary investigations.

As we wrap up our asphalt-bold academic expedition, we assert with great confidence that no further research is needed in this area. Our findings breathe a breath of fresh air into the scholarly discourse, leaving little room for doubt and encouraging scholars and enthusiasts to take the scenic route in their pursuit of interdisciplinary inquiry.

In summary, our research not only sheds light on the surprising interconnectedness of education and environmental impact but also serves as a beacon of fresh, unpolluted air, challenging conventional academic silos and ushering in a new era of interdisciplinary inquiry. It's time to buckle up and ride into the sunset of this study, for the road ahead is clear, and the exhaust has settled.


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 Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Ecological Engineering and Urban Transportation


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 Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Sustainable Urban Transport Research


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Studying the Asphalt-tively Impactful Relationship Between Transportation Bachelor's Degrees and Air Pollution in Laramie, Wyoming with an abstract of This study delves into the surprising correlation between the number of Bachelor's degrees awarded in transportation and the levels of air pollution in the enchanting city of Laramie, Wyoming. Despite the seemingly disparate fields of academic study and environmental quality, our research reveals a striking relationship. Leveraging data from the National Center for Education Statistics and the Environmental Protection Agency, we observed a correlation coefficient of 0.8606922 and a p-value of less than 0.01 for the period spanning 2012 to 2021. As we unpack these findings, we uncover how the pursuit of knowledge in transportation may be associated with unintended environmental consequences, shedding light on the asphalt-tively impactful influence of academic pursuits on the air quality of this charming city. Our research serves as a fresh breath of air in the scholarly discourse on the unexpected intersections between education and environmental impact.

ChatGPT:

transportation bachelor's degrees, air pollution, Laramie, Wyoming, correlation, academic study, environmental quality, National Center for Education Statistics, Environmental Protection Agency, correlation coefficient, p-value, unintended environmental consequences, academic pursuits, air quality, scholarly discourse

*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

Bachelor's degrees awarded in Transportation
Detailed data title: Bachelor's degrees conferred by postsecondary institutions, in field of study: Transportation and materials moving
Source: National Center for Education Statistics
See what else correlates with Bachelor's degrees awarded in Transportation

Air pollution in Laramie, Wyoming
Detailed data title: Percentage of days with air quality at 'unhealthy for sensitive groups' or worse in Laramie, WY
Source: Environmental Protection Agency
See what else correlates with Air pollution in Laramie, Wyoming

Correlation r = 0.8606922 (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.7407911 (Coefficient of determination)
This means 74.1% of the change in the one variable (i.e., Air pollution in Laramie, Wyoming) is predictable based on the change in the other (i.e., Bachelor's degrees awarded in Transportation) over the 10 years from 2012 through 2021.

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

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.86 in 0.14% of random cases. Said differently, if you correlated 720 random variables Which I absolutely did.
with the same 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 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.5, 0.97 ] 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.
2012201320142015201620172018201920202021
Bachelor's degrees awarded in Transportation (Degrees awarded)4876466145884730453147084924505152515993
Air pollution in Laramie, Wyoming (Bad air quality days)0.01917810.008241760000.008219180.0082191800.02459020.0383562




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([4876,4661,4588,4730,4531,4708,4924,5051,5251,5993,])
array_2 = np.array([0.0191781,0.00824176,0,0,0,0.00821918,0.00821918,0,0.0245902,0.0383562,])
array_1_name = "Bachelor's degrees awarded in Transportation"
array_2_name = "Air pollution in Laramie, Wyoming"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating skills are top-notch!


Correlation ID: 4729 · Black Variable ID: 1294 · Red Variable ID: 22206
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0