about · email me · subscribe
Spurious correlation #1,702 · 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 Google searches for '3Blue1Brown'.  The chart goes from 2007 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the Cote d'Ivoire's renewable energy production soared, it inadvertently led to a rise in ambient positivity. This unmeasurable, yet palpable, surge in good vibes somehow synchronized with the mind of 3Blue1Brown's audience, creating an inexplicable yearning for colorful explanations of complex math and science concepts. As the nation's eco-friendly power sources thrummed with life, so did the curiosity for 3Blue1Brown's enriching content. It's almost as if the electrons flowing through Cote d'Ivoire's renewable energy infrastructure carried with them a newfound appreciation for mathematical beauty, sparking a chain reaction of algorithmic enthusiasm.

Model: dalle-3
Prompt: Generate an image of a wide, open landscape in Cote d'Ivoire, bathed in the warm glow of the setting sun. In the distance, a row of sleek, black solar panels stands against the horizon, their surfaces gleaming with the last rays of daylight. Nearby, a cluster of elegant white wind turbines rises gracefully from the earth, their long blades turning gently in the breeze. In the foreground, a group of people sit at their computers, illuminated by the soft glow of their screens, engrossed in typing "3Blue1Brown" into the Google search bar. The scene exudes a sense of harmony between sustainable energy generation and the pursuit of knowledge, capturing the essence of progress and learning in Cote d'Ivoire. 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 Google searches for '3Blue1Brown'. 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: Cybernetic art Scalar art Steampunk Cubism Brutalism
ChatGPT: Renewable energy production in Cote d'Ivoire

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 Google searches for '3Blue1Brown' together. Keep the description simple.
ChatGPT: In Cote d'Ivoire, solar panels and wind turbines line the landscape, harnessing the abundant natural energy to produce electricity. Meanwhile, people sit at their computers, typing "3Blue1Brown" into the Google search bar, eager to learn more about math and science from the popular educational channel.

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: [ Renewable energy production in Cote d'Ivoire ] and depicting this scene: In Cote d'Ivoire, solar panels and wind turbines line the landscape, harnessing the abundant natural energy to produce electricity. Meanwhile, people sit at their computers, typing "3Blue1Brown" into the Google search bar, eager to learn more about math and science from the popular educational channel. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a wide, open landscape in Cote d'Ivoire, bathed in the warm glow of the setting sun. In the distance, a row of sleek, black solar panels stands against the horizon, their surfaces gleaming with the last rays of daylight. Nearby, a cluster of elegant white wind turbines rises gracefully from the earth, their long blades turning gently in the breeze. In the foreground, a group of people sit at their computers, illuminated by the soft glow of their screens, engrossed in typing "3Blue1Brown" into the Google search bar. The scene exudes a sense of harmony between sustainable energy generation and the pursuit of knowledge, capturing the essence of progress and learning in Cote d'Ivoire.

*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 3Blue1Brown (Google searches for '3Blue1Brown') to increase.

AI academic paper

(Because p < 0.01)
Shocking Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'

The Journal of Renewable Energy Research & Internet Phenomena

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 dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title a clever pun.

Your research team used data from Energy Information Administration and Google Trends to assess this nagging question. You found a correlation coefficient of 0.9365337 and p < 0.01 for 2007 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 Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
"Shocking Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intersection of renewable energy production and online search behavior may seem as far-fetched as mixing solar panels and search engines, but our study sets out to shed light on the surprising connection between these seemingly disparate domains. As the world races to embrace sustainable energy solutions, the influence of digital phenomena on our perceptions and behaviors cannot be ignored. Our investigation delves into the peculiar correlation between renewable energy production in Cote d'Ivoire and the enigmatic surge of Google searches for '3Blue1Brown', a YouTube channel known for its captivating mathematical visualizations.

While one might be tempted to dismiss this correlation as mere coincidence, our analysis of data meticulously collected from the Energy Information Administration and Google Trends paints a different picture. The robust correlation coefficient of 0.9365337 that emerged from our analysis has piqued our scholarly curiosity, prompting us to probe the depths of this unexpected relationship.

Of course, observing such an association prompts a natural temptation to ponder the causal mechanisms at play. Is it the insatiable curiosity of online audiences that sparks a surge in searches for mathematical explanations, or do these inquiries somehow feed into a broader awareness of renewable energy efforts in Cote d'Ivoire? The delightful quirkiness of this connection beckons us to explore the whimsical whims of the digital age.

Indeed, the striking correlation between renewable energy production and "3Blue1Brown" searches is as surprising as finding a spark in the search for sustainable energy solutions. This unexpected entanglement underscores the need for a deeper understanding of the interplay between digital engagement and broader societal trends. In the following sections, we delve into the methodology and results of our research, unravelling the fascinating interplay between renewable energy production and online inquisitiveness.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. 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 name some movies that you watched that are tangentially related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
"Shocking Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of renewable energy production and online search behavior may seem as far-fetched as mixing solar panels and search engines, but our study sets out to shed light on the surprising connection between these seemingly disparate domains. As the world races to embrace sustainable energy solutions, the influence of digital phenomena on our perceptions and behaviors cannot be ignored. Our investigation delves into the peculiar correlation between renewable energy production in Cote d'Ivoire and the enigmatic surge of Google searches for '3Blue1Brown', a YouTube channel known for its captivating mathematical visualizations.
While one might be tempted to dismiss this correlation as mere coincidence, our analysis of data meticulously collected from the Energy Information Administration and Google Trends paints a different picture. The robust correlation coefficient of 0.9365337 that emerged from our analysis has piqued our scholarly curiosity, prompting us to probe the depths of this unexpected relationship.
Of course, observing such an association prompts a natural temptation to ponder the causal mechanisms at play. Is it the insatiable curiosity of online audiences that sparks a surge in searches for mathematical explanations, or do these inquiries somehow feed into a broader awareness of renewable energy efforts in Cote d'Ivoire? The delightful quirkiness of this connection beckons us to explore the whimsical whims of the digital age.
Indeed, the striking correlation between renewable energy production and "3Blue1Brown" searches is as surprising as finding a spark in the search for sustainable energy solutions. This unexpected entanglement underscores the need for a deeper understanding of the interplay between digital engagement and broader societal trends. In the following sections, we delve into the methodology and results of our research, unravelling the fascinating interplay between renewable energy production and online inquisitiveness.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Numerous studies have explored the correlation between renewable energy production and various sociocultural phenomena. Smith (2018) investigates the impact of renewable energy policies on economic growth, while Doe et al. (2016) delve into public attitudes towards green energy initiatives. Jones (2014) examines the relationship between renewable energy adoption and technological innovation in developing nations. These studies provide valuable insights into the multifaceted nature of renewable energy dynamics, setting the stage for our exploration of an unexpected and, some might say, electrifying association.

Turning our attention to the digital sphere, "The Third Industrial Revolution" by Jeremy Rifkin (2009) offers a comprehensive analysis of the internet's role in shaping the future of energy. In a similar vein, "The Big Switch" by Nicholas Carr (2008) presents thought-provoking perspectives on the interplay between digital technologies and energy consumption in the information age. Furthermore, "The Grid: The Fraying Wires Between Americans and Our Energy Future" by Gretchen Bakke (2016) sheds light on the complex interactions between power infrastructure and societal behaviors, hinting at the interconnectedness that permeates even the most unexpected domains.

In a departure from conventional scholarly sources, speculative fiction works such as Isaac Asimov's "The Gods Themselves" and Neal Stephenson's "Seveneves" provide imaginative portrayals of energy systems and their societal implications, challenging readers to contemplate the interlocking nature of technological advancements and human culture. These literary excursions serve as a whimsical backdrop to our investigation, inviting us to ponder the peculiar intersections of fiction and reality.

On a more light-hearted note, the emergence of renewable energy sources in popular culture is evidenced by films such as "The Matrix" and "The Martian." While these cinematic representations may not directly address the specific relationship under examination, they contribute to the broader cultural dialogue surrounding sustainability and technological progress, infusing a dash of entertainment into our scholarly pursuit.

As we navigate the landscape of literature surrounding renewable energy and digital engagement, we inevitably encounter an eclectic mix of findings and narratives that mirror the diverse tapestry of human experience. In the subsequent sections, we pivot to our methodological approach, emphasizing the systematic process that underpins our inquiry into the curious correlation between renewable energy production in Cote d'Ivoire and the surge of Google searches for '3Blue1Brown'.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Energy Information Administration and Google Trends . You used data from 2007 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 Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

[[INTRODUCTION]]
The intersection of renewable energy production and online search behavior may seem as far-fetched as mixing solar panels and search engines, but our study sets out to shed light on the surprising connection between these seemingly disparate domains. As the world races to embrace sustainable energy solutions, the influence of digital phenomena on our perceptions and behaviors cannot be ignored. Our investigation delves into the peculiar correlation between renewable energy production in Cote d'Ivoire and the enigmatic surge of Google searches for '3Blue1Brown', a YouTube channel known for its captivating mathematical visualizations.
While one might be tempted to dismiss this correlation as mere coincidence, our analysis of data meticulously collected from the Energy Information Administration and Google Trends paints a different picture. The robust correlation coefficient of 0.9365337 that emerged from our analysis has piqued our scholarly curiosity, prompting us to probe the depths of this unexpected relationship.
Of course, observing such an association prompts a natural temptation to ponder the causal mechanisms at play. Is it the insatiable curiosity of online audiences that sparks a surge in searches for mathematical explanations, or do these inquiries somehow feed into a broader awareness of renewable energy efforts in Cote d'Ivoire? The delightful quirkiness of this connection beckons us to explore the whimsical whims of the digital age.
Indeed, the striking correlation between renewable energy production and "3Blue1Brown" searches is as surprising as finding a spark in the search for sustainable energy solutions. This unexpected entanglement underscores the need for a deeper understanding of the interplay between digital engagement and broader societal trends. In the following sections, we delve into the methodology and results of our research, unravelling the fascinating interplay between renewable energy production and online inquisitiveness.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Data Collection:
The data for this study was collected from the Energy Information Administration and Google Trends, providing a comprehensive dataset spanning from 2007 to 2021. Engaging in a quest akin to information archeology, our research team unearthed a trove of digital breadcrumbs and energy statistics to weave together a narrative of unexpected connections. As navigating through the labyrinthine corridors of internet data can be a treacherous endeavor, our team exercised caution while sifting through the digital deluge.

Renewable Energy Production:
To quantify renewable energy production in Cote d'Ivoire, we employed a multifaceted approach. Our researchers scoured official reports, perused esoteric energy databases, and delved into the cryptic archives of renewable energy statistics. In our pursuit of the elusive kilowatt-hour, we ventured into the uncharted territories of renewable energy metrics, navigating through a thicket of jargon and numerical quandaries.

Google Searches for '3Blue1Brown':
The investigation into Google searches for '3Blue1Brown' involved a deep dive into the enigmatic seas of internet queries. Utilizing the Google Trends platform as our compass, we embarked on a peculiar journey through the ebb and flow of digital curiosity. With the precision of a mathematical proof, our team meticulously charted the oscillations of '3Blue1Brown' searches, navigating through the murky waters of internet trends to elucidate the intriguing patterns that emerged.

Data Analysis:
The analysis of the collected data involved a rigorous application of statistical methodologies. Employing the formidable arsenal of correlation coefficients and p-values, we unveiled the unexpected bond between renewable energy production in Cote d'Ivoire and the fervent quest for mathematical enlightenment. Our journey through the labyrinthine corridors of data analysis yielded insights that transcended the boundaries of conventional wisdom, unraveling a tapestry of interconnectedness hitherto unseen.

Limitations:
While our approach to data collection and analysis was as thorough as peeling an onion to get to the core, it is essential to acknowledge the limitations of our methodology. The inherent intricacies of internet search behavior and renewable energy production may yield complexities that elude capture by our methods. Furthermore, while our study sheds light on the captivating correlation between these phenomena, causality remains as slippery as a greased pig at a county fair. Thus, interpreting our findings with cautious optimism is prudent, as the whims of the digital age continue to astound and confound.

In summary, the methodology adopted for this research endeavor involved a dexterous dance through the digital domain and energy statistics, culminating in the revelation of an unexpected entanglement between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. This lighthearted waltz through the data landscape acted as a conduit for unearthing the quirkiness of interconnected phenomena, underscoring the need for continued exploration into the whimsical whims of the digital age.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

For the time period 2007 to 2021, you found a correlation 0.9365337, r-squared of 0.8770955, 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 Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of renewable energy production and online search behavior may seem as far-fetched as mixing solar panels and search engines, but our study sets out to shed light on the surprising connection between these seemingly disparate domains. As the world races to embrace sustainable energy solutions, the influence of digital phenomena on our perceptions and behaviors cannot be ignored. Our investigation delves into the peculiar correlation between renewable energy production in Cote d'Ivoire and the enigmatic surge of Google searches for '3Blue1Brown', a YouTube channel known for its captivating mathematical visualizations.
While one might be tempted to dismiss this correlation as mere coincidence, our analysis of data meticulously collected from the Energy Information Administration and Google Trends paints a different picture. The robust correlation coefficient of 0.9365337 that emerged from our analysis has piqued our scholarly curiosity, prompting us to probe the depths of this unexpected relationship.
Of course, observing such an association prompts a natural temptation to ponder the causal mechanisms at play. Is it the insatiable curiosity of online audiences that sparks a surge in searches for mathematical explanations, or do these inquiries somehow feed into a broader awareness of renewable energy efforts in Cote d'Ivoire? The delightful quirkiness of this connection beckons us to explore the whimsical whims of the digital age.
Indeed, the striking correlation between renewable energy production and "3Blue1Brown" searches is as surprising as finding a spark in the search for sustainable energy solutions. This unexpected entanglement underscores the need for a deeper understanding of the interplay between digital engagement and broader societal trends. In the following sections, we delve into the methodology and results of our research, unravelling the fascinating interplay between renewable energy production and online inquisitiveness.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected from the Energy Information Administration and Google Trends revealed a remarkably strong correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The correlation coefficient of 0.9365337 indicated a robust positive relationship between these two seemingly unrelated variables. Furthermore, the coefficient of determination (r-squared) of 0.8770955 suggested that approximately 87.71% of the variability in '3Blue1Brown' searches could be explained by the variability in renewable energy production in Cote d'Ivoire.

The statistical significance, with a p-value of less than 0.01, indicated that the observed correlation was unlikely to have occurred purely by chance. Thus, it was evident that the connection between renewable energy production in Cote d'Ivoire and the frequency of Google searches for '3Blue1Brown' was not a fortuitous occurrence.

Fig. 1 presents a visual representation of the strong positive correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The scatterplot illustrates the tight clustering of data points around the upward-sloping regression line, affirming the strength of the relationship between these variables.

This unexpected association between renewable energy production and online search behavior raises countless questions and invites lively speculation. It shines a curious light on the unexplored avenues of human curiosity and its manifestations in the digital sphere. The whimsical nature of this correlation underscores the need for further investigations to unravel the enigmatic interplay between seemingly unrelated domains.

In summary, our findings unveil an intriguing connection between sustainable energy initiatives in Cote d'Ivoire and the digital inquisitiveness epitomized by '3Blue1Brown' searches, sparking a captivating exploration of the delightful quirkiness of the digital age.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Shocking Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

[[LITERATURE REVIEW]]
Numerous studies have explored the correlation between renewable energy production and various sociocultural phenomena. Smith (2018) investigates the impact of renewable energy policies on economic growth, while Doe et al. (2016) delve into public attitudes towards green energy initiatives. Jones (2014) examines the relationship between renewable energy adoption and technological innovation in developing nations. These studies provide valuable insights into the multifaceted nature of renewable energy dynamics, setting the stage for our exploration of an unexpected and, some might say, electrifying association.
Turning our attention to the digital sphere, "The Third Industrial Revolution" by Jeremy Rifkin (2009) offers a comprehensive analysis of the internet's role in shaping the future of energy. In a similar vein, "The Big Switch" by Nicholas Carr (2008) presents thought-provoking perspectives on the interplay between digital technologies and energy consumption in the information age. Furthermore, "The Grid: The Fraying Wires Between Americans and Our Energy Future" by Gretchen Bakke (2016) sheds light on the complex interactions between power infrastructure and societal behaviors, hinting at the interconnectedness that permeates even the most unexpected domains.
In a departure from conventional scholarly sources, speculative fiction works such as Isaac Asimov's "The Gods Themselves" and Neal Stephenson's "Seveneves" provide imaginative portrayals of energy systems and their societal implications, challenging readers to contemplate the interlocking nature of technological advancements and human culture. These literary excursions serve as a whimsical backdrop to our investigation, inviting us to ponder the peculiar intersections of fiction and reality.
On a more light-hearted note, the emergence of renewable energy sources in popular culture is evidenced by films such as "The Matrix" and "The Martian." While these cinematic representations may not directly address the specific relationship under examination, they contribute to the broader cultural dialogue surrounding sustainability and technological progress, infusing a dash of entertainment into our scholarly pursuit.
As we navigate the landscape of literature surrounding renewable energy and digital engagement, we inevitably encounter an eclectic mix of findings and narratives that mirror the diverse tapestry of human experience. In the subsequent sections, we pivot to our methodological approach, emphasizing the systematic process that underpins our inquiry into the curious correlation between renewable energy production in Cote d'Ivoire and the surge of Google searches for '3Blue1Brown'.

[[RESULTS]]
The analysis of the data collected from the Energy Information Administration and Google Trends revealed a remarkably strong correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The correlation coefficient of 0.9365337 indicated a robust positive relationship between these two seemingly unrelated variables. Furthermore, the coefficient of determination (r-squared) of 0.8770955 suggested that approximately 87.71% of the variability in '3Blue1Brown' searches could be explained by the variability in renewable energy production in Cote d'Ivoire.
The statistical significance, with a p-value of less than 0.01, indicated that the observed correlation was unlikely to have occurred purely by chance. Thus, it was evident that the connection between renewable energy production in Cote d'Ivoire and the frequency of Google searches for '3Blue1Brown' was not a fortuitous occurrence.
Fig. 1 presents a visual representation of the strong positive correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The scatterplot illustrates the tight clustering of data points around the upward-sloping regression line, affirming the strength of the relationship between these variables.
This unexpected association between renewable energy production and online search behavior raises countless questions and invites lively speculation. It shines a curious light on the unexplored avenues of human curiosity and its manifestations in the digital sphere. The whimsical nature of this correlation underscores the need for further investigations to unravel the enigmatic interplay between seemingly unrelated domains.
In summary, our findings unveil an intriguing connection between sustainable energy initiatives in Cote d'Ivoire and the digital inquisitiveness epitomized by '3Blue1Brown' searches, sparking a captivating exploration of the delightful quirkiness of the digital age.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The confluence of renewable energy production in Cote d'Ivoire and the frequency of Google searches for '3Blue1Brown' unveiled in our study has sparked a fascinating journey into the unexpected interconnections within the digital milieu. Building upon the foundational insights from previous research in the realm of renewable energy dynamics, our findings reinforce the notion that the enigmatic association between seemingly disparate phenomena is not merely a flight of fancy.

Echoing the lighthearted exploration of speculative fiction works and cinematic representations in the literature review, our study delves into an unforeseen domain of correlation. Our observations align with Smith's (2018) investigation into the multifaceted impacts of renewable energy policies, hinting at the nuanced interplay between sustainable energy initiatives and societal phenomena. Furthermore, our findings resonate with Doe et al.'s (2016) exploration of public attitudes towards green energy initiatives, illuminating a curious dimension of public engagement through online search behavior.

In line with the thought-provoking perspectives presented in "The Third Industrial Revolution" by Jeremy Rifkin (2009), our study offers a compelling reflection on the evolving landscape of digital engagement in the context of renewable energy. Similarly, the surprising correlation identified in this study intertwines with the themes of interconnectedness elucidated in "The Big Switch" by Nicholas Carr (2008), underscoring the complex interdependencies that characterize the digital age.

Furthermore, our investigation aligns with the underlying motifs of speculative fiction works, such as Isaac Asimov's "The Gods Themselves" and Neal Stephenson's "Seveneves," by situating our scholarly inquiry within the realm of unexpected juxtapositions. Just as these literary works invite imaginative contemplation of technological and societal interweavings, our study sparks curiosity and invites a dose of whimsical reflection on the captivating quirks of digital exploration.

The captivating correlation between renewable energy production in Cote d'Ivoire and the surge of Google searches for '3Blue1Brown' prompts an intriguing examination of the interconnectedness that permeates even the most unexpected domains. As we embrace the delightful quirkiness of this digital entanglement, further investigations are warranted to unravel the mysterious interplay between sustainable energy initiatives and the manifestations of human curiosity in the digital sphere.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Shocking Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

[[INTRDUCTION]]
The intersection of renewable energy production and online search behavior may seem as far-fetched as mixing solar panels and search engines, but our study sets out to shed light on the surprising connection between these seemingly disparate domains. As the world races to embrace sustainable energy solutions, the influence of digital phenomena on our perceptions and behaviors cannot be ignored. Our investigation delves into the peculiar correlation between renewable energy production in Cote d'Ivoire and the enigmatic surge of Google searches for '3Blue1Brown', a YouTube channel known for its captivating mathematical visualizations.
While one might be tempted to dismiss this correlation as mere coincidence, our analysis of data meticulously collected from the Energy Information Administration and Google Trends paints a different picture. The robust correlation coefficient of 0.9365337 that emerged from our analysis has piqued our scholarly curiosity, prompting us to probe the depths of this unexpected relationship.
Of course, observing such an association prompts a natural temptation to ponder the causal mechanisms at play. Is it the insatiable curiosity of online audiences that sparks a surge in searches for mathematical explanations, or do these inquiries somehow feed into a broader awareness of renewable energy efforts in Cote d'Ivoire? The delightful quirkiness of this connection beckons us to explore the whimsical whims of the digital age.
Indeed, the striking correlation between renewable energy production and "3Blue1Brown" searches is as surprising as finding a spark in the search for sustainable energy solutions. This unexpected entanglement underscores the need for a deeper understanding of the interplay between digital engagement and broader societal trends. In the following sections, we delve into the methodology and results of our research, unravelling the fascinating interplay between renewable energy production and online inquisitiveness.

[[RESULTS]]
The analysis of the data collected from the Energy Information Administration and Google Trends revealed a remarkably strong correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The correlation coefficient of 0.9365337 indicated a robust positive relationship between these two seemingly unrelated variables. Furthermore, the coefficient of determination (r-squared) of 0.8770955 suggested that approximately 87.71% of the variability in '3Blue1Brown' searches could be explained by the variability in renewable energy production in Cote d'Ivoire.
The statistical significance, with a p-value of less than 0.01, indicated that the observed correlation was unlikely to have occurred purely by chance. Thus, it was evident that the connection between renewable energy production in Cote d'Ivoire and the frequency of Google searches for '3Blue1Brown' was not a fortuitous occurrence.
Fig. 1 presents a visual representation of the strong positive correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The scatterplot illustrates the tight clustering of data points around the upward-sloping regression line, affirming the strength of the relationship between these variables.
This unexpected association between renewable energy production and online search behavior raises countless questions and invites lively speculation. It shines a curious light on the unexplored avenues of human curiosity and its manifestations in the digital sphere. The whimsical nature of this correlation underscores the need for further investigations to unravel the enigmatic interplay between seemingly unrelated domains.
In summary, our findings unveil an intriguing connection between sustainable energy initiatives in Cote d'Ivoire and the digital inquisitiveness epitomized by '3Blue1Brown' searches, sparking a captivating exploration of the delightful quirkiness of the digital age.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, the results of this study have brought to light an unexpected and entertaining correlation between renewable energy production in Cote d'Ivoire and Google searches for '3Blue1Brown'. The robust correlation coefficient and statistical significance clearly indicate a strong relationship between these seemingly unrelated phenomena. This captivating entanglement of renewable energy production and online curiosity raises thought-provoking questions about the whimsical whims of the digital age. The delightful quirkiness of this connection prompts further investigation into the peculiar interplay between sustainable energy initiatives and the enigmatic surge of '3Blue1Brown' searches.

It's clear that this unexpected correlation has piqued scholarly curiosity, much like stumbling upon a hidden treasure trove of data. The tight clustering of data points around the upward-sloping regression line in Fig. 1 is as surprising as discovering a rare and valuable artifact in the field of renewable energy research.

The unexpected association between renewable energy production and online search behavior leaves us with a delightful puzzle, much like finding a surprise bonus level in a video game. The intriguing connection between these domains invites us to explore the whimsical side of digital engagement and broaden our understanding of the interconnectedness of seemingly disparate phenomena.

Given the amusing and unexpected findings of this study, it is evident that no further research is needed in this area. The results of this investigation stand as a testament to the delightful quirks of academic exploration.


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 Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Renewable Energy Research & Internet Phenomena


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 Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown'. Respond only with the name of a fictional organization.

ChatGPT:

The International Institute for Renewable Energy and Internet Behavior 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 Search Trends: The Illuminating Connection Between Renewable Energy Production in Cote d'Ivoire and Google Searches for '3Blue1Brown' with an abstract of This study investigates the intriguing relationship between renewable energy production in Cote d'Ivoire and the frequency of Google searches for the educational YouTube channel '3Blue1Brown'. Utilizing data from the Energy Information Administration and Google Trends, we conducted a comprehensive analysis spanning from 2007 to 2021. Surprisingly, we identified a strong correlation coefficient of 0.9365337 and a statistical significance with p < 0.01 between these seemingly unrelated phenomena. Our findings raise thought-provoking questions about the interconnectedness of internet search behavior and sustainable energy initiatives. This amusing entanglement of renewable energy and online interest highlights the need for further research into the whimsical whims of the digital age.

ChatGPT:

renewable energy production, Cote d'Ivoire, Google search trends, 3Blue1Brown, Energy Information Administration, Google Trends, internet search behavior, sustainable energy initiatives, digital age, 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

Google searches for '3Blue1Brown'
Detailed data title: Relative volume of Google searches for '3Blue1Brown' (Worldwide, without quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for '3Blue1Brown'

Correlation r = 0.9365337 (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.8770955 (Coefficient of determination)
This means 87.7% of the change in the one variable (i.e., Google searches for '3Blue1Brown') is predictable based on the change in the other (i.e., Renewable energy production in Cote d'Ivoire) over the 15 years from 2007 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.8E-7. 0.0000002775327619324588000000
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.94 in 2.8E-5% of random cases. Said differently, if you correlated 3,603,178 random variables You don't actually need 3 million 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 14 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 14 because we have two variables measured over a period of 15 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.82, 0.98 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
200720082009201020112012201320142015201620172018201920202021
Renewable energy production in Cote d'Ivoire (Billion kWh)1.77921.87922.11051.6041.7581.7731.5921.8971.3421.518712.033532.939383.4663.3653.311
Google searches for '3Blue1Brown' (Rel. search volume)2.333332.51.50.4166670.4166670.33333300.3333330.52.6666721.583339.083347.416757.333333.3333




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.7792,1.8792,2.1105,1.604,1.758,1.773,1.592,1.897,1.342,1.51871,2.03353,2.93938,3.466,3.365,3.311,])
array_2 = np.array([2.33333,2.5,1.5,0.416667,0.416667,0.333333,0,0.333333,0.5,2.66667,21.5833,39.0833,47.4167,57.3333,33.3333,])
array_1_name = "Renewable energy production in Cote d'Ivoire"
array_2_name = "Google searches for '3Blue1Brown'"

# 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 correlation whisperer we needed!


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

CC BY 4.0