about · email me · subscribe
Spurious correlation #5,814 · 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 Democratic Presidential candidate in Hawaii and the second variable is Electricity generation in Yemen.  The chart goes from 1980 to 2020, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more Hawaiians showed support for the Democratic candidate, the collective positive energy somehow crossed oceans and inspired Yemeni electricity generators to work a little harder, proving that political power can spark electrical power! Remember, every vote truly does light up a room - or a whole country's power grid!

Model: dalle-3
Prompt: Create an image of a futuristic Hawaii where a group of people, their faces filled with hope and determination, proudly cast their votes in a high-tech, glass ballot box. The box emits a soft, pulsating blue light as the ballots are cast, symbolizing the transfer of positive energy. In the background, a sleek, modernized version of Hawaiian scenery is backdropped by a technologically advanced ocean. As the positivity spreads, the scene shifts to Yemen, where glowing electricity generators pulse with renewed determination, fueled by the collective hope and enthusiasm emanating from the group of voters in Hawaii. 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 Democratic Presidential candidate in Hawaii and Electricity generation in Yemen. 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: Futuristic Vaporwave Surrealism Minimalism Symbolism
ChatGPT: Futuristic

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 Democratic Presidential candidate in Hawaii and Electricity generation in Yemen, in the following situation: As more Hawaiians showed support for the Democratic candidate, the collective positive energy somehow crossed oceans and inspired Yemeni electricity generators to work a little harder, proving that political power can spark electrical power! Remember, every vote truly does light up a room - or a whole country's power grid!. Keep the description simple.
ChatGPT: In Hawaii, a group of people proudly wearing "I Voted" stickers gather around a ballot box, casting their votes for the Democratic Presidential candidate. Their positive energy radiates across the ocean, where in Yemen, the electricity generators hum with increased determination, as if powered by the collective hope and enthusiasm of the Hawaiian voters.

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: [ Futuristic ] and depicting this scene: In Hawaii, a group of people proudly wearing "I Voted" stickers gather around a ballot box, casting their votes for the Democratic Presidential candidate. Their positive energy radiates across the ocean, where in Yemen, the electricity generators hum with increased determination, as if powered by the collective hope and enthusiasm of the Hawaiian voters. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create an image of a futuristic Hawaii where a group of people, their faces filled with hope and determination, proudly cast their votes in a high-tech, glass ballot box. The box emits a soft, pulsating blue light as the ballots are cast, symbolizing the transfer of positive energy. In the background, a sleek, modernized version of Hawaiian scenery is backdropped by a technologically advanced ocean. As the positivity spreads, the scene shifts to Yemen, where glowing electricity generators pulse with renewed determination, fueled by the collective hope and enthusiasm emanating from the group of voters in Hawaii.

*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 Democrat Presidential candidate in Hawaii caused Electricity generation in Yemen to increase. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

The Journal of Geopolitical Energies and Electoral Curiosities

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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title an alliteration.

Your research team used data from MIT Election Data and Science Lab, Harvard Dataverse and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9102293 and p < 0.01 for 1980 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]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.


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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Amidst the whirlwind of political campaigns and international energy dynamics, one might not expect a connection between the voting patterns in the aloha state of Hawaii and the electrical power situation in the land of the Queen of Sheba. However, as Mark Twain once said, "Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't." In the pursuit of unraveling the enigmatic relationship between these two seemingly disparate variables, we embarked on a statistical odyssey, hoping to shed light on this juxtaposition. As daunting as it may seem, we brazenly steered our ship through the treacherous waters of data analysis, armed with nothing but our trusty regression models and a sense of humor drier than the Sahara.

This quest for correlations led us to embark on a research expedition that would make even the most intrepid explorers quiver in their pith helmets. Our study spans four decades, from the era of floppy disks to the age of augmented reality, striving to capture the essence of the connection between Democrat votes in Hawaii and electricity generation in Yemen. Armed with datasets from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we dived headfirst into the bubbling cauldron of numerical data, eagerly anticipating the sparks that might emerge from the collision of politics and power generation.

As we delved into the labyrinth of equations and scatterplots, we were met with a surprising discovery. A correlation coefficient of 0.9102293 glimmered like a rare gem in our statistical treasure trove, beckoning us to examine it with the fascination of an entomologist studying a newly discovered species. With p-values dancing before our eyes like mischievous sprites, we couldn't help but marvel at the statistical significance, akin to finding a needle in a haystack, or a winning lottery ticket in a pile of old receipts. This extraordinary correlation served as a spark, igniting a curiosity akin to that of a physicist faced with a puzzle of quantum proportions.

With the puzzle pieces gathered and the statistical tinder ablaze, our research seeks to not only unravel this electrifying mystery but also to illuminate the potential underlying factors at play. The journey ahead may seem as daunting as navigating a labyrinth in a blackout, but armed with the beacon of science and the compass of statistical rigor, we forge ahead, determined to unravel the seemingly incongruent connection between Democrat votes in Hawaii and electricity generation in Yemen.


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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then 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]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Amidst the whirlwind of political campaigns and international energy dynamics, one might not expect a connection between the voting patterns in the aloha state of Hawaii and the electrical power situation in the land of the Queen of Sheba. However, as Mark Twain once said, "Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't." In the pursuit of unraveling the enigmatic relationship between these two seemingly disparate variables, we embarked on a statistical odyssey, hoping to shed light on this juxtaposition. As daunting as it may seem, we brazenly steered our ship through the treacherous waters of data analysis, armed with nothing but our trusty regression models and a sense of humor drier than the Sahara.
This quest for correlations led us to embark on a research expedition that would make even the most intrepid explorers quiver in their pith helmets. Our study spans four decades, from the era of floppy disks to the age of augmented reality, striving to capture the essence of the connection between Democrat votes in Hawaii and electricity generation in Yemen. Armed with datasets from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we dived headfirst into the bubbling cauldron of numerical data, eagerly anticipating the sparks that might emerge from the collision of politics and power generation.
As we delved into the labyrinth of equations and scatterplots, we were met with a surprising discovery. A correlation coefficient of 0.9102293 glimmered like a rare gem in our statistical treasure trove, beckoning us to examine it with the fascination of an entomologist studying a newly discovered species. With p-values dancing before our eyes like mischievous sprites, we couldn't help but marvel at the statistical significance, akin to finding a needle in a haystack, or a winning lottery ticket in a pile of old receipts. This extraordinary correlation served as a spark, igniting a curiosity akin to that of a physicist faced with a puzzle of quantum proportions.
With the puzzle pieces gathered and the statistical tinder ablaze, our research seeks to not only unravel this electrifying mystery but also to illuminate the potential underlying factors at play. The journey ahead may seem as daunting as navigating a labyrinth in a blackout, but armed with the beacon of science and the compass of statistical rigor, we forge ahead, determined to unravel the seemingly incongruent connection between Democrat votes in Hawaii and electricity generation in Yemen.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

To understand the unexpected link between Democrat votes in Hawaii and electricity generation in Yemen, we delved into a trove of academic literature, hoping to shed light on this peculiar juxtaposition. Although the connection may seem as unlikely as finding a pineapple on a pizza, the findings of various studies have inadvertently sparked a sense of curiosity, akin to stumbling upon a classified ad for a Bermuda Triangle vacation package.

In "The Political Landscape of Hawaii," Smith uncovers the complex dynamics of voting patterns in the Aloha State, delving into the political climate with all the gusto of a surfer riding the waves. While on the topic of energy generation, Doe's "Yemen: A Power Struggle" sheds light on the challenges and triumphs of electricity production in Yemen, offering insights more captivating than a desert mirage.

Turning to non-fiction books that are tangentially related to our mysterious correlation, "The Shock Doctrine" by Naomi Klein shines a spotlight on the transformative power of disasters, much like the surprising impact of our correlation coefficient. Similarly, "Power, Sex, Suicide" by Nick Lane, though ostensibly concerned with the origins of life, inadvertently plants seeds of thought on the precarious balance of power and energy.

Venturing into the realm of fiction, Jules Verne's "Journey to the Center of the Earth" and H.G. Wells's "The War of the Worlds" subtly hint at the unexpected interplay between seemingly incongruous elements, much like our own findings. Just as the protagonists of these novels uncover hidden connections beneath the Earth's surface and among the stars, our research seeks to unravel the enigmatic association between Democrat votes in Hawaii and electricity generation in Yemen.

In a whimsical twist, the cartoon series "The Magic School Bus" and "Phineas and Ferb," with their zany adventures and improbable scenarios, inadvertently provide obscure insights into the potential interconnections between disparate elements. While absurd on the surface, these shows manage to spark curiosity, much like the eyebrow-raising correlation we have unearthed.

While the journey through the academic literature may have initially seemed as daunting as navigating a maze with a blindfold, our findings have provided an unexpected bouquet of insights, much like stumbling upon a desert oasis. The scholars and authors have unwittingly contributed to our understanding of this fascinating conundrum, unintentionally shedding light on the potential factors underpinning this electrifying mystery.


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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from MIT Election Data and Science Lab, Harvard Dataverse and Energy Information Administration . You used data from 1980 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]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

[[INTRODUCTION]]
Amidst the whirlwind of political campaigns and international energy dynamics, one might not expect a connection between the voting patterns in the aloha state of Hawaii and the electrical power situation in the land of the Queen of Sheba. However, as Mark Twain once said, "Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't." In the pursuit of unraveling the enigmatic relationship between these two seemingly disparate variables, we embarked on a statistical odyssey, hoping to shed light on this juxtaposition. As daunting as it may seem, we brazenly steered our ship through the treacherous waters of data analysis, armed with nothing but our trusty regression models and a sense of humor drier than the Sahara.
This quest for correlations led us to embark on a research expedition that would make even the most intrepid explorers quiver in their pith helmets. Our study spans four decades, from the era of floppy disks to the age of augmented reality, striving to capture the essence of the connection between Democrat votes in Hawaii and electricity generation in Yemen. Armed with datasets from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we dived headfirst into the bubbling cauldron of numerical data, eagerly anticipating the sparks that might emerge from the collision of politics and power generation.
As we delved into the labyrinth of equations and scatterplots, we were met with a surprising discovery. A correlation coefficient of 0.9102293 glimmered like a rare gem in our statistical treasure trove, beckoning us to examine it with the fascination of an entomologist studying a newly discovered species. With p-values dancing before our eyes like mischievous sprites, we couldn't help but marvel at the statistical significance, akin to finding a needle in a haystack, or a winning lottery ticket in a pile of old receipts. This extraordinary correlation served as a spark, igniting a curiosity akin to that of a physicist faced with a puzzle of quantum proportions.
With the puzzle pieces gathered and the statistical tinder ablaze, our research seeks to not only unravel this electrifying mystery but also to illuminate the potential underlying factors at play. The journey ahead may seem as daunting as navigating a labyrinth in a blackout, but armed with the beacon of science and the compass of statistical rigor, we forge ahead, determined to unravel the seemingly incongruent connection between Democrat votes in Hawaii and electricity generation in Yemen.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To embark on our statistical odyssey, we gathered a trove of data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. It's worth noting that navigating these databases felt akin to embarking on a treasure hunt through a labyrinthine library, with each dataset resembling a dusty old tome waiting to reveal its secrets.

We took a deep dive into the data, extracting information on votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen from the ancient years of 1980 to the futuristic frontier of 2020. The process of data collection was as intricate as trying to untangle a ball of yarn in a room full of enthusiastic kittens, but our intrepid team persevered with the wit of a seasoned detective on the trail of a perplexing case.

We then employed the venerable tools of statistical analysis to unravel the mystery. Armed with our trusty regression models, we plunged into the abyss of linear relationships, teasing out correlations and trends with the precision of a persnickety sommelier discerning the nuances of a rare vintage.

To manage the sheer volume of data, we wielded the powers of modern computing, using statistical software that could crunch numbers faster than a roomful of accountants during tax season. Our algorithms sifted through the sea of data points with the finesse of a master chef separating eggs, searching for the gleaming kernel of correlation amidst the swirling chaos of numbers.

Parallel to this, we also incorporated geographical and geopolitical factors into our analysis, recognizing that the complex tapestry of global affairs could interlace with the fabric of our findings. Much like a chef perfecting a recipe, we sought to balance the flavors of political landscapes and economic dynamics, recognizing that the interplay of variables is as intricate as a tango between celestial bodies.

In order to validate the robustness of our findings, we subjected our data to rigorous tests worthy of a superhero's scrutiny, ensuring that our correlations were not mere mirages in the desert of statistics. We utilized p-values and confidence intervals with the discernment of a skeptical taste-tester, seeking to appraise our findings with the caution of a wary gambler eyeing a deck of cards.

In summary, our methodology was as complex and multifaceted as a mosaic crafted by a symphony orchestra, interweaving data collection, statistical analysis, and contextual factors to unravel the curious connection between Democrat votes in Hawaii and electricity generation in Yemen, showing that even the most unexpected correlations can shed light on the hidden symmetries of the world.


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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from MIT Election Data and Science Lab, Harvard Dataverse and Energy Information Administration .

For the time period 1980 to 2020, you found a correlation 0.9102293, r-squared of 0.8285173, 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]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Amidst the whirlwind of political campaigns and international energy dynamics, one might not expect a connection between the voting patterns in the aloha state of Hawaii and the electrical power situation in the land of the Queen of Sheba. However, as Mark Twain once said, "Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't." In the pursuit of unraveling the enigmatic relationship between these two seemingly disparate variables, we embarked on a statistical odyssey, hoping to shed light on this juxtaposition. As daunting as it may seem, we brazenly steered our ship through the treacherous waters of data analysis, armed with nothing but our trusty regression models and a sense of humor drier than the Sahara.
This quest for correlations led us to embark on a research expedition that would make even the most intrepid explorers quiver in their pith helmets. Our study spans four decades, from the era of floppy disks to the age of augmented reality, striving to capture the essence of the connection between Democrat votes in Hawaii and electricity generation in Yemen. Armed with datasets from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we dived headfirst into the bubbling cauldron of numerical data, eagerly anticipating the sparks that might emerge from the collision of politics and power generation.
As we delved into the labyrinth of equations and scatterplots, we were met with a surprising discovery. A correlation coefficient of 0.9102293 glimmered like a rare gem in our statistical treasure trove, beckoning us to examine it with the fascination of an entomologist studying a newly discovered species. With p-values dancing before our eyes like mischievous sprites, we couldn't help but marvel at the statistical significance, akin to finding a needle in a haystack, or a winning lottery ticket in a pile of old receipts. This extraordinary correlation served as a spark, igniting a curiosity akin to that of a physicist faced with a puzzle of quantum proportions.
With the puzzle pieces gathered and the statistical tinder ablaze, our research seeks to not only unravel this electrifying mystery but also to illuminate the potential underlying factors at play. The journey ahead may seem as daunting as navigating a labyrinth in a blackout, but armed with the beacon of science and the compass of statistical rigor, we forge ahead, determined to unravel the seemingly incongruent connection between Democrat votes in Hawaii and electricity generation in Yemen.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data revealed a striking correlation between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. The correlation coefficient of 0.9102293 indicates a strong positive relationship between these seemingly unrelated variables. Furthermore, the r-squared value of 0.8285173 suggests that approximately 82.85% of the variability in one variable can be explained by the other, leaving only a little room for the unexplained, much like finding only one cookie left in the jar.

The results are visually depicted in Fig. 1, a scatterplot which vividly portrays the remarkable relationship between the two variables. It is akin to a masterpiece painting, with each data point adding to the awe-inspiring spectacle of interconnectedness.

The statistically significant p-value of less than 0.01 emphasizes the robustness of our findings, akin to discovering a rare species in an uncharted territory or finding a four-leaf clover in a field of three-leafed ones. This level of significance underscores the improbable nature of this significant relationship, tempting us to explore this unexpected correlation further, much like a scientist delving into uncharted waters of a new discovery.

The results of this analysis not only underscore the statistical significance of the relationship between Democrat votes in Hawaii and electricity generation in Yemen but also set the stage for further investigation into the potential underlying mechanisms driving this peculiar association. The findings not only raise eyebrows but also pique interest in understanding the underlying factors contributing to this electrifying mystery.

This discovery serves as a reminder that in the vast landscape of scientific inquiry, often the most unexpected connections yield the most captivating insights. As we illuminate this seemingly incongruent relationship, we invite fellow researchers to join us in the pursuit of unlocking the mysteries that lie at the intersection of political arenas and energy dynamics.


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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

[[LITERATURE REVIEW]]
To understand the unexpected link between Democrat votes in Hawaii and electricity generation in Yemen, we delved into a trove of academic literature, hoping to shed light on this peculiar juxtaposition. Although the connection may seem as unlikely as finding a pineapple on a pizza, the findings of various studies have inadvertently sparked a sense of curiosity, akin to stumbling upon a classified ad for a Bermuda Triangle vacation package.
In "The Political Landscape of Hawaii," Smith uncovers the complex dynamics of voting patterns in the Aloha State, delving into the political climate with all the gusto of a surfer riding the waves. While on the topic of energy generation, Doe's "Yemen: A Power Struggle" sheds light on the challenges and triumphs of electricity production in Yemen, offering insights more captivating than a desert mirage.
Turning to non-fiction books that are tangentially related to our mysterious correlation, "The Shock Doctrine" by Naomi Klein shines a spotlight on the transformative power of disasters, much like the surprising impact of our correlation coefficient. Similarly, "Power, Sex, Suicide" by Nick Lane, though ostensibly concerned with the origins of life, inadvertently plants seeds of thought on the precarious balance of power and energy.
Venturing into the realm of fiction, Jules Verne's "Journey to the Center of the Earth" and H.G. Wells's "The War of the Worlds" subtly hint at the unexpected interplay between seemingly incongruous elements, much like our own findings. Just as the protagonists of these novels uncover hidden connections beneath the Earth's surface and among the stars, our research seeks to unravel the enigmatic association between Democrat votes in Hawaii and electricity generation in Yemen.
In a whimsical twist, the cartoon series "The Magic School Bus" and "Phineas and Ferb," with their zany adventures and improbable scenarios, inadvertently provide obscure insights into the potential interconnections between disparate elements. While absurd on the surface, these shows manage to spark curiosity, much like the eyebrow-raising correlation we have unearthed.
While the journey through the academic literature may have initially seemed as daunting as navigating a maze with a blindfold, our findings have provided an unexpected bouquet of insights, much like stumbling upon a desert oasis. The scholars and authors have unwittingly contributed to our understanding of this fascinating conundrum, unintentionally shedding light on the potential factors underpinning this electrifying mystery.

[[RESULTS]]
The analysis of the data revealed a striking correlation between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. The correlation coefficient of 0.9102293 indicates a strong positive relationship between these seemingly unrelated variables. Furthermore, the r-squared value of 0.8285173 suggests that approximately 82.85% of the variability in one variable can be explained by the other, leaving only a little room for the unexplained, much like finding only one cookie left in the jar.
The results are visually depicted in Fig. 1, a scatterplot which vividly portrays the remarkable relationship between the two variables. It is akin to a masterpiece painting, with each data point adding to the awe-inspiring spectacle of interconnectedness.
The statistically significant p-value of less than 0.01 emphasizes the robustness of our findings, akin to discovering a rare species in an uncharted territory or finding a four-leaf clover in a field of three-leafed ones. This level of significance underscores the improbable nature of this significant relationship, tempting us to explore this unexpected correlation further, much like a scientist delving into uncharted waters of a new discovery.
The results of this analysis not only underscore the statistical significance of the relationship between Democrat votes in Hawaii and electricity generation in Yemen but also set the stage for further investigation into the potential underlying mechanisms driving this peculiar association. The findings not only raise eyebrows but also pique interest in understanding the underlying factors contributing to this electrifying mystery.
This discovery serves as a reminder that in the vast landscape of scientific inquiry, often the most unexpected connections yield the most captivating insights. As we illuminate this seemingly incongruent relationship, we invite fellow researchers to join us in the pursuit of unlocking the mysteries that lie at the intersection of political arenas and energy dynamics.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study provide strong support for the surprising correlation between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. This unexpected connection, reminiscent of finding a diamond in the rough or a needle in a haystack, not only reaffirms the previous literature's subtle hints at hidden linkages but also electrifies the academic community with its implications. Our results, striking with a force as potent as a lightning bolt, defy initial expectations, much like a physics experiment gone awry.

The juxtaposition of these seemingly disparate regions mirrors the unexpected pairing of peanut butter and jelly, where synergy arises from the unlikeliest of sources. Our correlation coefficient, gleaming like a rare gem in the scientific landscape, validates the potential intertwining of political voting patterns and energy generation dynamics. It's as if we've stumbled upon a mathematical masterpiece, wherein the variables dance in perfect harmony, like atoms in a well-ordered crystal lattice.

The statistically significant p-value, more elusive than a unicorn in the wild, bolsters the credibility of our findings and beckons researchers to engage in the exploration of this unconventional correlation. Like a Sherlock Holmes mystery, our research unveils the potential clues and connections that lie beneath the surface, captivating the imagination with the allure of discovery.

Furthermore, our r-squared value, akin to a well-executed magic trick, lays bare the extent to which these seemingly incongruous variables coalesce to reveal an astonishing narrative. The unprecedented level of explained variability resonates with the precision of a Swiss watch, leaving minimal room for unexplained phenomena, much like uncovering a scarce artifact lost to time.

While our investigation has sparked a sense of wonder and curiosity, akin to stumbling upon a scientific anomaly in a laboratory, it beckons further inquiry into the underlying mechanisms that fuel this tantalizing correlation. The unexpected association between these variables serves as a gentle reminder that in the vast expanse of data analysis, hidden connections await their moment to shine, not unlike stars in the night sky.

In conclusion, this study not only validates the historical suggestions of unlikely connections, akin to buried treasure waiting to be uncovered, but also piques interest in unravelling the enigmatic factors driving this electrifying mystery. As researchers, we stand poised at the crossroads of political landscapes and energy dynamics, ready to embark on a journey of discovery, not unlike intrepid explorers charting uncharted territories.


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 Democrat Presidential candidate in Hawaii and Electricity generation in Yemen. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen

[[ABSTRACT]]
This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

[[INTRDUCTION]]
Amidst the whirlwind of political campaigns and international energy dynamics, one might not expect a connection between the voting patterns in the aloha state of Hawaii and the electrical power situation in the land of the Queen of Sheba. However, as Mark Twain once said, "Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't." In the pursuit of unraveling the enigmatic relationship between these two seemingly disparate variables, we embarked on a statistical odyssey, hoping to shed light on this juxtaposition. As daunting as it may seem, we brazenly steered our ship through the treacherous waters of data analysis, armed with nothing but our trusty regression models and a sense of humor drier than the Sahara.
This quest for correlations led us to embark on a research expedition that would make even the most intrepid explorers quiver in their pith helmets. Our study spans four decades, from the era of floppy disks to the age of augmented reality, striving to capture the essence of the connection between Democrat votes in Hawaii and electricity generation in Yemen. Armed with datasets from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we dived headfirst into the bubbling cauldron of numerical data, eagerly anticipating the sparks that might emerge from the collision of politics and power generation.
As we delved into the labyrinth of equations and scatterplots, we were met with a surprising discovery. A correlation coefficient of 0.9102293 glimmered like a rare gem in our statistical treasure trove, beckoning us to examine it with the fascination of an entomologist studying a newly discovered species. With p-values dancing before our eyes like mischievous sprites, we couldn't help but marvel at the statistical significance, akin to finding a needle in a haystack, or a winning lottery ticket in a pile of old receipts. This extraordinary correlation served as a spark, igniting a curiosity akin to that of a physicist faced with a puzzle of quantum proportions.
With the puzzle pieces gathered and the statistical tinder ablaze, our research seeks to not only unravel this electrifying mystery but also to illuminate the potential underlying factors at play. The journey ahead may seem as daunting as navigating a labyrinth in a blackout, but armed with the beacon of science and the compass of statistical rigor, we forge ahead, determined to unravel the seemingly incongruent connection between Democrat votes in Hawaii and electricity generation in Yemen.

[[RESULTS]]
The analysis of the data revealed a striking correlation between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. The correlation coefficient of 0.9102293 indicates a strong positive relationship between these seemingly unrelated variables. Furthermore, the r-squared value of 0.8285173 suggests that approximately 82.85% of the variability in one variable can be explained by the other, leaving only a little room for the unexplained, much like finding only one cookie left in the jar.
The results are visually depicted in Fig. 1, a scatterplot which vividly portrays the remarkable relationship between the two variables. It is akin to a masterpiece painting, with each data point adding to the awe-inspiring spectacle of interconnectedness.
The statistically significant p-value of less than 0.01 emphasizes the robustness of our findings, akin to discovering a rare species in an uncharted territory or finding a four-leaf clover in a field of three-leafed ones. This level of significance underscores the improbable nature of this significant relationship, tempting us to explore this unexpected correlation further, much like a scientist delving into uncharted waters of a new discovery.
The results of this analysis not only underscore the statistical significance of the relationship between Democrat votes in Hawaii and electricity generation in Yemen but also set the stage for further investigation into the potential underlying mechanisms driving this peculiar association. The findings not only raise eyebrows but also pique interest in understanding the underlying factors contributing to this electrifying mystery.
This discovery serves as a reminder that in the vast landscape of scientific inquiry, often the most unexpected connections yield the most captivating insights. As we illuminate this seemingly incongruent relationship, we invite fellow researchers to join us in the pursuit of unlocking the mysteries that lie at the intersection of political arenas and energy dynamics.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has unveiled a remarkably strong correlation between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. The statistically significant relationship, akin to finding a unicorn in the desert or a pot of gold at the end of a statistical rainbow, has sparked both curiosity and bemusement within the scientific community. While the exact causal mechanisms behind this connection remain as elusive as a statistical anomaly in a sea of average data points, our findings offer a tantalizing glimpse into the intricacies of the global political and energy landscapes.

The exceptional correlation coefficient and r-squared value stand as a testament to the surprising unity of these disparate variables, much like discovering a jigsaw puzzle that fits together perfectly without any missing pieces. The p-value, shining like a beacon of statistical significance, beckons further investigation into the underlying factors driving this enigmatic correlation, much like uncovering a hidden treasure map in a dusty archive.

The research journey we have embarked upon has been as exhilarating as a rollercoaster ride through the twists and turns of correlation and causation, and the elucidation of this seemingly incongruent relationship has undoubtedly sparked the imagination of researchers and statisticians alike. However, in the spirit of scientific exploration, it is essential to acknowledge that no further research is needed in this area. The connection between Democrat votes in Hawaii and electricity generation in Yemen stands as a marvel of statistical curiosity, a conundrum to be pondered and appreciated, much like a quirky physics trick or a clever statistical paradox.

With this, we would like to bid adieu to this fruitful odyssey of statistical discovery and encourage our fellow researchers to delve into other equally quirky and fascinating relationships waiting to be unearthed in the vast expanse of scientific inquiry. As we close this chapter, we do so with the hope that our findings will ignite further interest in the unexpected and the bizarre within the realms of statistical analysis and data exploration, fostering both rigorous investigation and a healthy dose of scientific curiosity.


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 Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Geopolitical Energies and Electoral Curiosities


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 Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Transnational Electoral Analysis and Renewable Energy Research


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 Democratic Dilemma: Discovering the Dubious Connection Between Democrat Votes in Hawaii and Electricity Generation in Yemen with an abstract of This paper presents a comprehensive analysis of the intriguing relationship between votes for the Democrat presidential candidate in Hawaii and electricity generation in Yemen. Through rigorous data collection from MIT Election Data and Science Lab, Harvard Dataverse, and Energy Information Administration, a surprising correlation coefficient of 0.9102293 and p < 0.01 was uncovered for the years spanning 1980 to 2020. The findings not only shed light on the interconnectedness of seemingly disparate phenomena but also ignite a spark of curiosity regarding the potential underlying factors contributing to this extraordinary correlation. While the juxtaposition of these regions may initially appear as incongruent as a volcano in the desert, our research strives to unravel this seemingly electrifying mystery.

ChatGPT:

Democrat votes, Hawaii, electricity generation, Yemen, correlation coefficient, MIT Election Data and Science Lab, Harvard Dataverse, Energy Information Administration

*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 Democratic Presidential candidate in Hawaii
Detailed data title: Percentage of all votes cast for the Democrat Presidential candidate in Hawaii
Source: MIT Election Data and Science Lab, Harvard Dataverse
See what else correlates with Votes for the Democratic Presidential candidate in Hawaii

Electricity generation in Yemen
Detailed data title: Total electricity generation in Yemen in billion kWh
Source: Energy Information Administration
See what else correlates with Electricity generation in Yemen

Correlation r = 0.9102293 (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.8285173 (Coefficient of determination)
This means 82.9% of the change in the one variable (i.e., Electricity generation in Yemen) is predictable based on the change in the other (i.e., Votes for the Democratic Presidential candidate in Hawaii) over the 11 years from 1980 through 2020.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.0001. 0.0000999408447646698000000000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.91 in 0.01% of random cases. Said differently, if you correlated 10,006 random variables Which I absolutely did.
with the same 10 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 10 because we have two variables measured over a period of 11 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.68, 0.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.
19801984198819921996200020042008201220162020
Votes for the Democratic Presidential candidate in Hawaii (Percentage of votes)44.802143.815954.269448.092856.928855.791754.009671.452970.147960.980863.1494
Electricity generation in Yemen (Billion kWh)0.4710.8181.5651.8362.1943.2084.1036.153246.651624.519423.23725




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.
  4. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([44.8021,43.8159,54.2694,48.0928,56.9288,55.7917,54.0096,71.4529,70.1479,60.9808,63.1494,])
array_2 = np.array([0.471,0.818,1.565,1.836,2.194,3.208,4.103,6.15324,6.65162,4.51942,3.23725,])
array_1_name = "Votes for the Democratic Presidential candidate in Hawaii"
array_2_name = "Electricity generation in Yemen"

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

You're a rater extraordinaire!


Correlation ID: 5814 · Black Variable ID: 26082 · Red Variable ID: 24104
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0