about · email me · subscribe
Spurious correlation #3,813 · 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 Ottawa and the second variable is Jet fuel used in Former Czechoslovakia.  The chart goes from 1980 to 1992, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The cleaner air in Ottawa led to an influx of supercharged Canadian geese. These geese, known for their impeccable navigation skills, were hired by the Czechoslovakian government to provide eco-friendly aerial transportation, effectively reducing the need for traditional jet fuel. Remember, when it comes to fuel efficiency, never underestimate the power of a well-trained flock!

Model: dalle-3
Prompt: Generate an image that depicts a futuristic cityscape of Ottawa with clear, unblemished skies. In the center of the image, showcase a squadron of sleek UFOs emanating a neon glow, flying effortlessly through the pollution-free atmosphere. The overall scene should exude a cyberpunk aesthetic, with the UFOs seamlessly navigating through the city's skyline, surrounded by the technological marvels of the urban landscape. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. 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: Parallax art Futuristic A scene from Skyrim Charcoal Cyberpunk
ChatGPT: Cyberpunk

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia, in the following situation: Because as air pollution decreased in Ottawa, the clear skies made it easier for UFOs from Former Czechoslovakia to navigate, resulting in fewer UFOs needing to refuel using jet fuel from Ottawa.. Keep the description simple.
ChatGPT: Clear skies over Ottawa as air pollution decreases, allowing UFOs from Former Czechoslovakia to glide smoothly through the now pristine atmosphere. Meanwhile, fewer UFOs need to refuel using jet fuel from Ottawa, as they can efficiently navigate through the pollution-free skies.

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: [ Cyberpunk ] and depicting this scene: Clear skies over Ottawa as air pollution decreases, allowing UFOs from Former Czechoslovakia to glide smoothly through the now pristine atmosphere. Meanwhile, fewer UFOs need to refuel using jet fuel from Ottawa, as they can efficiently navigate through the pollution-free skies. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image that depicts a futuristic cityscape of Ottawa with clear, unblemished skies. In the center of the image, showcase a squadron of sleek UFOs emanating a neon glow, flying effortlessly through the pollution-free atmosphere. The overall scene should exude a cyberpunk aesthetic, with the UFOs seamlessly navigating through the city's skyline, surrounded by the technological marvels of the urban landscape.

*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 Ottawa caused Jet fuel used in Former Czechoslovakia to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption

The Journal of Transcontinental Atmospheric Science

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Your research team used data from Environmental Protection Agency and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.8970784 and p < 0.01 for 1980 to 1992.

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]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.You draft 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 Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Over the years, the issue of air pollution has been a hot topic, and not just because it contributes to global warming! The impact of air pollution on public health and the environment has motivated researchers to take to the skies, or at least their data sets, to unravel the causes and effects of this atmospheric phenomenon. However, amidst the sea of exhaust fumes and jet streams, an unexpected link emerged - one that will make you jet fuel a bit lightheaded!

They say that jet fuel can't melt steel beams, but can it really be connected to air pollution in Ottawa? The question piqued our interest and led us to embark on an airborne journey of statistical analysis and data exploration. And boy, were we in for a wild ride!

Now, when it comes to connecting the dots between air quality and jet fuel consumption, one might be inclined to think it's a bit of a "flying leap." However, our findings suggest otherwise, painting a picture that is as clear as a blue sky on a pristine summer day.

As we delved into our data, we couldn't help but marvel at the curious connection between Ottawa's air pollution levels and the jet fuel consumption in Former Czechoslovakia. It's the kind of connection that makes you want to say, "Czech" out this correlation!

Now, before we take off into the world of statistical analyses and regression models, let's ground ourselves for a moment and ponder the sheer serendipity of stumbling upon such a peculiar correlation. It's like finding a hidden treasure chest in a sea of mundane research topics.

So, fasten your seatbelts, folks! We are about to embark on a statistical journey that will challenge conventional wisdom and perhaps even leave you with a case of statistical turbulence. But fear not, because we are committed to guiding you through this airspace of enigmatic relationships with a healthy dose of statistical humor. Just remember, in statistics, sometimes the best discoveries are found when you're soaring at 30,000 feet!


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading CVS receipts.

Here is the title and abstract of the paper:
[[TITLE]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Over the years, the issue of air pollution has been a hot topic, and not just because it contributes to global warming! The impact of air pollution on public health and the environment has motivated researchers to take to the skies, or at least their data sets, to unravel the causes and effects of this atmospheric phenomenon. However, amidst the sea of exhaust fumes and jet streams, an unexpected link emerged - one that will make you jet fuel a bit lightheaded!
They say that jet fuel can't melt steel beams, but can it really be connected to air pollution in Ottawa? The question piqued our interest and led us to embark on an airborne journey of statistical analysis and data exploration. And boy, were we in for a wild ride!
Now, when it comes to connecting the dots between air quality and jet fuel consumption, one might be inclined to think it's a bit of a "flying leap." However, our findings suggest otherwise, painting a picture that is as clear as a blue sky on a pristine summer day.
As we delved into our data, we couldn't help but marvel at the curious connection between Ottawa's air pollution levels and the jet fuel consumption in Former Czechoslovakia. It's the kind of connection that makes you want to say, "Czech" out this correlation!
Now, before we take off into the world of statistical analyses and regression models, let's ground ourselves for a moment and ponder the sheer serendipity of stumbling upon such a peculiar correlation. It's like finding a hidden treasure chest in a sea of mundane research topics.
So, fasten your seatbelts, folks! We are about to embark on a statistical journey that will challenge conventional wisdom and perhaps even leave you with a case of statistical turbulence. But fear not, because we are committed to guiding you through this airspace of enigmatic relationships with a healthy dose of statistical humor. Just remember, in statistics, sometimes the best discoveries are found when you're soaring at 30,000 feet!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

As we soar through the clouds of academic literature in search of insights into the correlation between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia, we first turn our attention to the seminal work of Smith et al. In "Air Quality and Urban Environments," the authors find a significant association between industrial emissions and particulate matter, offering a robust foundation for our investigation. It's like they say, when it comes to air pollution research, every breath you take carries a statistical significance!

Building upon this foundation, the work of Doe and Jones in "Energy Trends in Eastern Europe" provides crucial context by highlighting the historical patterns of energy consumption in Former Czechoslovakia. Their findings hint at the lingering echoes of jet engines reverberating across time and space, perhaps whispering secrets to the winds of Ottawa's air quality.

Now, let us not overlook the contributions of real-world insights from non-fiction literature. "Jet Fuel and Its Impact on the Environment" by Greenbaum and Black propels us into the intricate world of aviation fuel, offering a fuel-injected journey through the environmental implications of kerosene-based combustion. It's a book that really takes off...quite literally!

Transitioning to the world of fiction, we find ourselves immersed in the allegorical skies of "The Pollution Paradox" by Airy Emissions. While the plot may seem far-fetched, the parallels between the dwindling air quality in a fictionalized Ottawa and the fictional jet fuel woes of a distant land provide an uncanny mirroring of our own research focus. It's almost as if the characters in the novel are waving at us from the smog-filled streets of Ottawa, urging us to decode the not-so-subtle hints about the perils of transcontinental pollutant transfer.

As we navigate this literary terrain, we also stumbled upon some rather unexpected sources of inspiration. Admittedly, we took a detour through the labyrinth of absurdity and discovered gold in the form of reading CVS receipts. While these mundane slips of paper may not seem like traditional scholarly sources, we assure you that they provided invaluable, albeit unintentional, insight into the remarkable interplay of consumer behavior and airborne particulate matter. In this case, the real treasure was hidden in the "receipts"!

With our literary expedition reaching soaring altitudes, we have encountered a rich tapestry of insights that not only enrich our understanding of air pollution and jet fuel but also inject levity into an otherwise solemn discourse. It's a reminder that even in the world of academia, a touch of whimsy can breathe life into the most rigorous investigations. Or should we say, "jet fuel" life!


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Energy Information Administration . You used data from 1980 to 1992

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]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

[[INTRODUCTION]]
Over the years, the issue of air pollution has been a hot topic, and not just because it contributes to global warming! The impact of air pollution on public health and the environment has motivated researchers to take to the skies, or at least their data sets, to unravel the causes and effects of this atmospheric phenomenon. However, amidst the sea of exhaust fumes and jet streams, an unexpected link emerged - one that will make you jet fuel a bit lightheaded!
They say that jet fuel can't melt steel beams, but can it really be connected to air pollution in Ottawa? The question piqued our interest and led us to embark on an airborne journey of statistical analysis and data exploration. And boy, were we in for a wild ride!
Now, when it comes to connecting the dots between air quality and jet fuel consumption, one might be inclined to think it's a bit of a "flying leap." However, our findings suggest otherwise, painting a picture that is as clear as a blue sky on a pristine summer day.
As we delved into our data, we couldn't help but marvel at the curious connection between Ottawa's air pollution levels and the jet fuel consumption in Former Czechoslovakia. It's the kind of connection that makes you want to say, "Czech" out this correlation!
Now, before we take off into the world of statistical analyses and regression models, let's ground ourselves for a moment and ponder the sheer serendipity of stumbling upon such a peculiar correlation. It's like finding a hidden treasure chest in a sea of mundane research topics.
So, fasten your seatbelts, folks! We are about to embark on a statistical journey that will challenge conventional wisdom and perhaps even leave you with a case of statistical turbulence. But fear not, because we are committed to guiding you through this airspace of enigmatic relationships with a healthy dose of statistical humor. Just remember, in statistics, sometimes the best discoveries are found when you're soaring at 30,000 feet!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the enthralling relationship between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia, we employed a series of data collection and analysis methods that could make a detective proud. Our data, sourced from the Environmental Protection Agency and the Energy Information Administration, spanned the period from 1980 to 1992. We are positive that our methods will "fuel" your excitement!

In order to capture the essence of jet fuel consumption in Former Czechoslovakia, we first employed the "Jet-Fuel-O-Meter 3000" – an imaginary device that has the uncanny ability to retroactively measure the amount of jet fuel consumed in previous decades. To ensure accuracy, we also cross-referenced our findings with fictional census data from the Bureau of Imaginary Statistics.

For air pollution levels in Ottawa, we unleashed the "Pollut-O-Tron 5000" - a fictitious but undeniably catchy device specifically designed to capture and quantify air contaminants. We fine-tuned this contraption to ensure it was as adept at capturing data as it was at generating memorable names.

With these whimsical yet highly effective instruments in place, we applied our data to a series of statistical analyses, including linear regression, correlation analysis, and time series modeling. Each analysis was carried out with the utmost precision, akin to an airline pilot navigating complex flight paths. We ensured that our statistical models were as robust as the wings of a Boeing 747, meticulously scrutinizing any outliers or anomalies.

Additionally, to account for potential extraneous variables and ensure the validity of our findings, we conducted sensitivity analyses and employed various control measures. We vowed to leave no statistical stone unturned, much like a determined explorer seeking out hidden statistical treasures.

Finally, we employed Monte Carlo simulations to assess the robustness of our results and provide a glimpse into the potential variability of the relationship between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia. These simulations allowed us to explore a wide range of hypothetical scenarios, elevating our analysis to new statistical heights.

By employing these imaginative yet rigorous methods, we were able to unveil a compelling association between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia. Our methods not only delivered valuable insights but also injected a sense of statistical whimsy into our research. After all, sometimes a little statistical humor is the jet fuel that propels us to new scientific heights!


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

Please make up the results section of an academic research paper presenting the findings of the connection between Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Energy Information Administration .

For the time period 1980 to 1992, you found a correlation 0.8970784, r-squared of 0.8047496, 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]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Over the years, the issue of air pollution has been a hot topic, and not just because it contributes to global warming! The impact of air pollution on public health and the environment has motivated researchers to take to the skies, or at least their data sets, to unravel the causes and effects of this atmospheric phenomenon. However, amidst the sea of exhaust fumes and jet streams, an unexpected link emerged - one that will make you jet fuel a bit lightheaded!
They say that jet fuel can't melt steel beams, but can it really be connected to air pollution in Ottawa? The question piqued our interest and led us to embark on an airborne journey of statistical analysis and data exploration. And boy, were we in for a wild ride!
Now, when it comes to connecting the dots between air quality and jet fuel consumption, one might be inclined to think it's a bit of a "flying leap." However, our findings suggest otherwise, painting a picture that is as clear as a blue sky on a pristine summer day.
As we delved into our data, we couldn't help but marvel at the curious connection between Ottawa's air pollution levels and the jet fuel consumption in Former Czechoslovakia. It's the kind of connection that makes you want to say, "Czech" out this correlation!
Now, before we take off into the world of statistical analyses and regression models, let's ground ourselves for a moment and ponder the sheer serendipity of stumbling upon such a peculiar correlation. It's like finding a hidden treasure chest in a sea of mundane research topics.
So, fasten your seatbelts, folks! We are about to embark on a statistical journey that will challenge conventional wisdom and perhaps even leave you with a case of statistical turbulence. But fear not, because we are committed to guiding you through this airspace of enigmatic relationships with a healthy dose of statistical humor. Just remember, in statistics, sometimes the best discoveries are found when you're soaring at 30,000 feet!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the relationship between air pollution levels in Ottawa and jet fuel consumption in Former Czechoslovakia uncovered a notable correlation coefficient of 0.8970784, demonstrating a strong positive association between these two variables. This correlation coefficient indicates that as jet fuel consumption in Former Czechoslovakia increased, air pollution levels in Ottawa also rose, providing compelling evidence of their interconnectedness. “Fuel” the fire of curiosity, one might say!

The coefficient of determination (R-squared) of 0.8047496 revealed that approximately 80% of the variation in air pollution levels in Ottawa can be explained by the variability in jet fuel consumption in Former Czechoslovakia. It’s as if this relationship was up in the air, waiting to be discovered!

Furthermore, the significance level (p-value) of less than 0.01 indicates that the observed correlation is unlikely to be a result of random chance. In other words, the probability of finding such a strong relationship between these variables by pure coincidence is less than 1 in 100. It seems that this correlation is not just a flight of fancy!

Additionally, the scatterplot (Fig. 1) visually represents the strong positive correlation between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia. The points on the scatterplot align themselves in a manner that distinctly portrays the upward trend, capturing the essence of their interconnectedness in a visually captivating manner.

This strong statistical evidence leaves us soaring with excitement at the prospect of unraveling the delightful intricacies of this unlikely pair. It’s clear that when it comes to research, the sky's the limit, and sometimes, the most unexpected connections can take flight and leave us breathless with wonder.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

[[LITERATURE REVIEW]]
As we soar through the clouds of academic literature in search of insights into the correlation between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia, we first turn our attention to the seminal work of Smith et al. In "Air Quality and Urban Environments," the authors find a significant association between industrial emissions and particulate matter, offering a robust foundation for our investigation. It's like they say, when it comes to air pollution research, every breath you take carries a statistical significance!
Building upon this foundation, the work of Doe and Jones in "Energy Trends in Eastern Europe" provides crucial context by highlighting the historical patterns of energy consumption in Former Czechoslovakia. Their findings hint at the lingering echoes of jet engines reverberating across time and space, perhaps whispering secrets to the winds of Ottawa's air quality.
Now, let us not overlook the contributions of real-world insights from non-fiction literature. "Jet Fuel and Its Impact on the Environment" by Greenbaum and Black propels us into the intricate world of aviation fuel, offering a fuel-injected journey through the environmental implications of kerosene-based combustion. It's a book that really takes off...quite literally!
Transitioning to the world of fiction, we find ourselves immersed in the allegorical skies of "The Pollution Paradox" by Airy Emissions. While the plot may seem far-fetched, the parallels between the dwindling air quality in a fictionalized Ottawa and the fictional jet fuel woes of a distant land provide an uncanny mirroring of our own research focus. It's almost as if the characters in the novel are waving at us from the smog-filled streets of Ottawa, urging us to decode the not-so-subtle hints about the perils of transcontinental pollutant transfer.
As we navigate this literary terrain, we also stumbled upon some rather unexpected sources of inspiration. Admittedly, we took a detour through the labyrinth of absurdity and discovered gold in the form of reading CVS receipts. While these mundane slips of paper may not seem like traditional scholarly sources, we assure you that they provided invaluable, albeit unintentional, insight into the remarkable interplay of consumer behavior and airborne particulate matter. In this case, the real treasure was hidden in the "receipts"!
With our literary expedition reaching soaring altitudes, we have encountered a rich tapestry of insights that not only enrich our understanding of air pollution and jet fuel but also inject levity into an otherwise solemn discourse. It's a reminder that even in the world of academia, a touch of whimsy can breathe life into the most rigorous investigations. Or should we say, "jet fuel" life!

[[RESULTS]]
The analysis of the relationship between air pollution levels in Ottawa and jet fuel consumption in Former Czechoslovakia uncovered a notable correlation coefficient of 0.8970784, demonstrating a strong positive association between these two variables. This correlation coefficient indicates that as jet fuel consumption in Former Czechoslovakia increased, air pollution levels in Ottawa also rose, providing compelling evidence of their interconnectedness. “Fuel” the fire of curiosity, one might say!
The coefficient of determination (R-squared) of 0.8047496 revealed that approximately 80% of the variation in air pollution levels in Ottawa can be explained by the variability in jet fuel consumption in Former Czechoslovakia. It’s as if this relationship was up in the air, waiting to be discovered!
Furthermore, the significance level (p-value) of less than 0.01 indicates that the observed correlation is unlikely to be a result of random chance. In other words, the probability of finding such a strong relationship between these variables by pure coincidence is less than 1 in 100. It seems that this correlation is not just a flight of fancy!
Additionally, the scatterplot (Fig. 1) visually represents the strong positive correlation between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia. The points on the scatterplot align themselves in a manner that distinctly portrays the upward trend, capturing the essence of their interconnectedness in a visually captivating manner.
This strong statistical evidence leaves us soaring with excitement at the prospect of unraveling the delightful intricacies of this unlikely pair. It’s clear that when it comes to research, the sky's the limit, and sometimes, the most unexpected connections can take flight and leave us breathless with wonder.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

In light of our findings, it is evident that the correlation between air pollution levels in Ottawa and jet fuel consumption in Former Czechoslovakia is not merely a flight of fancy. Our results affirm the prior research by Smith et al., aligning with their observation of a significant association between industrial emissions and particulate matter. It’s as if the winds of Ottawa carried whispers of Eastern European jet engines, echoing the historical patterns of energy consumption highlighted by Doe and Jones, and providing tangible evidence of their intertwined fates. Now, isn't that a gas?

The coefficient of determination (R-squared) of 0.8047496 implies that approximately 80% of the variation in Ottawa's air pollution levels can be attributed to the variability in jet fuel consumption in Former Czechoslovakia. This echoes the looming shadow of jet engines reverberating across time and space, as hinted by the historical energy consumption patterns. It's like the ghosts of aviation past have left their mark in the air – a spooky yet fitting tale for these statistical skies.

The significance level (p-value) of less than 0.01 further accentuates the robustness of our findings, attesting that this connection between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia is not a serendipitous occurrence. It seems that this correlation is stronger than the gravitational pull of an airplane taking off – surely a force to be reckoned with in the realm of statistical phenomena.

Our visually captivating scatterplot ingeniously captures the essence of their interconnectedness, illustrating the upward trend in a manner that would make even the most seasoned aviators envious. It's a work of art that encapsulates the beauty of statistical storytelling, showcasing the harmonious dance of pollutants and jet fuel consumption in a way that's sure to make anyone's heart take flight.

In closing, our study has not only confirmed the presence of a compelling link between air pollution levels in Ottawa and jet fuel consumption in Former Czechoslovakia but has also demonstrated that even the most unlikely connections can take off into the statistical stratosphere. It appears that in the world of cross-continental pollutant transfer, as in life, the skies are not always as clear as they seem. This research has certainly taken us to new heights in uncovering the whimsical and often surprising intricacies of statistical relationships.

And remember, when it comes to statistics, there's always "plane" room for surprises!


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Air pollution in Ottawa and Jet fuel used in Former Czechoslovakia. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
"In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption"

[[ABSTRACT]]
This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.

We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.

In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

[[INTRDUCTION]]
Over the years, the issue of air pollution has been a hot topic, and not just because it contributes to global warming! The impact of air pollution on public health and the environment has motivated researchers to take to the skies, or at least their data sets, to unravel the causes and effects of this atmospheric phenomenon. However, amidst the sea of exhaust fumes and jet streams, an unexpected link emerged - one that will make you jet fuel a bit lightheaded!
They say that jet fuel can't melt steel beams, but can it really be connected to air pollution in Ottawa? The question piqued our interest and led us to embark on an airborne journey of statistical analysis and data exploration. And boy, were we in for a wild ride!
Now, when it comes to connecting the dots between air quality and jet fuel consumption, one might be inclined to think it's a bit of a "flying leap." However, our findings suggest otherwise, painting a picture that is as clear as a blue sky on a pristine summer day.
As we delved into our data, we couldn't help but marvel at the curious connection between Ottawa's air pollution levels and the jet fuel consumption in Former Czechoslovakia. It's the kind of connection that makes you want to say, "Czech" out this correlation!
Now, before we take off into the world of statistical analyses and regression models, let's ground ourselves for a moment and ponder the sheer serendipity of stumbling upon such a peculiar correlation. It's like finding a hidden treasure chest in a sea of mundane research topics.
So, fasten your seatbelts, folks! We are about to embark on a statistical journey that will challenge conventional wisdom and perhaps even leave you with a case of statistical turbulence. But fear not, because we are committed to guiding you through this airspace of enigmatic relationships with a healthy dose of statistical humor. Just remember, in statistics, sometimes the best discoveries are found when you're soaring at 30,000 feet!

[[RESULTS]]
The analysis of the relationship between air pollution levels in Ottawa and jet fuel consumption in Former Czechoslovakia uncovered a notable correlation coefficient of 0.8970784, demonstrating a strong positive association between these two variables. This correlation coefficient indicates that as jet fuel consumption in Former Czechoslovakia increased, air pollution levels in Ottawa also rose, providing compelling evidence of their interconnectedness. “Fuel” the fire of curiosity, one might say!
The coefficient of determination (R-squared) of 0.8047496 revealed that approximately 80% of the variation in air pollution levels in Ottawa can be explained by the variability in jet fuel consumption in Former Czechoslovakia. It’s as if this relationship was up in the air, waiting to be discovered!
Furthermore, the significance level (p-value) of less than 0.01 indicates that the observed correlation is unlikely to be a result of random chance. In other words, the probability of finding such a strong relationship between these variables by pure coincidence is less than 1 in 100. It seems that this correlation is not just a flight of fancy!
Additionally, the scatterplot (Fig. 1) visually represents the strong positive correlation between air pollution in Ottawa and jet fuel consumption in Former Czechoslovakia. The points on the scatterplot align themselves in a manner that distinctly portrays the upward trend, capturing the essence of their interconnectedness in a visually captivating manner.
This strong statistical evidence leaves us soaring with excitement at the prospect of unraveling the delightful intricacies of this unlikely pair. It’s clear that when it comes to research, the sky's the limit, and sometimes, the most unexpected connections can take flight and leave us breathless with wonder.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the connection between air pollution levels in Ottawa and jet fuel consumption in Former Czechoslovakia has taken us on an exhilarating statistical journey. The striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 have left us absolutely "plane" amazed by the robustness of this link. It seems that when it comes to air pollution and jet fuel consumption, the statistical winds have blown us in an unexpected direction!

Our findings suggest a high likelihood that as jet fuel consumption in Former Czechoslovakia soared, so did the air pollution levels in Ottawa. It's as if the fumes from across the ocean decided to take an international flight of their own, leaving Ottawa with quite an unexpected souvenir! One might even say that this connection has taken off like a, dare I say, "jet-setting" trend in the world of environmental statistics.

The coefficient of determination (R-squared) of 0.8047496 further reinforces the weight of this relationship, indicating that approximately 80% of the variation in Ottawa's air pollution levels can be attributed to the ebb and flow of jet fuel consumption in Former Czechoslovakia. Who knew that the skies above Ottawa could be so heavily influenced by the jet fuel habits of a country miles away? It's a statistical love story that transcends borders!

Given the strength of our results and the undeniable visual portrayal in our scatterplot (Fig. 1), we are confident in asserting that no more research is needed in this area. It seems that the statistical stars have aligned, and we've uncovered a connection that may just be "plane" fascinating!


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 In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Transcontinental Atmospheric Science


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 In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption. Respond only with the name of a fictional organization.

ChatGPT:

The International Society for Atmospheric and Aeronautical Research (ISAAR)


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 In the Air Tonight: Unraveling the Link Between Ottawa's Air Pollution and Former Czechoslovakia's Jet Fuel Consumption with an abstract of This study delves into the tantalizing connection between air pollution levels in Ottawa and the jet fuel consumption in Former Czechoslovakia. Using data from the Environmental Protection Agency and Energy Information Administration, we conducted a rigorous analysis to shed light on this enigmatic relationship. Our findings revealed a striking correlation coefficient of 0.8970784 and a significance level of p < 0.01 for the period spanning from 1980 to 1992.
We couldn't resist diving into this research – after all, it’s not every day you get to explore the cross-continental dance of pollutants and jet fuel consumption! Our analysis unearthed an intriguing association that left us pondering how air quality in one location could be intricately tied to the aviation habits of a distant nation.
In the spirit of full disclosure, we must say, finding this connection was quite the "jet-set" experience! Our study adds a playful twist to the usual discourse surrounding air pollution and energy consumption, proving that even the most unexpected connections can take flight in the world of research.

ChatGPT:

Ottawa air pollution, Former Czechoslovakia jet fuel consumption, environmental protection agency data, energy information administration data, air pollution correlation, jet fuel consumption connection, cross-continental pollutants, aviation habits association, air quality research, playful twist in air pollution, unexpected connections in research

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

Jet fuel used in Former Czechoslovakia
Detailed data title: Volume of jet fuel used consumed in Former Czechoslovakia in millions of barrels per day
Source: Energy Information Administration
See what else correlates with Jet fuel used in Former Czechoslovakia

Correlation r = 0.8970784 (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.8047496 (Coefficient of determination)
This means 80.5% of the change in the one variable (i.e., Jet fuel used in Former Czechoslovakia) is predictable based on the change in the other (i.e., Air pollution in Ottawa) over the 13 years from 1980 through 1992.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 3.2E-5. 0.0000322852876232659640000000
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.9 in 0.0032% of random cases. Said differently, if you correlated 30,974 random variables You don't actually need 30 thousand variables to find a correlation like this one. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 12 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 12 because we have two variables measured over a period of 13 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.68, 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.
1980198119821983198419851986198719881989199019911992
Air pollution in Ottawa (Bad air quality days)5.319152.941180.3636364.27807000000000
Jet fuel used in Former Czechoslovakia (Million Barrels/Day)1211893.3143.23.4554.2933.8554.8963.6493.0033.462




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([5.31915,2.94118,0.363636,4.27807,0,0,0,0,0,0,0,0,0,])
array_2 = np.array([12,11,8,9,3.314,3.2,3.455,4.293,3.855,4.896,3.649,3.003,3.462,])
array_1_name = "Air pollution in Ottawa"
array_2_name = "Jet fuel used in Former Czechoslovakia"

# 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: 3813 · Black Variable ID: 21021 · Red Variable ID: 24421
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0