about · email me · subscribe
Spurious correlation #3,028 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The distance between Uranus and Saturn and the second variable is UFO sightings in Michigan.  The chart goes from 1975 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the distance increased, Uranus let out a cosmic toot that disrupted the space-time continuum, leading to a higher frequency of UFO sightings in Michigan. This created a gaseous ripple effect which inadvertently attracted intergalactic sightseers to the skies above the state, seeking out the the source of the celestial flatulence and adding a whole new meaning to the term "unidentified flying object."

Model: dalle-3
Prompt: Image Generation Prompt: Source: Pop art Description: Create a vibrant pop art-style image of a long stretch of open space, with a dark sky prominently featuring Uranus and Saturn. In the distance, a UFO streaks past Saturn, leaving a trail of light as it descends towards the state of Michigan. The altered gravitational pull from Saturn is evident, as it appears farther than usual from Uranus. The UFO's passage adds an otherworldly glow to the landscape. Notes: - Use bold, contrasting colors and strong graphic elements to evoke the pop art style. - Ensure that Uranus and Saturn are clearly recognizable in the background. - Incorporate dynamic and energetic lines to showcase the movement of the UFO and its light trail. 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: The distance between Uranus and Saturn and UFO sightings in Michigan. 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: Brutalism Brutalism Photorealism Pop art Woodblock painting
ChatGPT: Pop art

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 The distance between Uranus and Saturn and UFO sightings in Michigan, in the following situation: Because the change in distance altered the gravitational pull, allowing UFOs to escape Saturn's orbit and pass through Michigan's skies.. Keep the description simple.
ChatGPT: A long stretch of open space, with Uranus and Saturn clearly visible in the dark sky. A UFO is seen streaking past Saturn, which is farther than usual from Uranus, while descending towards the state of Michigan. The UFO, which seems to have escaped Saturn's orbit due to the altered gravitational pull, leaves a trail of light as it passes over the state, adding an otherworldly glow to the landscape.

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: [ Pop art ] and depicting this scene: A long stretch of open space, with Uranus and Saturn clearly visible in the dark sky. A UFO is seen streaking past Saturn, which is farther than usual from Uranus, while descending towards the state of Michigan. The UFO, which seems to have escaped Saturn's orbit due to the altered gravitational pull, leaves a trail of light as it passes over the state, adding an otherworldly glow to the landscape. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Image Generation Prompt: Source: Pop art Description: Create a vibrant pop art-style image of a long stretch of open space, with a dark sky prominently featuring Uranus and Saturn. In the distance, a UFO streaks past Saturn, leaving a trail of light as it descends towards the state of Michigan. The altered gravitational pull from Saturn is evident, as it appears farther than usual from Uranus. The UFO's passage adds an otherworldly glow to the landscape. Notes: - Use bold, contrasting colors and strong graphic elements to evoke the pop art style. - Ensure that Uranus and Saturn are clearly recognizable in the background. - Incorporate dynamic and energetic lines to showcase the movement of the UFO and its light trail.

*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 The distance between Uranus and Saturn positively influenced UFO sightings in Michigan.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan

Journal of Extraterrestrial Encounters

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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from Caclculated using Astropy and National UFO Reporting Center to assess this nagging question. You found a correlation coefficient of 0.8546154 and p < 0.01 for 1975 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]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.


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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The search for extraterrestrial life and its potential connection to celestial events has long captivated the human imagination. From ancient civilizations pondering the stars to modern-day science fiction, the cosmos continues to intrigue and enthrall. In the realm of statistical analysis, one might say we are boldly going where no statistician has gone before.

While the study of UFO sightings has often been met with skepticism and skepticism, the correlation between celestial phenomena and unexplained aerial encounters has piqued the curiosity of researchers and enthusiasts alike. Michigan, the state surrounded by the Great Lakes and known for its colorful foliage, has also gained notoriety for its reported UFO sightings. It's almost as if the extraterrestrials are drawn to the "Great Lake" state – and not just for the freshwater.

As we delve into this enigmatic intersection of astronomy and ufology, we aim to present empirical evidence that challenges conventional scientific thought. By analyzing the spatial relation between Uranus and Saturn – two distant giants in our solar system – and the frequency of UFO sightings in Michigan, we seek to shed light on the unexplained, all while keeping our feet firmly planted on Terra Firma.

But before we launch into our empirical exploration, let's not forget the dad joke: What did the astronaut say when he saw a UFO? "Hey, it's a little spacey around here!" Moving swiftly along, our analysis aims to contribute to the growing body of research at the intersection of astronomy, statistical analysis, and extraterrestrial phenomena, providing a data-driven foundation for further investigation into this otherworldly correlation.


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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The search for extraterrestrial life and its potential connection to celestial events has long captivated the human imagination. From ancient civilizations pondering the stars to modern-day science fiction, the cosmos continues to intrigue and enthrall. In the realm of statistical analysis, one might say we are boldly going where no statistician has gone before.
While the study of UFO sightings has often been met with skepticism and skepticism, the correlation between celestial phenomena and unexplained aerial encounters has piqued the curiosity of researchers and enthusiasts alike. Michigan, the state surrounded by the Great Lakes and known for its colorful foliage, has also gained notoriety for its reported UFO sightings. It's almost as if the extraterrestrials are drawn to the "Great Lake" state – and not just for the freshwater.
As we delve into this enigmatic intersection of astronomy and ufology, we aim to present empirical evidence that challenges conventional scientific thought. By analyzing the spatial relation between Uranus and Saturn – two distant giants in our solar system – and the frequency of UFO sightings in Michigan, we seek to shed light on the unexplained, all while keeping our feet firmly planted on Terra Firma.
But before we launch into our empirical exploration, let's not forget the dad joke: What did the astronaut say when he saw a UFO? "Hey, it's a little spacey around here!" Moving swiftly along, our analysis aims to contribute to the growing body of research at the intersection of astronomy, statistical analysis, and extraterrestrial phenomena, providing a data-driven foundation for further investigation into this otherworldly correlation.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The literature on the correlation between celestial events and unexplained aerial phenomena is a bit thin, but what it lacks in quantity, it makes up for in quirkiness. In "Celestial Encounters: A Statistical Analysis," Smith and Doe explore the potential relationship between planetary positions and UFO sightings. Their findings hint at a possible link, but caution that further investigation is needed to establish a robust connection. Not to mention, they make a few punny references that are truly out of this world.

A more recent study by Jones et al. in "Unraveling the Unknown: Celestial Bodies and Unexplained Phenomena" delves deeper into the statistical significance of planetary alignments and UFO sightings. Their analysis reveals a moderate positive correlation between the distance of gas giants in the solar system and the reported frequency of extraterrestrial sightings. Adding a touch of humor, they quip, "It seems like UFOs have a Saturnine sense of humor."

Turning to non-fiction books that touch upon the cosmic and the inexplicable, "Uranus: The Ice Giant" and "Sailing through Saturn's Rings" offer insightful perspectives on these distant planets, their gravitational pull, and their potential impact on, well, visitors from light-years away. As for fictional reads, "The UFO Files: A Michigan Mystery" and "Close Encounters over Lake Michigan" spin tales of unearthly encounters amidst the celestial dance of Uranus and Saturn.

Now, I must confess, in the pursuit of a thorough literature review, I ventured into unconventional territory. As I perused the backs of shampoo bottles for any mention of celestial phenomena and UFO sightings in Michigan, I can report that while the ingredients may sound extraterrestrial, there was regrettably no relevant data to be found. Nonetheless, my intergalactic exploration continues unabated.


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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and National UFO Reporting Center . You used data from 1975 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]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

[[INTRODUCTION]]
The search for extraterrestrial life and its potential connection to celestial events has long captivated the human imagination. From ancient civilizations pondering the stars to modern-day science fiction, the cosmos continues to intrigue and enthrall. In the realm of statistical analysis, one might say we are boldly going where no statistician has gone before.
While the study of UFO sightings has often been met with skepticism and skepticism, the correlation between celestial phenomena and unexplained aerial encounters has piqued the curiosity of researchers and enthusiasts alike. Michigan, the state surrounded by the Great Lakes and known for its colorful foliage, has also gained notoriety for its reported UFO sightings. It's almost as if the extraterrestrials are drawn to the "Great Lake" state – and not just for the freshwater.
As we delve into this enigmatic intersection of astronomy and ufology, we aim to present empirical evidence that challenges conventional scientific thought. By analyzing the spatial relation between Uranus and Saturn – two distant giants in our solar system – and the frequency of UFO sightings in Michigan, we seek to shed light on the unexplained, all while keeping our feet firmly planted on Terra Firma.
But before we launch into our empirical exploration, let's not forget the dad joke: What did the astronaut say when he saw a UFO? "Hey, it's a little spacey around here!" Moving swiftly along, our analysis aims to contribute to the growing body of research at the intersection of astronomy, statistical analysis, and extraterrestrial phenomena, providing a data-driven foundation for further investigation into this otherworldly correlation.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the potential relationship between the distance separating Uranus and Saturn and reported UFO sightings in Michigan, a comprehensive methodology was employed. Leveraging data from the Astropy package for celestial calculations and the National UFO Reporting Center for UFO sighting reports, a rigorous and systematic approach was undertaken to analyze observations from 1975 to 2021.

The first step in our methodology involved obtaining precise measurements of the distance between Uranus and Saturn for each year in the study period. These calculations were performed using celestial mechanics and orbital dynamics, which, much like a well-crafted joke, required a perfect balance of mathematical precision and cosmic finesse.

Proceeding to the UFO sighting data, reports from Michigan were meticulously extracted and compiled from the National UFO Reporting Center. Each sighting was carefully cataloged, with particular attention paid to the date, time, and location of the encounter. Our approach to collecting these reports was as thorough as a dad combing through his dad joke collection for the perfect one-liner.

Next, statistical analyses were conducted to unravel the potential correlation between the celestial distance and UFO sightings. Spearman's rank correlation coefficient was employed to assess the strength and direction of the relationship, revealing insights that are as illuminating as a bright meteor streaking across the night sky.

Furthermore, a time series analysis was performed to discern any temporal patterns or cyclical fluctuations in the data. This analysis incorporated methods such as spectral density estimation and periodicity detection, akin to detecting the subtle cadence and rhythm in a stand-up comedian's delivery.

Finally, a multivariate regression model was constructed to discern the specific influence of the Uranus-Saturn distance on the frequency of UFO sightings, controlling for temporal and geographical factors. This model was developed with the same level of care and precision as a craftsman carefully shaping a new telescope lens to peer even deeper into the cosmic expanse.

Throughout the methodology, rigorous attention was paid to potential confounding variables, sampling biases, and data anomalies. Measures were implemented to ensure data integrity, reliability, and validity, akin to ensuring the punchline of a joke lands just right to elicit the desired laughter.

In summary, the methodology employed in this study integrated celestial calculations, statistical analyses, and meticulous data handling to unravel the potential connection between the Uranus-Saturn distance and reported UFO sightings in Michigan. Like a well-told joke, this methodology aimed to captivate, intrigue, and uncover the unexpected in the cosmic dance between celestial bodies and unexplained aerial phenomena.


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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and National UFO Reporting Center .

For the time period 1975 to 2021, you found a correlation 0.8546154, r-squared of 0.7303674, 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]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The search for extraterrestrial life and its potential connection to celestial events has long captivated the human imagination. From ancient civilizations pondering the stars to modern-day science fiction, the cosmos continues to intrigue and enthrall. In the realm of statistical analysis, one might say we are boldly going where no statistician has gone before.
While the study of UFO sightings has often been met with skepticism and skepticism, the correlation between celestial phenomena and unexplained aerial encounters has piqued the curiosity of researchers and enthusiasts alike. Michigan, the state surrounded by the Great Lakes and known for its colorful foliage, has also gained notoriety for its reported UFO sightings. It's almost as if the extraterrestrials are drawn to the "Great Lake" state – and not just for the freshwater.
As we delve into this enigmatic intersection of astronomy and ufology, we aim to present empirical evidence that challenges conventional scientific thought. By analyzing the spatial relation between Uranus and Saturn – two distant giants in our solar system – and the frequency of UFO sightings in Michigan, we seek to shed light on the unexplained, all while keeping our feet firmly planted on Terra Firma.
But before we launch into our empirical exploration, let's not forget the dad joke: What did the astronaut say when he saw a UFO? "Hey, it's a little spacey around here!" Moving swiftly along, our analysis aims to contribute to the growing body of research at the intersection of astronomy, statistical analysis, and extraterrestrial phenomena, providing a data-driven foundation for further investigation into this otherworldly correlation.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data revealed a statistically significant correlation between the distance separating Uranus and Saturn and reported UFO sightings in the state of Michigan from 1975 to 2021. The correlation coefficient of 0.8546154 indicates a strong positive relationship between the two variables. Quite literally, it seems that as these distant celestial bodies part ways or draw closer, UFO activity in Michigan also experiences fluctuations in the sighting rate.

The r-squared value of 0.7303674 further elucidates the magnitude of this association, indicating that approximately 73% of the variability in UFO sightings in Michigan can be explained by the distance between Uranus and Saturn. We might say that this correlation is truly out of this world, as it surpasses conventional expectations for earthly phenomena.

Additionally, the p-value of less than 0.01 provides compelling evidence to reject the null hypothesis, solidifying the strength of the association and bolstering the claim that there is indeed a connection between the cosmic dance of Uranus and Saturn and the mysterious appearances in Michigan's skies. It's almost as though these celestial bodies are orchestrating a cosmic symphony that resonates on our little blue planet.

In Fig. 1, the scatterplot visually depicts the robust correlation between the distance separating Uranus and Saturn and the frequency of UFO sightings in Michigan. The data points illustrate a clear pattern, with the distance between the two planets paralleling the ebb and flow of reported UFO encounters in the Wolverine State. One might even venture to say that the extraterrestrials are truly taking advantage of their ringside seats to this celestial spectacle, making Michigan a hotspot for intergalactic adventure.

In summary, the findings of this study provide compelling evidence of a connection between the distance between Uranus and Saturn and reported UFO sightings in Michigan. This celestial correlation challenges traditional understanding of astronomical influences and raises intriguing questions about the interplay between cosmic occurrences and earthly phenomena. It appears that the state of Michigan is not only a magnet for natural wonders, but also a celestial hotspot for unexplained encounters. As we continue to unravel the mysteries of the cosmos, it seems that the universe always has a few surprises in store.


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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

[[LITERATURE REVIEW]]
The literature on the correlation between celestial events and unexplained aerial phenomena is a bit thin, but what it lacks in quantity, it makes up for in quirkiness. In "Celestial Encounters: A Statistical Analysis," Smith and Doe explore the potential relationship between planetary positions and UFO sightings. Their findings hint at a possible link, but caution that further investigation is needed to establish a robust connection. Not to mention, they make a few punny references that are truly out of this world.
A more recent study by Jones et al. in "Unraveling the Unknown: Celestial Bodies and Unexplained Phenomena" delves deeper into the statistical significance of planetary alignments and UFO sightings. Their analysis reveals a moderate positive correlation between the distance of gas giants in the solar system and the reported frequency of extraterrestrial sightings. Adding a touch of humor, they quip, "It seems like UFOs have a Saturnine sense of humor."
Turning to non-fiction books that touch upon the cosmic and the inexplicable, "Uranus: The Ice Giant" and "Sailing through Saturn's Rings" offer insightful perspectives on these distant planets, their gravitational pull, and their potential impact on, well, visitors from light-years away. As for fictional reads, "The UFO Files: A Michigan Mystery" and "Close Encounters over Lake Michigan" spin tales of unearthly encounters amidst the celestial dance of Uranus and Saturn.
Now, I must confess, in the pursuit of a thorough literature review, I ventured into unconventional territory. As I perused the backs of shampoo bottles for any mention of celestial phenomena and UFO sightings in Michigan, I can report that while the ingredients may sound extraterrestrial, there was regrettably no relevant data to be found. Nonetheless, my intergalactic exploration continues unabated.

[[RESULTS]]
The analysis of the data revealed a statistically significant correlation between the distance separating Uranus and Saturn and reported UFO sightings in the state of Michigan from 1975 to 2021. The correlation coefficient of 0.8546154 indicates a strong positive relationship between the two variables. Quite literally, it seems that as these distant celestial bodies part ways or draw closer, UFO activity in Michigan also experiences fluctuations in the sighting rate.
The r-squared value of 0.7303674 further elucidates the magnitude of this association, indicating that approximately 73% of the variability in UFO sightings in Michigan can be explained by the distance between Uranus and Saturn. We might say that this correlation is truly out of this world, as it surpasses conventional expectations for earthly phenomena.
Additionally, the p-value of less than 0.01 provides compelling evidence to reject the null hypothesis, solidifying the strength of the association and bolstering the claim that there is indeed a connection between the cosmic dance of Uranus and Saturn and the mysterious appearances in Michigan's skies. It's almost as though these celestial bodies are orchestrating a cosmic symphony that resonates on our little blue planet.
In Fig. 1, the scatterplot visually depicts the robust correlation between the distance separating Uranus and Saturn and the frequency of UFO sightings in Michigan. The data points illustrate a clear pattern, with the distance between the two planets paralleling the ebb and flow of reported UFO encounters in the Wolverine State. One might even venture to say that the extraterrestrials are truly taking advantage of their ringside seats to this celestial spectacle, making Michigan a hotspot for intergalactic adventure.
In summary, the findings of this study provide compelling evidence of a connection between the distance between Uranus and Saturn and reported UFO sightings in Michigan. This celestial correlation challenges traditional understanding of astronomical influences and raises intriguing questions about the interplay between cosmic occurrences and earthly phenomena. It appears that the state of Michigan is not only a magnet for natural wonders, but also a celestial hotspot for unexplained encounters. As we continue to unravel the mysteries of the cosmos, it seems that the universe always has a few surprises in store.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of the present study have uncovered a strikingly robust correlation between the distance separating Uranus and Saturn and reported UFO sightings in Michigan. Building upon previous research that hinted at a potential relationship between planetary positions and extraterrestrial encounters, our findings offer compelling support for this celestial connection. It's as if the cosmic dance of Uranus and Saturn has choreographed a mysterious ballet of unexplained aerial phenomena in the Michigan skies, leaving us captivated by the interplay between the extraterrestrial and the astronomical.

In the tradition of out-of-this-world puns, this study truly takes stargazing to new heights, affording us a cosmic vantage point to ponder the UFO-nique confluence of celestial events and terrestrial sightings. The correlation coefficient of 0.8546154 and p < 0.01 not only exceed statistical expectations but also prompt a figurative raising of eyebrows akin to a UFO sighting. It seems that as these distant celestial bodies part ways or draw closer, UFO activity in Michigan experiences fluctuations in the sighting rate, giving a whole new meaning to the phrase "close encounters."

Piggybacking on the previous celestial encounters literature, our findings add gravitas to the idea that planetary alignments may indeed play a role in the frequency of UFO sightings. By elucidating a substantial r-squared value of 0.7303674, we can confidently say that approximately 73% of the variability in UFO sightings in Michigan can be explained by the distance between Uranus and Saturn. This finding not only underscores the strength of the association but also underscores the far-reaching influence of celestial events.

In the spirit of cosmic speculation, one might even suggest that the extraterrestrials are also keen observers of the celestial symphony being conducted by Uranus and Saturn, choosing Michigan as their prime viewing platform for the astral performance. It's almost as if they've found ringside seats to the cosmic theater, making Michigan an unsuspecting hotspot for intergalactic adventure. And from a statistical standpoint, this correlation is truly out of this world, transcending conventional expectations for earthly phenomena and taking us on a celestial rollercoaster ride.

In conclusion, the findings of this study not only substantiate, but also elevate, the notion of a correlation between the distance between Uranus and Saturn and reported UFO sightings in Michigan. The interplay between the celestial and the unexplained continues to enthrall us, challenging traditional understanding of astronomical influences and presenting an enigmatic tapestry of cosmic occurrences and earthly phenomena. As we delve deeper into the mysteries of the cosmos, it seems that our curiosity knows no bounds, leaving us with a UFO-nique appreciation for the wondrous interplay between the celestial and the enigmatic.


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 The distance between Uranus and Saturn and UFO sightings in Michigan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
"Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan"

[[ABSTRACT]]
This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.

In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

[[INTRDUCTION]]
The search for extraterrestrial life and its potential connection to celestial events has long captivated the human imagination. From ancient civilizations pondering the stars to modern-day science fiction, the cosmos continues to intrigue and enthrall. In the realm of statistical analysis, one might say we are boldly going where no statistician has gone before.
While the study of UFO sightings has often been met with skepticism and skepticism, the correlation between celestial phenomena and unexplained aerial encounters has piqued the curiosity of researchers and enthusiasts alike. Michigan, the state surrounded by the Great Lakes and known for its colorful foliage, has also gained notoriety for its reported UFO sightings. It's almost as if the extraterrestrials are drawn to the "Great Lake" state – and not just for the freshwater.
As we delve into this enigmatic intersection of astronomy and ufology, we aim to present empirical evidence that challenges conventional scientific thought. By analyzing the spatial relation between Uranus and Saturn – two distant giants in our solar system – and the frequency of UFO sightings in Michigan, we seek to shed light on the unexplained, all while keeping our feet firmly planted on Terra Firma.
But before we launch into our empirical exploration, let's not forget the dad joke: What did the astronaut say when he saw a UFO? "Hey, it's a little spacey around here!" Moving swiftly along, our analysis aims to contribute to the growing body of research at the intersection of astronomy, statistical analysis, and extraterrestrial phenomena, providing a data-driven foundation for further investigation into this otherworldly correlation.

[[RESULTS]]
The analysis of the data revealed a statistically significant correlation between the distance separating Uranus and Saturn and reported UFO sightings in the state of Michigan from 1975 to 2021. The correlation coefficient of 0.8546154 indicates a strong positive relationship between the two variables. Quite literally, it seems that as these distant celestial bodies part ways or draw closer, UFO activity in Michigan also experiences fluctuations in the sighting rate.
The r-squared value of 0.7303674 further elucidates the magnitude of this association, indicating that approximately 73% of the variability in UFO sightings in Michigan can be explained by the distance between Uranus and Saturn. We might say that this correlation is truly out of this world, as it surpasses conventional expectations for earthly phenomena.
Additionally, the p-value of less than 0.01 provides compelling evidence to reject the null hypothesis, solidifying the strength of the association and bolstering the claim that there is indeed a connection between the cosmic dance of Uranus and Saturn and the mysterious appearances in Michigan's skies. It's almost as though these celestial bodies are orchestrating a cosmic symphony that resonates on our little blue planet.
In Fig. 1, the scatterplot visually depicts the robust correlation between the distance separating Uranus and Saturn and the frequency of UFO sightings in Michigan. The data points illustrate a clear pattern, with the distance between the two planets paralleling the ebb and flow of reported UFO encounters in the Wolverine State. One might even venture to say that the extraterrestrials are truly taking advantage of their ringside seats to this celestial spectacle, making Michigan a hotspot for intergalactic adventure.
In summary, the findings of this study provide compelling evidence of a connection between the distance between Uranus and Saturn and reported UFO sightings in Michigan. This celestial correlation challenges traditional understanding of astronomical influences and raises intriguing questions about the interplay between cosmic occurrences and earthly phenomena. It appears that the state of Michigan is not only a magnet for natural wonders, but also a celestial hotspot for unexplained encounters. As we continue to unravel the mysteries of the cosmos, it seems that the universe always has a few surprises in store.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has boldly gone where few statistical analyses have gone before, revealing a compelling correlation between the distance separating Uranus and Saturn and reported UFO sightings in Michigan. Our findings have illuminated a celestial connection that challenges conventional scientific understanding and sparks curiosity about the interplay between astronomical events and unexplained aerial encounters in the Great Lakes State.

The robust correlation coefficient of 0.8546154 and r-squared value of 0.7303674 indicate a significant positive relationship between the celestial ballet of Uranus and Saturn and the frequency of UFO sightings in Michigan. As we ponder the cosmic significance of these findings, we can't help but marvel at the astronomical forces at play and their unanticipated influence on terrestrial phenomena. It's almost as if the extraterrestrials are cosmic connoisseurs, seeking out the best seats in the universe for their intergalactic show.

One might say that our study has truly taken stargazing to new heights, shedding light on an enigmatic facet of celestial observations and inviting further scrutiny of the cosmic forces that shape our earthly experiences. It seems that the state of Michigan, with its picturesque landscapes and reported UFO sightings, has indeed become a hotspot for celestial intrigue. Perhaps we should rename it the "Extraterrestrial Peninsula" *insert dad joke drum roll*.

While our study opens new avenues for exploring the relationship between celestial phenomena and unexplained encounters, it also serves as a reminder that the universe is full of surprises. As we wrap up this exploration, it's safe to say that "Michigan truly is a UFO-nique state" *insert playful wink*. In light of these findings, further research in this otherworldly realm is not only warranted but essential for expanding our understanding of the cosmic connections that shape our world.

In closing, we assert that this study has revealed a compelling link between the distance between Uranus and Saturn and UFO sightings in Michigan, and we confidently affirm that no more research is needed in this area. As the saying goes, "We have truly reached for the stars and caught a few along the way." Thank you, and may the interplanetary intergalactic connection continue to inspire both awe and amusement in the scientific community.


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 Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Extraterrestrial Encounters


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 Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan. Respond only with the name of a fictional organization.

ChatGPT:

The Cosmic Phenomena Research Institute


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 Interplanetary Intergalactic Connection: The Uranus-Saturn Distance and UFO Sightings in Michigan with an abstract of This study delves into the celestial and the extraterrestrial, investigating the potential link between the distance between Uranus and Saturn and UFO sightings in the Great Lakes State. Leveraging data from Astropy and the National UFO Reporting Center, we conducted a rigorous examination spanning from 1975 to 2021. Surprisingly, our analysis has revealed a noteworthy correlation, with a coefficient of 0.8546154 and p < 0.01, suggesting a meteoric association between these celestial bodies and extraterrestrial encounters in Michigan.
In a cosmic twist of fate, our findings hint at a possible connection between Uranus and Michigan's unexplained phenomena, challenging traditional notions of astronomical influence. Pardon the pun, but this study truly takes stargazing to new heights and sheds light on a UFO-nique facet of celestial observations.

ChatGPT:

Uranus, Saturn distance, UFO sightings, Michigan, Great Lakes State, Astropy, National UFO Reporting Center, celestial correlation, extraterrestrial encounters, cosmic phenomena, astronomical influence, celestial observations

*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

The distance between Uranus and Saturn
Detailed data title: The average distance between Uranus and Saturn as measured on the first day of each month
Source: Caclculated using Astropy
Additional Info: I wrote a Python script using Astropy to calculate the distance between the named planets on the first day of each month for every year.

See what else correlates with The distance between Uranus and Saturn

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

Correlation r = 0.8546154 (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.7303674 (Coefficient of determination)
This means 73% of the change in the one variable (i.e., UFO sightings in Michigan) is predictable based on the change in the other (i.e., The distance between Uranus and Saturn) over the 47 years from 1975 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.1E-14. 0.0000000000000213884426121741
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.85 in 2.1E-12% of random cases. Said differently, if you correlated 46,754,222,274,735 random variables You don't actually need 46 trillion 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 46 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 46 because we have two variables measured over a period of 47 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.75, 0.92 ] 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.
19751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
The distance between Uranus and Saturn (Planetary distance (AU))21.899420.748519.542618.298517.034715.768914.528213.33612.220811.216310.36979.728869.343099.251069.467739.9778410.74411.72112.857914.113815.453916.850818.271419.692221.089522.442423.722824.911125.988826.94227.754228.418628.931529.292629.50329.567729.492929.284928.951528.499827.936227.264926.494225.627824.669723.621722.4927
UFO sightings in Michigan (UFO sightings)10111222131237117375731116472423164155877076798777861011341361181191502291761751801281305911915341




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([21.8994,20.7485,19.5426,18.2985,17.0347,15.7689,14.5282,13.336,12.2208,11.2163,10.3697,9.72886,9.34309,9.25106,9.46773,9.97784,10.744,11.721,12.8579,14.1138,15.4539,16.8508,18.2714,19.6922,21.0895,22.4424,23.7228,24.9111,25.9888,26.942,27.7542,28.4186,28.9315,29.2926,29.503,29.5677,29.4929,29.2849,28.9515,28.4998,27.9362,27.2649,26.4942,25.6278,24.6697,23.6217,22.4927,])
array_2 = np.array([10,11,12,22,13,12,3,7,11,7,3,7,5,7,3,11,16,4,7,24,23,16,41,55,87,70,76,79,87,77,86,101,134,136,118,119,150,229,176,175,180,128,130,59,119,153,41,])
array_1_name = "The distance between Uranus and Saturn"
array_2_name = "UFO sightings in Michigan"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating is much appreciated!


Correlation ID: 3028 · Black Variable ID: 1966 · Red Variable ID: 1158
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0