about · email me · subscribe
Spurious correlation #4,844 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Renewable energy production in Cote d'Ivoire and the second variable is Total comments on MrBeast's YouTube videos.  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 renewable energy production in Cote d'Ivoire increased, it generated a positive wattage of excitement worldwide. This influx of green energy somehow sparked a chain reaction, leading to an overall increase in positivity and engagement. It's like the electrons of enthusiasm were flowing more freely, electrifying viewers to comment and participate. In other words, the Cote d'Ivoire renewable energy boost was a real powerhouse in generating a surge of interest in MrBeast's videos. It's shocking how connected the world of energy and online content can be - truly an un-fore-gettable connection!

Model: dalle-3
Prompt: An image that looks like it is a scene from a Pixar movie: Show a radiant landscape in Cote d'Ivoire, bathed in golden sunlight. In the foreground, a field of solar panels glistens, capturing the vibrant energy of the sun. Wind turbines, with their rotating blades, stand tall and proud against the azure sky. The whole scene exudes an atmosphere of renewal and hope. The energy generated by the solar panels and wind turbines forms a colorful wave, rippling across the landscape and traveling around the globe, symbolizing the spread of positive and sustainable power. In the digital realm, a representation of MrBeast's YouTube theme appears, with a stream of dynamic comments and engagement bursting forth, embodying the electric synergy between renewable energy and digital enthusiasm. This visual representation should convey the unexpected and powerful connection between sustainable power and online engagement, giving the sense of an exhilarating and inspiring electric charge pulsating through the environment. 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: Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. 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: Data cyber art Brutalism Woodblock painting Concept art An image that looks like it is a scene from a Pixar movie
ChatGPT: An image that looks like it is a scene from a Pixar movie

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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos, in the following situation: As renewable energy production in Cote d'Ivoire increased, it generated a positive wattage of excitement worldwide. This influx of green energy somehow sparked a chain reaction, leading to an overall increase in positivity and engagement. It's like the electrons of enthusiasm were flowing more freely, electrifying viewers to comment and participate. In other words, the Cote d'Ivoire renewable energy boost was a real powerhouse in generating a surge of interest in MrBeast's videos. It's shocking how connected the world of energy and online content can be - truly an un-fore-gettable connection!. Keep the description simple.
ChatGPT: Imagine a vibrant scene set in Cote d'Ivoire, where the sun beams down on a picturesque landscape of solar panels and wind turbines, generating clean and renewable energy. As this clean energy production surges, a wave of positive energy emanates from the site and spreads out globally like a powerful electrical charge. Meanwhile, in the digital sphere, the comments section of MrBeast's YouTube videos lights up with an influx of engagement and enthusiasm, as if sparked by the same surge of positivity. This synergy between renewable energy and online engagement creates a powerful and electrifying connection, demonstrating the unexpected link between sustainable power and digital enthusiasm.

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: [ An image that looks like it is a scene from a Pixar movie ] and depicting this scene: Imagine a vibrant scene set in Cote d'Ivoire, where the sun beams down on a picturesque landscape of solar panels and wind turbines, generating clean and renewable energy. As this clean energy production surges, a wave of positive energy emanates from the site and spreads out globally like a powerful electrical charge. Meanwhile, in the digital sphere, the comments section of MrBeast's YouTube videos lights up with an influx of engagement and enthusiasm, as if sparked by the same surge of positivity. This synergy between renewable energy and online engagement creates a powerful and electrifying connection, demonstrating the unexpected link between sustainable power and digital enthusiasm. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: An image that looks like it is a scene from a Pixar movie: Show a radiant landscape in Cote d'Ivoire, bathed in golden sunlight. In the foreground, a field of solar panels glistens, capturing the vibrant energy of the sun. Wind turbines, with their rotating blades, stand tall and proud against the azure sky. The whole scene exudes an atmosphere of renewal and hope. The energy generated by the solar panels and wind turbines forms a colorful wave, rippling across the landscape and traveling around the globe, symbolizing the spread of positive and sustainable power. In the digital realm, a representation of MrBeast's YouTube theme appears, with a stream of dynamic comments and engagement bursting forth, embodying the electric synergy between renewable energy and digital enthusiasm. This visual representation should convey the unexpected and powerful connection between sustainable power and online engagement, giving the sense of an exhilarating and inspiring electric charge pulsating through the environment.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in Renewable energy production in Cote d'Ivoire caused Total comments on MrBeast YouTube videos to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos

The Journal of Eco-YouTubology

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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title seem clever.

Your research team used data from Energy Information Administration and YouTube to assess this nagging question. You found a correlation coefficient of 0.9679659 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]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!


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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As scientists, we are constantly in search of connections and patterns, striving to unveil the mysteries that lie beneath the surface. In this pursuit, we often encounter unexpected and electrifying revelations that spark our curiosity and challenge our perceptions. Our research delves into the uncharted territory of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos, embarking on a journey that intertwines electrons and entertainment in a shocking revelation.

It might seem like an odd coupling, like trying to mix water and oil, but we discovered that these two seemingly disparate variables are more linked than a pair of mismatched socks – there's an undeniable connection that can't be swept under the rug!

Speaking of pairings, have you heard about the scientist who got cooled to absolute zero? He's 0K now! But fear not, our research is anything but chilly – it's sizzling with energy and enthusiasm for uncovering the unexpected correlations that lie within the realm of statistics.

To shed light on this surprising connection, we collected data from the Energy Information Administration to represent the renewable energy production in Cote d'Ivoire, while leveraging YouTube's API to capture the total comments on MrBeast's popular videos. It's a fusion of energy sources and social media engagement that even Marie Curie would find illuminating!

Did you hear about the statistician who drowned in a river with an average depth of one foot? He was a mile away from the truth! We're not about to drown in misleading statistics; in fact, we are swimming in a sea of significant findings that could power a thousand light bulbs with enthusiasm.

Through rigorous analysis and rigorous humor, we unraveled a correlation coefficient of 0.9679659 and a p-value that's less than 0.01, certifying that the link between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos is not just a stroke of luck – it's a statistically significant relationship that's positively charged!


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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As scientists, we are constantly in search of connections and patterns, striving to unveil the mysteries that lie beneath the surface. In this pursuit, we often encounter unexpected and electrifying revelations that spark our curiosity and challenge our perceptions. Our research delves into the uncharted territory of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos, embarking on a journey that intertwines electrons and entertainment in a shocking revelation.
It might seem like an odd coupling, like trying to mix water and oil, but we discovered that these two seemingly disparate variables are more linked than a pair of mismatched socks – there's an undeniable connection that can't be swept under the rug!
Speaking of pairings, have you heard about the scientist who got cooled to absolute zero? He's 0K now! But fear not, our research is anything but chilly – it's sizzling with energy and enthusiasm for uncovering the unexpected correlations that lie within the realm of statistics.
To shed light on this surprising connection, we collected data from the Energy Information Administration to represent the renewable energy production in Cote d'Ivoire, while leveraging YouTube's API to capture the total comments on MrBeast's popular videos. It's a fusion of energy sources and social media engagement that even Marie Curie would find illuminating!
Did you hear about the statistician who drowned in a river with an average depth of one foot? He was a mile away from the truth! We're not about to drown in misleading statistics; in fact, we are swimming in a sea of significant findings that could power a thousand light bulbs with enthusiasm.
Through rigorous analysis and rigorous humor, we unraveled a correlation coefficient of 0.9679659 and a p-value that's less than 0.01, certifying that the link between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos is not just a stroke of luck – it's a statistically significant relationship that's positively charged!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Previous studies have explored the implications of renewable energy production in various regions, shedding light on its economic, environmental, and social impacts. Smith and Doe (2017) delineate the challenges and opportunities associated with renewable energy initiatives in developing countries, highlighting the potential for sustainable development and reduced carbon emissions. Similarly, Jones (2019) emphasizes the significance of diversifying energy sources to mitigate the adverse effects of climate change and promote energy security.

Now, let's switch gears and turn to some light reading on the subject. In "The Future of Clean Energy: Who Holds the Power?" by A. Brightmind, the author explores the dynamic landscape of renewable energy and its potential to transform global energy systems. This book certainly provides a bright perspective on the topic - pun intended!

On a more fictional note, "Electric Dreams: A Tale of Energy and Excitement" by S. Watts offers a captivating narrative set in a world powered by renewable energies, blurring the lines between fiction and environmental advocacy. It's electrifying, to say the least!

And now, onto some captivating social media posts that inadvertently shed light on our unusual research topic. One user on Twitter remarked, "Watching MrBeast videos is like a jolt of energy – I can't help but comment and share the excitement!" It seems that the captivating content of MrBeast's videos sparks a surge of engagement – an observation that resonates with our own findings.

Speaking of jolts of energy, did you hear about the lightning that told a shocking joke? It was electrifying! Our literature review, much like the lightning, aims to infuse a spark of humor into a topic that might seem as unlikely as a bolt of lightning on a sunny day.


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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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 Energy Information Administration and YouTube . 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]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

[[INTRODUCTION]]
As scientists, we are constantly in search of connections and patterns, striving to unveil the mysteries that lie beneath the surface. In this pursuit, we often encounter unexpected and electrifying revelations that spark our curiosity and challenge our perceptions. Our research delves into the uncharted territory of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos, embarking on a journey that intertwines electrons and entertainment in a shocking revelation.
It might seem like an odd coupling, like trying to mix water and oil, but we discovered that these two seemingly disparate variables are more linked than a pair of mismatched socks – there's an undeniable connection that can't be swept under the rug!
Speaking of pairings, have you heard about the scientist who got cooled to absolute zero? He's 0K now! But fear not, our research is anything but chilly – it's sizzling with energy and enthusiasm for uncovering the unexpected correlations that lie within the realm of statistics.
To shed light on this surprising connection, we collected data from the Energy Information Administration to represent the renewable energy production in Cote d'Ivoire, while leveraging YouTube's API to capture the total comments on MrBeast's popular videos. It's a fusion of energy sources and social media engagement that even Marie Curie would find illuminating!
Did you hear about the statistician who drowned in a river with an average depth of one foot? He was a mile away from the truth! We're not about to drown in misleading statistics; in fact, we are swimming in a sea of significant findings that could power a thousand light bulbs with enthusiasm.
Through rigorous analysis and rigorous humor, we unraveled a correlation coefficient of 0.9679659 and a p-value that's less than 0.01, certifying that the link between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos is not just a stroke of luck – it's a statistically significant relationship that's positively charged!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the electrifying connection between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos, our research team employed a multidisciplinary approach that was as diverse and fascinating as the topics themselves. We gathered data from the Energy Information Administration to obtain comprehensive information on renewable energy production in Cote d'Ivoire, while tapping into the vast universe of YouTube data using the YouTube API to capture the total comments on MrBeast's captivating videos. It’s amazing what you can uncover when you mix solar panels and social media.

Once we had our data in hand, we embarked on a statistical journey that could make even the most resilient brain cells tingle with excitement. We calculated the correlation coefficient between the two variables using the Pearson correlation method, incorporating all the years from 2012 to 2021. We then double-checked our findings and ran a series of robustness tests to ensure that our results were not just a fluke – speaking of which, did you hear about the statistician who accidentally divided by zero? He became a statistical impossibility! But fear not, our methodology is designed to avoid such pitfalls and ensure the integrity of our findings.

We also performed a time-series analysis to examine the evolving relationship between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos over the years. This allowed us to capture the dynamic nature of the correlation and discover any intriguing trends that could shed light on this curious connection. It’s like watching a fusion reaction in slow motion – you never know what surprising outcomes might emerge!

In addition to the statistical analyses, we unleashed the power of machine learning algorithms to delve even deeper into the underlying patterns and associations between these two seemingly unrelated variables. Our research team harnessed the computational prowess of artificial intelligence to explore the nuances of the relationship, uncovering hidden insights that traditional statistical methods might have overlooked. It’s like adding an extra jolt of energy to the research process – just when you thought it couldn’t get any more electrifying!

Finally, we conducted a thorough sensitivity analysis to evaluate the robustness of our findings and ensure that our results were not swayed by any outliers or unforeseen influences. We scrutinized our data from every angle, leaving no statistical stone unturned in our quest to unearth the captivating connection between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. It’s research with a zing!

We understand that exploring such a unique and quirky correlation might leave some scratching their heads – after all, it's not every day that you see renewable energy and YouTube comments in the same sentence. But our methodology was designed to embrace the unexpected and delve into uncharted territory with scientific rigor and a healthy dose of humor. Because, at the end of the day, who says academic research can't be positively charged with excitement?


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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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 Energy Information Administration and YouTube .

For the time period 2012 to 2021, you found a correlation 0.9679659, r-squared of 0.9369580, 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]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As scientists, we are constantly in search of connections and patterns, striving to unveil the mysteries that lie beneath the surface. In this pursuit, we often encounter unexpected and electrifying revelations that spark our curiosity and challenge our perceptions. Our research delves into the uncharted territory of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos, embarking on a journey that intertwines electrons and entertainment in a shocking revelation.
It might seem like an odd coupling, like trying to mix water and oil, but we discovered that these two seemingly disparate variables are more linked than a pair of mismatched socks – there's an undeniable connection that can't be swept under the rug!
Speaking of pairings, have you heard about the scientist who got cooled to absolute zero? He's 0K now! But fear not, our research is anything but chilly – it's sizzling with energy and enthusiasm for uncovering the unexpected correlations that lie within the realm of statistics.
To shed light on this surprising connection, we collected data from the Energy Information Administration to represent the renewable energy production in Cote d'Ivoire, while leveraging YouTube's API to capture the total comments on MrBeast's popular videos. It's a fusion of energy sources and social media engagement that even Marie Curie would find illuminating!
Did you hear about the statistician who drowned in a river with an average depth of one foot? He was a mile away from the truth! We're not about to drown in misleading statistics; in fact, we are swimming in a sea of significant findings that could power a thousand light bulbs with enthusiasm.
Through rigorous analysis and rigorous humor, we unraveled a correlation coefficient of 0.9679659 and a p-value that's less than 0.01, certifying that the link between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos is not just a stroke of luck – it's a statistically significant relationship that's positively charged!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our investigation unveiled a striking correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. The correlation coefficient of 0.9679659 indicates a remarkably strong positive relationship between these two seemingly disparate variables. It's almost as if the electrons in Cote d'Ivoire are amped up by the virtual buzz surrounding MrBeast's entertaining videos!

This correlation coefficient is about as strong as the force between two positively charged particles (Cote d'Ivoire's renewable energy and MrBeast's YouTube comments) in an electric field – it's electric!

Furthermore, the r-squared value of 0.9369580 highlights that a whopping 93.7% of the variance in total comments on MrBeast YouTube videos can be explained by the variance in renewable energy production in Cote d'Ivoire. It seems that the renewable energy in Cote d'Ivoire has quite the power to attract attention, just like a well-executed dad joke!

The p-value of less than 0.01 further strengthens our findings, indicating that the observed correlation is statistically significant. It's safe to say that this discovery isn't just a statistical fluke or a mere coincidence; there's a tangible relationship between these variables. This is as significant as finding renewable energy sources in a desert – it may be unexpected, but it's a breath of fresh air!

I'm sorry for the overload of electricity puns, but the findings are truly shocking! (Pun intended.)

Our analysis culminates in a visually compelling scatterplot (Fig. 1), which vividly illustrates the strong positive correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. It's like a fusion of art and science, illuminating the connection as brightly as a renewable energy-powered light bulb in a comment-filled video.


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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

[[LITERATURE REVIEW]]
Previous studies have explored the implications of renewable energy production in various regions, shedding light on its economic, environmental, and social impacts. Smith and Doe (2017) delineate the challenges and opportunities associated with renewable energy initiatives in developing countries, highlighting the potential for sustainable development and reduced carbon emissions. Similarly, Jones (2019) emphasizes the significance of diversifying energy sources to mitigate the adverse effects of climate change and promote energy security.
Now, let's switch gears and turn to some light reading on the subject. In "The Future of Clean Energy: Who Holds the Power?" by A. Brightmind, the author explores the dynamic landscape of renewable energy and its potential to transform global energy systems. This book certainly provides a bright perspective on the topic - pun intended!
On a more fictional note, "Electric Dreams: A Tale of Energy and Excitement" by S. Watts offers a captivating narrative set in a world powered by renewable energies, blurring the lines between fiction and environmental advocacy. It's electrifying, to say the least!
And now, onto some captivating social media posts that inadvertently shed light on our unusual research topic. One user on Twitter remarked, "Watching MrBeast videos is like a jolt of energy – I can't help but comment and share the excitement!" It seems that the captivating content of MrBeast's videos sparks a surge of engagement – an observation that resonates with our own findings.
Speaking of jolts of energy, did you hear about the lightning that told a shocking joke? It was electrifying! Our literature review, much like the lightning, aims to infuse a spark of humor into a topic that might seem as unlikely as a bolt of lightning on a sunny day.

[[RESULTS]]
The results of our investigation unveiled a striking correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. The correlation coefficient of 0.9679659 indicates a remarkably strong positive relationship between these two seemingly disparate variables. It's almost as if the electrons in Cote d'Ivoire are amped up by the virtual buzz surrounding MrBeast's entertaining videos!
This correlation coefficient is about as strong as the force between two positively charged particles (Cote d'Ivoire's renewable energy and MrBeast's YouTube comments) in an electric field – it's electric!
Furthermore, the r-squared value of 0.9369580 highlights that a whopping 93.7% of the variance in total comments on MrBeast YouTube videos can be explained by the variance in renewable energy production in Cote d'Ivoire. It seems that the renewable energy in Cote d'Ivoire has quite the power to attract attention, just like a well-executed dad joke!
The p-value of less than 0.01 further strengthens our findings, indicating that the observed correlation is statistically significant. It's safe to say that this discovery isn't just a statistical fluke or a mere coincidence; there's a tangible relationship between these variables. This is as significant as finding renewable energy sources in a desert – it may be unexpected, but it's a breath of fresh air!
I'm sorry for the overload of electricity puns, but the findings are truly shocking! (Pun intended.)
Our analysis culminates in a visually compelling scatterplot (Fig. 1), which vividly illustrates the strong positive correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. It's like a fusion of art and science, illuminating the connection as brightly as a renewable energy-powered light bulb in a comment-filled video.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our research uncovered a remarkable association between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. The findings enthusiastically support previous studies that have underscored the significance of renewable energy initiatives in facilitating sustainable development and diminishing carbon emissions. Our unexpected venture into the world of social media engagement on MrBeast's platform has electrifyingly illuminated the interconnectedness of seemingly distinct phenomena.

It appears that the electrons in Cote d'Ivoire are in sync with the virtual buzz on MrBeast's channel, creating a positively charged relationship that is as illuminating as a lightbulb powered by renewable energy. This connection is truly "shocking," reminiscent of the sensation one experiences when a dad unleashes one of his classic electricity puns at the dinner table.

Building upon the literature review's lightly researched narratives, our results affirm the presence of a "spark" that ignites the relationship between renewable energy and virtual engagement. The overwhelming 93.7% variance in total comments on MrBeast's videos that can be explained by renewable energy production is as striking as the dazzling brilliance of a well-conducted experiment.

The statistically significant p-value further reinforces the credibility of our findings, similar to how a surge of electricity asserts its undeniable presence during a scientific experiment. It's evident that our results aren't just a statistical fluke, unlike an unplanned electric discharge – this association is indeed as predictable as a dad's inclination to sneak a pun into any conversation.

Our research presents a succinct visual representation in the form of a scatterplot, akin to a work of art, vividly depicting the robust positive correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. It's as compelling as a painting of a serene landscape, yet equally as captivating as discovering renewable energy sources in unexpected locales.

In unraveling this quirky connection, our study offers a lighthearted yet thought-provoking perspective, much like a dad's joke that leaves listeners torn between groaning and laughing. Through these findings, we invite further exploration into unlikely associations and how they can illuminate new paths of understanding.


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 Renewable energy production in Cote d'Ivoire and Total comments on MrBeast YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
"Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos"

[[ABSTRACT]]
In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.

It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?

What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

[[INTRDUCTION]]
As scientists, we are constantly in search of connections and patterns, striving to unveil the mysteries that lie beneath the surface. In this pursuit, we often encounter unexpected and electrifying revelations that spark our curiosity and challenge our perceptions. Our research delves into the uncharted territory of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos, embarking on a journey that intertwines electrons and entertainment in a shocking revelation.
It might seem like an odd coupling, like trying to mix water and oil, but we discovered that these two seemingly disparate variables are more linked than a pair of mismatched socks – there's an undeniable connection that can't be swept under the rug!
Speaking of pairings, have you heard about the scientist who got cooled to absolute zero? He's 0K now! But fear not, our research is anything but chilly – it's sizzling with energy and enthusiasm for uncovering the unexpected correlations that lie within the realm of statistics.
To shed light on this surprising connection, we collected data from the Energy Information Administration to represent the renewable energy production in Cote d'Ivoire, while leveraging YouTube's API to capture the total comments on MrBeast's popular videos. It's a fusion of energy sources and social media engagement that even Marie Curie would find illuminating!
Did you hear about the statistician who drowned in a river with an average depth of one foot? He was a mile away from the truth! We're not about to drown in misleading statistics; in fact, we are swimming in a sea of significant findings that could power a thousand light bulbs with enthusiasm.
Through rigorous analysis and rigorous humor, we unraveled a correlation coefficient of 0.9679659 and a p-value that's less than 0.01, certifying that the link between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos is not just a stroke of luck – it's a statistically significant relationship that's positively charged!

[[RESULTS]]
The results of our investigation unveiled a striking correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. The correlation coefficient of 0.9679659 indicates a remarkably strong positive relationship between these two seemingly disparate variables. It's almost as if the electrons in Cote d'Ivoire are amped up by the virtual buzz surrounding MrBeast's entertaining videos!
This correlation coefficient is about as strong as the force between two positively charged particles (Cote d'Ivoire's renewable energy and MrBeast's YouTube comments) in an electric field – it's electric!
Furthermore, the r-squared value of 0.9369580 highlights that a whopping 93.7% of the variance in total comments on MrBeast YouTube videos can be explained by the variance in renewable energy production in Cote d'Ivoire. It seems that the renewable energy in Cote d'Ivoire has quite the power to attract attention, just like a well-executed dad joke!
The p-value of less than 0.01 further strengthens our findings, indicating that the observed correlation is statistically significant. It's safe to say that this discovery isn't just a statistical fluke or a mere coincidence; there's a tangible relationship between these variables. This is as significant as finding renewable energy sources in a desert – it may be unexpected, but it's a breath of fresh air!
I'm sorry for the overload of electricity puns, but the findings are truly shocking! (Pun intended.)
Our analysis culminates in a visually compelling scatterplot (Fig. 1), which vividly illustrates the strong positive correlation between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. It's like a fusion of art and science, illuminating the connection as brightly as a renewable energy-powered light bulb in a comment-filled video.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has illuminated a surprisingly strong and statistically significant connection between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. It's almost as if Cote d'Ivoire's electrons are grooving to the virtual beat of MrBeast's content, creating an electrifying correlation that can't be overlooked.

This correlation is as strong as a dad's inevitable urge to tell dad jokes – it's positively charged with an undeniable force! Our findings suggest that the virtual engagement surrounding MrBeast's videos is intricately linked to the renewable energy production in Cote d'Ivoire, creating a spark of curiosity in the realm of unexpected statistical relationships.

The r-squared value of 0.9369580 further emphasizes the substantial influence of renewable energy production on the total comments on MrBeast YouTube videos. It's a bit like a dad joke – it's impossible to ignore! The p-value of less than 0.01 solidifies this discovery, confirming that this correlation is not simply a statistical fluke but a profound revelation in the world of energy and entertainment.

After all, who could have guessed that the flickering electrons and virtual thumbs-up would dance in such harmonious synergy? It's like finding the perfect fusion of science and humor – a statistical discovery that's positively charged with excitement!

In light of these compelling findings, we assert that further research in this area may be as unnecessary as a solar-powered flashlight. The connection between renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos has been illuminated with a radiance that doesn't require any further investigation. It's as clear as day, so there's no need to shine a brighter light on this shocking yet delightful revelation.


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 Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Eco-YouTubology


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 Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Sustainable Development and Internet Culture 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 Shocking Connections: Renewable Energy Production in Cote d'Ivoire and Total Comments on MrBeast YouTube Videos with an abstract of In this research paper, we delve into the seemingly unrelated worlds of renewable energy production in Cote d'Ivoire and the total comments on MrBeast YouTube videos. Our team utilized data from the Energy Information Administration and YouTube to explore this curious connection. Through rigorous analysis, we discovered a striking correlation coefficient of 0.9679659 and a statistically significant p-value of less than 0.01 for the years 2012 to 2021.
It seems that the dancing electrons in Cote d'Ivoire and the virtual thumbs-up on MrBeast's YouTube videos are more interconnected than we initially thought! We unravel the electrifying mystery with a spark of humor and a pun or two along the way. Because, after all, who said academic research can't be a current affair?
What do you get when you cross renewable energy in Cote d'Ivoire with MrBeast YouTube comments? A power-packed correlation that's positively charged with excitement!

ChatGPT:

renewable energy, Cote d'Ivoire, renewable energy production, Energy Information Administration, MrBeast, YouTube videos, comments, correlation coefficient, statistical significance, 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

Renewable energy production in Cote d'Ivoire
Detailed data title: Total renewable energy production in Cote d'Ivoire in billion kWh
Source: Energy Information Administration
See what else correlates with Renewable energy production in Cote d'Ivoire

Total comments on MrBeast's YouTube videos
Detailed data title: Total comments on MrBeast YouTube videos.
Source: YouTube
See what else correlates with Total comments on MrBeast's YouTube videos

Correlation r = 0.9679659 (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.9369580 (Coefficient of determination)
This means 93.7% of the change in the one variable (i.e., Total comments on MrBeast's YouTube videos) is predictable based on the change in the other (i.e., Renewable energy production in Cote d'Ivoire) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 4.4E-6. 0.0000044323505465647246000000
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.00044% of random cases. Said differently, if you correlated 225,614 random variables You don't actually need 225 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 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.87, 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
Renewable energy production in Cote d'Ivoire (Billion kWh)1.7731.5921.8971.3421.518712.033532.939383.4663.3653.311
Total comments on MrBeast's YouTube videos (Total comments)12431616045714166820487246003410530303976040597425051261103972480




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 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([1.773,1.592,1.897,1.342,1.51871,2.03353,2.93938,3.466,3.365,3.311,])
array_2 = np.array([124316,160457,141668,204872,460034,1053030,3976040,5974250,5126110,3972480,])
array_1_name = "Renewable energy production in Cote d'Ivoire"
array_2_name = "Total comments on MrBeast's YouTube videos"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

You're the rating guru we've been waiting for!


Correlation ID: 4844 · Black Variable ID: 23610 · Red Variable ID: 25754
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0