about · email me · subscribe
Spurious correlation #1,115 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is UFO sightings in Maryland and the second variable is Liquefied petroleum gas used in Thailand.  The chart goes from 1980 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

Perhaps the UFOs were emitting some kind of intergalactic energy that inadvertently improved the chemical composition of the LPG during its transit through the Earth's atmosphere. Or maybe the aliens were just big fans of Thai cuisine and their presence somehow enhanced the LPG used in cooking, leading to a tastier Pad Thai for everyone. Who knew that extraterrestrial visitors could have such a sizzling impact on the culinary world!

Model: dalle-3
Prompt: Create an image of a Discovery magazine cover, the image depicts a bustling LPG gas station in Thailand. The gas station is filled with rows of shiny propane tanks, while UFOs are zipping by in the sky. A group of friendly aliens with glowing eyes and shimmering metallic suits are gleefully wheeling carts full of LPG cylinders into their spaceship. Nearby, a group of humans watches in amazement as the aliens load up their spaceship with propane, ready for their intergalactic journey. The scene should be visually captivating, balancing the familiar with the extraordinary. 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 situation described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here is a situation: The increase in UFO sightings in Maryland caused a surge in Liquefied petroleum gas used in Thailand because the aliens needed the propane to fuel up their spaceship before zipping off to the next state. Those intergalactic road trips can really burn through the fuel, you know. Plus, everyone knows that aliens love a good barbecue, so they stocked up on LPG for all their cookout needs.. Given that situation, which of the following image descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand and the tone of the explanation. Please respond with only one of the following potential descriptions: Macabre a Polaroid photo A Discovery magazine cover image Woodblock painting Woodblock painting
ChatGPT: a Discovery magazine cover image

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated and the explanation described. Do not reference graphs or charts; describe physical objects.
User prompt: Please describe a visual scene that depicts the following situation. Keep the description simple. The increase in UFO sightings in Maryland caused a surge in Liquefied petroleum gas used in Thailand because the aliens needed the propane to fuel up their spaceship before zipping off to the next state. Those intergalactic road trips can really burn through the fuel, you know. Plus, everyone knows that aliens love a good barbecue, so they stocked up on LPG for all their cookout needs.
ChatGPT: Imagine a picturesque scene of a bustling LPG gas station in Thailand, with UFOs zipping by in the sky. The gas station is filled with rows of shiny propane tanks, while a group of friendly aliens with glowing eyes and shimmering metallic suits are gleefully wheeling carts full of LPG cylinders into their spaceship. Nearby, a group of humans watches in amazement as the aliens load up their spaceship with propane, ready for their intergalactic journey.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ a Discovery magazine cover image ] and depicting this scene: Imagine a picturesque scene of a bustling LPG gas station in Thailand, with UFOs zipping by in the sky. The gas station is filled with rows of shiny propane tanks, while a group of friendly aliens with glowing eyes and shimmering metallic suits are gleefully wheeling carts full of LPG cylinders into their spaceship. Nearby, a group of humans watches in amazement as the aliens load up their spaceship with propane, ready for their intergalactic journey. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create an image of a Discovery magazine cover, the image depicts a bustling LPG gas station in Thailand. The gas station is filled with rows of shiny propane tanks, while UFOs are zipping by in the sky. A group of friendly aliens with glowing eyes and shimmering metallic suits are gleefully wheeling carts full of LPG cylinders into their spaceship. Nearby, a group of humans watches in amazement as the aliens load up their spaceship with propane, ready for their intergalactic journey. The scene should be visually captivating, balancing the familiar with the extraordinary.

*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 increases in UFO sightings in Maryland positively influenced Liquefied petroleum gas used in Thailand.

AI academic paper

(Because p < 0.01)
Unidentified Frying Objects: A Close Encounter of the LPG Kind

Journal of Culinary Conundrums

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Include a pun in the title.

Your research team used data from National UFO Reporting Center and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9056966 and p < 0.01 for 1980 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]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. 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]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intersection of extraterrestrial encounters and earthly energy sources has long captured the imagination of both the scientifically inclined and the speculative public. The idea that sightings of Unidentified Flying Objects (UFOs) in the skies over Maryland could be tied to the consumption of Liquefied Petroleum Gas (LPG) in Thailand may seem far-fetched, but as we all know, truth is often stranger than fiction.

Dad Joke Alert: What do UFOs and LPG have in common? They both leave people gasping for explanations!

While the notion of a cosmic connection between UFO activity and terrestrial energy consumption may provoke skepticism, there is a theoretical basis for investigating such a correlation. The study of UFO sightings falls within the domain of ufology, which has often intersected with both scientific inquiry and popular culture. On the other hand, LPG, a versatile fuel used in various applications, has been a stalwart of energy consumption in both developed and developing nations.

Dad Joke Alert: It's a gas, gas, gas – the LPG, that is! And who knows, perhaps UFO sightings are just "cooking up" some interest in LPG usage!

Despite the inherent humor and intrigue in the topic, the potential nexus between UFO sightings and LPG usage raises serious questions. Could there be a link between extraterrestrial activity and the earthly need for energy? Or is this correlation purely coincidental, leaving us adrift in a cosmic sea of data points and speculation?

Dad Joke Alert: If an alien broke into a propane store, would it be considered a gas "break" or a "close encounter of the gaseous kind"?

This study endeavors to address these questions by presenting an analysis of the interplay between reported UFO sightings in Maryland and the utilization of LPG in Thailand. Our investigation aims to bring a level of rigorous analysis to a topic often veiled in speculation, and to provide insights into a phenomenon that has, until now, remained shrouded in mystery.

Dad Joke Alert: What do you call a UFO sighting during a barbecue? A grilling close encounter! Just like our study is about to grill the connection between UFOs and LPG!


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. 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 name some cartoons and childrens' shows that you watched that are related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of extraterrestrial encounters and earthly energy sources has long captured the imagination of both the scientifically inclined and the speculative public. The idea that sightings of Unidentified Flying Objects (UFOs) in the skies over Maryland could be tied to the consumption of Liquefied Petroleum Gas (LPG) in Thailand may seem far-fetched, but as we all know, truth is often stranger than fiction.
Dad Joke Alert: What do UFOs and LPG have in common? They both leave people gasping for explanations!
While the notion of a cosmic connection between UFO activity and terrestrial energy consumption may provoke skepticism, there is a theoretical basis for investigating such a correlation. The study of UFO sightings falls within the domain of ufology, which has often intersected with both scientific inquiry and popular culture. On the other hand, LPG, a versatile fuel used in various applications, has been a stalwart of energy consumption in both developed and developing nations.
Dad Joke Alert: It's a gas, gas, gas – the LPG, that is! And who knows, perhaps UFO sightings are just "cooking up" some interest in LPG usage!
Despite the inherent humor and intrigue in the topic, the potential nexus between UFO sightings and LPG usage raises serious questions. Could there be a link between extraterrestrial activity and the earthly need for energy? Or is this correlation purely coincidental, leaving us adrift in a cosmic sea of data points and speculation?
Dad Joke Alert: If an alien broke into a propane store, would it be considered a gas "break" or a "close encounter of the gaseous kind"?
This study endeavors to address these questions by presenting an analysis of the interplay between reported UFO sightings in Maryland and the utilization of LPG in Thailand. Our investigation aims to bring a level of rigorous analysis to a topic often veiled in speculation, and to provide insights into a phenomenon that has, until now, remained shrouded in mystery.
Dad Joke Alert: What do you call a UFO sighting during a barbecue? A grilling close encounter! Just like our study is about to grill the connection between UFOs and LPG!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith and Doe," the authors find a positive association between UFO sightings and unusual energy consumption patterns, suggesting a potential link between extraterrestrial activity and terrestrial energy sources. Similarly, "Jones et al." support the idea of a cosmic connection by demonstrating a correlation between anomalous aerial phenomena and unconventional energy usage.

While the aforementioned studies provide a serious foundation for our investigation, it is also important to consider the broader cultural and literary context in which the notion of UFOs and energy sources intersect. Works such as "UFOs and LPG: A Cosmic Connection" by A. Reader and "The Gas in the Sky" by P. R. Opane offer intriguing perspectives on the potential cosmic implications of LPG usage and UFO sightings, venturing into the realm of speculative non-fiction.

Moreover, "UFOlogy: A History of Unseen Visitors" by A. Lien Enthusiast and "LPG Mysteries: Fuels Beyond our Atmosphere" by P. Lanetaryprovide additional insights into the intersection of otherworldly phenomena and earthly energy sources, offering a blend of fact and fanciful speculation.

In a similar vein, fictional works such as "The Alien Energy Chronicles" by S. C. I. Fi and "The Propane Paradox" by M. Y. Stery Series delve into imaginative scenarios that explore the potential ramifications of a cosmic connection between UFO sightings and LPG usage, blurring the lines between science and fantasy.

Furthermore, popular cartoons such as "The Jetsons" and "Futurama," both of which feature futuristic technologies and extraterrestrial encounters, may influence public perceptions of energy sources and alien activity, potentially shaping attitudes towards the intersection of UFO sightings and LPG consumption.

In addition, children's shows such as "Scooby-Doo" and "The X-Files: Kids Edition" may contribute to early interest in UFO lore and energy-related mysteries, potentially nurturing a fascination with the cosmic and the combustible from a young age.

While these cultural influences may appear disparate, they collectively contribute to a rich tapestry of ideas and associations surrounding the cosmic and the combustible that could bear relevance to the investigation at hand.

Dad Joke Alert: Did you hear about the UFO pilot who was always running out of fuel? He should have just fueled up with LPG - it's out of this world!


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. 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 National UFO Reporting Center and Energy Information Administration . You used data from 1980 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]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

[[INTRODUCTION]]
The intersection of extraterrestrial encounters and earthly energy sources has long captured the imagination of both the scientifically inclined and the speculative public. The idea that sightings of Unidentified Flying Objects (UFOs) in the skies over Maryland could be tied to the consumption of Liquefied Petroleum Gas (LPG) in Thailand may seem far-fetched, but as we all know, truth is often stranger than fiction.
Dad Joke Alert: What do UFOs and LPG have in common? They both leave people gasping for explanations!
While the notion of a cosmic connection between UFO activity and terrestrial energy consumption may provoke skepticism, there is a theoretical basis for investigating such a correlation. The study of UFO sightings falls within the domain of ufology, which has often intersected with both scientific inquiry and popular culture. On the other hand, LPG, a versatile fuel used in various applications, has been a stalwart of energy consumption in both developed and developing nations.
Dad Joke Alert: It's a gas, gas, gas – the LPG, that is! And who knows, perhaps UFO sightings are just "cooking up" some interest in LPG usage!
Despite the inherent humor and intrigue in the topic, the potential nexus between UFO sightings and LPG usage raises serious questions. Could there be a link between extraterrestrial activity and the earthly need for energy? Or is this correlation purely coincidental, leaving us adrift in a cosmic sea of data points and speculation?
Dad Joke Alert: If an alien broke into a propane store, would it be considered a gas "break" or a "close encounter of the gaseous kind"?
This study endeavors to address these questions by presenting an analysis of the interplay between reported UFO sightings in Maryland and the utilization of LPG in Thailand. Our investigation aims to bring a level of rigorous analysis to a topic often veiled in speculation, and to provide insights into a phenomenon that has, until now, remained shrouded in mystery.
Dad Joke Alert: What do you call a UFO sighting during a barbecue? A grilling close encounter! Just like our study is about to grill the connection between UFOs and LPG!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the enigmatic relationship between UFO sightings in Maryland and the consumption of Liquefied Petroleum Gas (LPG) in Thailand, a multifaceted approach was employed. First, data on UFO sightings was meticulously gathered from the National UFO Reporting Center, employing a rigorous process of data curation and categorization. Each sighting was carefully scrutinized and classified based on various parameters such as date, time, duration, and description of the alleged encounter.

Dad Joke Alert: Why was the UFO so good at baseball? It had an otherworldly pitch!

Simultaneously, information on the utilization of LPG in Thailand was sourced from the Energy Information Administration, and comprehensive statistical techniques were applied to ensure data integrity. Probing the depths of the digital universe, our research team harnessed the power of the internet, employing advanced algorithms and designating specifically trained "data wranglers" to corral the diverse array of information.

Dad Joke Alert: How do UFO researchers prefer to collect data? They like to keep their methods under wraps!

Following the procurement of data on both UFO sightings and LPG consumption, a rigorous statistical analysis was undertaken. The correlation between the two data sets was examined using sophisticated mathematical models, including Pearson's correlation coefficient, to unravel any underlying patterns or associations.

Dad Joke Alert: Why did the statistician bring a ladder to the UFO encounter? He wanted to reach a higher level of significance!

Furthermore, to mitigate potential confounding factors and ensure the robustness of our findings, various control variables such as regional atmospheric conditions, population density, and celestial events were incorporated into our analytical framework. Additionally, sensitivity analyses were conducted to assess the stability of our results under varying analytic assumptions.

Dad Joke Alert: If LPG was used as propulsion for a UFO, would it be a "flying saucer" or "frying saucer"?

Ultimately, the culmination of these meticulous methodologies allowed for a comprehensive exploration of the potential link between UFO sightings in Maryland and LPG usage in Thailand, shedding light on a cosmic conundrum that has remained shrouded in mystery.


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

Please make up the results section of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. 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 National UFO Reporting Center and Energy Information Administration .

For the time period 1980 to 2021, you found a correlation 0.9056966, r-squared of 0.8202863, 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]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of extraterrestrial encounters and earthly energy sources has long captured the imagination of both the scientifically inclined and the speculative public. The idea that sightings of Unidentified Flying Objects (UFOs) in the skies over Maryland could be tied to the consumption of Liquefied Petroleum Gas (LPG) in Thailand may seem far-fetched, but as we all know, truth is often stranger than fiction.
Dad Joke Alert: What do UFOs and LPG have in common? They both leave people gasping for explanations!
While the notion of a cosmic connection between UFO activity and terrestrial energy consumption may provoke skepticism, there is a theoretical basis for investigating such a correlation. The study of UFO sightings falls within the domain of ufology, which has often intersected with both scientific inquiry and popular culture. On the other hand, LPG, a versatile fuel used in various applications, has been a stalwart of energy consumption in both developed and developing nations.
Dad Joke Alert: It's a gas, gas, gas – the LPG, that is! And who knows, perhaps UFO sightings are just "cooking up" some interest in LPG usage!
Despite the inherent humor and intrigue in the topic, the potential nexus between UFO sightings and LPG usage raises serious questions. Could there be a link between extraterrestrial activity and the earthly need for energy? Or is this correlation purely coincidental, leaving us adrift in a cosmic sea of data points and speculation?
Dad Joke Alert: If an alien broke into a propane store, would it be considered a gas "break" or a "close encounter of the gaseous kind"?
This study endeavors to address these questions by presenting an analysis of the interplay between reported UFO sightings in Maryland and the utilization of LPG in Thailand. Our investigation aims to bring a level of rigorous analysis to a topic often veiled in speculation, and to provide insights into a phenomenon that has, until now, remained shrouded in mystery.
Dad Joke Alert: What do you call a UFO sighting during a barbecue? A grilling close encounter! Just like our study is about to grill the connection between UFOs and LPG!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis revealed a strong positive correlation between UFO sightings in Maryland and the consumption of Liquefied Petroleum Gas (LPG) in Thailand for the period spanning from 1980 to 2021. The correlation coefficient of 0.9056966 indicated a remarkably robust relationship between these two variables. This finding suggests that as UFO sightings increased in Maryland, so did the usage of LPG in Thailand. One could say that the UFOs and LPG were truly "out of this world" partners in this cosmic dance of data.

The r-squared value of 0.8202863 further emphasized the considerable degree of variation in LPG usage in Thailand that could be explained by changes in UFO sightings in Maryland. It seems that the UFOs may have had a strong influence on the earthly demand for LPG, as if they were leaving an otherworldly fingerprint on energy consumption patterns.

The p-value of less than 0.01 provided strong evidence against the null hypothesis of no relationship between UFO sightings in Maryland and LPG usage in Thailand. It seems that the cosmic connection between these two phenomena is about as unlikely as finding a UFO at a gas station – in other words, highly improbable!

Fig. 1 (not shown here) depicts the scatterplot illustrating the significant positive correlation between UFO sightings in Maryland and LPG usage in Thailand. The data points form a distinct upward trend, indicating the synchronized fluctuations of these two variables over the study period. One might almost say that the UFOs and LPG were "flying in formation" in this intriguing relationship.

It is important to note that while these findings are compelling, they do not establish a causal relationship between UFO sightings and LPG usage. Correlation does not imply causation, and it is crucial to exercise caution in inferring direct causative effects from these results. However, the strength of the relationship observed certainly warrants further investigation into the potential mechanisms underlying this cosmic connection.

Dad Joke Alert: The correlation between UFO sightings and LPG usage is no longer unidentified – looks like these "Unidentified Frying Objects" may have more of an impact than we previously thought!


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. 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]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

[[LITERATURE REVIEW]]
In "Smith and Doe," the authors find a positive association between UFO sightings and unusual energy consumption patterns, suggesting a potential link between extraterrestrial activity and terrestrial energy sources. Similarly, "Jones et al." support the idea of a cosmic connection by demonstrating a correlation between anomalous aerial phenomena and unconventional energy usage.
While the aforementioned studies provide a serious foundation for our investigation, it is also important to consider the broader cultural and literary context in which the notion of UFOs and energy sources intersect. Works such as "UFOs and LPG: A Cosmic Connection" by A. Reader and "The Gas in the Sky" by P. R. Opane offer intriguing perspectives on the potential cosmic implications of LPG usage and UFO sightings, venturing into the realm of speculative non-fiction.
Moreover, "UFOlogy: A History of Unseen Visitors" by A. Lien Enthusiast and "LPG Mysteries: Fuels Beyond our Atmosphere" by P. Lanetaryprovide additional insights into the intersection of otherworldly phenomena and earthly energy sources, offering a blend of fact and fanciful speculation.
In a similar vein, fictional works such as "The Alien Energy Chronicles" by S. C. I. Fi and "The Propane Paradox" by M. Y. Stery Series delve into imaginative scenarios that explore the potential ramifications of a cosmic connection between UFO sightings and LPG usage, blurring the lines between science and fantasy.
Furthermore, popular cartoons such as "The Jetsons" and "Futurama," both of which feature futuristic technologies and extraterrestrial encounters, may influence public perceptions of energy sources and alien activity, potentially shaping attitudes towards the intersection of UFO sightings and LPG consumption.
In addition, children's shows such as "Scooby-Doo" and "The X-Files: Kids Edition" may contribute to early interest in UFO lore and energy-related mysteries, potentially nurturing a fascination with the cosmic and the combustible from a young age.
While these cultural influences may appear disparate, they collectively contribute to a rich tapestry of ideas and associations surrounding the cosmic and the combustible that could bear relevance to the investigation at hand.
Dad Joke Alert: Did you hear about the UFO pilot who was always running out of fuel? He should have just fueled up with LPG - it's out of this world!

[[RESULTS]]
The data analysis revealed a strong positive correlation between UFO sightings in Maryland and the consumption of Liquefied Petroleum Gas (LPG) in Thailand for the period spanning from 1980 to 2021. The correlation coefficient of 0.9056966 indicated a remarkably robust relationship between these two variables. This finding suggests that as UFO sightings increased in Maryland, so did the usage of LPG in Thailand. One could say that the UFOs and LPG were truly "out of this world" partners in this cosmic dance of data.
The r-squared value of 0.8202863 further emphasized the considerable degree of variation in LPG usage in Thailand that could be explained by changes in UFO sightings in Maryland. It seems that the UFOs may have had a strong influence on the earthly demand for LPG, as if they were leaving an otherworldly fingerprint on energy consumption patterns.
The p-value of less than 0.01 provided strong evidence against the null hypothesis of no relationship between UFO sightings in Maryland and LPG usage in Thailand. It seems that the cosmic connection between these two phenomena is about as unlikely as finding a UFO at a gas station – in other words, highly improbable!
Fig. 1 (not shown here) depicts the scatterplot illustrating the significant positive correlation between UFO sightings in Maryland and LPG usage in Thailand. The data points form a distinct upward trend, indicating the synchronized fluctuations of these two variables over the study period. One might almost say that the UFOs and LPG were "flying in formation" in this intriguing relationship.
It is important to note that while these findings are compelling, they do not establish a causal relationship between UFO sightings and LPG usage. Correlation does not imply causation, and it is crucial to exercise caution in inferring direct causative effects from these results. However, the strength of the relationship observed certainly warrants further investigation into the potential mechanisms underlying this cosmic connection.
Dad Joke Alert: The correlation between UFO sightings and LPG usage is no longer unidentified – looks like these "Unidentified Frying Objects" may have more of an impact than we previously thought!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study contribute to the growing body of evidence supporting the intriguing connection between UFO sightings in Maryland and the consumption of Liquefied Petroleum Gas (LPG) in Thailand. The strong positive correlation coefficient of 0.9056966 and the p-value of less than 0.01 align with previous research suggesting a cosmic link between these seemingly unrelated phenomena.

The results of this investigation echo the earlier work of Smith and Doe, who identified a positive association between UFO sightings and unusual energy consumption patterns. It appears that the otherworldly glow of UFOs may indeed have an impact on earthly energy usage, much like an LPG-fueled backyard barbecue captivating observers with its luminous flames.

Similarly, the pronounced correlation between anomalous aerial phenomena and unconventional energy usage observed by Jones et al. finds support in our findings, highlighting the robust nature of this cosmic connection. It seems that the UFOs and LPG may indeed be engaged in a celestial tango of influence, with each affecting the other in enigmatic ways.

Our results add weight to the broader cultural and literary context surrounding the intersection of UFOs and energy sources. While the combination may sound like a sci-fi plot, the data suggest a tangible relationship, challenging us to take the speculation surrounding "The Gas in the Sky" by P. R. Opane and "UFOs and LPG: A Cosmic Connection" by A. Reader more seriously than we might have initially imagined.

Furthermore, the strong correlation coefficient and r-squared value underscore the substantial degree of variation in LPG usage in Thailand that could be explained by changes in UFO sightings in Maryland. This statistical support buttresses the idea of a cosmic partnership between these two phenomena, as if the UFOs were carefully orchestrating the fluctuations of LPG demand from light-years away.

It is vital to acknowledge the non-causal nature of this correlation, as correlation does not imply causation – a fundamental tenet of scientific inquiry. However, the data speak to an undeniable synchronicity between UFO sightings and LPG usage, urging future investigations to delve deeper into the cosmic mechanisms driving this unexpected alliance.

In conclusion, the findings of this study offer compelling evidence of a robust relationship between UFO sightings in Maryland and LPG usage in Thailand, signaling a momentous step in unraveling the cosmic tapestry of UFOs and LPG. As we continue to explore this intriguing intersection, we are reminded that sometimes, truth can indeed be stranger than science fiction.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between UFO sightings in Maryland and Liquefied petroleum gas used in Thailand. 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]]
"Unidentified Frying Objects: A Close Encounter of the LPG Kind"

[[ABSTRACT]]
The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.

Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

[[INTRDUCTION]]
The intersection of extraterrestrial encounters and earthly energy sources has long captured the imagination of both the scientifically inclined and the speculative public. The idea that sightings of Unidentified Flying Objects (UFOs) in the skies over Maryland could be tied to the consumption of Liquefied Petroleum Gas (LPG) in Thailand may seem far-fetched, but as we all know, truth is often stranger than fiction.
Dad Joke Alert: What do UFOs and LPG have in common? They both leave people gasping for explanations!
While the notion of a cosmic connection between UFO activity and terrestrial energy consumption may provoke skepticism, there is a theoretical basis for investigating such a correlation. The study of UFO sightings falls within the domain of ufology, which has often intersected with both scientific inquiry and popular culture. On the other hand, LPG, a versatile fuel used in various applications, has been a stalwart of energy consumption in both developed and developing nations.
Dad Joke Alert: It's a gas, gas, gas – the LPG, that is! And who knows, perhaps UFO sightings are just "cooking up" some interest in LPG usage!
Despite the inherent humor and intrigue in the topic, the potential nexus between UFO sightings and LPG usage raises serious questions. Could there be a link between extraterrestrial activity and the earthly need for energy? Or is this correlation purely coincidental, leaving us adrift in a cosmic sea of data points and speculation?
Dad Joke Alert: If an alien broke into a propane store, would it be considered a gas "break" or a "close encounter of the gaseous kind"?
This study endeavors to address these questions by presenting an analysis of the interplay between reported UFO sightings in Maryland and the utilization of LPG in Thailand. Our investigation aims to bring a level of rigorous analysis to a topic often veiled in speculation, and to provide insights into a phenomenon that has, until now, remained shrouded in mystery.
Dad Joke Alert: What do you call a UFO sighting during a barbecue? A grilling close encounter! Just like our study is about to grill the connection between UFOs and LPG!

[[RESULTS]]
The data analysis revealed a strong positive correlation between UFO sightings in Maryland and the consumption of Liquefied Petroleum Gas (LPG) in Thailand for the period spanning from 1980 to 2021. The correlation coefficient of 0.9056966 indicated a remarkably robust relationship between these two variables. This finding suggests that as UFO sightings increased in Maryland, so did the usage of LPG in Thailand. One could say that the UFOs and LPG were truly "out of this world" partners in this cosmic dance of data.
The r-squared value of 0.8202863 further emphasized the considerable degree of variation in LPG usage in Thailand that could be explained by changes in UFO sightings in Maryland. It seems that the UFOs may have had a strong influence on the earthly demand for LPG, as if they were leaving an otherworldly fingerprint on energy consumption patterns.
The p-value of less than 0.01 provided strong evidence against the null hypothesis of no relationship between UFO sightings in Maryland and LPG usage in Thailand. It seems that the cosmic connection between these two phenomena is about as unlikely as finding a UFO at a gas station – in other words, highly improbable!
Fig. 1 (not shown here) depicts the scatterplot illustrating the significant positive correlation between UFO sightings in Maryland and LPG usage in Thailand. The data points form a distinct upward trend, indicating the synchronized fluctuations of these two variables over the study period. One might almost say that the UFOs and LPG were "flying in formation" in this intriguing relationship.
It is important to note that while these findings are compelling, they do not establish a causal relationship between UFO sightings and LPG usage. Correlation does not imply causation, and it is crucial to exercise caution in inferring direct causative effects from these results. However, the strength of the relationship observed certainly warrants further investigation into the potential mechanisms underlying this cosmic connection.
Dad Joke Alert: The correlation between UFO sightings and LPG usage is no longer unidentified – looks like these "Unidentified Frying Objects" may have more of an impact than we previously thought!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has brought to light the unexpected yet robust relationship between UFO sightings in Maryland and the consumption of Liquefied Petroleum Gas (LPG) in Thailand. The findings reveal a correlation coefficient of 0.9056966, indicating a remarkably strong association between these seemingly unrelated phenomena. It seems that when it comes to UFOs and LPG, there's more than meets the "eye" of the beholder!

The results provide evidence that as UFO sightings soared in Maryland, so did the usage of LPG in Thailand. One might say that this cosmic connection is truly "out of this world" - or perhaps, out of this galaxy! This serves as a reminder that sometimes the most extraordinary relationships can be found in the most unexpected places.

However, it is crucial to remember that correlation does not imply causation. While the data paints a compelling picture of the interplay between UFO sightings and LPG usage, further research is needed to explore the underlying mechanisms driving this cosmic correlation. We must resist the temptation to jump to hasty conclusions, powerful as the allure of extraterrestrial BBQs might be!

Dad Joke Alert: With UFOs and LPG, it seems we've stumbled upon a stellar case of cosmic "energy pairing" – talk about some truly "universal" compatibility!
In light of these findings, it is evident that this area of research holds promise for uncovering more celestial surprises. However, given the inherent complexity of both UFO sightings and LPG usage, it is essential to proceed with caution and methodical inquiry. Like stargazers seeking the truth in the night sky, we must remain vigilant and patient in our pursuit of understanding.

Therefore, we assert that further research in this area is not merely warranted, but essential to illuminate the enigmatic relationship between UFO sightings and LPG usage. This remains an open frontier in the intersection of cosmic phenomena and earthly energy dynamics, calling for continued exploration and analysis. It's time to lift the lid on this cosmic cookout and see what otherworldly delights may be hiding inside!

No more research is needed in this area.


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 Unidentified Frying Objects: A Close Encounter of the LPG Kind. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Culinary Conundrums


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 Unidentified Frying Objects: A Close Encounter of the LPG Kind. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Culinary Extraterrestrial Studies


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 Unidentified Frying Objects: A Close Encounter of the LPG Kind with an abstract of The link between UFO sightings in Maryland and the utilization of Liquefied Petroleum Gas (LPG) in Thailand has long been a topic of both fascination and skepticism. In this study, we endeavored to shed light on this cosmic conundrum using data from the National UFO Reporting Center and the Energy Information Administration. Our findings revealed a surprisingly strong correlation coefficient of 0.9056966 and p < 0.01 for the years 1980 to 2021, suggesting a robust relationship between these seemingly disparate phenomena.
Dad Joke Alert: Did you hear about the UFO enthusiast who became an LPG salesman? He wanted to bring an otherworldly glow to backyard barbecues!

ChatGPT:

UFO sightings, Liquefied Petroleum Gas, LPG utilization, correlation coefficient, National UFO Reporting Center, Energy Information Administration, Maryland UFO sightings, Thailand LPG, cosmic phenomena, unidentified flying objects

*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

UFO sightings in Maryland
Detailed data title: UFO sightings reported in Maryland
Source: National UFO Reporting Center
See what else correlates with UFO sightings in Maryland

Liquefied petroleum gas used in Thailand
Detailed data title: Volume of liquefied petroleum gas used consumed in Thailand in millions of barrels per day
Source: Energy Information Administration
See what else correlates with Liquefied petroleum gas used in Thailand

Correlation r = 0.9056966 (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.8202863 (Coefficient of determination)
This means 82% of the change in the one variable (i.e., Liquefied petroleum gas used in Thailand) is predictable based on the change in the other (i.e., UFO sightings in Maryland) over the 42 years from 1980 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.701E-16. 0.0000000000000001700595103989
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.91 in 1.701E-14% of random cases. Said differently, if you correlated 5,880,294,478,411,413 random variables You don't actually need 5 quadrillion 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 41 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 41 because we have two variables measured over a period of 42 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.83, 0.95 ] 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.
198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
UFO sightings in Maryland (UFO sightings)31101131258237387111430253649354041314363435070107112144111899250626824
Liquefied petroleum gas used in Thailand (Million Barrels/Day)19.120818.267216.986818.267219.88919.2061202224283233353842475757575973.736583.070384.922788.564189.6304100.282113.685132.754153.799167.693192.617221.384236.66241.845241.447214195209.277211.212206.734182.517194.801




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

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

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([3,1,1,0,1,1,3,1,2,5,8,2,3,7,3,8,7,11,14,30,25,36,49,35,40,41,31,43,63,43,50,70,107,112,144,111,89,92,50,62,68,24,])
array_2 = np.array([19.1208,18.2672,16.9868,18.2672,19.889,19.2061,20,22,24,28,32,33,35,38,42,47,57,57,57,59,73.7365,83.0703,84.9227,88.5641,89.6304,100.282,113.685,132.754,153.799,167.693,192.617,221.384,236.66,241.845,241.447,214,195,209.277,211.212,206.734,182.517,194.801,])
array_1_name = "UFO sightings in Maryland"
array_2_name = "Liquefied petroleum gas used in Thailand"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your dedication to rating warms my heart!


Correlation ID: 1115 · Black Variable ID: 1172 · Red Variable ID: 24985
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0