about · email me · subscribe
Spurious correlation #5,779 · 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 Republican Senators in Maryland and the second variable is Petroluem consumption in Finland.  The chart goes from 1980 to 2018, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As Republican votes for Senators in Maryland decreased, there was a corresponding decrease in hot air production, leading to slightly cooler temperatures in Finland. This, in turn, reduced the demand for heating oil, ultimately causing a decrease in Petroleum consumption in Finland. It seems the political climate change had a surprising ripple effect on the actual climate!

Model: dalle-3
Prompt: Image Generation Prompt: Generate an image that depicts a scene where hot air balloons are floating in the sky above Maryland, USA, with some of them gradually losing height and cooling down. Meanwhile, in Finland, portray a few petrol pumps standing idle, with the surrounding area feeling cooler. The image should evoke a sense of political and environmental change affecting the atmosphere and the demand for petroleum products. 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 Republican Senators in Maryland and Petroluem consumption in Finland. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: Art nouveau A Discovery magazine cover image Magic realism Data cyber art 3D Pixar Style
ChatGPT: A Discovery magazine cover image

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Votes for Republican Senators in Maryland and Petroluem consumption in Finland, in the following situation: As Republican votes for Senators in Maryland decreased, there was a corresponding decrease in hot air production, leading to slightly cooler temperatures in Finland. This, in turn, reduced the demand for heating oil, ultimately causing a decrease in Petroleum consumption in Finland. It seems the political climate change had a surprising ripple effect on the actual climate!. Keep the description simple.
ChatGPT: In Maryland, the number of Republican votes for Senators decreased, leading to fewer hot air balloons floating in the sky. As a result, the air around them cooled slightly. Meanwhile, in Finland, fewer homes needed heating as the temperature dropped, leading to less demand for heating oil. As a result, fewer petrol pumps were being used. The political change seemed to have cooled the air and reduced the demand for petroleum in Finland.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A Discovery magazine cover image ] and depicting this scene: In Maryland, the number of Republican votes for Senators decreased, leading to fewer hot air balloons floating in the sky. As a result, the air around them cooled slightly. Meanwhile, in Finland, fewer homes needed heating as the temperature dropped, leading to less demand for heating oil. As a result, fewer petrol pumps were being used. The political change seemed to have cooled the air and reduced the demand for petroleum in Finland. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Image Generation Prompt: Generate an image that depicts a scene where hot air balloons are floating in the sky above Maryland, USA, with some of them gradually losing height and cooling down. Meanwhile, in Finland, portray a few petrol pumps standing idle, with the surrounding area feeling cooler. The image should evoke a sense of political and environmental change affecting the atmosphere and the demand for petroleum products.

*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 a decrease in Republican votes for Senators in Maryland caused Petroluem consumption in Finland to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption

Journal of Quirky Cross-Cultural Connections

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title seem clever.

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.8745596 and p < 0.01 for 1980 to 2018.

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]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intersection of political ideology and energy consumption has long been a subject of intrigue and curiosity. In this study, we embark on a unique exploration of the relationship between a seemingly incongruous pair: the Republican votes for Senators in Maryland and the consumption of petroleum in Finland. While this connection may initially appear as disconnected as a Finnish reindeer herder and a crab feast in Chesapeake Bay, our analysis seeks to unravel the unexpected bond between political preferences in a specific U.S. state and the demand for petroleum in a Nordic country renowned for its saunas and scenic landscapes.

The rationale behind this investigation stems from a desire to probe the potential ripple effects of political decisions on global economic dynamics. As we delve into the statistical underpinnings of this bizarre relationship, we aim to provoke a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns. Through a rigorous quantitative analysis, we endeavor to uncover underlying patterns that may defy conventional wisdom and challenge our preconceptions.

It is vital to note that the data utilized in this study has been meticulously sourced from esteemed repositories including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. The expanse of data covering the period from 1980 to 2018 presents a treasure trove of information ripe for exploration, offering a lens through which to peer into the terrains of political shifts and energy transitions. Our findings, though unexpected, may hold profound implications for understanding the intricate dance between political choices and international energy dynamics.

The primary objective of this inquiry is to shed light on a peculiar correlation that has remained lurking beneath the surface, waiting to be unearthed. As we venture into this enigmatic realm, we invite the reader to join us in this academic escapade, where the unexpected awaits and the mundane is cast into a whimsical light.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. 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. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of political ideology and energy consumption has long been a subject of intrigue and curiosity. In this study, we embark on a unique exploration of the relationship between a seemingly incongruous pair: the Republican votes for Senators in Maryland and the consumption of petroleum in Finland. While this connection may initially appear as disconnected as a Finnish reindeer herder and a crab feast in Chesapeake Bay, our analysis seeks to unravel the unexpected bond between political preferences in a specific U.S. state and the demand for petroleum in a Nordic country renowned for its saunas and scenic landscapes.
The rationale behind this investigation stems from a desire to probe the potential ripple effects of political decisions on global economic dynamics. As we delve into the statistical underpinnings of this bizarre relationship, we aim to provoke a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns. Through a rigorous quantitative analysis, we endeavor to uncover underlying patterns that may defy conventional wisdom and challenge our preconceptions.
It is vital to note that the data utilized in this study has been meticulously sourced from esteemed repositories including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. The expanse of data covering the period from 1980 to 2018 presents a treasure trove of information ripe for exploration, offering a lens through which to peer into the terrains of political shifts and energy transitions. Our findings, though unexpected, may hold profound implications for understanding the intricate dance between political choices and international energy dynamics.
The primary objective of this inquiry is to shed light on a peculiar correlation that has remained lurking beneath the surface, waiting to be unearthed. As we venture into this enigmatic realm, we invite the reader to join us in this academic escapade, where the unexpected awaits and the mundane is cast into a whimsical light.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The investigation of seemingly unrelated phenomena has long captivated scholars across disciplines, prompting a quest for illuminating connections in the most unassuming of places. In the pursuit of understanding the curious correlation between Republican votes for Senators in Maryland and the consumption of petroleum in Finland, researchers have delved into a mosaic of scholarly works ranging from political studies to energy economics.

Smith (2005) explores the intricate web of political preferences and their impact on international economic patterns, laying the groundwork for our investigation into the peculiar linkage between political landscapes and energy dynamics. Meanwhile, Doe and Jones (2010) provide nuanced insights into energy consumption behaviors, offering a lens through which to scrutinize the consumption habits of petroleum in regions far and wide. These seminal works, while illuminating, merely hint at the unexpected journey that lies ahead as we unravel the entwined destinies of Maryland's political leanings and Finland's petrol pursuits.

Turning to the realm of non-fiction literature, "The Energy Politics of Finland" by Anderson (2017) and "Maryland's Political Evolution: A Historical Analysis" by Brown (2019) offer invaluable contextual underpinnings for our exploration. However, it is within the pages of fictional narratives that we may find unexpected inspiration. The dystopian landscapes of "The Hunger Games" by Suzanne Collins and the geopolitical intrigues of "The Girl with the Dragon Tattoo" by Stieg Larsson beckon us to ponder the interplay between societal dynamics and individual choices, much like the intricate dance between political shifts in Maryland and petroleum consumption in Finland.

In a whimsical twist of scholarly contemplation, the board game "Power Grid" offers a playful allegory for the intricate balancing act between political power play and energy supply, urging us to ponder the interwoven fate of political choices and energy realities. As we journey through this literary kaleidoscope, the unexpected connections and improbable parallels between Republican votes and Finnish petroleum consumption emerge as a testament to the whimsy woven into the tapestry of academic inquiry.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

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]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

[[INTRODUCTION]]
The intersection of political ideology and energy consumption has long been a subject of intrigue and curiosity. In this study, we embark on a unique exploration of the relationship between a seemingly incongruous pair: the Republican votes for Senators in Maryland and the consumption of petroleum in Finland. While this connection may initially appear as disconnected as a Finnish reindeer herder and a crab feast in Chesapeake Bay, our analysis seeks to unravel the unexpected bond between political preferences in a specific U.S. state and the demand for petroleum in a Nordic country renowned for its saunas and scenic landscapes.
The rationale behind this investigation stems from a desire to probe the potential ripple effects of political decisions on global economic dynamics. As we delve into the statistical underpinnings of this bizarre relationship, we aim to provoke a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns. Through a rigorous quantitative analysis, we endeavor to uncover underlying patterns that may defy conventional wisdom and challenge our preconceptions.
It is vital to note that the data utilized in this study has been meticulously sourced from esteemed repositories including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. The expanse of data covering the period from 1980 to 2018 presents a treasure trove of information ripe for exploration, offering a lens through which to peer into the terrains of political shifts and energy transitions. Our findings, though unexpected, may hold profound implications for understanding the intricate dance between political choices and international energy dynamics.
The primary objective of this inquiry is to shed light on a peculiar correlation that has remained lurking beneath the surface, waiting to be unearthed. As we venture into this enigmatic realm, we invite the reader to join us in this academic escapade, where the unexpected awaits and the mundane is cast into a whimsical light.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To embark on this puzzling journey of unraveling the tangled web between Republican votes for Senators in Maryland and petroleum consumption in Finland, a methodological approach of cosmic proportions was employed. Our research team, armed with a keen sense of academic adventure, delved into the intricate concoction of data mining and statistical alchemy to extract meaningful insights from the depths of seemingly incongruous datasets.

Firstly, data on Republican votes for Senators in Maryland was meticulously harvested from the prestigious bounty of the MIT Election Data and Science Lab. Our intrepid explorers scoured the electoral archives with the tenacity of a treasure hunt, unearthing a wealth of historical voting records dating back to 1980. This trove of political preferences formed the cornerstone of our investigation into the peculiar dance of democracy and its potential ramifications on energy dynamics in distant lands.

In tandem, the consumption of petroleum in Finland was captured from the illustrious Harvard Dataverse, where datasets glistened like the Northern Lights on a clear Arctic night. Embracing the spirit of interdisciplinary enchantment, our researchers seamlessly merged these diverse datasets with the finesse of an astrophysicist charting celestial constellations, creating a grand tapestry of interconnected information.

To ensure the robustness of our findings, a rhapsody of statistical analyses was performed with the precision of a virtuoso orchestrating a symphony. Correlation coefficients were calculated with the meticulousness of a master clockmaker, and p-values were scrutinized with the discerning eye of a sommelier assessing a fine vintage. The symbiosis of these statistical measures unearthed a tantalizing correlation coefficient of 0.8745596 and a p-value that gleamed like a rare gem, standing at less than 0.01.

Furthermore, in a gesture of cosmic benevolence, the Energy Information Administration imparted unto us the gift of historical petroleum consumption data, offering a telescopic view into the flux and flow of energy demand in the northern frontiers of Finland. This vantage point allowed us to peer through the looking glass of time and trace the undulating patterns of petroleum consumption from 1980 to 2018, akin to unraveling the enigmatic threads of a mythical tapestry.

In conclusion, our methodology, much like a celestial ballet of data fusion and statistical revelation, laid the groundwork for uncovering the unexpected affinity between political choices in Maryland and the consumption of petroleum in Finland. The meticulous assembly of data from esteemed repositories and the orchestration of statistical analyses have endowed our findings with a robustness that transcends the bounds of mundane inquiry. As we navigate the uncharted territories of this unforeseen correlation, we invite the reader to embark on this whimsical odyssey of academic discovery, where the improbable thrives and the conventional is cast askew.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

For the time period 1980 to 2018, you found a correlation 0.8745596, r-squared of 0.7648545, 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]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of political ideology and energy consumption has long been a subject of intrigue and curiosity. In this study, we embark on a unique exploration of the relationship between a seemingly incongruous pair: the Republican votes for Senators in Maryland and the consumption of petroleum in Finland. While this connection may initially appear as disconnected as a Finnish reindeer herder and a crab feast in Chesapeake Bay, our analysis seeks to unravel the unexpected bond between political preferences in a specific U.S. state and the demand for petroleum in a Nordic country renowned for its saunas and scenic landscapes.
The rationale behind this investigation stems from a desire to probe the potential ripple effects of political decisions on global economic dynamics. As we delve into the statistical underpinnings of this bizarre relationship, we aim to provoke a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns. Through a rigorous quantitative analysis, we endeavor to uncover underlying patterns that may defy conventional wisdom and challenge our preconceptions.
It is vital to note that the data utilized in this study has been meticulously sourced from esteemed repositories including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. The expanse of data covering the period from 1980 to 2018 presents a treasure trove of information ripe for exploration, offering a lens through which to peer into the terrains of political shifts and energy transitions. Our findings, though unexpected, may hold profound implications for understanding the intricate dance between political choices and international energy dynamics.
The primary objective of this inquiry is to shed light on a peculiar correlation that has remained lurking beneath the surface, waiting to be unearthed. As we venture into this enigmatic realm, we invite the reader to join us in this academic escapade, where the unexpected awaits and the mundane is cast into a whimsical light.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The investigation into the link between Republican votes for Senators in Maryland and the consumption of petroleum in Finland yielded a remarkably strong correlation coefficient of 0.8745596, indicating a robust relationship between these seemingly unrelated variables. Furthermore, the coefficient of determination (r-squared) of 0.7648545 underscores the substantial proportion of variance in Finnish petroleum consumption that can be explained by variations in Republican votes for Senators in Maryland. These findings were accompanied by a statistically significant p-value of less than 0.01, adding further weight to the observed association.

The scatterplot (Fig. 1) visually depicts the compelling correlation between the two variables, serving as a testament to the unexpected connection that emerged from our analysis. Each data point on the plot seems to whisper a tale of political inclinations mingling with the aromatic essence of Finnish petroleum, encapsulating the enigmatic nature of this peculiar relationship.

The magnitude of the correlation uncovered in this study may prompt some to wonder if there are unseen forces at play, guiding the hand of political preference in Maryland to resonate across the oceans and impact the demand for petroleum in distant Finnish lands. While such musings may seem whimsical, the robust statistical evidence indicates that this correlation is not to be dismissed lightly, prompting a reconsideration of the ostensibly disparate spheres of political choices and international energy dynamics.

These findings pose a puzzle worthy of interdisciplinary scrutiny, challenging researchers to contemplate the intricate interplay between political landscape and energy usage patterns. Further research is undoubtedly warranted to probe the mechanisms underpinning this unanticipated relationship and to explore its broader implications.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

[[LITERATURE REVIEW]]
The investigation of seemingly unrelated phenomena has long captivated scholars across disciplines, prompting a quest for illuminating connections in the most unassuming of places. In the pursuit of understanding the curious correlation between Republican votes for Senators in Maryland and the consumption of petroleum in Finland, researchers have delved into a mosaic of scholarly works ranging from political studies to energy economics.
Smith (2005) explores the intricate web of political preferences and their impact on international economic patterns, laying the groundwork for our investigation into the peculiar linkage between political landscapes and energy dynamics. Meanwhile, Doe and Jones (2010) provide nuanced insights into energy consumption behaviors, offering a lens through which to scrutinize the consumption habits of petroleum in regions far and wide. These seminal works, while illuminating, merely hint at the unexpected journey that lies ahead as we unravel the entwined destinies of Maryland's political leanings and Finland's petrol pursuits.
Turning to the realm of non-fiction literature, "The Energy Politics of Finland" by Anderson (2017) and "Maryland's Political Evolution: A Historical Analysis" by Brown (2019) offer invaluable contextual underpinnings for our exploration. However, it is within the pages of fictional narratives that we may find unexpected inspiration. The dystopian landscapes of "The Hunger Games" by Suzanne Collins and the geopolitical intrigues of "The Girl with the Dragon Tattoo" by Stieg Larsson beckon us to ponder the interplay between societal dynamics and individual choices, much like the intricate dance between political shifts in Maryland and petroleum consumption in Finland.
In a whimsical twist of scholarly contemplation, the board game "Power Grid" offers a playful allegory for the intricate balancing act between political power play and energy supply, urging us to ponder the interwoven fate of political choices and energy realities. As we journey through this literary kaleidoscope, the unexpected connections and improbable parallels between Republican votes and Finnish petroleum consumption emerge as a testament to the whimsy woven into the tapestry of academic inquiry.

[[RESULTS]]
The investigation into the link between Republican votes for Senators in Maryland and the consumption of petroleum in Finland yielded a remarkably strong correlation coefficient of 0.8745596, indicating a robust relationship between these seemingly unrelated variables. Furthermore, the coefficient of determination (r-squared) of 0.7648545 underscores the substantial proportion of variance in Finnish petroleum consumption that can be explained by variations in Republican votes for Senators in Maryland. These findings were accompanied by a statistically significant p-value of less than 0.01, adding further weight to the observed association.
The scatterplot (Fig. 1) visually depicts the compelling correlation between the two variables, serving as a testament to the unexpected connection that emerged from our analysis. Each data point on the plot seems to whisper a tale of political inclinations mingling with the aromatic essence of Finnish petroleum, encapsulating the enigmatic nature of this peculiar relationship.
The magnitude of the correlation uncovered in this study may prompt some to wonder if there are unseen forces at play, guiding the hand of political preference in Maryland to resonate across the oceans and impact the demand for petroleum in distant Finnish lands. While such musings may seem whimsical, the robust statistical evidence indicates that this correlation is not to be dismissed lightly, prompting a reconsideration of the ostensibly disparate spheres of political choices and international energy dynamics.
These findings pose a puzzle worthy of interdisciplinary scrutiny, challenging researchers to contemplate the intricate interplay between political landscape and energy usage patterns. Further research is undoubtedly warranted to probe the mechanisms underpinning this unanticipated relationship and to explore its broader implications.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study have opened a veritable Pandora's box of intriguing possibilities, shedding light on the seemingly fateful connection between Republican votes for Senators in Maryland and the consumption of petroleum in Finland. The robust correlation coefficient we uncovered not only corroborates the whimsical inklings of prior literature but also invites a delightfully perplexing journey into the intricacies of these seemingly disparate realms.

Who would have thought that Maryland's political leanings could cast ripples across the oceans, influencing the demand for petroleum in the distant Nordic land? The correlation coefficient of 0.8745596 stands as a testament to the eye-opening association between these variables, defying conventional expectations with a mischievous twist that warrants further contemplation. It seems that the allure of uncovering unexpected relationships extends even to the world of academic inquiry, where the whimsy of statistical analysis meets the gravity of intercontinental intrigue.

Our findings harmonize with the musings of Smith (2005), who hinted at the intricate dance between political preferences and international economic patterns. Even the seemingly far-fetched board game "Power Grid" appears less of a lighthearted pastime and more of a prophetic symbol of the delicate balance between political power play and energy supply. Meanwhile, let us not underestimate the enlightening insights that can be gleaned from the pages of popular fiction. Could it be that the dystopian landscapes of "The Hunger Games" offer a subtle commentary on the hidden ties between political shifts and energy consumption, evoking the very essence of our unexpected discovery?

In a world where the unexpected beckons at every turn, our study has unveiled a correlation that defies the confines of conventional wisdom. The scatterplot, akin to a mischievous whisperer of arcane secrets, visually encapsulates the enigmatic nature of this peculiar relationship, inviting further scrutiny into the invisible hand shaping international energy dynamics.

This unanticipated linkage between political choices and energy realities presents a riddle that transcends disciplinary boundaries, tantalizing researchers with the promise of untold revelations. While the contemplation of unseen forces may evoke whimsical reveries, the statistical rigor of our findings underscores the earnest pursuit of unraveling the unexpected. As we stand at the cusp of interdisciplinary inquiry, the interwoven fate of political landscapes and energy usage patterns beckons us to embark on a captivating journey through the unexplored terrain of academic inquiry.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Republican votes for Senators in Maryland and Petroluem consumption in Finland. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption"

[[ABSTRACT]]
This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

[[INTRDUCTION]]
The intersection of political ideology and energy consumption has long been a subject of intrigue and curiosity. In this study, we embark on a unique exploration of the relationship between a seemingly incongruous pair: the Republican votes for Senators in Maryland and the consumption of petroleum in Finland. While this connection may initially appear as disconnected as a Finnish reindeer herder and a crab feast in Chesapeake Bay, our analysis seeks to unravel the unexpected bond between political preferences in a specific U.S. state and the demand for petroleum in a Nordic country renowned for its saunas and scenic landscapes.
The rationale behind this investigation stems from a desire to probe the potential ripple effects of political decisions on global economic dynamics. As we delve into the statistical underpinnings of this bizarre relationship, we aim to provoke a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns. Through a rigorous quantitative analysis, we endeavor to uncover underlying patterns that may defy conventional wisdom and challenge our preconceptions.
It is vital to note that the data utilized in this study has been meticulously sourced from esteemed repositories including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. The expanse of data covering the period from 1980 to 2018 presents a treasure trove of information ripe for exploration, offering a lens through which to peer into the terrains of political shifts and energy transitions. Our findings, though unexpected, may hold profound implications for understanding the intricate dance between political choices and international energy dynamics.
The primary objective of this inquiry is to shed light on a peculiar correlation that has remained lurking beneath the surface, waiting to be unearthed. As we venture into this enigmatic realm, we invite the reader to join us in this academic escapade, where the unexpected awaits and the mundane is cast into a whimsical light.

[[RESULTS]]
The investigation into the link between Republican votes for Senators in Maryland and the consumption of petroleum in Finland yielded a remarkably strong correlation coefficient of 0.8745596, indicating a robust relationship between these seemingly unrelated variables. Furthermore, the coefficient of determination (r-squared) of 0.7648545 underscores the substantial proportion of variance in Finnish petroleum consumption that can be explained by variations in Republican votes for Senators in Maryland. These findings were accompanied by a statistically significant p-value of less than 0.01, adding further weight to the observed association.
The scatterplot (Fig. 1) visually depicts the compelling correlation between the two variables, serving as a testament to the unexpected connection that emerged from our analysis. Each data point on the plot seems to whisper a tale of political inclinations mingling with the aromatic essence of Finnish petroleum, encapsulating the enigmatic nature of this peculiar relationship.
The magnitude of the correlation uncovered in this study may prompt some to wonder if there are unseen forces at play, guiding the hand of political preference in Maryland to resonate across the oceans and impact the demand for petroleum in distant Finnish lands. While such musings may seem whimsical, the robust statistical evidence indicates that this correlation is not to be dismissed lightly, prompting a reconsideration of the ostensibly disparate spheres of political choices and international energy dynamics.
These findings pose a puzzle worthy of interdisciplinary scrutiny, challenging researchers to contemplate the intricate interplay between political landscape and energy usage patterns. Further research is undoubtedly warranted to probe the mechanisms underpinning this unanticipated relationship and to explore its broader implications.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study unearths a compelling correlation between Republican votes for Senators in Maryland and the consumption of petroleum in Finland, revealing a surprising intercontinental connection that defies traditional expectations. The robust correlation coefficient of 0.8745596, coupled with the statistically significant p-value, provides empirical evidence of this unlikely relationship. While the whimsical nature of this association may seem reminiscent of a tall tale, the data speaks for itself, urging a reconsideration of the seemingly unrelated realms of political choices and international energy dynamics.

The implications of these findings extend beyond the statistical realm, resonating with an undercurrent of intrigue that invites further exploration. As we reflect on the implications of Maryland's political landscape stretching its influence to impact the demand for petroleum in Finnish saunas and beyond, our minds are drawn to contemplate the unseen forces at play in the global economic arena. While our analysis has shed light on this unexpected correlation, it also leaves us pondering the whimsical dance of political whims and energy transitions.

Ultimately, this research opens a Pandora's box of possibilities, challenging us to peer beneath the surface of seemingly disparate domains and uncover the underlying threads that weave them together. As we conclude this academic escapade, we are left with a sense of wonder at the unexpected connections that emerge from rigorous statistical analysis. However, in the interest of maintaining scholarly balance, we assert that, for now, no further research is needed in this particular area. After all, some enigmas are best left to tickle the academic imagination.


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 From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Quirky Cross-Cultural Connections


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 From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Interdisciplinary Studies on Global Energy Exchange and Political Decision-making (SIGEED)


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 From Republicans to Petrol: Unraveling the Surprising Link Between Maryland Senatorial Votes and Finnish Petroleum Consumption with an abstract of This study delves into the seemingly disparate realms of political preferences in the state of Maryland and the consumption habits of petroleum in Finland. Utilizing data from esteemed sources including the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we set out to investigate the potential relationship between Republican votes for Senators in Maryland and the consumption of petroleum in Finland during the period of 1980 to 2018. Our findings reveal a striking correlation coefficient of 0.8745596 and a significant p-value of less than 0.01. The implications of this connection, though unexpected, may shed light on the interplay between political choices and international energy dynamics. This research challenges conventional wisdom and invites a whimsical reconsideration of the apparent unrelatedness of political landscapes and energy usage patterns.

ChatGPT:

Maryland senatorial votes, Finnish petroleum consumption, Republican votes, Maryland political preferences, petroleum consumption patterns, energy dynamics, correlation between political choices and energy usage, MIT Election Data and Science Lab, Harvard Dataverse, Energy Information Administration, political landscapes, international energy dynamics, correlation coefficient, p-value.

*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 Republican Senators in Maryland
Detailed data title: Percentage of votes cast for Federal Republican Senate candidates in Maryland
Source: MIT Election Data and Science Lab, Harvard Dataverse
See what else correlates with Votes for Republican Senators in Maryland

Petroluem consumption in Finland
Detailed data title: Volume of petroluem consumption consumed in Finland in millions of barrels per day
Source: Energy Information Administration
See what else correlates with Petroluem consumption in Finland

Correlation r = 0.8745596 (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.7648545 (Coefficient of determination)
This means 76.5% of the change in the one variable (i.e., Petroluem consumption in Finland) is predictable based on the change in the other (i.e., Votes for Republican Senators in Maryland) over the 14 years from 1980 through 2018.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 4.3E-5. 0.0000426989726141207560000000
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.87 in 0.0043% of random cases. Said differently, if you correlated 23,420 random variables You don't actually need 23 thousand variables to find a correlation like this one. 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.

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 13 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 13 because we have two variables measured over a period of 14 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.64, 0.96 ] 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.
19801982198619881992199419982000200420062010201220162018
Votes for Republican Senators in Maryland (Percentage of votes)66.167336.542439.31338.188828.984340.89629.49636.734233.724344.195435.753426.328535.674830.3065
Petroluem consumption in Finland (Million Barrels/Day)270.5221223.036230.395227.893222.951214.041212.683221.38223.427212.622197.667208.396208.49




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([66.1673,36.5424,39.313,38.1888,28.9843,40.896,29.496,36.7342,33.7243,44.1954,35.7534,26.3285,35.6748,30.3065,])
array_2 = np.array([270.5,221,223.036,230.395,227.893,222.951,214.041,212.683,221.38,223.427,212.622,197.667,208.396,208.49,])
array_1_name = "Votes for Republican Senators in Maryland"
array_2_name = "Petroluem consumption in Finland"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating is much appreciated!


Correlation ID: 5779 · Black Variable ID: 26400 · Red Variable ID: 24415
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0