about · email me · subscribe
Spurious correlation #5,350 · 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 Libertarian Senators in California and the second variable is Jet fuel used in Armenia.  The chart goes from 1992 to 2010, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the saying goes, as California Libertarians went low, so did the Armenian jets! It seems that as the political winds shifted in California, they also managed to reduce the fuel for literal flights of fancy in Armenia. Perhaps it's all about the 'air' of influence - when it comes to libertarian votes in California, it's like they say, "as the ballot goes, so goes the aerosol!"

Model: dalle-3
Prompt: Generate an image that captures the humor of a Californian ballot counting room, where a group of people is casting libertarian votes and tallying the numbers. Outside the window, portray Armenian jets refueling on a tarmac. It should be evident that the scenes are connected, as the political shift in California affects the fueling of the jets in Armenia. Depict this moment in a style representative of a humorous Reddit post, creating an image that could incite a chuckle or raise an eyebrow from viewers. 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 Libertarian Senators in California and Jet fuel used in Armenia. 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: Low poly Art nouveau Charcoal Minimalism a funny image you would see on reddit
ChatGPT: a funny image you would see on reddit

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 Libertarian Senators in California and Jet fuel used in Armenia, in the following situation: As the saying goes, as California Libertarians went low, so did the Armenian jets! It seems that as the political winds shifted in California, they also managed to reduce the fuel for literal flights of fancy in Armenia. Perhaps it's all about the 'air' of influence - when it comes to libertarian votes in California, it's like they say, "as the ballot goes, so goes the aerosol!". Keep the description simple.
ChatGPT: In a Californian ballot counting room, a group of people are casting libertarian votes and tallying the numbers, while outside the window, Armenian jets are refueling on a tarmac. The scenes are connected, as the political shift in California affects the fueling of the jets in Armenia.

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 funny image you would see on reddit ] and depicting this scene: In a Californian ballot counting room, a group of people are casting libertarian votes and tallying the numbers, while outside the window, Armenian jets are refueling on a tarmac. The scenes are connected, as the political shift in California affects the fueling of the jets in Armenia. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image that captures the humor of a Californian ballot counting room, where a group of people is casting libertarian votes and tallying the numbers. Outside the window, portray Armenian jets refueling on a tarmac. It should be evident that the scenes are connected, as the political shift in California affects the fueling of the jets in Armenia. Depict this moment in a style representative of a humorous Reddit post, creating an image that could incite a chuckle or raise an eyebrow from viewers.

*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 Libertarian votes for Senators in California caused Jet fuel used in Armenia to decrease. Include one good pun.

AI academic paper

(Because p < 0.01)
California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel

The Journal of Quirky Political Economics

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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of jokes, goofy observations, and puns.

Include a pun in the title.

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.9702640 and p < 0.01 for 1992 to 2010.

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]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.


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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Ah, the whimsical and often confounding world of statistical analysis has once again bestowed upon us a peculiar puzzle to unravel. In this study, we embark on an exhilarating journey to explore the hitherto uncharted territory of the relationship between the voting behaviors of Libertarian senators in California and the rather unexpected association with the jet fuel consumption in far-off Armenian lands. As we brace ourselves for this enthralling intellectual escapade, fasten your seatbelts and prepare for a turbulence of statistics, political proclivities, and petroleum paradoxes that will leave even the most astute researchers marveling at the audacious intersection of seemingly disparate domains.

In this quest to discern the intricate connection between seemingly unrelated variables, we harness the power of data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. Through diligent and inquisitive examination, we stumbled upon a correlation coefficient of 0.9702640, an impressive statistical achievement that defies conventional wisdom and beckons us to peer deeper into this enigmatic correlation. Furthermore, with a p-value of less than 0.01, our findings soar to new heights of significance, affirming the gravity-defying nature of the relationship under scrutiny.

Our tale unfurls from the early 1990s to the year 2010, as we chart the trajectories of Libertarian votes in the Golden State and the jet-setting proclivities of Armenian fuel consumption. Indeed, the improbable alignment of these seemingly disparate elements provides the perfect storm for our research team to embark on an audacious academic expedition, as we seek to decipher the cryptic symphony of political preferences and petroleum predilections that has heretofore eluded scrutiny.

As we traverse this uncharted flight path of statistical inquiry, the alluring allure of paradoxes and conundrums permeates our scholarly endeavors. Join us as we navigate through this multidimensional labyrinth of data, a maze that promises to unravel the mystifying relationship between the legislative inclinations of Californian Libertarians and the unanticipated ballet of jet fuel usage in the distant, exotic land of Armenia. Prepare for a journey that defies convention, as we delve into the unexpected nexus of political whims and global fuel dynamics, a saga that promises to leave our esteemed colleagues astounded and perplexed in equal measure.


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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of 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 cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Ah, the whimsical and often confounding world of statistical analysis has once again bestowed upon us a peculiar puzzle to unravel. In this study, we embark on an exhilarating journey to explore the hitherto uncharted territory of the relationship between the voting behaviors of Libertarian senators in California and the rather unexpected association with the jet fuel consumption in far-off Armenian lands. As we brace ourselves for this enthralling intellectual escapade, fasten your seatbelts and prepare for a turbulence of statistics, political proclivities, and petroleum paradoxes that will leave even the most astute researchers marveling at the audacious intersection of seemingly disparate domains.
In this quest to discern the intricate connection between seemingly unrelated variables, we harness the power of data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. Through diligent and inquisitive examination, we stumbled upon a correlation coefficient of 0.9702640, an impressive statistical achievement that defies conventional wisdom and beckons us to peer deeper into this enigmatic correlation. Furthermore, with a p-value of less than 0.01, our findings soar to new heights of significance, affirming the gravity-defying nature of the relationship under scrutiny.
Our tale unfurls from the early 1990s to the year 2010, as we chart the trajectories of Libertarian votes in the Golden State and the jet-setting proclivities of Armenian fuel consumption. Indeed, the improbable alignment of these seemingly disparate elements provides the perfect storm for our research team to embark on an audacious academic expedition, as we seek to decipher the cryptic symphony of political preferences and petroleum predilections that has heretofore eluded scrutiny.
As we traverse this uncharted flight path of statistical inquiry, the alluring allure of paradoxes and conundrums permeates our scholarly endeavors. Join us as we navigate through this multidimensional labyrinth of data, a maze that promises to unravel the mystifying relationship between the legislative inclinations of Californian Libertarians and the unanticipated ballet of jet fuel usage in the distant, exotic land of Armenia. Prepare for a journey that defies convention, as we delve into the unexpected nexus of political whims and global fuel dynamics, a saga that promises to leave our esteemed colleagues astounded and perplexed in equal measure.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith et al. (2005)," the authors find a compelling association between political ideology and consumer behavior, setting the stage for our examination of the perplexing connection between the voting patterns of Libertarian senators in California and the consumption of jet fuel in Armenia. As we venture deeper into this unexplored realm, the data from "Doe and Jones (2012)" beckons us to consider the interplay between individualistic political leanings and exotic fuel consumption patterns, culminating in a swirling concoction of statistical intrigue and geopolitical whimsy.

Venturing beyond the boundaries of traditional scholarly inquiry, we embark on a daring exploration of the intersection between petroleum economics and political proclivities. Drawing inspiration from Nichols and Maxwell's "Jetting Across the Globe: A Compendium of Fuel Consumption Patterns in Unlikely Places" and Greenberg's "Libertarian Preferences in a World of High-Flying Opinions," our insight into the unconventional relationship at hand becomes both illuminated and enigmatic. The entanglement of statistical probabilities with geopolitical idiosyncrasies challenges the very fabric of our scholarly preconceptions, propelling us into a waltz of intellectual exhilaration and far-flung curiosity.

The fanciful inquiry into the esoteric world of electoral whims and airborne fuel dynamics extends beyond the confines of academic tomes and scholarly treatises. In J.K. Rowling's "The Jet-Set Agenda: Magical Intrigue in the Skies of Armenia," the whimsical wizarding tale encapsulates the essence of our research endeavor, blending the surreal essence of political preference with the fantastical allure of mysterious jet fuel consumption. Furthermore, the unfolding saga of intrigue and whimsy finds resonance in Agatha Christie's "Murder on the Libertarian Express," as the enigmatic correlation between Californian political choices and distant fuel consumption takes center stage in a gripping tale of statistical deduction and geopolitical tomfoolery.

In the digital landscape, whispers of intrigue and speculation reverberate through the corridors of social media. A tweet by @StatisticalSorcerer muses, "Are Californian Libertarians fueling Armenia's aspirations with their votes? #ConspiracyOrCorrelation," capturing the essence of bewildered wonder that permeates our own scholarly inquiry. Similarly, a Facebook post by StatisticalEnigma123 delves into the enigma, pondering, "In a world where political preferences and petroleum consumption collide, can the statistical fog be lifted?" These digital murmurs serve as poignant reminders of the bewitching mystery that enshrouds our research pursuit, enticing us into a revelry of statistical speculation and scholarly caprice.

As we brace ourselves for the capricious voyage that lies ahead, our exploration of the nexus between Californian libertarianism and Armenian jet fuel beckons us into a realm where statistics converge with the whimsical tapestry of human behavior and global dynamics. Join us as we unravel the enthralling enigma, soaring through a world of statistics and absurdity that promises to leave our scholarly colleagues marveling at the audacious juxtaposition of political predilections and petroleum peculiarities.


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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of jokes, goofy observations, and puns.

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 1992 to 2010

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]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

[[INTRODUCTION]]
Ah, the whimsical and often confounding world of statistical analysis has once again bestowed upon us a peculiar puzzle to unravel. In this study, we embark on an exhilarating journey to explore the hitherto uncharted territory of the relationship between the voting behaviors of Libertarian senators in California and the rather unexpected association with the jet fuel consumption in far-off Armenian lands. As we brace ourselves for this enthralling intellectual escapade, fasten your seatbelts and prepare for a turbulence of statistics, political proclivities, and petroleum paradoxes that will leave even the most astute researchers marveling at the audacious intersection of seemingly disparate domains.
In this quest to discern the intricate connection between seemingly unrelated variables, we harness the power of data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. Through diligent and inquisitive examination, we stumbled upon a correlation coefficient of 0.9702640, an impressive statistical achievement that defies conventional wisdom and beckons us to peer deeper into this enigmatic correlation. Furthermore, with a p-value of less than 0.01, our findings soar to new heights of significance, affirming the gravity-defying nature of the relationship under scrutiny.
Our tale unfurls from the early 1990s to the year 2010, as we chart the trajectories of Libertarian votes in the Golden State and the jet-setting proclivities of Armenian fuel consumption. Indeed, the improbable alignment of these seemingly disparate elements provides the perfect storm for our research team to embark on an audacious academic expedition, as we seek to decipher the cryptic symphony of political preferences and petroleum predilections that has heretofore eluded scrutiny.
As we traverse this uncharted flight path of statistical inquiry, the alluring allure of paradoxes and conundrums permeates our scholarly endeavors. Join us as we navigate through this multidimensional labyrinth of data, a maze that promises to unravel the mystifying relationship between the legislative inclinations of Californian Libertarians and the unanticipated ballet of jet fuel usage in the distant, exotic land of Armenia. Prepare for a journey that defies convention, as we delve into the unexpected nexus of political whims and global fuel dynamics, a saga that promises to leave our esteemed colleagues astounded and perplexed in equal measure.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To embark on this quixotic scholarly quest, we concocted a research methodology as unique and perplexing as the very connection we sought to unravel. Like intrepid explorers armed with data sets and statistical tools, our journey to decipher the cryptic relationship between Libertarian votes for Senators in California and jet fuel usage in Armenia began with a combination of online data sleuthing and convoluted analytic maneuvers.

First, we scoured the vast expanse of the internet, from the hallowed halls of MIT Election Data and Science Lab to the quirky corridors of Harvard Dataverse and the enigmatic archives of the Energy Information Administration. This cybernetic treasure hunt yielded a trove of data that would eventually become the compass for our scholarly expedition, guiding us through the labyrinth of political preferences and petroleum peculiarities.

With our data in tow, we donned our academic pith helmets and ventured into the statistical wilderness. Our primary analytical tool was the perplexingly powerful and arcane art of multivariate regression analysis. Through this method, we sought to untangle the knots of correlation between the number of Libertarian votes for senators in California and the seemingly incongruous jet fuel consumption in Armenia.

Enlisting the aid of these statistical stalwarts, we rigorously pored over the data from 1992 to 2010, commencing a daunting dance of variables and coefficients that would confound even the most audacious of scholars. We employed a range of statistical software packages to flexibly model the relationship, including R, Python, and the occasional exasperated plea for clarity from the statistical deities.

In our statistical spelunking, we also embraced the esoteric arts of time series analysis, seeking to capture the nuanced dynamics of both the political landscape in California and the ebbs and flows of jet fuel usage in the land of ancient traditions and enigmatic rug weaving. Through these temporal machinations, we aimed to pierce the temporal veils and capture the elusive cadence of our enigmatic variables, hoping to reveal the hidden melodies of their interaction.

To further fortify our statistical arsenal, we indulged in the ritual of hypothesis testing, subjecting the ostensible relationship between Libertarian votes and Armenian jet fuel to an onslaught of significance testing. With p-values flying and confidence intervals quivering, we endeavored to thrust our findings into the realm of statistical significance, separating grand conjecture from empirical certainty with a swashbuckling fervor.

Armed with these quixotic techniques and driven by an unyielding thirst for intellectual adventure, we set sail on the voyages of statistical discovery, navigating perilous seas of data points and coefficient conundrums. As we weathered the tumultuous storms of statistical inference and methodological complexity, we emerged triumphant, clutching in our data-stained hands the captivating results that now await your scholarly scrutiny.


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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of jokes, goofy observations, and puns.

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 1992 to 2010, you found a correlation 0.9702640, r-squared of 0.9414123, 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]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Ah, the whimsical and often confounding world of statistical analysis has once again bestowed upon us a peculiar puzzle to unravel. In this study, we embark on an exhilarating journey to explore the hitherto uncharted territory of the relationship between the voting behaviors of Libertarian senators in California and the rather unexpected association with the jet fuel consumption in far-off Armenian lands. As we brace ourselves for this enthralling intellectual escapade, fasten your seatbelts and prepare for a turbulence of statistics, political proclivities, and petroleum paradoxes that will leave even the most astute researchers marveling at the audacious intersection of seemingly disparate domains.
In this quest to discern the intricate connection between seemingly unrelated variables, we harness the power of data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. Through diligent and inquisitive examination, we stumbled upon a correlation coefficient of 0.9702640, an impressive statistical achievement that defies conventional wisdom and beckons us to peer deeper into this enigmatic correlation. Furthermore, with a p-value of less than 0.01, our findings soar to new heights of significance, affirming the gravity-defying nature of the relationship under scrutiny.
Our tale unfurls from the early 1990s to the year 2010, as we chart the trajectories of Libertarian votes in the Golden State and the jet-setting proclivities of Armenian fuel consumption. Indeed, the improbable alignment of these seemingly disparate elements provides the perfect storm for our research team to embark on an audacious academic expedition, as we seek to decipher the cryptic symphony of political preferences and petroleum predilections that has heretofore eluded scrutiny.
As we traverse this uncharted flight path of statistical inquiry, the alluring allure of paradoxes and conundrums permeates our scholarly endeavors. Join us as we navigate through this multidimensional labyrinth of data, a maze that promises to unravel the mystifying relationship between the legislative inclinations of Californian Libertarians and the unanticipated ballet of jet fuel usage in the distant, exotic land of Armenia. Prepare for a journey that defies convention, as we delve into the unexpected nexus of political whims and global fuel dynamics, a saga that promises to leave our esteemed colleagues astounded and perplexed in equal measure.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our intrepid exploration into the correlation between the voting preferences of Libertarian senators in California and the jet fuel consumption in Armenia have taken flight, yielding both statistical astonishment and endless amusement. Our findings revealed a jaw-dropping correlation coefficient of 0.9702640, signaling a remarkably strong relationship between these seemingly incongruous variables. This coefficient had us feeling like we stumbled upon a hidden treasure at the end of a statistical rainbow, a pot of gold that was far from the usual political fare.

The robustness of this correlation was further exemplified by the r-squared value of 0.9414123, indicating that a whopping 94% of the variance in jet fuel usage in Armenia could be predicted by the number of Libertarian votes for senators in California. It's safe to say that our statistical model was doing barrel rolls after such a splendid performance.

The icing on the cake was the p-value of less than 0.01, cementing the significance of this relationship and leaving us in a state of statistical euphoria. It's as if the data itself was shouting, "Look at me! I’m statistically significant and ready for takeoff!"

To encapsulate this enthralling convergence of data in a visually charming manner, we present Fig. 1, a scatterplot that portrays the mesmerizing dance of data points, showcasing the undeniable correlation between Libertarian votes and Armenian jet fuel consumption. We invite our esteemed colleagues to gaze upon this graphic representation and revel in the unexpected synchronicity that emerged from our statistical odyssey.

In conclusion, our foray into the realm of statistical oddities has unearthed an extraordinary connection between the political inclinations of Libertarians in California and the consumption of jet fuel in the distinct milieu of Armenia. This discovery brings to mind the old adage, "politics makes strange bedfellows," or in our case, "statistics makes for bizarre correlations." We hope our findings infuse a sense of revelry and curiosity among our scholarly peers as we collectively marvel at the idiosyncrasies of this statistical spectacle.


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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of jokes, goofy observations, and puns.

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]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

[[LITERATURE REVIEW]]
In "Smith et al. (2005)," the authors find a compelling association between political ideology and consumer behavior, setting the stage for our examination of the perplexing connection between the voting patterns of Libertarian senators in California and the consumption of jet fuel in Armenia. As we venture deeper into this unexplored realm, the data from "Doe and Jones (2012)" beckons us to consider the interplay between individualistic political leanings and exotic fuel consumption patterns, culminating in a swirling concoction of statistical intrigue and geopolitical whimsy.
Venturing beyond the boundaries of traditional scholarly inquiry, we embark on a daring exploration of the intersection between petroleum economics and political proclivities. Drawing inspiration from Nichols and Maxwell's "Jetting Across the Globe: A Compendium of Fuel Consumption Patterns in Unlikely Places" and Greenberg's "Libertarian Preferences in a World of High-Flying Opinions," our insight into the unconventional relationship at hand becomes both illuminated and enigmatic. The entanglement of statistical probabilities with geopolitical idiosyncrasies challenges the very fabric of our scholarly preconceptions, propelling us into a waltz of intellectual exhilaration and far-flung curiosity.
The fanciful inquiry into the esoteric world of electoral whims and airborne fuel dynamics extends beyond the confines of academic tomes and scholarly treatises. In J.K. Rowling's "The Jet-Set Agenda: Magical Intrigue in the Skies of Armenia," the whimsical wizarding tale encapsulates the essence of our research endeavor, blending the surreal essence of political preference with the fantastical allure of mysterious jet fuel consumption. Furthermore, the unfolding saga of intrigue and whimsy finds resonance in Agatha Christie's "Murder on the Libertarian Express," as the enigmatic correlation between Californian political choices and distant fuel consumption takes center stage in a gripping tale of statistical deduction and geopolitical tomfoolery.
In the digital landscape, whispers of intrigue and speculation reverberate through the corridors of social media. A tweet by @StatisticalSorcerer muses, "Are Californian Libertarians fueling Armenia's aspirations with their votes? #ConspiracyOrCorrelation," capturing the essence of bewildered wonder that permeates our own scholarly inquiry. Similarly, a Facebook post by StatisticalEnigma123 delves into the enigma, pondering, "In a world where political preferences and petroleum consumption collide, can the statistical fog be lifted?" These digital murmurs serve as poignant reminders of the bewitching mystery that enshrouds our research pursuit, enticing us into a revelry of statistical speculation and scholarly caprice.
As we brace ourselves for the capricious voyage that lies ahead, our exploration of the nexus between Californian libertarianism and Armenian jet fuel beckons us into a realm where statistics converge with the whimsical tapestry of human behavior and global dynamics. Join us as we unravel the enthralling enigma, soaring through a world of statistics and absurdity that promises to leave our scholarly colleagues marveling at the audacious juxtaposition of political predilections and petroleum peculiarities.

[[RESULTS]]
The results of our intrepid exploration into the correlation between the voting preferences of Libertarian senators in California and the jet fuel consumption in Armenia have taken flight, yielding both statistical astonishment and endless amusement. Our findings revealed a jaw-dropping correlation coefficient of 0.9702640, signaling a remarkably strong relationship between these seemingly incongruous variables. This coefficient had us feeling like we stumbled upon a hidden treasure at the end of a statistical rainbow, a pot of gold that was far from the usual political fare.
The robustness of this correlation was further exemplified by the r-squared value of 0.9414123, indicating that a whopping 94% of the variance in jet fuel usage in Armenia could be predicted by the number of Libertarian votes for senators in California. It's safe to say that our statistical model was doing barrel rolls after such a splendid performance.
The icing on the cake was the p-value of less than 0.01, cementing the significance of this relationship and leaving us in a state of statistical euphoria. It's as if the data itself was shouting, "Look at me! I’m statistically significant and ready for takeoff!"
To encapsulate this enthralling convergence of data in a visually charming manner, we present Fig. 1, a scatterplot that portrays the mesmerizing dance of data points, showcasing the undeniable correlation between Libertarian votes and Armenian jet fuel consumption. We invite our esteemed colleagues to gaze upon this graphic representation and revel in the unexpected synchronicity that emerged from our statistical odyssey.
In conclusion, our foray into the realm of statistical oddities has unearthed an extraordinary connection between the political inclinations of Libertarians in California and the consumption of jet fuel in the distinct milieu of Armenia. This discovery brings to mind the old adage, "politics makes strange bedfellows," or in our case, "statistics makes for bizarre correlations." We hope our findings infuse a sense of revelry and curiosity among our scholarly peers as we collectively marvel at the idiosyncrasies of this statistical spectacle.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study have left us soaring through a sky of statistical astonishment, uncovering a striking connection between the voting preferences of Libertarian senators in California and the consumption of jet fuel in Armenia. Our findings not only align with the scholarly insights from "Smith et al. (2005)" and "Doe and Jones (2012)," but also resonate with the imaginative musings of J.K. Rowling, Agatha Christie, and the social media posts by @StatisticalSorcerer and StatisticalEnigma123. The statistical alliance we uncovered mirrors the enchanting intrigue woven into tales of magical flying agendas and libertarian express journeys, embodying the whimsical essence of statistical curiosity and geopolitical caprice.

The robust correlation coefficient of 0.9702640 not only defies conventional expectations but propels us into a realm of statistical euphoria akin to finding a glittering statistical treasure at the end of an electoral rainbow. This correlation further builds on the foundation laid by previous research, suggesting a compelling relationship between political ideologies and consumer behaviors, as well as the interplay between individualistic political leanings and exotic fuel consumption patterns.

The r-squared value of 0.9414123 reinforces the substantial predictability of jet fuel usage in Armenia based on the number of Libertarian votes for senators in California, reminiscent of a skilled aerial acrobatics display by our statistical model. The p-value of less than 0.01 solidifies the significance of this unexpected relationship, echoing our sentiments that the data itself was clamoring for attention, ready for takeoff in the realm of statistical significance.

Our findings not only validate the enigmatic rumblings of @StatisticalSorcerer and StatisticalEnigma123 but also affirm the reverberating whispers of statistical speculation and scholarly caprice in the digital landscape. The scatterplot presented in Fig. 1 depicts the mesmerizing dance of data points, serving as a visually stunning testament to the unexpected synchronicity that has emerged from our statistical odyssey.

In summary, our study soars into uncharted statistical territory, unraveling an enchanting connection between the political proclivities of Libertarians in California and the consumption of jet fuel in the distant expanse of Armenia. This convergence of data embodies the epitome of statistical caprice, infusing a sense of revelry and curiosity among our scholarly peers as we collectively marvel at the whimsical tapestry of political preferences and petroleum peculiarities. This scholarly adventure invites us to embrace the unexpected, to revel in the statistical absurdity that has woven a tale of electoral whims and airborne fuel dynamics, blurring the lines between scholarly inquiry and whimsical statistical intrigue.


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 Libertarian votes for Senators in California and Jet fuel used in Armenia. Make lots of jokes, goofy observations, and puns.

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]]
"California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel"

[[ABSTRACT]]
This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

[[INTRDUCTION]]
Ah, the whimsical and often confounding world of statistical analysis has once again bestowed upon us a peculiar puzzle to unravel. In this study, we embark on an exhilarating journey to explore the hitherto uncharted territory of the relationship between the voting behaviors of Libertarian senators in California and the rather unexpected association with the jet fuel consumption in far-off Armenian lands. As we brace ourselves for this enthralling intellectual escapade, fasten your seatbelts and prepare for a turbulence of statistics, political proclivities, and petroleum paradoxes that will leave even the most astute researchers marveling at the audacious intersection of seemingly disparate domains.
In this quest to discern the intricate connection between seemingly unrelated variables, we harness the power of data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration. Through diligent and inquisitive examination, we stumbled upon a correlation coefficient of 0.9702640, an impressive statistical achievement that defies conventional wisdom and beckons us to peer deeper into this enigmatic correlation. Furthermore, with a p-value of less than 0.01, our findings soar to new heights of significance, affirming the gravity-defying nature of the relationship under scrutiny.
Our tale unfurls from the early 1990s to the year 2010, as we chart the trajectories of Libertarian votes in the Golden State and the jet-setting proclivities of Armenian fuel consumption. Indeed, the improbable alignment of these seemingly disparate elements provides the perfect storm for our research team to embark on an audacious academic expedition, as we seek to decipher the cryptic symphony of political preferences and petroleum predilections that has heretofore eluded scrutiny.
As we traverse this uncharted flight path of statistical inquiry, the alluring allure of paradoxes and conundrums permeates our scholarly endeavors. Join us as we navigate through this multidimensional labyrinth of data, a maze that promises to unravel the mystifying relationship between the legislative inclinations of Californian Libertarians and the unanticipated ballet of jet fuel usage in the distant, exotic land of Armenia. Prepare for a journey that defies convention, as we delve into the unexpected nexus of political whims and global fuel dynamics, a saga that promises to leave our esteemed colleagues astounded and perplexed in equal measure.

[[RESULTS]]
The results of our intrepid exploration into the correlation between the voting preferences of Libertarian senators in California and the jet fuel consumption in Armenia have taken flight, yielding both statistical astonishment and endless amusement. Our findings revealed a jaw-dropping correlation coefficient of 0.9702640, signaling a remarkably strong relationship between these seemingly incongruous variables. This coefficient had us feeling like we stumbled upon a hidden treasure at the end of a statistical rainbow, a pot of gold that was far from the usual political fare.
The robustness of this correlation was further exemplified by the r-squared value of 0.9414123, indicating that a whopping 94% of the variance in jet fuel usage in Armenia could be predicted by the number of Libertarian votes for senators in California. It's safe to say that our statistical model was doing barrel rolls after such a splendid performance.
The icing on the cake was the p-value of less than 0.01, cementing the significance of this relationship and leaving us in a state of statistical euphoria. It's as if the data itself was shouting, "Look at me! I’m statistically significant and ready for takeoff!"
To encapsulate this enthralling convergence of data in a visually charming manner, we present Fig. 1, a scatterplot that portrays the mesmerizing dance of data points, showcasing the undeniable correlation between Libertarian votes and Armenian jet fuel consumption. We invite our esteemed colleagues to gaze upon this graphic representation and revel in the unexpected synchronicity that emerged from our statistical odyssey.
In conclusion, our foray into the realm of statistical oddities has unearthed an extraordinary connection between the political inclinations of Libertarians in California and the consumption of jet fuel in the distinct milieu of Armenia. This discovery brings to mind the old adage, "politics makes strange bedfellows," or in our case, "statistics makes for bizarre correlations." We hope our findings infuse a sense of revelry and curiosity among our scholarly peers as we collectively marvel at the idiosyncrasies of this statistical spectacle.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In the grand finale of our statistical extravaganza, our findings have left us riding the statistical turbulence of humor and disbelief. The correlation coefficient of 0.9702640 and r-squared value of 0.9414123 have set the stage for an airborne dance of political preferences and petroleum prowess that can only be described as a statistical showstopper. With a p-value of less than 0.01, our results have soared to new statistical heights, leaving our research team feeling like we hit the jackpot in the casino of correlation.

As we bid adieu to this enchanting flight of fancy, we can't help but marvel at the countless jokes and puns this research has inspired. From "Libertarian votes taking off like a jet plane" to "Armenian jet fuel fueling political fires," this data has certainly given us more than just numbers to muse over.

In light of these supernaturally significant statistics, we are convinced that no further research is needed in this area. The uncovered correlation between Libertarian votes in California and Armenian jet fuel consumption stands as a testament to the whimsical nature of statistical inquiry. With a statistical spectacle of this magnitude, it's clear that politics and petroleum have forged an unexpected alliance that continues to baffle and beguile even the most intrepid researchers. As we close the book on this captivating chapter of statistical discovery, we invite our esteemed colleagues to marvel at the astonishing correlation we have uncovered and perhaps share a chuckle or two at the delightful absurdity of it all.

No more research is needed in this area.


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Political Economics


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 California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Multidisciplinary Studies on Transnational Jet-Setting and Political Influences


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 California Dreaming: The Jet Set Life of Libertarian Votes and Armenian Jet Fuel with an abstract of This study explores the unprecedented connection between the voting patterns of Libertarian senators in California and the curious consumption of jet fuel in Armenia. Delving into data from MIT Election Data and Science Lab, Harvard Dataverse, and the Energy Information Administration, we uncovered a correlation coefficient of 0.9702640 and p < 0.01 from 1992 to 2010, paving the runway for a groundbreaking analysis. Weighing the jet fuel consumption in Armenia against the number of Libertarian votes for senators in California left our research team flying high with speculation and intrigue. Join us as we navigate through this unexpected flight path of political preferences and petroleum peculiarities.

ChatGPT:

California, Libertarian senators, voting patterns, Armenian jet fuel, correlation coefficient, MIT Election Data and Science Lab, Harvard Dataverse, Energy Information Administration, jet fuel consumption, political preferences, petroleum consumption, data analysis

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

Jet fuel used in Armenia
Detailed data title: Volume of jet fuel used consumed in Armenia in millions of barrels per day
Source: Energy Information Administration
See what else correlates with Jet fuel used in Armenia

Correlation r = 0.9702640 (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.9414123 (Coefficient of determination)
This means 94.1% of the change in the one variable (i.e., Jet fuel used in Armenia) is predictable based on the change in the other (i.e., Votes for Libertarian Senators in California) over the 7 years from 1992 through 2010.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.00029. 0.0002882072675496104600000000
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.97 in 0.029% of random cases. Said differently, if you correlated 3,470 random variables Which I absolutely did.
with the same 6 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 6 because we have two variables measured over a period of 7 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.81, 1 ] 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.
1992199419982000200420062010
Votes for Libertarian Senators in California (Total votes)48371817910093926187718216522133851175242
Jet fuel used in Armenia (Million Barrels/Day)3.510.51.321670.8233330.8473150.934219




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. Very low n: There are not many data points included in this analysis. Even if the p-value is high, we should be suspicious of using so few datapoints in a correlation.




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([483718,179100,93926,187718,216522,133851,175242,])
array_2 = np.array([3.5,1,0.5,1.32167,0.823333,0.847315,0.934219,])
array_1_name = "Votes for Libertarian Senators in California"
array_2_name = "Jet fuel used in Armenia"

# 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 correlation inspection deserves a standing ovation!


Correlation ID: 5350 · Black Variable ID: 26208 · Red Variable ID: 24150
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0