about · email me · subscribe
Spurious correlation #5,011 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Air quality in Longview, Washington and the second variable is Gasoline pumped in Saint Pierre and Miquelon.  The chart goes from 2000 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the air quality improved in Longview, Washington, it created a ripple effect of positivity that resonated with the atmosphere. This spread to the small French islands of Saint Pierre and Miquelon, where even the gasoline felt uplifted and motivated to be pumped more enthusiastically. It's like the fuel could sense the cleaner, fresher air from afar and just couldn't resist being a part of the newfound environmental harmony.

Model: dalle-3
Prompt: An image of a futuristic gas station in a cyberpunk city, with sleek, neon-lit pump stations towering above a sleek, sparkling fueling area. The scene showcases a high-tech atmosphere and advanced holographic displays, while the gasoline appears to shimmer and glint with an otherworldly energy, reflecting the revitalizing essence of the distant pure air. The skyline is filled with towering skyscrapers and glowing signage, setting the stage for a cyberpunk meets environmental renaissance aesthetic. 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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: Art nouveau Steampunk Symbolism Cyberpunk Parallax art
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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon, in the following situation: As the air quality improved in Longview, Washington, it created a ripple effect of positivity that resonated with the atmosphere. This spread to the small French islands of Saint Pierre and Miquelon, where even the gasoline felt uplifted and motivated to be pumped more enthusiastically. It's like the fuel could sense the cleaner, fresher air from afar and just couldn't resist being a part of the newfound environmental harmony.. Keep the description simple.
ChatGPT: In Longview, Washington, the air cleared, lifting a blanket of pollution and revealing clear blue skies. The sun shone brightly, and a gentle breeze carried the fresh, invigorating air across the miles to the French islands of Saint Pierre and Miquelon. There, at the gas station, the gasoline seemed to sparkle with newfound energy, as if it had been infused with the revitalizing essence of the distant, pure air, inspiring it to be pumped with renewed enthusiasm.

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: In Longview, Washington, the air cleared, lifting a blanket of pollution and revealing clear blue skies. The sun shone brightly, and a gentle breeze carried the fresh, invigorating air across the miles to the French islands of Saint Pierre and Miquelon. There, at the gas station, the gasoline seemed to sparkle with newfound energy, as if it had been infused with the revitalizing essence of the distant, pure air, inspiring it to be pumped with renewed enthusiasm. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: An image of a futuristic gas station in a cyberpunk city, with sleek, neon-lit pump stations towering above a sleek, sparkling fueling area. The scene showcases a high-tech atmosphere and advanced holographic displays, while the gasoline appears to shimmer and glint with an otherworldly energy, reflecting the revitalizing essence of the distant pure air. The skyline is filled with towering skyscrapers and glowing signage, setting the stage for a cyberpunk meets environmental renaissance aesthetic.

*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 Air quality in Longview, Washington caused Gasoline pumped in Saint Pierre and Miquelon to increase.

AI academic paper

(Because p < 0.01)
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

The Journal of Atmospheric Amusements

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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Rhyme words in the title.

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.8436557 and p < 0.01 for 2000 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]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.


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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Ah, the delightful dance of data analysis! In this study, we embark on a whimsical journey through the interconnected realms of air quality in Longview, Washington, and the gasoline pumped in the charming enclave of Saint Pierre and Miquelon. While this particular pairing may initially seem as incongruous as a square peg in a round hole, our unyielding curiosity led us to uncover a striking statistical association between these seemingly unrelated variables.

As scholars of the subtle and the esoteric, we were drawn to explore this enigmatic link. The air in Longview, with all its invisible nuances, and the gasoline activities in Saint Pierre and Miquelon, with their combustible tendencies, piqued our scientific sensibilities. This research endeavor called for a meticulous blend of statistical analysis, enigmatic correlations, and perhaps a pinch of whimsy.

Armed with data from the stalwart Environmental Protection Agency and the effervescent Energy Information Administration, we delved into the depths of this curious connection. Our statistical spelunking revealed a correlation coefficient of 0.8436557, leaving no room for statistical hemming and hawing. With a p-value of less than 0.01, the statistical stalwarts among us could barely contain their excitement.

Ladies and gentlemen, hold onto your statistical hats, for the results of this inquiry may just leave you breathless. The air in Longview and the gasoline in Saint Pierre and Miquelon are engaged in a spirited statistical tango, offering a glimpse into the hidden harmonies of our environment. As we venture forth into the heart of this research, may we unravel the mysteries of statistical serendipity and observational oddities with cautious merriment.


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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. 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 a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Ah, the delightful dance of data analysis! In this study, we embark on a whimsical journey through the interconnected realms of air quality in Longview, Washington, and the gasoline pumped in the charming enclave of Saint Pierre and Miquelon. While this particular pairing may initially seem as incongruous as a square peg in a round hole, our unyielding curiosity led us to uncover a striking statistical association between these seemingly unrelated variables.
As scholars of the subtle and the esoteric, we were drawn to explore this enigmatic link. The air in Longview, with all its invisible nuances, and the gasoline activities in Saint Pierre and Miquelon, with their combustible tendencies, piqued our scientific sensibilities. This research endeavor called for a meticulous blend of statistical analysis, enigmatic correlations, and perhaps a pinch of whimsy.
Armed with data from the stalwart Environmental Protection Agency and the effervescent Energy Information Administration, we delved into the depths of this curious connection. Our statistical spelunking revealed a correlation coefficient of 0.8436557, leaving no room for statistical hemming and hawing. With a p-value of less than 0.01, the statistical stalwarts among us could barely contain their excitement.
Ladies and gentlemen, hold onto your statistical hats, for the results of this inquiry may just leave you breathless. The air in Longview and the gasoline in Saint Pierre and Miquelon are engaged in a spirited statistical tango, offering a glimpse into the hidden harmonies of our environment. As we venture forth into the heart of this research, may we unravel the mysteries of statistical serendipity and observational oddities with cautious merriment.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

To contextualize our findings, it is imperative to review the existing literature on air quality and gasoline consumption, in areas that may not at first glance seem related. Smith and colleagues, in their seminal work "Emissions and You: A Love Story," unearthed the intricate dynamics of air quality control and its impact on local communities. They highlighted the significant influence of regional gasoline usage on airborne pollutants, laying the groundwork for our exploration into the peculiar coupling of Longview's atmospheric essence and the gasoline habits of Saint Pierre and Miquelon.

Similarly, Doe and team, in "Fuel for Thought: A Statistical Odyssey," delved into the intricate web of gasoline consumption patterns, unearthing the delicate interplay between fuel economics and environmental emissions. Their astute observations set the stage for our endeavor, shedding light on the tantalizing possibility of a correlation between the air in Longview and the gasoline dispensing activities across the distant shores of Saint Pierre and Miquelon.

Drawing from the annals of non-fiction literature, we immerse ourselves in the engaging narratives of "The Air We Breathe" by An Invironmental, and "Gasoline Galore" by Ethylene Smog. These thought-provoking tomes offer insights into the ambient influences of air quality and the complexities of gasoline utilization, guiding our empirical foray into the enigmatic connection we seek to unravel.

Venturing into the realm of fiction, we encounter the captivating allegories of "The Winds of Change" by Puffin Freshair and "Petroleum Puzzles" by Octane Enigma. While not grounded in empirical data, these imaginative narratives weave tales of environmental intrigue and fuel-focused fables, providing a whimsical backdrop to our otherwise rigorous exploration of the statistical propinquity between air quality in Longview and gasoline pumped in Saint Pierre and Miquelon.

In an effort to glean unconventional insights, our research team dived into a comprehensive exploration of popular television shows. The investigative exploits of "The Air Affair," "Fueling Curiosities," and "CSI: Combustible Synchronicity" piqued our interest, offering dramatized portrayals of environmental mysteries and fuel-related forensics. While not direct sources of empirical evidence, these televised vignettes provided an entertaining lens through which we contemplated the entwined destinies of air and gasoline, fostering a sense of scholarly levity amidst the rigors of our analytical pursuits.


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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Energy Information Administration . You used data from 2000 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]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

[[INTRODUCTION]]
Ah, the delightful dance of data analysis! In this study, we embark on a whimsical journey through the interconnected realms of air quality in Longview, Washington, and the gasoline pumped in the charming enclave of Saint Pierre and Miquelon. While this particular pairing may initially seem as incongruous as a square peg in a round hole, our unyielding curiosity led us to uncover a striking statistical association between these seemingly unrelated variables.
As scholars of the subtle and the esoteric, we were drawn to explore this enigmatic link. The air in Longview, with all its invisible nuances, and the gasoline activities in Saint Pierre and Miquelon, with their combustible tendencies, piqued our scientific sensibilities. This research endeavor called for a meticulous blend of statistical analysis, enigmatic correlations, and perhaps a pinch of whimsy.
Armed with data from the stalwart Environmental Protection Agency and the effervescent Energy Information Administration, we delved into the depths of this curious connection. Our statistical spelunking revealed a correlation coefficient of 0.8436557, leaving no room for statistical hemming and hawing. With a p-value of less than 0.01, the statistical stalwarts among us could barely contain their excitement.
Ladies and gentlemen, hold onto your statistical hats, for the results of this inquiry may just leave you breathless. The air in Longview and the gasoline in Saint Pierre and Miquelon are engaged in a spirited statistical tango, offering a glimpse into the hidden harmonies of our environment. As we venture forth into the heart of this research, may we unravel the mysteries of statistical serendipity and observational oddities with cautious merriment.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To begin this odyssey of statistical exploration, we harnessed the diligent efforts of our research team to gather and analyze a trove of data from the venerable Environmental Protection Agency and the dynamic Energy Information Administration. Our fingertips deftly navigated the labyrinthine expanse of internet databases, meticulously combing through records from the year 2000 to 2021. We fervently uncovered air quality measurements in Longview, Washington, and the voluminous quantities of gasoline pumped in the captivating isle of Saint Pierre and Miquelon.

With the raw data in our grasp, we embarked on an exhilarating escapade to wrangle and harmonize the disparate yet captivating datasets. Employing an ensemble of statistical methods, we pieced together the tapestry of information, ensuring that no outliers were left to roam unchecked and no correlation went unscrutinized.

Under the glimmering light of the statistical stars, we unleashed the formidable prowess of correlation analysis. Armed with peculiar formulas and a dash of academic prudence, we sought to unravel the intricate bond between the air in Longview and the gasoline in Saint Pierre and Miquelon. The enthralling charade of statistical significance beckoned to us like a siren's call, as we navigated the treacherous waters of p-values and correlation coefficients, all the while mindful of lurking pitfalls masquerading as spurious relationships.

With unwavering determination, we scrutinized the temporal patterns within the datasets, noting the ebbs and flows of air quality and gasoline consumption. The statistical dance floor pulsated with the rhythm of time series analysis, as we sought to unearth the nuanced cadence of the relationship between these entwined variables.

Like intrepid explorers in uncharted statistical terrain, we meticulously crafted robust models to encapsulate the essence of the observed patterns. These models, fortified with the armor of regression analysis, shielded us from the capricious whims of data variability, as we endeavored to extract the essence of the statistical liaison between air quality and gasoline activities.

In fortifying our analysis, we enacted rigorous sensitivity tests and diagnostic evaluations to ensure the steadfastness of our findings. No statistical stone was left unturned as we probed the depths of our data, ever mindful of the uncertainties lurking beneath the surface of our statistical edifice.

In conclusion, our methodology represents an earnest endeavor to decode the enigmatic relationship between the air in Longview and the gasoline in Saint Pierre and Miquelon. Through the meticulous choreography of statistical analysis, we aim to shed light on the hidden melodies permeating our environment, acknowledging that even the most unexpected statistical partnerships may lead to captivating insights.


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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 2000 to 2021, you found a correlation 0.8436557, r-squared of 0.7117550, 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]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Ah, the delightful dance of data analysis! In this study, we embark on a whimsical journey through the interconnected realms of air quality in Longview, Washington, and the gasoline pumped in the charming enclave of Saint Pierre and Miquelon. While this particular pairing may initially seem as incongruous as a square peg in a round hole, our unyielding curiosity led us to uncover a striking statistical association between these seemingly unrelated variables.
As scholars of the subtle and the esoteric, we were drawn to explore this enigmatic link. The air in Longview, with all its invisible nuances, and the gasoline activities in Saint Pierre and Miquelon, with their combustible tendencies, piqued our scientific sensibilities. This research endeavor called for a meticulous blend of statistical analysis, enigmatic correlations, and perhaps a pinch of whimsy.
Armed with data from the stalwart Environmental Protection Agency and the effervescent Energy Information Administration, we delved into the depths of this curious connection. Our statistical spelunking revealed a correlation coefficient of 0.8436557, leaving no room for statistical hemming and hawing. With a p-value of less than 0.01, the statistical stalwarts among us could barely contain their excitement.
Ladies and gentlemen, hold onto your statistical hats, for the results of this inquiry may just leave you breathless. The air in Longview and the gasoline in Saint Pierre and Miquelon are engaged in a spirited statistical tango, offering a glimpse into the hidden harmonies of our environment. As we venture forth into the heart of this research, may we unravel the mysteries of statistical serendipity and observational oddities with cautious merriment.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis unveiled a robust correlation between air quality in Longview, Washington, and the quantity of gasoline pumped in Saint Pierre and Miquelon. The correlation coefficient of 0.8436557 suggests a strong positive relationship between these seemingly dissimilar variables. This coefficient indicates that as the air quality in Longview improves, the gasoline usage in Saint Pierre and Miquelon tends to increase as well. It's a statistical waltz of the most curious kind -- one that leaves us gasping for breath and pondering the intricate dance of environmental forces.

In the realm of statistical significance, our findings did not disappoint. With an r-squared value of 0.7117550, a sizable proportion of the variability in gasoline pumped in Saint Pierre and Miquelon can be accounted for by the fluctuations in air quality in Longview. It's as if the statistical stars aligned to reveal this nuanced relationship, urging us to reconsider the interconnectedness of environmental factors with a knowing statistical wink.

The p-value of less than 0.01 further solidifies the robustness of our findings, leaving little room for statistical skepticism or naysayers to question the vitality of this intriguing association. This p-value serves as a resounding endorsement of the statistical significance of the relationship between these two variables, as if to say, "Yes, this is not just a statistical fluke; this is indeed a bona fide statistical phenomenon."

The scatterplot (Fig. 1) visually captures the compelling correlation between air quality in Longview and gasoline consumption in Saint Pierre and Miquelon. With each data point strategically placed to illustrate the statistical tango between these variables, the figure presents a captivating dance of statistical intrigue that is as visually engaging as it is academically enlightening.

In conclusion, the results of this study shed light on an unexpected connection between air quality in Longview, Washington, and the gasoline activities in Saint Pierre and Miquelon. As we reflect on the statistical marvels that have emerged from this investigation, we are reminded of the vast, interconnected web of statistical relationships that underpin our environmental tapestry, urging us to continue our statistical exploration with a mix of rigour and whimsy.


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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

[[LITERATURE REVIEW]]
To contextualize our findings, it is imperative to review the existing literature on air quality and gasoline consumption, in areas that may not at first glance seem related. Smith and colleagues, in their seminal work "Emissions and You: A Love Story," unearthed the intricate dynamics of air quality control and its impact on local communities. They highlighted the significant influence of regional gasoline usage on airborne pollutants, laying the groundwork for our exploration into the peculiar coupling of Longview's atmospheric essence and the gasoline habits of Saint Pierre and Miquelon.
Similarly, Doe and team, in "Fuel for Thought: A Statistical Odyssey," delved into the intricate web of gasoline consumption patterns, unearthing the delicate interplay between fuel economics and environmental emissions. Their astute observations set the stage for our endeavor, shedding light on the tantalizing possibility of a correlation between the air in Longview and the gasoline dispensing activities across the distant shores of Saint Pierre and Miquelon.
Drawing from the annals of non-fiction literature, we immerse ourselves in the engaging narratives of "The Air We Breathe" by An Invironmental, and "Gasoline Galore" by Ethylene Smog. These thought-provoking tomes offer insights into the ambient influences of air quality and the complexities of gasoline utilization, guiding our empirical foray into the enigmatic connection we seek to unravel.
Venturing into the realm of fiction, we encounter the captivating allegories of "The Winds of Change" by Puffin Freshair and "Petroleum Puzzles" by Octane Enigma. While not grounded in empirical data, these imaginative narratives weave tales of environmental intrigue and fuel-focused fables, providing a whimsical backdrop to our otherwise rigorous exploration of the statistical propinquity between air quality in Longview and gasoline pumped in Saint Pierre and Miquelon.
In an effort to glean unconventional insights, our research team dived into a comprehensive exploration of popular television shows. The investigative exploits of "The Air Affair," "Fueling Curiosities," and "CSI: Combustible Synchronicity" piqued our interest, offering dramatized portrayals of environmental mysteries and fuel-related forensics. While not direct sources of empirical evidence, these televised vignettes provided an entertaining lens through which we contemplated the entwined destinies of air and gasoline, fostering a sense of scholarly levity amidst the rigors of our analytical pursuits.

[[RESULTS]]
The data analysis unveiled a robust correlation between air quality in Longview, Washington, and the quantity of gasoline pumped in Saint Pierre and Miquelon. The correlation coefficient of 0.8436557 suggests a strong positive relationship between these seemingly dissimilar variables. This coefficient indicates that as the air quality in Longview improves, the gasoline usage in Saint Pierre and Miquelon tends to increase as well. It's a statistical waltz of the most curious kind -- one that leaves us gasping for breath and pondering the intricate dance of environmental forces.
In the realm of statistical significance, our findings did not disappoint. With an r-squared value of 0.7117550, a sizable proportion of the variability in gasoline pumped in Saint Pierre and Miquelon can be accounted for by the fluctuations in air quality in Longview. It's as if the statistical stars aligned to reveal this nuanced relationship, urging us to reconsider the interconnectedness of environmental factors with a knowing statistical wink.
The p-value of less than 0.01 further solidifies the robustness of our findings, leaving little room for statistical skepticism or naysayers to question the vitality of this intriguing association. This p-value serves as a resounding endorsement of the statistical significance of the relationship between these two variables, as if to say, "Yes, this is not just a statistical fluke; this is indeed a bona fide statistical phenomenon."
The scatterplot (Fig. 1) visually captures the compelling correlation between air quality in Longview and gasoline consumption in Saint Pierre and Miquelon. With each data point strategically placed to illustrate the statistical tango between these variables, the figure presents a captivating dance of statistical intrigue that is as visually engaging as it is academically enlightening.
In conclusion, the results of this study shed light on an unexpected connection between air quality in Longview, Washington, and the gasoline activities in Saint Pierre and Miquelon. As we reflect on the statistical marvels that have emerged from this investigation, we are reminded of the vast, interconnected web of statistical relationships that underpin our environmental tapestry, urging us to continue our statistical exploration with a mix of rigour and whimsy.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The robust correlation uncovered in our study between air quality in Longview, Washington, and gasoline consumption in Saint Pierre and Miquelon not only supports earlier findings by Smith and colleagues but also adds a new dimension to the existing literature. Smith's work, with its detailed examination of air quality control and regional gasoline usage, could not predict the delightful statistical waltz we uncovered. The correlation coefficient of 0.8436557 waltzes with statistical precision, echoing the splendor of a meticulously choreographed ballet, which even the most discerning statistical critic would find hard to fault.

In a similarly surprising turn of events, Doe and team's investigation into gasoline consumption patterns prepared us for the statistical tango we encountered. The r-squared value of 0.7117550 certainly suggests our findings accounted for a notable proportion of the variability, akin to being handed a tantalizing piece of the statistical puzzle. It's as if we were part of a statistical treasure hunt, and at long last, stumbled upon the treasure chest glittering with statistical significance.

The literature review, comprising both non-fiction and fiction, provided an intriguing backdrop against which we could contextualize our findings. The whimsical narratives of "The Winds of Change" and "Petroleum Puzzles" hinted at the enigmatic connection we would uncover, albeit in a less statistically rigorous manner. Our empirical findings elegantly complemented the entertaining conjectures presented in these works, offering a tangible framework to a fanciful supposition.

The scatterplot, like a visual testament to the statistical tango, not only captured the essence of our findings but also lent an artistic flourish to our academic pursuit. Much like a painting in a gallery, it invited scholarly admiration and bestowed a visual charm upon our statistically driven narrative.

In essence, our results support and extend the previous research, unveiling an unexpected yet compelling connection between seemingly unassociated environmental variables. As we reflect on the remarkable statistical coupling of air quality in Longview and gasoline consumption in Saint Pierre and Miquelon, we are reminded of the delightful surprises statistical analysis can yield when approached with meticulous attention and a touch of statistical enchantment.


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 quality in Longview, Washington and Gasoline pumped in Saint Pierre and Miquelon. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare

[[ABSTRACT]]
This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

[[INTRDUCTION]]
Ah, the delightful dance of data analysis! In this study, we embark on a whimsical journey through the interconnected realms of air quality in Longview, Washington, and the gasoline pumped in the charming enclave of Saint Pierre and Miquelon. While this particular pairing may initially seem as incongruous as a square peg in a round hole, our unyielding curiosity led us to uncover a striking statistical association between these seemingly unrelated variables.
As scholars of the subtle and the esoteric, we were drawn to explore this enigmatic link. The air in Longview, with all its invisible nuances, and the gasoline activities in Saint Pierre and Miquelon, with their combustible tendencies, piqued our scientific sensibilities. This research endeavor called for a meticulous blend of statistical analysis, enigmatic correlations, and perhaps a pinch of whimsy.
Armed with data from the stalwart Environmental Protection Agency and the effervescent Energy Information Administration, we delved into the depths of this curious connection. Our statistical spelunking revealed a correlation coefficient of 0.8436557, leaving no room for statistical hemming and hawing. With a p-value of less than 0.01, the statistical stalwarts among us could barely contain their excitement.
Ladies and gentlemen, hold onto your statistical hats, for the results of this inquiry may just leave you breathless. The air in Longview and the gasoline in Saint Pierre and Miquelon are engaged in a spirited statistical tango, offering a glimpse into the hidden harmonies of our environment. As we venture forth into the heart of this research, may we unravel the mysteries of statistical serendipity and observational oddities with cautious merriment.

[[RESULTS]]
The data analysis unveiled a robust correlation between air quality in Longview, Washington, and the quantity of gasoline pumped in Saint Pierre and Miquelon. The correlation coefficient of 0.8436557 suggests a strong positive relationship between these seemingly dissimilar variables. This coefficient indicates that as the air quality in Longview improves, the gasoline usage in Saint Pierre and Miquelon tends to increase as well. It's a statistical waltz of the most curious kind -- one that leaves us gasping for breath and pondering the intricate dance of environmental forces.
In the realm of statistical significance, our findings did not disappoint. With an r-squared value of 0.7117550, a sizable proportion of the variability in gasoline pumped in Saint Pierre and Miquelon can be accounted for by the fluctuations in air quality in Longview. It's as if the statistical stars aligned to reveal this nuanced relationship, urging us to reconsider the interconnectedness of environmental factors with a knowing statistical wink.
The p-value of less than 0.01 further solidifies the robustness of our findings, leaving little room for statistical skepticism or naysayers to question the vitality of this intriguing association. This p-value serves as a resounding endorsement of the statistical significance of the relationship between these two variables, as if to say, "Yes, this is not just a statistical fluke; this is indeed a bona fide statistical phenomenon."
The scatterplot (Fig. 1) visually captures the compelling correlation between air quality in Longview and gasoline consumption in Saint Pierre and Miquelon. With each data point strategically placed to illustrate the statistical tango between these variables, the figure presents a captivating dance of statistical intrigue that is as visually engaging as it is academically enlightening.
In conclusion, the results of this study shed light on an unexpected connection between air quality in Longview, Washington, and the gasoline activities in Saint Pierre and Miquelon. As we reflect on the statistical marvels that have emerged from this investigation, we are reminded of the vast, interconnected web of statistical relationships that underpin our environmental tapestry, urging us to continue our statistical exploration with a mix of rigour and whimsy.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In the tradition of scientific inquiry, the twists and turns of our statistical journey have led us to unearth a remarkable relationship between air quality in Longview, Washington and the gasoline activities in Saint Pierre and Miquelon. The robust correlation coefficient of 0.8436557 stands as a testament to the statistical tango performed by these variables, leaving us breathless with anticipation for further exploration. The statistical stars have undeniably aligned, revealing a link as enigmatic and fascinating as a statistical sleight of hand.

While our findings do indeed prompt a chuckle at the statistical serendipity that underlies the interconnectedness of these seemingly incongruous variables, it leads us to ponder the peculiar dance of environmental forces with a raised statistical eyebrow. As we bid adieu to this peculiar pairing of air and gas, we are left with a sense of awe at the curious statistical meanderings that underpin our world.

In light of these illuminating results, we are compelled to declare that further research in this peculiar realm is simply unnecessary. The statistical stars have spoken, and the curtain falls on this statistical saga, leaving us with a fond statistical farewell to the statistical tango of air and gas.


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 Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Atmospheric Amusements


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 Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Atmospheric Anomalies


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 Air in Longview and Gas in Saint Pierre: A Statistical Stare and Flare with an abstract of This study investigates the association between air quality in Longview, Washington, and the gasoline pumped in Saint Pierre and Miquelon. With the aid of data from the Environmental Protection Agency and the Energy Information Administration, our research team rigorously evaluated this peculiar relationship. Our analysis revealed a remarkably strong correlation coefficient of 0.8436557, with a p-value of less than 0.01 for the time period spanning from 2000 to 2021. The findings of this study provide evidence of an intriguing link between the air in Longview and the gasoline activities in Saint Pierre and Miquelon. The results may leave you breathless, but they certainly fuel further curiosity into the interconnectedness of seemingly disparate environmental factors.

ChatGPT:

air quality, Longview, Washington, gasoline, Saint Pierre and Miquelon, statistical analysis, correlation coefficient, Environmental Protection Agency, Energy Information Administration, air pollution, gasoline consumption, environmental factors

*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 quality in Longview, Washington
Detailed data title: Percentage of days with good or moderate air quality in Longview, WA
Source: Environmental Protection Agency
See what else correlates with Air quality in Longview, Washington

Gasoline pumped in Saint Pierre and Miquelon
Detailed data title: Volume of gasoline pumped consumed in Saint Pierre and Miquelon in millions of barrels per day
Source: Energy Information Administration
See what else correlates with Gasoline pumped in Saint Pierre and Miquelon

Correlation r = 0.8436557 (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.7117550 (Coefficient of determination)
This means 71.2% of the change in the one variable (i.e., Gasoline pumped in Saint Pierre and Miquelon) is predictable based on the change in the other (i.e., Air quality in Longview, Washington) over the 22 years from 2000 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 8.1E-7. 0.0000008123920942936945000000
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.84 in 8.1E-5% of random cases. Said differently, if you correlated 1,230,933 random variables You don't actually need 1 million variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

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

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 21 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 21 because we have two variables measured over a period of 22 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.66, 0.93 ] 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.
2000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
Air quality in Longview, Washington (Good air quality)0001111111111110.99723810.9945210.98904110.975411
Gasoline pumped in Saint Pierre and Miquelon (Million Barrels/Day)0.0699180.07010960.07010960.09347950.0932240.09347950.09347950.09347950.0932240.09347950.09347950.09347950.0932240.09347950.09815340.09815340.10.09815340.09815340.08646850.07912370.0798887




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([0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0.997238,1,0.994521,0.989041,1,0.97541,1,])
array_2 = np.array([0.069918,0.0701096,0.0701096,0.0934795,0.093224,0.0934795,0.0934795,0.0934795,0.093224,0.0934795,0.0934795,0.0934795,0.093224,0.0934795,0.0981534,0.0981534,0.1,0.0981534,0.0981534,0.0864685,0.0791237,0.0798887,])
array_1_name = "Air quality in Longview, Washington"
array_2_name = "Gasoline pumped in Saint Pierre and Miquelon"

# 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 correlation rating is out of this world!


Correlation ID: 5011 · Black Variable ID: 22098 · Red Variable ID: 24862
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0