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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Votes for the Republican Presidential candidate in Nevada and the second variable is UFO sightings in Nevada.  The chart goes from 1976 to 2020, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the support for the Republican candidate surged, it sent a powerful signal into the cosmos, attracting UFOs to Nevada like moths to a flame. Perhaps the aliens were just really interested in red vs. blue politics, or maybe they mistook the campaign trail for a landing strip!

Model: dalle-3
Prompt: Generate a comic-book-style illustration set in the Nevada desert at dusk. The scene shows a polling station with a steady stream of people casting their votes for the Republican Presidential candidate. High above, a fleet of UFOs emerges in the twilight sky, their otherworldly glow casting an eerie light over the desert landscape. The juxtaposition of the political fervor and the arrival of extraterrestrial visitors creates a surreal and captivating visual, brought to life with muted colors and a classic dotted halftone pattern reminiscent of comic books from the 1960s. 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: Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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: An image that looks like it is a scene from A Disney Movie A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s High-tech Symbolism Celtic art
ChatGPT: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s

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 Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada, in the following situation: As the support for the Republican candidate surged, it sent a powerful signal into the cosmos, attracting UFOs to Nevada like moths to a flame. Perhaps the aliens were just really interested in red vs. blue politics, or maybe they mistook the campaign trail for a landing strip!. Keep the description simple.
ChatGPT: In the Nevada desert, a stream of people proudly cast their votes for the Republican Presidential candidate at a polling station. As they did, an unusual sight emerged in the sky above - a fleet of UFOs appeared, drawn to the surge of political activity like curious onlookers. The glow of the spacecrafts against the twilight sky created a surreal and captivating scene, as if the red vs. blue fervor had piqued the interest of extraterrestrial travelers.

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 comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s ] and depicting this scene: In the Nevada desert, a stream of people proudly cast their votes for the Republican Presidential candidate at a polling station. As they did, an unusual sight emerged in the sky above - a fleet of UFOs appeared, drawn to the surge of political activity like curious onlookers. The glow of the spacecrafts against the twilight sky created a surreal and captivating scene, as if the red vs. blue fervor had piqued the interest of extraterrestrial travelers. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate a comic-book-style illustration set in the Nevada desert at dusk. The scene shows a polling station with a steady stream of people casting their votes for the Republican Presidential candidate. High above, a fleet of UFOs emerges in the twilight sky, their otherworldly glow casting an eerie light over the desert landscape. The juxtaposition of the political fervor and the arrival of extraterrestrial visitors creates a surreal and captivating visual, brought to life with muted colors and a classic dotted halftone pattern reminiscent of comic books from the 1960s.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in Votes for the Republican Presidential candidate in Nevada caused UFO sightings in Nevada to increase. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada

The Journal of Extraterrestrial Electoral Studies

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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 MIT Election Data and Science Lab, Harvard Dataverse and National UFO Reporting Center to assess this nagging question. You found a correlation coefficient of 0.9402472 and p < 0.01 for 1976 to 2020.

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]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.



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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.


-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

"Space: the final frontier." This famous refrain from Star Trek seems to have taken on a new dimension in Nevada, not just in terms of exploration, but also in the realm of politics. While we may not have Captain Kirk or Mr. Spock running for office, our research unveils an unexpected connection between voting behavior and the presence of unidentified flying objects, or as we fondly call them, UFOs.

It's no surprise that when it comes to the mysterious realm of politics, we're often left feeling like we're on another planet. But in Nevada, it seems that the connection between Republican votes and UFO sightings is more than just a joke – it's a statistical reality. While we may be used to political pundits cracking wise, our data points to an unexpected link that is truly "out of this world."

Speaking of which, did you hear about the UFO party that finally landed in Nevada? The election results were "out of this world"! But before you think we're just delivering a cosmic conundrum, let's delve into the data and shed some light on this heavenly phenomenon.

Our research aims to probe the "alien" influence on human behavior and decision-making, and no, we're not talking about little green men whispering campaign slogans. We're diving into the statistical abyss of the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center to unravel the seemingly disparate yet oddly correlated phenomena of political preferences and extraterrestrial encounters.

Now, it may sound like we're simply outing votes and UFOs, but our findings point to a correlation coefficient of 0.9402472 with p < 0.01, a strikingly strong positive relationship that's hard to ignore. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one. And no, it's not just because Area 51 is nearby!

As we embark on this research journey, we invite you to join us in unraveling the cosmic threads of politics and UFOs. It's not every day that we get to blend data analysis with sightings that are truly "out of this world," but in Nevada, anything seems possible – even an encounter that's both political and extraterrestrial.



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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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 you might move on to cartoons and children's shows that you watched for research.

Here is the title and abstract of the paper:
[[TITLE]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.


-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
"Space: the final frontier." This famous refrain from Star Trek seems to have taken on a new dimension in Nevada, not just in terms of exploration, but also in the realm of politics. While we may not have Captain Kirk or Mr. Spock running for office, our research unveils an unexpected connection between voting behavior and the presence of unidentified flying objects, or as we fondly call them, UFOs.
It's no surprise that when it comes to the mysterious realm of politics, we're often left feeling like we're on another planet. But in Nevada, it seems that the connection between Republican votes and UFO sightings is more than just a joke – it's a statistical reality. While we may be used to political pundits cracking wise, our data points to an unexpected link that is truly "out of this world."
Speaking of which, did you hear about the UFO party that finally landed in Nevada? The election results were "out of this world"! But before you think we're just delivering a cosmic conundrum, let's delve into the data and shed some light on this heavenly phenomenon.
Our research aims to probe the "alien" influence on human behavior and decision-making, and no, we're not talking about little green men whispering campaign slogans. We're diving into the statistical abyss of the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center to unravel the seemingly disparate yet oddly correlated phenomena of political preferences and extraterrestrial encounters.
Now, it may sound like we're simply outing votes and UFOs, but our findings point to a correlation coefficient of 0.9402472 with p < 0.01, a strikingly strong positive relationship that's hard to ignore. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one. And no, it's not just because Area 51 is nearby!
As we embark on this research journey, we invite you to join us in unraveling the cosmic threads of politics and UFOs. It's not every day that we get to blend data analysis with sightings that are truly "out of this world," but in Nevada, anything seems possible – even an encounter that's both political and extraterrestrial.


-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

It is vital to note that the relationship between political preferences and unusual phenomena has long confounded researchers and enthusiasts alike. Smith et al. (2015) conducted a study on the impact of environmental factors on voting behavior, albeit without considering intergalactic influences. Meanwhile, Doe and Jones (2018) explored the sociological aspects of political decision-making, overlooking the potential interstellar motivations of voters. These earlier studies, while illuminating, failed to reach for the stars in understanding the cosmic dimensions of political allegiances.

In "The Nevada UFO and Republican Vote Connection" by X. Files (2019), the authors find that there is a strong positive association between votes for the Republican presidential candidate in Nevada and reported UFO sightings. This finding suggests that perhaps residents are looking for leaders who are "unearthly" in their policy perspectives – or perhaps are simply attracted to candidates with "stellar" qualities.

Now, let's take a moment to appreciate the punny potential of this research. Why did the Republican candidate campaign near Area 51? Because they heard the votes there were "out of this world"! It's enough to make any political scientist chuckle at the astronomical absurdity of it all.

In "Close Encounters of the Political Kind" by E. T. Al. (2020), the authors delve into the psychological underpinnings of voters' choices and suggest that perhaps the cosmic unknown exerts a captivating pull on Nevada residents. Who knew that the "alien" electorate had such sway in the Silver State?

Moving away from the world of non-fiction literature, let's explore how this topic is subtly intertwined with certain fictional works. From "Men in Black: Alien Encounters and Conservatism" to "Star Wars: The Republican Empire Strikes Back," the cultural influence of extraterrestrial narratives on political inclinations cannot be overlooked.

And speaking of extraterrestrial narratives, who could forget the impact of classic cartoons and children's shows on our understanding of alien life and its potential impact on political affiliations? SpongeBob SquarePants may not hail from a UFO, but his underwater escapades certainly give us a glimpse into what different political systems might look like in otherworldly realms.

In summary, while the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings may initially seem like a topic fit for science fiction, our research illuminates a statistically strong correlation that cannot be dismissed. These findings open up a cosmic kaleidoscope of possibilities for future investigations and, dare I say, "unearthly" electoral predictions.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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 MIT Election Data and Science Lab, Harvard Dataverse and National UFO Reporting Center . You used data from 1976 to 2020

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]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.


[[INTRODUCTION]]
"Space: the final frontier." This famous refrain from Star Trek seems to have taken on a new dimension in Nevada, not just in terms of exploration, but also in the realm of politics. While we may not have Captain Kirk or Mr. Spock running for office, our research unveils an unexpected connection between voting behavior and the presence of unidentified flying objects, or as we fondly call them, UFOs.
It's no surprise that when it comes to the mysterious realm of politics, we're often left feeling like we're on another planet. But in Nevada, it seems that the connection between Republican votes and UFO sightings is more than just a joke – it's a statistical reality. While we may be used to political pundits cracking wise, our data points to an unexpected link that is truly "out of this world."
Speaking of which, did you hear about the UFO party that finally landed in Nevada? The election results were "out of this world"! But before you think we're just delivering a cosmic conundrum, let's delve into the data and shed some light on this heavenly phenomenon.
Our research aims to probe the "alien" influence on human behavior and decision-making, and no, we're not talking about little green men whispering campaign slogans. We're diving into the statistical abyss of the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center to unravel the seemingly disparate yet oddly correlated phenomena of political preferences and extraterrestrial encounters.
Now, it may sound like we're simply outing votes and UFOs, but our findings point to a correlation coefficient of 0.9402472 with p < 0.01, a strikingly strong positive relationship that's hard to ignore. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one. And no, it's not just because Area 51 is nearby!
As we embark on this research journey, we invite you to join us in unraveling the cosmic threads of politics and UFOs. It's not every day that we get to blend data analysis with sightings that are truly "out of this world," but in Nevada, anything seems possible – even an encounter that's both political and extraterrestrial.


-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To tackle the extraterrestrial enigma and political puzzle, we embarked on a data odyssey that took us to the far reaches of the internet, navigating through the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center. Our research team dove into the depths of historical records from 1976 to 2020, navigating through the data like UFOs maneuvering through the Nevada skies.

To begin, we harnessed the power of advanced statistical methods, equivalent to launching a probe into the unknown, to analyze the relationship between Republican votes and reported UFO sightings in Nevada. Our team employed the trusty Pearson correlation coefficient, illuminating the shadows of uncertainty with a blinding statistical spotlight.

Before delving into the cosmic connections, we conducted extensive data cleansing and preparation – akin to ensuring our research vessel was equipped with the latest in space-age technology. Our team meticulously combed through the datasets, addressing missing values and outliers like cosmic debris cluttering our path to understanding. We then performed a series of statistical tests to confirm the robustness of our findings, like conducting a thorough diagnostic check on a spacecraft before liftoff.

With our statistical arsenal primed, we set out to analyze the data, seeking patterns that might illuminate the celestial ties to political inclinations. We employed sophisticated regression analyses, akin to charting the trajectory of a celestial body, to unravel the gravitational pull between Republican votes and UFO sightings in Nevada. Our model braved the turbulence of complex data interactions, much like a spacecraft navigating through asteroid fields, to unveil the captivating relationship between these seemingly disparate phenomena.

Next, we piloted an assortment of time-series analyses to discern any temporal anomalies in the data, akin to monitoring space-time disturbances in the fabric of the universe. We synced our time-traveling algorithms to the epochs of electoral cycles and UFO sightings, shedding light on any cosmic synchronicities that might influence voting behavior in the Silver State.

In our quest for empirical truth, we embarked on a voyage through the galaxy of statistical analysis, equipped with the latest cosmic-caliber tools to uncover the interstellar influences on political preferences in Nevada. Our research methodologies were woven together like constellations in the night sky, forming a celestial tapestry of insights that stretch "out of this world."

And remember, when it comes to uncovering cosmic correlations, we're not just reaching for the stars – we're reaching for the polls too!


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

Please make up the results section of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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 MIT Election Data and Science Lab, Harvard Dataverse and National UFO Reporting Center .

For the time period 1976 to 2020, you found a correlation 0.9402472, r-squared of 0.8840647, 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]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.


-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
"Space: the final frontier." This famous refrain from Star Trek seems to have taken on a new dimension in Nevada, not just in terms of exploration, but also in the realm of politics. While we may not have Captain Kirk or Mr. Spock running for office, our research unveils an unexpected connection between voting behavior and the presence of unidentified flying objects, or as we fondly call them, UFOs.
It's no surprise that when it comes to the mysterious realm of politics, we're often left feeling like we're on another planet. But in Nevada, it seems that the connection between Republican votes and UFO sightings is more than just a joke – it's a statistical reality. While we may be used to political pundits cracking wise, our data points to an unexpected link that is truly "out of this world."
Speaking of which, did you hear about the UFO party that finally landed in Nevada? The election results were "out of this world"! But before you think we're just delivering a cosmic conundrum, let's delve into the data and shed some light on this heavenly phenomenon.
Our research aims to probe the "alien" influence on human behavior and decision-making, and no, we're not talking about little green men whispering campaign slogans. We're diving into the statistical abyss of the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center to unravel the seemingly disparate yet oddly correlated phenomena of political preferences and extraterrestrial encounters.
Now, it may sound like we're simply outing votes and UFOs, but our findings point to a correlation coefficient of 0.9402472 with p < 0.01, a strikingly strong positive relationship that's hard to ignore. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one. And no, it's not just because Area 51 is nearby!
As we embark on this research journey, we invite you to join us in unraveling the cosmic threads of politics and UFOs. It's not every day that we get to blend data analysis with sightings that are truly "out of this world," but in Nevada, anything seems possible – even an encounter that's both political and extraterrestrial.


-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected revealed a remarkably strong positive relationship between the votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. The correlation coefficient of 0.9402472 and r-squared of 0.8840647 demonstrated a high degree of association between these two seemingly unrelated phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been inspired by more than just earthly matters. The extraterrestrial factor may have played a significant role in shaping the political landscape of Nevada.

Fig. 1 illustrates the scatterplot depicting the clear and compelling connection between Republican votes and reported UFO sightings in Nevada. The data points form a strikingly upward-sloping pattern, highlighting the "otherworldly" impact on political preferences in the Silver State.

Now, for the punchline: What did the Nevada desert say to the UFO? "You're not the only one with a strange attraction around here!"

This unexpected correlation prompts a reevaluation of the conventional factors influencing voter behavior. While we cannot definitively prove causation, the strength of the relationship between these variables cannot be dismissed as a mere coincidence. It's safe to say that when it comes to elections in Nevada, the sky's not the limit – the universe might just play a part too.

So, what do you get when you cross a UFO with a Nevada voter? A "close encounter" at the ballot box! But our research suggests that this "close encounter" may not just be a cosmic joke after all.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.


[[LITERATURE REVIEW]]
It is vital to note that the relationship between political preferences and unusual phenomena has long confounded researchers and enthusiasts alike. Smith et al. (2015) conducted a study on the impact of environmental factors on voting behavior, albeit without considering intergalactic influences. Meanwhile, Doe and Jones (2018) explored the sociological aspects of political decision-making, overlooking the potential interstellar motivations of voters. These earlier studies, while illuminating, failed to reach for the stars in understanding the cosmic dimensions of political allegiances.
In "The Nevada UFO and Republican Vote Connection" by X. Files (2019), the authors find that there is a strong positive association between votes for the Republican presidential candidate in Nevada and reported UFO sightings. This finding suggests that perhaps residents are looking for leaders who are "unearthly" in their policy perspectives – or perhaps are simply attracted to candidates with "stellar" qualities.
Now, let's take a moment to appreciate the punny potential of this research. Why did the Republican candidate campaign near Area 51? Because they heard the votes there were "out of this world"! It's enough to make any political scientist chuckle at the astronomical absurdity of it all.
In "Close Encounters of the Political Kind" by E. T. Al. (2020), the authors delve into the psychological underpinnings of voters' choices and suggest that perhaps the cosmic unknown exerts a captivating pull on Nevada residents. Who knew that the "alien" electorate had such sway in the Silver State?
Moving away from the world of non-fiction literature, let's explore how this topic is subtly intertwined with certain fictional works. From "Men in Black: Alien Encounters and Conservatism" to "Star Wars: The Republican Empire Strikes Back," the cultural influence of extraterrestrial narratives on political inclinations cannot be overlooked.
And speaking of extraterrestrial narratives, who could forget the impact of classic cartoons and children's shows on our understanding of alien life and its potential impact on political affiliations? SpongeBob SquarePants may not hail from a UFO, but his underwater escapades certainly give us a glimpse into what different political systems might look like in otherworldly realms.
In summary, while the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings may initially seem like a topic fit for science fiction, our research illuminates a statistically strong correlation that cannot be dismissed. These findings open up a cosmic kaleidoscope of possibilities for future investigations and, dare I say, "unearthly" electoral predictions.

[[RESULTS]]
The analysis of the data collected revealed a remarkably strong positive relationship between the votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. The correlation coefficient of 0.9402472 and r-squared of 0.8840647 demonstrated a high degree of association between these two seemingly unrelated phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been inspired by more than just earthly matters. The extraterrestrial factor may have played a significant role in shaping the political landscape of Nevada.
Fig. 1 illustrates the scatterplot depicting the clear and compelling connection between Republican votes and reported UFO sightings in Nevada. The data points form a strikingly upward-sloping pattern, highlighting the "otherworldly" impact on political preferences in the Silver State.
Now, for the punchline: What did the Nevada desert say to the UFO? "You're not the only one with a strange attraction around here!"
This unexpected correlation prompts a reevaluation of the conventional factors influencing voter behavior. While we cannot definitively prove causation, the strength of the relationship between these variables cannot be dismissed as a mere coincidence. It's safe to say that when it comes to elections in Nevada, the sky's not the limit – the universe might just play a part too.
So, what do you get when you cross a UFO with a Nevada voter? A "close encounter" at the ballot box! But our research suggests that this "close encounter" may not just be a cosmic joke after all.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study offer a compelling case for the influence of extraterrestrial activity on political preferences in Nevada. It may seem like a cosmic coincidence, but our results align with prior research that has hinted at the interplay between unusual phenomena and voter behavior. The seemingly "out of this world" connection we uncovered between Republican votes and reported UFO sightings in Nevada lends support to prior studies that have probed into the more unearthly dimensions of political allegiances.

While most researchers may keep their feet firmly planted on the ground, our study dared to look to the stars, in line with the work of X. Files (2019), who first proposed the idea of a connection between UFO sightings and political preferences in Nevada. Our findings echo and amplify the notion that perhaps residents are seeking leaders with a touch of the "extraterrestrial" in their policy perspectives. As the saying goes, "politics is a UFO – Unidentified Floating Object!"

The strong positive association we uncovered not only challenges conventional understandings of voter behavior but also prompts a reconsideration of the gravitational forces at play in shaping political landscapes. Could it be that the lure of the unknown reaches beyond the scientific sphere and into the ballot box? Our work supports the argument put forth by E. T. Al. (2020) that the cosmic unknown may indeed wield a captivating pull on Nevada residents.

Now, let's address the elephant… or rather, the UFO in the room. The punchline might just be that our initial literature review, which ventured into the realms of science fiction and unconventional influences on political inclinations, was not as far-fetched as it seemed. Maybe there's more truth to the notion that "Men in Black" and "Star Wars" narratives have subliminally shaped political preferences than we'd like to admit.

The "close encounters" we observed through our analysis further emphasize that perhaps, as unlikely as it may seem, there is a connection between the terrestrial and the extraterrestrial in the political terrain of Nevada. One could say that our findings have truly highlighted the "Martian" impact on the Silver State's voting patterns.

In conclusion, our research suggests that there could be more to the political choices of Nevada residents than meets the eye – or should we say, more than meets the telescope? While this study might seem like the "X-Files" of political analysis, the data speaks for itself. Our results urge further exploration into the unearthly dimensions of voter behavior and add a new layer to the joke, "Why did the Nevada desert and Nevada voters both attract UFOs? They both have a strange pull!"


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Votes for the Republican Presidential candidate in Nevada and UFO sightings in Nevada. 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]]
"Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada"

[[ABSTRACT]]
The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.

We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.


[[INTRDUCTION]]
"Space: the final frontier." This famous refrain from Star Trek seems to have taken on a new dimension in Nevada, not just in terms of exploration, but also in the realm of politics. While we may not have Captain Kirk or Mr. Spock running for office, our research unveils an unexpected connection between voting behavior and the presence of unidentified flying objects, or as we fondly call them, UFOs.
It's no surprise that when it comes to the mysterious realm of politics, we're often left feeling like we're on another planet. But in Nevada, it seems that the connection between Republican votes and UFO sightings is more than just a joke – it's a statistical reality. While we may be used to political pundits cracking wise, our data points to an unexpected link that is truly "out of this world."
Speaking of which, did you hear about the UFO party that finally landed in Nevada? The election results were "out of this world"! But before you think we're just delivering a cosmic conundrum, let's delve into the data and shed some light on this heavenly phenomenon.
Our research aims to probe the "alien" influence on human behavior and decision-making, and no, we're not talking about little green men whispering campaign slogans. We're diving into the statistical abyss of the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center to unravel the seemingly disparate yet oddly correlated phenomena of political preferences and extraterrestrial encounters.
Now, it may sound like we're simply outing votes and UFOs, but our findings point to a correlation coefficient of 0.9402472 with p < 0.01, a strikingly strong positive relationship that's hard to ignore. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one. And no, it's not just because Area 51 is nearby!
As we embark on this research journey, we invite you to join us in unraveling the cosmic threads of politics and UFOs. It's not every day that we get to blend data analysis with sightings that are truly "out of this world," but in Nevada, anything seems possible – even an encounter that's both political and extraterrestrial.


[[RESULTS]]
The analysis of the data collected revealed a remarkably strong positive relationship between the votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. The correlation coefficient of 0.9402472 and r-squared of 0.8840647 demonstrated a high degree of association between these two seemingly unrelated phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been inspired by more than just earthly matters. The extraterrestrial factor may have played a significant role in shaping the political landscape of Nevada.
Fig. 1 illustrates the scatterplot depicting the clear and compelling connection between Republican votes and reported UFO sightings in Nevada. The data points form a strikingly upward-sloping pattern, highlighting the "otherworldly" impact on political preferences in the Silver State.
Now, for the punchline: What did the Nevada desert say to the UFO? "You're not the only one with a strange attraction around here!"
This unexpected correlation prompts a reevaluation of the conventional factors influencing voter behavior. While we cannot definitively prove causation, the strength of the relationship between these variables cannot be dismissed as a mere coincidence. It's safe to say that when it comes to elections in Nevada, the sky's not the limit – the universe might just play a part too.
So, what do you get when you cross a UFO with a Nevada voter? A "close encounter" at the ballot box! But our research suggests that this "close encounter" may not just be a cosmic joke after all.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unveiled a connection between Nevada's penchant for Republican votes and the cosmic sightings of UFOs. The statistical findings revealed a correlation coefficient of 0.9402472, indicating a remarkably strong positive relationship between these seemingly unrelated phenomena. It appears that when it comes to political decision-making, Nevadans might have taken a detour to the outer limits of the galaxy for some otherworldly inspiration.

As we wrap up this investigation, it's clear that the political landscape in Nevada is not just a "little green" when it comes to influences. The extraterrestrial factor seems to have left an indelible mark on the state's voting patterns, proving that when it comes to politics, the truth might indeed be "out there."

So, what's the takeaway from all this astro-political revelation? Well, it seems that when it comes to Nevada's electoral dynamics, it's not just the candidates who are reaching for the stars. The Silver State's voters might have had their eyes on the skies as well. It looks like when individuals in Nevada say they are voting with the universe in mind, they might be quite literal about it.

In light of these findings, it seems that the words of astronomer Carl Sagan ring true – "We are made of star stuff." And it seems that in Nevada, this star stuff might have had a hand in shaping political destinies.

Now, as for future research in this area, we can confidently say that no further investigations are needed. It's clear that when it comes to the intersection of politics and extraterrestrial phenomena in Nevada, the evidence is as bright as a flying saucer at midnight. With our findings, we have truly reached the final frontier - case closed!

So, what do you get when you combine Nevada's political landscape with UFO sightings? A comedic yet cosmic correlation that's simply "out of this world"! And with that, we bid adieu to this unusual yet amusing intertwining of politics and the paranormal in the Silver State.


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 Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Extraterrestrial Electoral Studies


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 Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada. Respond only with the name of a fictional organization.

ChatGPT:

The Consortium for Extraterrestrial Studies and Political Analysis


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 Out of This World Politics: A Close Encounter Between Republican Votes and UFO Sightings in Nevada with an abstract of The age-old question of whether extraterrestrial encounters have any influence on human behavior and decision-making has been a source of fascination and speculation. In this research paper, we take a statistical probe into the connection between votes for the Republican presidential candidate in Nevada and reported UFO sightings in the state. Our study is grounded in data from the MIT Election Data and Science Lab, Harvard Dataverse, and the National UFO Reporting Center, spanning from 1976 to 2020.
We unearth a surprising correlation coefficient of 0.9402472 and p < 0.01, indicating a remarkably strong positive relationship between these seemingly disparate phenomena. It seems that when it comes to choosing political leaders, Nevadans may have been influenced by more than just earthly matters. To put it simply, the data suggests that the voting patterns and extraterrestrial activity in Nevada are "out of this world" in more ways than one.

ChatGPT:

Republican votes, UFO sightings, Nevada, political behavior, human decision-making, statistical analysis, correlation coefficient, MIT Election Data and Science Lab, Harvard Dataverse, National UFO Reporting Center

*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

Votes for the Republican Presidential candidate in Nevada
Detailed data title: Total votes cast for the Republican Presidential candidate in Nevada
Source: MIT Election Data and Science Lab, Harvard Dataverse
See what else correlates with Votes for the Republican Presidential candidate in Nevada

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

Correlation r = 0.9402472 (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.8840647 (Coefficient of determination)
This means 88.4% of the change in the one variable (i.e., UFO sightings in Nevada) is predictable based on the change in the other (i.e., Votes for the Republican Presidential candidate in Nevada) over the 12 years from 1976 through 2020.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.4E-6. 0.0000054236792867189940000000
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.94 in 0.00054% of random cases. Said differently, if you correlated 184,377 random variables You don't actually need 184 thousand 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 11 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 11 because we have two variables measured over a period of 12 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.8, 0.98 ] 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.
197619801984198819921996200020042008201220162020
Votes for the Republican Presidential candidate in Nevada (Total votes)101273155017188770206040175828199244301575418690412827463567512058669890
UFO sightings in Nevada (UFO sightings)2113710344666846182




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([101273,155017,188770,206040,175828,199244,301575,418690,412827,463567,512058,669890,])
array_2 = np.array([2,1,1,3,7,10,34,46,66,84,61,82,])
array_1_name = "Votes for the Republican Presidential candidate in Nevada"
array_2_name = "UFO sightings in Nevada"

# 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?

Cheers to you for rating this correlation!


Correlation ID: 5622 · Black Variable ID: 26005 · Red Variable ID: 1173
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0