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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Average views of Extra History YouTube videos and the second variable is Petroluem consumption in Belize.  The chart goes from 2012 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the gripping historical dramas unfold on screen, viewers in Belize find themselves on the edge of their seats, inadvertently fidgeting and tapping their feet. This small-scale kinetic energy is then harnessed and channeled into powering tiny, localized oil rigs, thus contributing to the overall petroleum consumption in the country. Who knew that learning about the past could fuel the present in more ways than one!

Model: dalle-3
Prompt: Create an image of viewers in Belize engaged in watching Extra History YouTube videos. The viewers are shown sitting in front of a large screen, with the average views displayed as numbers on the screen. As their anticipation grows, depict them fidgeting and foot-tapping, with small localized oil rigs stemming from beneath their feet. The oil rigs should harness the energy from the viewers' movements, contributing to the petroleum consumption in the country. The scene should vividly capture the juxtaposition of modern digital media consumption and the impact on traditional energy sources. 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: Average views of Extra History YouTube videos and Petroluem consumption in Belize. 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: Pop art A TIME magazine cover image Minimalism Photorealism High-tech
ChatGPT: A TIME 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 Average views of Extra History YouTube videos and Petroluem consumption in Belize, in the following situation: As the gripping historical dramas unfold on screen, viewers in Belize find themselves on the edge of their seats, inadvertently fidgeting and tapping their feet. This small-scale kinetic energy is then harnessed and channeled into powering tiny, localized oil rigs, thus contributing to the overall petroleum consumption in the country. Who knew that learning about the past could fuel the present in more ways than one!. Keep the description simple.
ChatGPT: Viewers in Belize watch Extra History YouTube videos, with the average views displayed as numbers on the screen. As their anticipation grows, their fidgeting and foot-tapping powers tiny localized oil rigs, contributing to the petroleum consumption in the country.

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 TIME magazine cover image ] and depicting this scene: Viewers in Belize watch Extra History YouTube videos, with the average views displayed as numbers on the screen. As their anticipation grows, their fidgeting and foot-tapping powers tiny localized oil rigs, contributing to the petroleum consumption in the country. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create an image of viewers in Belize engaged in watching Extra History YouTube videos. The viewers are shown sitting in front of a large screen, with the average views displayed as numbers on the screen. As their anticipation grows, depict them fidgeting and foot-tapping, with small localized oil rigs stemming from beneath their feet. The oil rigs should harness the energy from the viewers' movements, contributing to the petroleum consumption in the country. The scene should vividly capture the juxtaposition of modern digital media consumption and the impact on traditional energy sources.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how increases in Average views of Extra History YouTube videos positively influenced Petroluem consumption in Belize.

AI academic paper

(Because p < 0.01)
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

The Journal of Zany Energy Studies

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from YouTube and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9517025 and p < 0.01 for 2012 to 2021.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

In the vast realm of research, there are often unexpected discoveries that leave scholars scratching their heads and muttering, "Well, isn't that curious?" Our study delves into one such head-scratcher – the enigmatic relationship between the average views of Extra History YouTube videos and petroleum consumption in the enchanting country of Belize. At first glance, one might wonder why on earth someone would bother to investigate such a seemingly unrelated duo. However, as we delved into the data, we quickly realized that the connection between the two is not as superficial as it may appear. It seems that even in the world of statistical analysis, there's always room for a good plot twist.

We embarked on this exploration with a hefty dose of skepticism, fully prepared to dismiss any semblance of correlation as mere statistical hocus-pocus. Carefully gathering data from the Energy Information Administration and YouTube – a pair we never expected to see canoodling in the same research study – we knuckled down to crunch numbers, armed with the finest statistical tools our nerdy hearts could desire. Our research method was like a finely crafted joke – combining the precision of a seasoned comedian and the meticulousness of a scientist, all in the pursuit of unravelling this oddball mystery.

As we delved deeper into our data, we were braced for the anticlimactic reveal of a correlation coefficient that barely raised an eyebrow. However, what we found astounded and amused us in equal measure. The correlation coefficient appeared before us like a magician pulling a rabbit out of a hat – a solid 0.9517025 – leaving us with raised eyebrows and a hint of amused incredulity. To add icing on the statistical cake, our p-value strutted in at less than 0.01, as if to say, "Voila! Behold the fascinating connection between YouTube and petroleum!"

The alluring dance between Extra History and petroleum consumption in Belize reveals that there may be more to societal inclinations and consumption patterns than meets the eye. Our findings stand as a testament to the unpredictable and whimsical nature of human behavior, whispering hints of mystery and magic even within the seemingly mundane realm of statistical analysis. With this revelation, we invite our esteemed colleagues to join us in marveling at the quirks and capricious connections that lie beneath the surface of data and sheaves of statistics. Truly, in the world of research, the most unexpected pairings can yield the most captivating insights.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
In the vast realm of research, there are often unexpected discoveries that leave scholars scratching their heads and muttering, "Well, isn't that curious?" Our study delves into one such head-scratcher – the enigmatic relationship between the average views of Extra History YouTube videos and petroleum consumption in the enchanting country of Belize. At first glance, one might wonder why on earth someone would bother to investigate such a seemingly unrelated duo. However, as we delved into the data, we quickly realized that the connection between the two is not as superficial as it may appear. It seems that even in the world of statistical analysis, there's always room for a good plot twist.
We embarked on this exploration with a hefty dose of skepticism, fully prepared to dismiss any semblance of correlation as mere statistical hocus-pocus. Carefully gathering data from the Energy Information Administration and YouTube – a pair we never expected to see canoodling in the same research study – we knuckled down to crunch numbers, armed with the finest statistical tools our nerdy hearts could desire. Our research method was like a finely crafted joke – combining the precision of a seasoned comedian and the meticulousness of a scientist, all in the pursuit of unravelling this oddball mystery.
As we delved deeper into our data, we were braced for the anticlimactic reveal of a correlation coefficient that barely raised an eyebrow. However, what we found astounded and amused us in equal measure. The correlation coefficient appeared before us like a magician pulling a rabbit out of a hat – a solid 0.9517025 – leaving us with raised eyebrows and a hint of amused incredulity. To add icing on the statistical cake, our p-value strutted in at less than 0.01, as if to say, "Voila! Behold the fascinating connection between YouTube and petroleum!"
The alluring dance between Extra History and petroleum consumption in Belize reveals that there may be more to societal inclinations and consumption patterns than meets the eye. Our findings stand as a testament to the unpredictable and whimsical nature of human behavior, whispering hints of mystery and magic even within the seemingly mundane realm of statistical analysis. With this revelation, we invite our esteemed colleagues to join us in marveling at the quirks and capricious connections that lie beneath the surface of data and sheaves of statistics. Truly, in the world of research, the most unexpected pairings can yield the most captivating insights.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The study of seemingly unrelated phenomena has long intrigued scholars, leading to unexpected discoveries that challenge conventional wisdom. In the context of our inquiry into the correlation between average views of Extra History YouTube videos and petroleum consumption in Belize, we encounter a plethora of sources that shed light on the nuanced interplay between digital media consumption and energy utilization.

Smith (2018) presents a comprehensive analysis of digital media consumption patterns, delving into the factors influencing viewer engagement and the dynamics of online content dissemination. Doe (2019) extends this line of inquiry by elucidating the multifaceted nature of energy consumption trends in developing countries, offering valuable insights into the socio-economic determinants of petroleum usage.

However, as we navigate the eccentric waters of our research topic, we encounter a literary smorgasbord that adds a touch of whimsy to the otherwise serious landscape of academic discourse. In "Energy Economics: Concepts, Issues, Markets, and Governance," the authors expound upon the intricate web of factors shaping global energy markets, providing a sobering backdrop to our investigation of petroleum consumption in Belize.

On a more lighthearted note, Murakami's "Kafka on the Shore" subtly captures the enigmatic nature of our research endeavor, intertwining surreal narratives with profound reflections on the inexplicable connections that underpin human experiences. Meanwhile, Pratchett's "Moving Pictures" playfully explores the impact of visual media on societal dynamics, offering a delightful tangent to our exploration of YouTube viewership patterns.

In an unconventional twist, social media posts like "Just watched an Extra History video and then went to fill up my gas tank – coincidence? I think not!" and "I binged on Extra History last night and now I'm driving to the countryside for a weekend getaway. The correlation is uncanny!" add an element of everyday whimsy to our investigation, hinting at the idiosyncrasies of individual experiences within the broader tapestry of digital media consumption and petroleum usage.

As we traverse the literary and digital landscape, it becomes apparent that the fusion of serious scholarship with a touch of levity offers a refreshing lens through which to contemplate the unexpected connections that permeate our world – from statistical oddities to whimsical correlations that defy conventional logic. The diverse array of sources, both scholarly and otherwise, not only enriches our understanding of the peculiar relationship between YouTube viewership and petroleum consumption but also infuses the research journey with a healthy dose of tongue-in-cheek charm.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from YouTube and Energy Information Administration . You used data from 2012 to 2021

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

[[INTRODUCTION]]
In the vast realm of research, there are often unexpected discoveries that leave scholars scratching their heads and muttering, "Well, isn't that curious?" Our study delves into one such head-scratcher – the enigmatic relationship between the average views of Extra History YouTube videos and petroleum consumption in the enchanting country of Belize. At first glance, one might wonder why on earth someone would bother to investigate such a seemingly unrelated duo. However, as we delved into the data, we quickly realized that the connection between the two is not as superficial as it may appear. It seems that even in the world of statistical analysis, there's always room for a good plot twist.
We embarked on this exploration with a hefty dose of skepticism, fully prepared to dismiss any semblance of correlation as mere statistical hocus-pocus. Carefully gathering data from the Energy Information Administration and YouTube – a pair we never expected to see canoodling in the same research study – we knuckled down to crunch numbers, armed with the finest statistical tools our nerdy hearts could desire. Our research method was like a finely crafted joke – combining the precision of a seasoned comedian and the meticulousness of a scientist, all in the pursuit of unravelling this oddball mystery.
As we delved deeper into our data, we were braced for the anticlimactic reveal of a correlation coefficient that barely raised an eyebrow. However, what we found astounded and amused us in equal measure. The correlation coefficient appeared before us like a magician pulling a rabbit out of a hat – a solid 0.9517025 – leaving us with raised eyebrows and a hint of amused incredulity. To add icing on the statistical cake, our p-value strutted in at less than 0.01, as if to say, "Voila! Behold the fascinating connection between YouTube and petroleum!"
The alluring dance between Extra History and petroleum consumption in Belize reveals that there may be more to societal inclinations and consumption patterns than meets the eye. Our findings stand as a testament to the unpredictable and whimsical nature of human behavior, whispering hints of mystery and magic even within the seemingly mundane realm of statistical analysis. With this revelation, we invite our esteemed colleagues to join us in marveling at the quirks and capricious connections that lie beneath the surface of data and sheaves of statistics. Truly, in the world of research, the most unexpected pairings can yield the most captivating insights.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the mysteries of the curious relationship between the average views of Extra History YouTube videos and petroleum consumption in Belize, our research team engaged in a concatenation of data collection and analysis that would rival the most intricate plots of a detective novel. We embarked on this scientific escapade with determination and a hearty helping of whimsy, recognizing that the pursuit of knowledge sometimes leads us down unexpected and delightfully convoluted paths.

Our approach began by gathering data from the Energy Information Administration, delving into the captivating world of petroleum consumption statistics. We waded through a sea of numerical tidbits that would make even the most avid non-fiction reader pause and ponder. Simultaneously, our sleuthing led us through the abundant corridors of YouTube, where we scrutinized the average views of the captivating Extra History videos that had ensnared the attention of many an unsuspecting viewer.

With our arsenal of statistical tools honed and at the ready, we quirkily sashayed into the realm of correlation analysis. We lined up the numbers, peering at them with the intense scrutiny of a chemist observing a reaction under a microscope, among other things. Our calculations summoned forth the elusive correlation coefficient, revealing a bewitching connection with a value of 0.9517025 – a figure that waltzed into our analysis like a surprise guest at a staid affair, leaving us amazed and bemused. As if in cahoots with this revelatory coefficient, our p-value made a cameo appearance, strutting in at less than 0.01, as if to assert its significance amidst the statistical soiree.

This singular approach, infused with a touch of drollery and a pinch of scientific rigor, allowed us to unravel the enigma at hand. By coaxing these disparate data sources to tango in our statistical analysis, we not only uncovered a surprising correlation but also presented a whimsically woven narrative of the potential harmonious relationship between the consumption of historical content and the consumption of petroleum in the captivating country of Belize.

In conclusion, our methodology can be likened to a grand performance where the staid dictates of science blended seamlessly with the whimsical flair of discovery, captivating our minds as we ventured into the delightful and unexpected world of statistical correlation analysis.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from YouTube and Energy Information Administration .

For the time period 2012 to 2021, you found a correlation 0.9517025, r-squared of 0.9057377, 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]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
In the vast realm of research, there are often unexpected discoveries that leave scholars scratching their heads and muttering, "Well, isn't that curious?" Our study delves into one such head-scratcher – the enigmatic relationship between the average views of Extra History YouTube videos and petroleum consumption in the enchanting country of Belize. At first glance, one might wonder why on earth someone would bother to investigate such a seemingly unrelated duo. However, as we delved into the data, we quickly realized that the connection between the two is not as superficial as it may appear. It seems that even in the world of statistical analysis, there's always room for a good plot twist.
We embarked on this exploration with a hefty dose of skepticism, fully prepared to dismiss any semblance of correlation as mere statistical hocus-pocus. Carefully gathering data from the Energy Information Administration and YouTube – a pair we never expected to see canoodling in the same research study – we knuckled down to crunch numbers, armed with the finest statistical tools our nerdy hearts could desire. Our research method was like a finely crafted joke – combining the precision of a seasoned comedian and the meticulousness of a scientist, all in the pursuit of unravelling this oddball mystery.
As we delved deeper into our data, we were braced for the anticlimactic reveal of a correlation coefficient that barely raised an eyebrow. However, what we found astounded and amused us in equal measure. The correlation coefficient appeared before us like a magician pulling a rabbit out of a hat – a solid 0.9517025 – leaving us with raised eyebrows and a hint of amused incredulity. To add icing on the statistical cake, our p-value strutted in at less than 0.01, as if to say, "Voila! Behold the fascinating connection between YouTube and petroleum!"
The alluring dance between Extra History and petroleum consumption in Belize reveals that there may be more to societal inclinations and consumption patterns than meets the eye. Our findings stand as a testament to the unpredictable and whimsical nature of human behavior, whispering hints of mystery and magic even within the seemingly mundane realm of statistical analysis. With this revelation, we invite our esteemed colleagues to join us in marveling at the quirks and capricious connections that lie beneath the surface of data and sheaves of statistics. Truly, in the world of research, the most unexpected pairings can yield the most captivating insights.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our investigation into the correlation between average views of Extra History YouTube videos and petroleum consumption in Belize have unearthed a surprising and robust relationship. Utilizing a rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025, indicating a strong positive correlation between the two variables. This coefficient is a testament to the unexpected connections that can often be found in the labyrinth of data.

Furthermore, the r-squared value of 0.9057377 suggests that approximately 90.57% of the variability in petroleum consumption in Belize can be explained by the average views of Extra History YouTube videos. Such a high degree of explanatory power has left us feeling as though we stumbled upon a hidden treasure in the dusty archives of data.

In support of our findings, the p-value of less than 0.01 emphasizes the statistical significance of the observed relationship. This p-value is akin to stumbling upon a rare species in the wild – it's a thrilling and noteworthy discovery that demands attention.

In Fig. 1, the scatterplot unequivocally illustrates the strength of the correlation, with the data points exhibiting a clear and coherent pattern. This figure serves as a visual testament to the unexpected and captivating connection between seemingly disparate variables, allowing the startling correlation to leap off the page.

Our results illuminate the intricate and often whimsical nature of human behavior and consumption patterns. The tantalizing relationship between the average views of Extra History YouTube videos and petroleum consumption in Belize reveals that even in the world of statistics, there is room for delightful surprises and remarkable discoveries. These findings call for further exploration of the mysterious and enchanting connections that lie within the vast expanse of data, beckoning researchers to embrace the unexpected with open arms.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

[[LITERATURE REVIEW]]
The study of seemingly unrelated phenomena has long intrigued scholars, leading to unexpected discoveries that challenge conventional wisdom. In the context of our inquiry into the correlation between average views of Extra History YouTube videos and petroleum consumption in Belize, we encounter a plethora of sources that shed light on the nuanced interplay between digital media consumption and energy utilization.
Smith (2018) presents a comprehensive analysis of digital media consumption patterns, delving into the factors influencing viewer engagement and the dynamics of online content dissemination. Doe (2019) extends this line of inquiry by elucidating the multifaceted nature of energy consumption trends in developing countries, offering valuable insights into the socio-economic determinants of petroleum usage.
However, as we navigate the eccentric waters of our research topic, we encounter a literary smorgasbord that adds a touch of whimsy to the otherwise serious landscape of academic discourse. In "Energy Economics: Concepts, Issues, Markets, and Governance," the authors expound upon the intricate web of factors shaping global energy markets, providing a sobering backdrop to our investigation of petroleum consumption in Belize.
On a more lighthearted note, Murakami's "Kafka on the Shore" subtly captures the enigmatic nature of our research endeavor, intertwining surreal narratives with profound reflections on the inexplicable connections that underpin human experiences. Meanwhile, Pratchett's "Moving Pictures" playfully explores the impact of visual media on societal dynamics, offering a delightful tangent to our exploration of YouTube viewership patterns.
In an unconventional twist, social media posts like "Just watched an Extra History video and then went to fill up my gas tank – coincidence? I think not!" and "I binged on Extra History last night and now I'm driving to the countryside for a weekend getaway. The correlation is uncanny!" add an element of everyday whimsy to our investigation, hinting at the idiosyncrasies of individual experiences within the broader tapestry of digital media consumption and petroleum usage.
As we traverse the literary and digital landscape, it becomes apparent that the fusion of serious scholarship with a touch of levity offers a refreshing lens through which to contemplate the unexpected connections that permeate our world – from statistical oddities to whimsical correlations that defy conventional logic. The diverse array of sources, both scholarly and otherwise, not only enriches our understanding of the peculiar relationship between YouTube viewership and petroleum consumption but also infuses the research journey with a healthy dose of tongue-in-cheek charm.

[[RESULTS]]
The results of our investigation into the correlation between average views of Extra History YouTube videos and petroleum consumption in Belize have unearthed a surprising and robust relationship. Utilizing a rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025, indicating a strong positive correlation between the two variables. This coefficient is a testament to the unexpected connections that can often be found in the labyrinth of data.
Furthermore, the r-squared value of 0.9057377 suggests that approximately 90.57% of the variability in petroleum consumption in Belize can be explained by the average views of Extra History YouTube videos. Such a high degree of explanatory power has left us feeling as though we stumbled upon a hidden treasure in the dusty archives of data.
In support of our findings, the p-value of less than 0.01 emphasizes the statistical significance of the observed relationship. This p-value is akin to stumbling upon a rare species in the wild – it's a thrilling and noteworthy discovery that demands attention.
In Fig. 1, the scatterplot unequivocally illustrates the strength of the correlation, with the data points exhibiting a clear and coherent pattern. This figure serves as a visual testament to the unexpected and captivating connection between seemingly disparate variables, allowing the startling correlation to leap off the page.
Our results illuminate the intricate and often whimsical nature of human behavior and consumption patterns. The tantalizing relationship between the average views of Extra History YouTube videos and petroleum consumption in Belize reveals that even in the world of statistics, there is room for delightful surprises and remarkable discoveries. These findings call for further exploration of the mysterious and enchanting connections that lie within the vast expanse of data, beckoning researchers to embrace the unexpected with open arms.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The revelation of a robust correlation between the average views of Extra History YouTube videos and petroleum consumption in Belize is akin to stumbling upon a hidden easter egg in a multifaceted digital maze. Our study, like a skilled detective, has unveiled a compelling relationship that adds a splash of intrigue to the often-solemn world of statistical analysis.

The ludicrous notion of YouTube videos influencing petrol usage might seem like a whimsical concept straight out of a science fiction novel, but our findings reinforce the idea that there is indeed a tangible connection waiting to be uncovered amidst the sea of data. This unexpected association might give one pause, prompting them to ponder the notion that perhaps digital content and energy utilization are not as disconnected as they may seem – a thought that tickles the fancy of both statisticians and jesters alike.

Drawing from the mirthful musings in works such as Murakami's "Kafka on the Shore" and Pratchett's "Moving Pictures," our results underscore the delightful twist of fate that unites the virtual world of digital media consumption with the tangible reality of petroleum consumption. Like the playful dance between light and shadow in a surrealist painting, the statistical analysis has illuminated an enchanting connection that defies expectation and beckons researchers to embrace the whimsical side of data exploration.

In a world brimming with serious academic discourse, our study offers a lighthearted reminder that even the most unexpected pairings can hold valuable insights. The seemingly peculiar and comical relationship between online historical content and fuel usage in Belize sheds light on the serendipitous and often humorous tendencies of human behavior and societal preferences. As we continue to navigate the eccentric waters of statistical inquiry, these findings stand as an amusing testament to the inexplicable connections that underpin the fabric of human experiences and statistical oddities, inviting further exploration with a grin and a glint in our eyes.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Average views of Extra History YouTube videos and Petroluem consumption in Belize. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize

[[ABSTRACT]]
In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

[[INTRDUCTION]]
In the vast realm of research, there are often unexpected discoveries that leave scholars scratching their heads and muttering, "Well, isn't that curious?" Our study delves into one such head-scratcher – the enigmatic relationship between the average views of Extra History YouTube videos and petroleum consumption in the enchanting country of Belize. At first glance, one might wonder why on earth someone would bother to investigate such a seemingly unrelated duo. However, as we delved into the data, we quickly realized that the connection between the two is not as superficial as it may appear. It seems that even in the world of statistical analysis, there's always room for a good plot twist.
We embarked on this exploration with a hefty dose of skepticism, fully prepared to dismiss any semblance of correlation as mere statistical hocus-pocus. Carefully gathering data from the Energy Information Administration and YouTube – a pair we never expected to see canoodling in the same research study – we knuckled down to crunch numbers, armed with the finest statistical tools our nerdy hearts could desire. Our research method was like a finely crafted joke – combining the precision of a seasoned comedian and the meticulousness of a scientist, all in the pursuit of unravelling this oddball mystery.
As we delved deeper into our data, we were braced for the anticlimactic reveal of a correlation coefficient that barely raised an eyebrow. However, what we found astounded and amused us in equal measure. The correlation coefficient appeared before us like a magician pulling a rabbit out of a hat – a solid 0.9517025 – leaving us with raised eyebrows and a hint of amused incredulity. To add icing on the statistical cake, our p-value strutted in at less than 0.01, as if to say, "Voila! Behold the fascinating connection between YouTube and petroleum!"
The alluring dance between Extra History and petroleum consumption in Belize reveals that there may be more to societal inclinations and consumption patterns than meets the eye. Our findings stand as a testament to the unpredictable and whimsical nature of human behavior, whispering hints of mystery and magic even within the seemingly mundane realm of statistical analysis. With this revelation, we invite our esteemed colleagues to join us in marveling at the quirks and capricious connections that lie beneath the surface of data and sheaves of statistics. Truly, in the world of research, the most unexpected pairings can yield the most captivating insights.

[[RESULTS]]
The results of our investigation into the correlation between average views of Extra History YouTube videos and petroleum consumption in Belize have unearthed a surprising and robust relationship. Utilizing a rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025, indicating a strong positive correlation between the two variables. This coefficient is a testament to the unexpected connections that can often be found in the labyrinth of data.
Furthermore, the r-squared value of 0.9057377 suggests that approximately 90.57% of the variability in petroleum consumption in Belize can be explained by the average views of Extra History YouTube videos. Such a high degree of explanatory power has left us feeling as though we stumbled upon a hidden treasure in the dusty archives of data.
In support of our findings, the p-value of less than 0.01 emphasizes the statistical significance of the observed relationship. This p-value is akin to stumbling upon a rare species in the wild – it's a thrilling and noteworthy discovery that demands attention.
In Fig. 1, the scatterplot unequivocally illustrates the strength of the correlation, with the data points exhibiting a clear and coherent pattern. This figure serves as a visual testament to the unexpected and captivating connection between seemingly disparate variables, allowing the startling correlation to leap off the page.
Our results illuminate the intricate and often whimsical nature of human behavior and consumption patterns. The tantalizing relationship between the average views of Extra History YouTube videos and petroleum consumption in Belize reveals that even in the world of statistics, there is room for delightful surprises and remarkable discoveries. These findings call for further exploration of the mysterious and enchanting connections that lie within the vast expanse of data, beckoning researchers to embrace the unexpected with open arms.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, the intriguing correlation between average views of Extra History YouTube videos and petroleum consumption in Belize has left us with a sense of awe and mirth. The robust relationship, characterized by a correlation coefficient of 0.9517025 and a p-value of less than 0.01, seems to have burst forth like a lively stand-up routine in the usually somber world of statistics. The high r-squared value of 0.9057377 has given us the sensation of stumbling upon a sparkling gem in a mine of data, and the scatterplot has practically winked at us, flaunting the undeniable connection between YouTube views and petrol consumption.

The whimsical nature of this correlation not only adds a splash of color to the often grayscale landscape of research but also reminds us that even in the realm of academic inquiry, there's room for a hearty chuckle or two. As our study draws to a close, we can't help but feel that the statistical dance between Extra History and petroleum consumption in Belize has given us a humorous wink, whispering, "Who knew?" It seems that in the world of research, the most unexpected connections can bring the most delightful revelations.

In light of these findings, it is our humble recommendation that no more research is needed in this area. After all, what more could one ask for than a statistically significant, entertaining connection between YouTube history lessons and fuel consumption in a tropical paradise?


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 Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Zany Energy Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Quirky Energy Studies


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 Fueling Views: The Gas-tastic Connection Between Average Views of Extra History YouTube Videos and Petroleum Consumption in Belize with an abstract of In this study, we investigated the unexpected correlation between average views of Extra History YouTube videos and petroleum consumption in Belize. With a seemingly disparate pair of variables, our research team meticulously analyzed data from the Energy Information Administration and YouTube to shed light on this curious connection. Utilizing rigorous statistical analysis, we calculated a correlation coefficient of 0.9517025 and obtained a p-value of less than 0.01 for the period from 2012 to 2021. The results reveal a striking relationship between the two seemingly unrelated phenomena. This study not only highlights an intriguing correlation but also underscores the multifaceted nature of societal preferences and consumption patterns. Our findings invite further consideration of the whimsical and wandering ways in which diverse aspects of human behavior may be interconnected.

ChatGPT:

"Extra History YouTube videos," "petroleum consumption Belize," "correlation analysis fuel consumption," "Energy Information Administration data," "societal preferences consumption patterns," "relationship YouTube views fuel consumption," "statistical analysis YouTube views petroleum use," "consumer behavior petroleum consumption," "Belize petroleum consumption trends."

*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

Average views of Extra History YouTube videos
Detailed data title: Average views of Extra History YouTube videos.
Source: YouTube
Additional Info: Current total views of videos released that year.

See what else correlates with Average views of Extra History YouTube videos

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

Correlation r = 0.9517025 (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.9057377 (Coefficient of determination)
This means 90.6% of the change in the one variable (i.e., Petroluem consumption in Belize) is predictable based on the change in the other (i.e., Average views of Extra History YouTube videos) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.2E-5. 0.0000224532661367094350000000
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.95 in 0.0022% of random cases. Said differently, if you correlated 44,537 random variables You don't actually need 44 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 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.8, 0.99 ] 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.
2012201320142015201620172018201920202021
Average views of Extra History YouTube videos (Average views)51997267380953510187188810007301381640813838559940384507332483
Petroluem consumption in Belize (Million Barrels/Day)3.36953.72953.514324.197594.153834.892924.105723.893243.278753.48963




Why this works

  1. Data dredging: I have 25,213 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 635,695,369 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([519972,673809,535101,871888,1000730,1381640,813838,559940,384507,332483,])
array_2 = np.array([3.3695,3.7295,3.51432,4.19759,4.15383,4.89292,4.10572,3.89324,3.27875,3.48963,])
array_1_name = "Average views of Extra History YouTube videos"
array_2_name = "Petroluem consumption in Belize"

# 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 skills are top-notch!


Correlation ID: 5283 · Black Variable ID: 25775 · Red Variable ID: 24194
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0