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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Nuclear power generation in Mexico and the second variable is The average number of likes on AsapSCIENCE 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

The increase in nuclear power generation in Mexico led to a rise in the country's overall energy efficiency. This, in turn, meant that more people had the energy and focus to engage with and appreciate the educational content produced by AsapSCIENCE. The powerful and positively charged nature of nuclear energy somehow sparked a chain reaction of increased interest in science, ultimately boosting the average number of likes on AsapSCIENCE YouTube videos.

Model: dalle-3
Prompt: Generate an image of a high-tech nuclear power plant towering in Mexico, emitting bright blue energy beams into the night sky. In the foreground, a group of diverse people is gathered around a large screen, watching an engaging AsapSCIENCE video. The nuclear power plant hums with energy efficiency as the viewers enthusiastically hit the "like" button on the video. A visible surge in the average number of likes on AsapSCIENCE YouTube videos is depicted. 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: Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE 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: Cutsy art illustration Celtic art Hyper-realistic a funny image you would see on reddit Realistic
ChatGPT: a funny image you would see on reddit

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos, in the following situation: The increase in nuclear power generation in Mexico led to a rise in the country's overall energy efficiency. This, in turn, meant that more people had the energy and focus to engage with and appreciate the educational content produced by AsapSCIENCE. The powerful and positively charged nature of nuclear energy somehow sparked a chain reaction of increased interest in science, ultimately boosting the average number of likes on AsapSCIENCE YouTube videos.. Keep the description simple.
ChatGPT: A high-tech nuclear power plant stands tall in Mexico, with its bright blue energy beams shooting into the sky. Nearby, a group of people gathers around a large screen, watching an engaging AsapSCIENCE video. As the nuclear power hums with energy efficiency, the viewers eagerly hit the "like" button on the video, creating a visible surge in the average number of likes on AsapSCIENCE YouTube videos.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ a funny image you would see on reddit ] and depicting this scene: A high-tech nuclear power plant stands tall in Mexico, with its bright blue energy beams shooting into the sky. Nearby, a group of people gathers around a large screen, watching an engaging AsapSCIENCE video. As the nuclear power hums with energy efficiency, the viewers eagerly hit the "like" button on the video, creating a visible surge in the average number of likes on AsapSCIENCE YouTube videos. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a high-tech nuclear power plant towering in Mexico, emitting bright blue energy beams into the night sky. In the foreground, a group of diverse people is gathered around a large screen, watching an engaging AsapSCIENCE video. The nuclear power plant hums with energy efficiency as the viewers enthusiastically hit the "like" button on the video. A visible surge in the average number of likes on AsapSCIENCE YouTube videos is depicted.

*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 Nuclear power generation in Mexico caused The average number of likes on AsapSCIENCE YouTube videos to increase. Make it feel plausible.

AI academic paper

(Because p < 0.01)
The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos

Journal of Nuclear Quirkiness

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns.

Make the title punny if you can come up with clever pun. If not, make it sound serious.

Your research team used data from Energy Information Administration and YouTube to assess this nagging question. You found a correlation coefficient of 0.8735022 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]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

As the famous physicist Neil deGrasse Tyson once said, "Science is a way of thinking much more than it is a body of knowledge." With this sentiment in mind, our study seeks to unravel the enigmatic and somewhat bewildering connection between two seemingly unrelated phenomena: nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.

When we initially stumbled upon this perplexing juxtaposition, we were struck by the sheer absurdity of attempting to draw a correlation between nuclear reactors and viral science content on social media. However, being the intrepid researchers that we are, we decided to embark on this unconventional journey of statistical analysis and humorous inquiry to decipher the underlying relationship, if any, between the two variables.

First and foremost, let's acknowledge the distinctiveness of our subjects. Nuclear power, with its complex infrastructure and potent energy output, stands as a behemoth in the realm of energy production. On the other hand, AsapSCIENCE, with its whimsical animations and quirky explanations of scientific concepts, captivates audiences through engaging and educational content. The two appear as distant cousins at best, and, quite frankly, we'd be forgiven for thinking the idea is as preposterous as finding a Higgs boson in a haystack.

Nevertheless, as in all things scientific, we weren't content to merely accept the status quo. We proceeded to examine the available data with the utmost meticulousness, determined to uncover any glimmer of a relationship, no matter how faint or seemingly implausible. Armed with statistical tools, a smidgen of skepticism, and an arsenal of science-themed puns, we set out to blend the serious business of correlation analysis with a liberal dash of levity and jest.

Join us as we embark on this whimsical odyssey, where the serious rigors of statistical analysis collide with the quirkiness of social media metrics and the power of nuclear fission. As we unravel the skein of data, we promise an awe-inspiring journey through t-tests, p-values, and the unexpected whims of the internet. En garde, statistical adventure awaits!


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading the backs of shampoo bottles.

Here is the title and abstract of the paper:
[[TITLE]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
As the famous physicist Neil deGrasse Tyson once said, "Science is a way of thinking much more than it is a body of knowledge." With this sentiment in mind, our study seeks to unravel the enigmatic and somewhat bewildering connection between two seemingly unrelated phenomena: nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.
When we initially stumbled upon this perplexing juxtaposition, we were struck by the sheer absurdity of attempting to draw a correlation between nuclear reactors and viral science content on social media. However, being the intrepid researchers that we are, we decided to embark on this unconventional journey of statistical analysis and humorous inquiry to decipher the underlying relationship, if any, between the two variables.
First and foremost, let's acknowledge the distinctiveness of our subjects. Nuclear power, with its complex infrastructure and potent energy output, stands as a behemoth in the realm of energy production. On the other hand, AsapSCIENCE, with its whimsical animations and quirky explanations of scientific concepts, captivates audiences through engaging and educational content. The two appear as distant cousins at best, and, quite frankly, we'd be forgiven for thinking the idea is as preposterous as finding a Higgs boson in a haystack.
Nevertheless, as in all things scientific, we weren't content to merely accept the status quo. We proceeded to examine the available data with the utmost meticulousness, determined to uncover any glimmer of a relationship, no matter how faint or seemingly implausible. Armed with statistical tools, a smidgen of skepticism, and an arsenal of science-themed puns, we set out to blend the serious business of correlation analysis with a liberal dash of levity and jest.
Join us as we embark on this whimsical odyssey, where the serious rigors of statistical analysis collide with the quirkiness of social media metrics and the power of nuclear fission. As we unravel the skein of data, we promise an awe-inspiring journey through t-tests, p-values, and the unexpected whims of the internet. En garde, statistical adventure awaits!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The investigation of the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos has garnered interest from both serious scientific inquiry and whimsical exploration. In "Smith et al.," the authors analyze the potential societal impacts of nuclear power and the dissemination of science-related content on social media, highlighting the unexpected convergence of these two domains. Furthermore, "Doe and Jones" offer an insightful examination of the cultural and economic implications of nuclear power generation, hinting at the possibility of a subtle, yet significant link to the world of online science communication.

Now, let us venture into the realms of non-fiction literature that shed light on the enigmatic interplay between nuclear energy and social media. "The Power of the Atom: A Comprehensive Study of Nuclear Energy" by Dr. Irene Rutherford provides a scholarly exploration of nuclear power's technological and societal dimensions, offering invaluable insights into the potential forces at play in our inquiry. Additionally, "Social Media Anthropology: Unveiling the Digital Tapestry" by Professor James McPherson uncovers the intricate web of interactions within the digital sphere, hinting at the potential influence of nuclear developments on online discourse.

In the realm of fiction, where the boundaries of imagination know no bounds, we encounter works that stoke the fires of curiosity and contemplation. "Atomic Alchemy: A Science Fiction Saga" by Lila Starship weaves a tale of nuclear wonders and digital escapades, beckoning readers into a world of speculative musings and unforeseen connections. Similarly, "The Cybernuclear Chronicles" by Terry Sciencefield introduces a universe where technological marvels and atomic sorcery converge, inviting contemplation of unforeseen connections and peculiar juxtapositions.

As we descend further into the depths of unexpected sources of insight, we have combed through eclectic compositions that may hold unexpected wisdom. The back of a shampoo bottle, a surprising and yet oddly enlightening read, proved to be the unexpected muse for an unconventional perspective on the fusion of nuclear prowess and social media allure. Here, amidst instructions for lathering and rinsing, lay nuggets of wit and wisdom that, in a startling twist, catalyzed a thought-provoking introspection on the interplay of disparate phenomena.

The wide-ranging sources encountered in this eclectic review serve as testament to the diverse tapestry of knowledge and inspiration that can inform the scholarly pursuit of understanding the correlation, no matter how implausible it may seem, between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from 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]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

[[INTRODUCTION]]
INTRODUCTION
As the famous physicist Neil deGrasse Tyson once said, "Science is a way of thinking much more than it is a body of knowledge." With this sentiment in mind, our study seeks to unravel the enigmatic and somewhat bewildering connection between two seemingly unrelated phenomena: nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.
When we initially stumbled upon this perplexing juxtaposition, we were struck by the sheer absurdity of attempting to draw a correlation between nuclear reactors and viral science content on social media. However, being the intrepid researchers that we are, we decided to embark on this unconventional journey of statistical analysis and humorous inquiry to decipher the underlying relationship, if any, between the two variables.
First and foremost, let's acknowledge the distinctiveness of our subjects. Nuclear power, with its complex infrastructure and potent energy output, stands as a behemoth in the realm of energy production. On the other hand, AsapSCIENCE, with its whimsical animations and quirky explanations of scientific concepts, captivates audiences through engaging and educational content. The two appear as distant cousins at best, and, quite frankly, we'd be forgiven for thinking the idea is as preposterous as finding a Higgs boson in a haystack.
Nevertheless, as in all things scientific, we weren't content to merely accept the status quo. We proceeded to examine the available data with the utmost meticulousness, determined to uncover any glimmer of a relationship, no matter how faint or seemingly implausible. Armed with statistical tools, a smidgen of skepticism, and an arsenal of science-themed puns, we set out to blend the serious business of correlation analysis with a liberal dash of levity and jest.
Join us as we embark on this whimsical odyssey, where the serious rigors of statistical analysis collide with the quirkiness of social media metrics and the power of nuclear fission. As we unravel the skein of data, we promise an awe-inspiring journey through t-tests, p-values, and the unexpected whims of the internet. En garde, statistical adventure awaits!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

METHODOLOGY

To unravel the peculiar connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, a medley of mathematical machinations and statistical shenanigans were employed. The quest for correlation amidst this seemingly disparate duo necessitated a blend of serious quantitative analysis and lighthearted exploration, reminiscent of a mad scientist concocting an alchemical brew of numbers and internet whimsy.

Data for nuclear power generation in Mexico were sourced from the Energy Information Administration, capturing the years 2012 to 2021. The variance in nuclear energy production across these years, akin to the ebb and flow of subatomic particles, formed the backbone of our inquiry. As for the AsapSCIENCE YouTube videos, the average number of likes for each video was meticulously extracted from the depths of the internet, akin to a scavenger hunt through the labyrinthine corridors of social media stardom.

With a flotilla of Excel spreadsheets and a battalion of statistical software, we set sail on a tumultuous sea of data analysis. Our first port of call was to gauge the individual trends of nuclear power generation and YouTube likes, akin to charting the celestial paths of distant stars and viral video phenomena. Subsequently, the entwining of these datasets, reminiscent of an intricate double helix, was undertaken through the formidable dance of correlation analysis.

A Pearson correlation coefficient emerged from these statistical waltzes, offering a numerical encapsulation of the degree of association between these two seemingly incongruous entities. The coefficient symbolized the tango of nuclear prowess and internet adoration, daring us to confront the interplay of gravity-defying nuclear fission and the captivating allure of scientific knowledge.

Statistical significance, like a hidden treasure buried at the heart of the dataset, was sought through the hallowed ritual of hypothesis testing and p-values. With a fervent zeal resembling a quest for the elusive philosopher's stone, we unearthed the p-value that propelled our findings into the realm of certainty, allowing our correlation to stand firm against the vigorous scrutiny of scientific inquiry.

In summation, the journey from the staid corridors of nuclear power facilities to the whimsical realms of YouTube engagement was not merely a scientific odyssey, but a jovial escapade through the byzantine labyrinths of statistical analysis and social media quirks. The vignettes of data and the gallant p-values were our allies, guiding us through cloudy seas of skepticism and leading us to the shores of discovery, where nuclear reactors and YouTube likes converged in harmonious correlation. Join us now as we present the swashbuckling findings of this uproarious endeavors. Onward, to the results!


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

Please make up the results section of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 2012 to 2021, you found a correlation 0.8735022, r-squared of 0.7630061, 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]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
As the famous physicist Neil deGrasse Tyson once said, "Science is a way of thinking much more than it is a body of knowledge." With this sentiment in mind, our study seeks to unravel the enigmatic and somewhat bewildering connection between two seemingly unrelated phenomena: nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.
When we initially stumbled upon this perplexing juxtaposition, we were struck by the sheer absurdity of attempting to draw a correlation between nuclear reactors and viral science content on social media. However, being the intrepid researchers that we are, we decided to embark on this unconventional journey of statistical analysis and humorous inquiry to decipher the underlying relationship, if any, between the two variables.
First and foremost, let's acknowledge the distinctiveness of our subjects. Nuclear power, with its complex infrastructure and potent energy output, stands as a behemoth in the realm of energy production. On the other hand, AsapSCIENCE, with its whimsical animations and quirky explanations of scientific concepts, captivates audiences through engaging and educational content. The two appear as distant cousins at best, and, quite frankly, we'd be forgiven for thinking the idea is as preposterous as finding a Higgs boson in a haystack.
Nevertheless, as in all things scientific, we weren't content to merely accept the status quo. We proceeded to examine the available data with the utmost meticulousness, determined to uncover any glimmer of a relationship, no matter how faint or seemingly implausible. Armed with statistical tools, a smidgen of skepticism, and an arsenal of science-themed puns, we set out to blend the serious business of correlation analysis with a liberal dash of levity and jest.
Join us as we embark on this whimsical odyssey, where the serious rigors of statistical analysis collide with the quirkiness of social media metrics and the power of nuclear fission. As we unravel the skein of data, we promise an awe-inspiring journey through t-tests, p-values, and the unexpected whims of the internet. En garde, statistical adventure awaits!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis of the data gathered from Energy Information Administration and YouTube led to some truly astounding and unexpected findings. The correlation coefficient (r) between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos was a whopping 0.8735022, indicating a remarkably strong positive correlation. This result left us positively charged with excitement, as we had anticipated a far more nuclear outcome!

Furthermore, the coefficient of determination (r-squared) was calculated to be 0.7630061, revealing that approximately 76.3% of the variability in the average number of likes on AsapSCIENCE YouTube videos can be explained by the variability in nuclear power generation in Mexico. This implies that the nuclear factor plays a significant role in shaping the online sentiments toward science-related content, which is truly mind-blowing!

The level of statistical significance, denoted as p, was found to be less than 0.01. This result indicates that the relationship between these two variables is highly unlikely to have occurred by mere chance, reinforcing the notion that there is indeed a substantial connection between nuclear power and the popularity of science-themed videos on social media. It seems that the nuclear reactor of engagement and the fusion of scientific curiosity have an undeniable synergy that extends from reactors to reactors...and reactors to reactors!

This unexpected harmony between nuclear power generation and the online appeal of science content is visually depicted in Figure 1, a scatterplot showcasing the strong positive correlation between the two variables. The points on the scatterplot form an almost ethereal pattern, illustrating how the allure of nuclear energy and the fascination with science on social media merge in an unexpected dance of statistical significance.

The implications of these findings are electrifying, urging us to ponder the uncharted frontiers of social media influence and the unexplored intersections between nuclear energy and digital engagement. It seems that when it comes to the nuclear 'reactor' to success, the power of online engagement and the enormity of atomic energy are indeed dynamically entwined. This study serves as a testament to the serendipity of research and the hidden connections that await discovery in the most unlikely of places.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

[[LITERATURE REVIEW]]
The investigation of the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos has garnered interest from both serious scientific inquiry and whimsical exploration. In "Smith et al.," the authors analyze the potential societal impacts of nuclear power and the dissemination of science-related content on social media, highlighting the unexpected convergence of these two domains. Furthermore, "Doe and Jones" offer an insightful examination of the cultural and economic implications of nuclear power generation, hinting at the possibility of a subtle, yet significant link to the world of online science communication.
Now, let us venture into the realms of non-fiction literature that shed light on the enigmatic interplay between nuclear energy and social media. "The Power of the Atom: A Comprehensive Study of Nuclear Energy" by Dr. Irene Rutherford provides a scholarly exploration of nuclear power's technological and societal dimensions, offering invaluable insights into the potential forces at play in our inquiry. Additionally, "Social Media Anthropology: Unveiling the Digital Tapestry" by Professor James McPherson uncovers the intricate web of interactions within the digital sphere, hinting at the potential influence of nuclear developments on online discourse.
In the realm of fiction, where the boundaries of imagination know no bounds, we encounter works that stoke the fires of curiosity and contemplation. "Atomic Alchemy: A Science Fiction Saga" by Lila Starship weaves a tale of nuclear wonders and digital escapades, beckoning readers into a world of speculative musings and unforeseen connections. Similarly, "The Cybernuclear Chronicles" by Terry Sciencefield introduces a universe where technological marvels and atomic sorcery converge, inviting contemplation of unforeseen connections and peculiar juxtapositions.
As we descend further into the depths of unexpected sources of insight, we have combed through eclectic compositions that may hold unexpected wisdom. The back of a shampoo bottle, a surprising and yet oddly enlightening read, proved to be the unexpected muse for an unconventional perspective on the fusion of nuclear prowess and social media allure. Here, amidst instructions for lathering and rinsing, lay nuggets of wit and wisdom that, in a startling twist, catalyzed a thought-provoking introspection on the interplay of disparate phenomena.
The wide-ranging sources encountered in this eclectic review serve as testament to the diverse tapestry of knowledge and inspiration that can inform the scholarly pursuit of understanding the correlation, no matter how implausible it may seem, between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.

[[RESULTS]]
The statistical analysis of the data gathered from Energy Information Administration and YouTube led to some truly astounding and unexpected findings. The correlation coefficient (r) between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos was a whopping 0.8735022, indicating a remarkably strong positive correlation. This result left us positively charged with excitement, as we had anticipated a far more nuclear outcome!
Furthermore, the coefficient of determination (r-squared) was calculated to be 0.7630061, revealing that approximately 76.3% of the variability in the average number of likes on AsapSCIENCE YouTube videos can be explained by the variability in nuclear power generation in Mexico. This implies that the nuclear factor plays a significant role in shaping the online sentiments toward science-related content, which is truly mind-blowing!
The level of statistical significance, denoted as p, was found to be less than 0.01. This result indicates that the relationship between these two variables is highly unlikely to have occurred by mere chance, reinforcing the notion that there is indeed a substantial connection between nuclear power and the popularity of science-themed videos on social media. It seems that the nuclear reactor of engagement and the fusion of scientific curiosity have an undeniable synergy that extends from reactors to reactors...and reactors to reactors!
This unexpected harmony between nuclear power generation and the online appeal of science content is visually depicted in Figure 1, a scatterplot showcasing the strong positive correlation between the two variables. The points on the scatterplot form an almost ethereal pattern, illustrating how the allure of nuclear energy and the fascination with science on social media merge in an unexpected dance of statistical significance.
The implications of these findings are electrifying, urging us to ponder the uncharted frontiers of social media influence and the unexplored intersections between nuclear energy and digital engagement. It seems that when it comes to the nuclear 'reactor' to success, the power of online engagement and the enormity of atomic energy are indeed dynamically entwined. This study serves as a testament to the serendipity of research and the hidden connections that await discovery in the most unlikely of places.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The correlation between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, while initially met with a healthy dose of skepticism, has unearthed a veritable treasure trove of unexpected insights. Our findings not only substantiate the prior research by Smith et al. and Doe and Jones but also extend a bridge between the realms of nuclear power and the enigmatic world of YouTube engagement. As we delve into a discussion of the results, it becomes clear that the fusion of these seemingly unrelated domains yields an explosive synergy.

The strong positive correlation coefficient (r = 0.8735022) discovered in our study echoes the lighthearted contemplations put forth in "Atomic Alchemy" and "The Cybernuclear Chronicles." It seems that the alluring magnetism of nuclear energy, much like the haphazard attraction of particles within a collider, exerts a significant pull on the digital realm, shaping the way in which science-related content is received and engaged with online. The coefficient of determination (r-squared = 0.7630061) provides compelling evidence that approximately 76.3% of the variance in AsapSCIENCE YouTube likes can be explained by variations in nuclear power generation in Mexico, underscoring the palpable impact of nuclear prowess on virtual science enthusiasts.

In the grand scheme of scholarly pursuits, it's not every day that a study yields results of such magnitude. The statistical significance (p < 0.01) of the relationship between these two seemingly incongruous variables tantalizingly suggests that the convergence of nuclear energy and science-themed social media content is no serendipitous coincidence. Indeed, it appears that the gravitational pull of nuclear power transcends physical boundaries, extending its reach into the digital domain with an irresistible force, much like the gravity of a well-proven statistical relationship.

The implications of these groundbreaking insights extend beyond the confines of statistical analysis and into the realm of societal impact. The enigmatic allure of nuclear power and the magnetic resonance of science communication on social media, when viewed through the lens of our results, paint a vivid picture of a world brimming with unexpected interconnections. As we ponder the perplexing enigma of this correlation, we find ourselves immersed in a world where the unexpected juxtaposition of nuclear generators and digital 'likes' sparks an electrifying chain reaction of contemplation and inquiry.

Indeed, the unexpected harmony between nuclear power generation and the virtual embrace of science-themed content on YouTube exemplifies the humorously unpredictable nature of research. It seems that in the wondrous dance of statistics, the fusion of disparate domains can yield results that not only broaden our understanding but also serve as a testament to the serendipity of scientific exploration. As we continue to unravel the tangled web of correlations, it becomes abundantly clear that the nuclear 'reactor' to success may, in fact, be intertwined with the allure of digital engagement in a manner that transcends conventional wisdom and invites further exploration.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Nuclear power generation in Mexico and The average number of likes on AsapSCIENCE YouTube videos. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos"

[[ABSTRACT]]
This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

[[INTRDUCTION]]
INTRODUCTION
As the famous physicist Neil deGrasse Tyson once said, "Science is a way of thinking much more than it is a body of knowledge." With this sentiment in mind, our study seeks to unravel the enigmatic and somewhat bewildering connection between two seemingly unrelated phenomena: nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos.
When we initially stumbled upon this perplexing juxtaposition, we were struck by the sheer absurdity of attempting to draw a correlation between nuclear reactors and viral science content on social media. However, being the intrepid researchers that we are, we decided to embark on this unconventional journey of statistical analysis and humorous inquiry to decipher the underlying relationship, if any, between the two variables.
First and foremost, let's acknowledge the distinctiveness of our subjects. Nuclear power, with its complex infrastructure and potent energy output, stands as a behemoth in the realm of energy production. On the other hand, AsapSCIENCE, with its whimsical animations and quirky explanations of scientific concepts, captivates audiences through engaging and educational content. The two appear as distant cousins at best, and, quite frankly, we'd be forgiven for thinking the idea is as preposterous as finding a Higgs boson in a haystack.
Nevertheless, as in all things scientific, we weren't content to merely accept the status quo. We proceeded to examine the available data with the utmost meticulousness, determined to uncover any glimmer of a relationship, no matter how faint or seemingly implausible. Armed with statistical tools, a smidgen of skepticism, and an arsenal of science-themed puns, we set out to blend the serious business of correlation analysis with a liberal dash of levity and jest.
Join us as we embark on this whimsical odyssey, where the serious rigors of statistical analysis collide with the quirkiness of social media metrics and the power of nuclear fission. As we unravel the skein of data, we promise an awe-inspiring journey through t-tests, p-values, and the unexpected whims of the internet. En garde, statistical adventure awaits!

[[RESULTS]]
The statistical analysis of the data gathered from Energy Information Administration and YouTube led to some truly astounding and unexpected findings. The correlation coefficient (r) between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos was a whopping 0.8735022, indicating a remarkably strong positive correlation. This result left us positively charged with excitement, as we had anticipated a far more nuclear outcome!
Furthermore, the coefficient of determination (r-squared) was calculated to be 0.7630061, revealing that approximately 76.3% of the variability in the average number of likes on AsapSCIENCE YouTube videos can be explained by the variability in nuclear power generation in Mexico. This implies that the nuclear factor plays a significant role in shaping the online sentiments toward science-related content, which is truly mind-blowing!
The level of statistical significance, denoted as p, was found to be less than 0.01. This result indicates that the relationship between these two variables is highly unlikely to have occurred by mere chance, reinforcing the notion that there is indeed a substantial connection between nuclear power and the popularity of science-themed videos on social media. It seems that the nuclear reactor of engagement and the fusion of scientific curiosity have an undeniable synergy that extends from reactors to reactors...and reactors to reactors!
This unexpected harmony between nuclear power generation and the online appeal of science content is visually depicted in Figure 1, a scatterplot showcasing the strong positive correlation between the two variables. The points on the scatterplot form an almost ethereal pattern, illustrating how the allure of nuclear energy and the fascination with science on social media merge in an unexpected dance of statistical significance.
The implications of these findings are electrifying, urging us to ponder the uncharted frontiers of social media influence and the unexplored intersections between nuclear energy and digital engagement. It seems that when it comes to the nuclear 'reactor' to success, the power of online engagement and the enormity of atomic energy are indeed dynamically entwined. This study serves as a testament to the serendipity of research and the hidden connections that await discovery in the most unlikely of places.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has brought to light the shocking revelation that there exists a robust and positively charged correlation between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos. The as-tounding coefficient of 0.8735022 has left us feeling like we've split the statistical atom! Who would have thought that nuclear reactors could be so captivating, both in the physical and virtual realms?

The statistical significance at p < 0.01 indicates that this connection is no mere coincidence – it's the real deal! We've gone from contemplating neutrons and protons to pondering likes and subscribes – truly a quantum leap in our research endeavors.

As we wrap up this electrifying journey, we are confident in asserting that no more research is needed in this area. The synergy between nuclear reactors and reactors of engagement on social media has been laid bare for all to marvel at. It's a fusion of science and statistical sorcery that has left us positively radioactive with excitement.

So, fellow researchers, let's bid adieu to this quirky odyssey of statistical analysis and lighthearted inquiry. In the wise words of Marie Curie, "Nothing in life is to be feared, it is only to be understood." And indeed, in our pursuit of understanding, we've stumbled upon a correlation that is truly one for the atoms!


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 The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Nuclear Quirkiness


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 The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Quirky Energy and Social Media Research


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 The Nuclear 'Reactor' to Success: Exploring the Correlation Between Nuclear Power Generation in Mexico and the Average Number of Likes on AsapSCIENCE YouTube Videos with an abstract of This paper investigates the connection between nuclear power generation in Mexico and the average number of likes on AsapSCIENCE YouTube videos, utilizing a blend of serious statistical analysis and lighthearted inquiry. Through the lens of correlation analysis, the study delves into the juxtaposition of nuclear energy and the fascinating world of science-based entertainment on social media. The results reveal a surprisingly strong positive correlation, with a coefficient of 0.8735022 and statistical significance at p < 0.01, spanning the years 2012 to 2021. The implications of this unexpected relationship prompt reflection on the interconnectedness of seemingly disparate phenomena, urging both the scientific and nuclear energy communities to ponder the unexplored potentials of social media engagement.

ChatGPT:

nuclear power generation, Mexico, AsapSCIENCE YouTube videos, correlation analysis, statistical significance, social media engagement, nuclear energy, science-based entertainment, likes, YouTube, relationship, statistical 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

Nuclear power generation in Mexico
Detailed data title: Total nuclear power generation in Mexico in billion kWh
Source: Energy Information Administration
See what else correlates with Nuclear power generation in Mexico

The average number of likes on AsapSCIENCE YouTube videos
Detailed data title: The average number of likes on AsapSCIENCE YouTube videos.
Source: YouTube
See what else correlates with The average number of likes on AsapSCIENCE YouTube videos

Correlation r = 0.8735022 (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.7630061 (Coefficient of determination)
This means 76.3% of the change in the one variable (i.e., The average number of likes on AsapSCIENCE YouTube videos) is predictable based on the change in the other (i.e., Nuclear power generation in Mexico) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.00096. 0.0009589883497012250000000000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.87 in 0.096% of random cases. Said differently, if you correlated 1,043 random variables Which I absolutely did.
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.54, 0.97 ] 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
Nuclear power generation in Mexico (Billion kWh)8.40911.3779.30311.17710.27210.57213.31710.88110.866311.4326
The average number of likes on AsapSCIENCE YouTube videos (Average likes)36613.176499.360661.210660266910.470289.910778085870.669139.279500.6




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.




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([8.409,11.377,9.303,11.177,10.272,10.572,13.317,10.881,10.8663,11.4326,])
array_2 = np.array([36613.1,76499.3,60661.2,106602,66910.4,70289.9,107780,85870.6,69139.2,79500.6,])
array_1_name = "Nuclear power generation in Mexico"
array_2_name = "The average number of likes on AsapSCIENCE 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 correlation whisperer we needed!


Correlation ID: 4668 · Black Variable ID: 23822 · Red Variable ID: 25833
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0