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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is How nerdy Matt Parker's YouTube video titles are and the second variable is Solar power generated in Central African Republic.  The chart goes from 2011 to 2017, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the solar power output in the Central African Republic rises, it creates a surge of renewable energy. This energy inexplicably zaps the brains of stand-up mathematicians, leading to a sudden influx of nerdy video ideas. It's like a solar-powered brainstorm, shining a light on the wacky world of math humor. Who knew that the sun's radiant rays could factor so heavily into the punny calculations of stand-up math enthusiasts? It's a positively negative connection that's bound to multiply the laughter exponentially! Remember, folks, when it comes to solar-powered nerdy humor, the possibilities are as infinite as the digits of pi! Keep laughing and calculating, and may your jokes always be as sunny as a clear day in the Central African Republic!

Model: dalle-3
Prompt: Generate an image that combines the settings of "A scene from Skyrim" with the elements of "In the Central African Republic, a solar panel farm glistens under the blazing sun, as it diligently generates renewable energy. Nearby, a group of nerdy stand-up mathematicians huddle together, their brains sparked with inspiration. They excitedly jot down clever video titles on a whiteboard, while the sun's rays seem to fuel their creative energy." The generated image should feature a majestic landscape reminiscent of Skyrim, with rolling hills and ancient ruins. Atop one of the mountains, a solar panel farm glistens under the blazing sun, producing renewable energy. Nearby, a group of nerdy stand-up mathematicians huddle together, exchanging ideas as they excitedly jot down clever video titles on a whiteboard. The scene should capture the whimsical connection between renewable energy and mathematics, with the nerdy humor and creativity fueled by the sun's rays. 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: How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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: Charcoal Oragami A scene from Skyrim Futuristic An image that looks like it is a scene from A Disney Movie
ChatGPT: A scene from Skyrim

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 How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic, in the following situation: As the solar power output in the Central African Republic rises, it creates a surge of renewable energy. This energy inexplicably zaps the brains of stand-up mathematicians, leading to a sudden influx of nerdy video ideas. It's like a solar-powered brainstorm, shining a light on the wacky world of math humor. Who knew that the sun's radiant rays could factor so heavily into the punny calculations of stand-up math enthusiasts? It's a positively negative connection that's bound to multiply the laughter exponentially! Remember, folks, when it comes to solar-powered nerdy humor, the possibilities are as infinite as the digits of pi! Keep laughing and calculating, and may your jokes always be as sunny as a clear day in the Central African Republic!. Keep the description simple.
ChatGPT: In the Central African Republic, a solar panel farm glistens under the blazing sun, as it diligently generates renewable energy. Nearby, a group of nerdy stand-up mathematicians huddle together, their brains sparked with inspiration. They excitedly jot down clever video titles on a whiteboard, while the sun's rays seem to fuel their creative energy. It's a whimsical sight, as the solar power ignites a surge of nerdy humor, merging the worlds of renewable energy and math comedy in an unexpected, yet delightful, connection.

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 scene from Skyrim ] and depicting this scene: In the Central African Republic, a solar panel farm glistens under the blazing sun, as it diligently generates renewable energy. Nearby, a group of nerdy stand-up mathematicians huddle together, their brains sparked with inspiration. They excitedly jot down clever video titles on a whiteboard, while the sun's rays seem to fuel their creative energy. It's a whimsical sight, as the solar power ignites a surge of nerdy humor, merging the worlds of renewable energy and math comedy in an unexpected, yet delightful, connection. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image that combines the settings of "A scene from Skyrim" with the elements of "In the Central African Republic, a solar panel farm glistens under the blazing sun, as it diligently generates renewable energy. Nearby, a group of nerdy stand-up mathematicians huddle together, their brains sparked with inspiration. They excitedly jot down clever video titles on a whiteboard, while the sun's rays seem to fuel their creative energy." The generated image should feature a majestic landscape reminiscent of Skyrim, with rolling hills and ancient ruins. Atop one of the mountains, a solar panel farm glistens under the blazing sun, producing renewable energy. Nearby, a group of nerdy stand-up mathematicians huddle together, exchanging ideas as they excitedly jot down clever video titles on a whiteboard. The scene should capture the whimsical connection between renewable energy and mathematics, with the nerdy humor and creativity fueled by the sun's rays.

*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 How nerdy Stand-up Maths YouTube video titles are caused Solar power generated in Central African Republic to increase.

AI academic paper

(Because p < 0.01)
The Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic

The Journal of Renewable Energy Humor and Analysis

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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 AI analysis of YouTube video titles and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9226899 and p < 0.01 for 2011 to 2017.

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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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]]
"The Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The overlap of nerdy humor and serious energy production seems about as likely as a cat barking like a dog. Yet, here we are, delving into the hitherto unexplored connection between the wittily-titled Stand-up Maths YouTube videos and the generation of solar power in the sun-drenched Central African Republic. This endeavor may seem as paradoxical as finding a solar panel in a dark room, but it is precisely this unpredictability that piqued our curiosity.

It is said that "the best way to predict the future is to create it," and what better way to create the whimsical world of nerdy humor than through stand-up mathematics? However, coupling this with the practical application of solar power in a region known for its abundant sunshine introduces an unexpected twist, akin to finding a hidden joke in a complex equation.

Our journey began with the determination to approach this research with a lightheartedness befitting of the subject matter, all while keeping a keen eye on the rigorous scientific foundation our investigation demanded. The unexpected juxtaposition of these two disparate domains rendered the task a bit like balancing a delicate equation on the tip of a pencil – challenging, yet ripe with opportunities for unexpected, light-hearted discoveries. We set out, armed with AI analysis of YouTube video titles and robust data from the Energy Information Administration, to explore this quirky union from 2011 to 2017.

In the following sections, we delve into the unexpected correlations we unearthed, allowing us to bask in the warm glow of both statistical significance and shared amusement. This intersection of nerdy humor, mathematical curiosity, and renewable energy may seem as unlikely as discovering a unicorn grazing in a field of differential equations, but it has unfurled a tapestry of unforeseen connections and opportunities for intriguing insights. Join us as we embark on this peculiar journey where math, laughter, and solar power converge in a kaleidoscope of intellectual mirth and practical enthusiasm.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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 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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The overlap of nerdy humor and serious energy production seems about as likely as a cat barking like a dog. Yet, here we are, delving into the hitherto unexplored connection between the wittily-titled Stand-up Maths YouTube videos and the generation of solar power in the sun-drenched Central African Republic. This endeavor may seem as paradoxical as finding a solar panel in a dark room, but it is precisely this unpredictability that piqued our curiosity.
It is said that "the best way to predict the future is to create it," and what better way to create the whimsical world of nerdy humor than through stand-up mathematics? However, coupling this with the practical application of solar power in a region known for its abundant sunshine introduces an unexpected twist, akin to finding a hidden joke in a complex equation.
Our journey began with the determination to approach this research with a lightheartedness befitting of the subject matter, all while keeping a keen eye on the rigorous scientific foundation our investigation demanded. The unexpected juxtaposition of these two disparate domains rendered the task a bit like balancing a delicate equation on the tip of a pencil – challenging, yet ripe with opportunities for unexpected, light-hearted discoveries. We set out, armed with AI analysis of YouTube video titles and robust data from the Energy Information Administration, to explore this quirky union from 2011 to 2017.
In the following sections, we delve into the unexpected correlations we unearthed, allowing us to bask in the warm glow of both statistical significance and shared amusement. This intersection of nerdy humor, mathematical curiosity, and renewable energy may seem as unlikely as discovering a unicorn grazing in a field of differential equations, but it has unfurled a tapestry of unforeseen connections and opportunities for intriguing insights. Join us as we embark on this peculiar journey where math, laughter, and solar power converge in a kaleidoscope of intellectual mirth and practical enthusiasm.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The literature on the relationship between nerdy humor and solar power generation might seem as elusive as trying to catch sunlight with a butterfly net. The study by Smith (2015) provides an in-depth analysis of the societal impact of solar power, while Doe and Jones (2017) delve into the mathematical intricacies of stand-up comedy, albeit in a broader context. These serious works set the stage for our investigation into the unlikely marriage of nerdy Stand-up Maths YouTube video titles and the practicalities of solar power installation in the Central African Republic.

Moving into the realm of non-fiction books, "Solar Power: The Complete Guide" by Johnson et al. (2018) offers a comprehensive overview of solar energy applications, juxtaposed against "The Mathematics of Humor" by Brown (2016), which investigates the cognitive process behind finding jokes amusing. These established sources provide a foundation for understanding the seriousness of solar power juxtaposed with the lightheartedness of mathematical humor, akin to the unexpected delight of finding a pun in a technical manual.

Venturing into the fictitious world, "The Solar Serenade" by Rivers (2014) presents a fictional narrative following a group of mathematicians as they attempt to harness the power of the sun, while "The Comical Calculus" by Greene (2017) amusingly weaves intricate formulas into comedic tales. These seemingly unrelated works offer a whimsical twist, not unlike finding a punchline in a scientific theorem.

Amidst this scholarly pursuit, it is worth noting the unexpected sources of insight encountered. The literature review extended to perusing the backs of shampoo bottles, in a lighthearted attempt to tap into the unexpected and find humor in the mundane. Such unconventional sources surprisingly yielded tidbits of wisdom, akin to discovering a hidden treasure map in a stack of comic books.

The juxtaposition of these diverse sources mirrors the unexpected correlation at the heart of our investigation, where nerdy humor and solar power converge, not unlike unexpected punchlines in the annals of academic literature.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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 AI analysis of YouTube video titles and Energy Information Administration . You used data from 2011 to 2017

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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

[[INTRODUCTION]]
The overlap of nerdy humor and serious energy production seems about as likely as a cat barking like a dog. Yet, here we are, delving into the hitherto unexplored connection between the wittily-titled Stand-up Maths YouTube videos and the generation of solar power in the sun-drenched Central African Republic. This endeavor may seem as paradoxical as finding a solar panel in a dark room, but it is precisely this unpredictability that piqued our curiosity.
It is said that "the best way to predict the future is to create it," and what better way to create the whimsical world of nerdy humor than through stand-up mathematics? However, coupling this with the practical application of solar power in a region known for its abundant sunshine introduces an unexpected twist, akin to finding a hidden joke in a complex equation.
Our journey began with the determination to approach this research with a lightheartedness befitting of the subject matter, all while keeping a keen eye on the rigorous scientific foundation our investigation demanded. The unexpected juxtaposition of these two disparate domains rendered the task a bit like balancing a delicate equation on the tip of a pencil – challenging, yet ripe with opportunities for unexpected, light-hearted discoveries. We set out, armed with AI analysis of YouTube video titles and robust data from the Energy Information Administration, to explore this quirky union from 2011 to 2017.
In the following sections, we delve into the unexpected correlations we unearthed, allowing us to bask in the warm glow of both statistical significance and shared amusement. This intersection of nerdy humor, mathematical curiosity, and renewable energy may seem as unlikely as discovering a unicorn grazing in a field of differential equations, but it has unfurled a tapestry of unforeseen connections and opportunities for intriguing insights. Join us as we embark on this peculiar journey where math, laughter, and solar power converge in a kaleidoscope of intellectual mirth and practical enthusiasm.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To navigate the uncharted waters of the intersection between nerdy Stand-up Maths YouTube video titles and solar power generation in the Central African Republic, our research team devised a multifaceted methodology that merged analytical rigor with a good-natured sense of curiosity. We embarked on this quest armed with an unwavering commitment to scientific inquiry and an equal enthusiasm for a liberal sprinkling of lightheartedness.

Firstly, the AI analysis of YouTube video titles was conducted with a scrupulous attention to detail, employing a bespoke algorithm affectionately named "Laugh-o-Metric 3000." This sophisticated system was meticulously calibrated to detect the degree of nerdy humor embedded within video titles, taking into account pun density, esoteric mathematical references, and the propensity for inducing chuckles among both math aficionados and casual viewers. The AI analysis scoured the depths of the internet to procure a comprehensive dataset of Stand-up Maths video titles, capturing their infectious witticism, and latent comedic potential.

Concurrently, our research team delved into the treasure trove of data from the Energy Information Administration, immersing ourselves in an expanse of solar power generation statistics from the Central African Republic. This involved navigating through a complex maze of solar irradiance, power capacity, and energy output, akin to embarking on a mathematical dungeon quest, armed with nothing but a trusty calculator and an insatiable appetite for knowledge.

The integration of these disparate datasets was akin to choreographing a whimsical dance between quantitative values and irreverent linguistic expressions, all in the pursuit of unearthing any sign of correlation between the two realms. Our statistical analysis elicited a mirthful surprise as it unfurled a strong correlation coefficient (r = 0.9226899) and p-value (p < 0.01), suggesting a statistically significant association between the nerdy allure of Stand-up Maths and the harnessing of solar energy in Central Africa.

In order to ensure the comprehensiveness and reliability of our findings, meticulous attention was given to the temporal scope of the study, spanning the years 2011 to 2017. This enabled us to capture the evolution of both the YouTube video titles and solar power generation over a sufficient period, analogous to observing the comedic stylings of a mathematician as they also grow and adapt over time.

Notwithstanding the arduous nature of this investigation, our team endeavored to maintain an air of adventure and joviality, reminiscent of a harmonious blend of Escher's optical illusions and a stand-up comedy routine. This approach allowed us to not only uncover a surprising correlation but also to infuse this scholarly pursuit with an undercurrent of amusement, celebrating the delightful quirks that emerge when mathematics meets mirth and solar power.

The following sections expound upon the tangible connection we uncovered, inviting our esteemed readers to share in the marvel and merriment that this unconventional fusion of nerdy humor and sustainable power generation has brought to light.


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

Please make up the results section of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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 AI analysis of YouTube video titles and Energy Information Administration .

For the time period 2011 to 2017, you found a correlation 0.9226899, r-squared of 0.8513566, 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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The overlap of nerdy humor and serious energy production seems about as likely as a cat barking like a dog. Yet, here we are, delving into the hitherto unexplored connection between the wittily-titled Stand-up Maths YouTube videos and the generation of solar power in the sun-drenched Central African Republic. This endeavor may seem as paradoxical as finding a solar panel in a dark room, but it is precisely this unpredictability that piqued our curiosity.
It is said that "the best way to predict the future is to create it," and what better way to create the whimsical world of nerdy humor than through stand-up mathematics? However, coupling this with the practical application of solar power in a region known for its abundant sunshine introduces an unexpected twist, akin to finding a hidden joke in a complex equation.
Our journey began with the determination to approach this research with a lightheartedness befitting of the subject matter, all while keeping a keen eye on the rigorous scientific foundation our investigation demanded. The unexpected juxtaposition of these two disparate domains rendered the task a bit like balancing a delicate equation on the tip of a pencil – challenging, yet ripe with opportunities for unexpected, light-hearted discoveries. We set out, armed with AI analysis of YouTube video titles and robust data from the Energy Information Administration, to explore this quirky union from 2011 to 2017.
In the following sections, we delve into the unexpected correlations we unearthed, allowing us to bask in the warm glow of both statistical significance and shared amusement. This intersection of nerdy humor, mathematical curiosity, and renewable energy may seem as unlikely as discovering a unicorn grazing in a field of differential equations, but it has unfurled a tapestry of unforeseen connections and opportunities for intriguing insights. Join us as we embark on this peculiar journey where math, laughter, and solar power converge in a kaleidoscope of intellectual mirth and practical enthusiasm.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis of the data revealed a remarkably strong correlation between the nerdy Stand-up Maths YouTube video titles and solar power generation in the Central African Republic. The correlation coefficient of 0.9226899 and an r-squared value of 0.8513566 indicated a robust and significant relationship between these two ostensibly incongruous realms. To put it in layman's terms, the connection between the whimsical allure of nerdy math and the pragmatic application of solar power in a sun-soaked region is as clear as finding a punchline in a complex equation.

Fig. 1 presents a scatterplot depicting the noteworthy correlation between the nerdy Stand-up Maths YouTube video titles and solar power generated in the Central African Republic. The data points exhibit a tightly clustered pattern, which visually reinforces the strong statistical relationship we uncovered. It's as if the data itself was eager to demonstrate the unexpected interplay between mathematical humor and renewable energy production.

Our findings not only offer a compelling statistical insight into this unlikely connection but also provide a delightful reminder of the unpredictability inherent in both mathematics and solar energy. Like discovering a hidden Easter egg in an algorithm, our study illuminates the colorful convergence of entertainment and practicality in a domain where unexpected correlations manifest themselves in the most amusing fashion.

The p-value of less than 0.01 further underscores the robustness of the relationship, cementing the unlikely kinship between the nerdy world of mathematics and the earnest field of solar power generation. The statistical significance of this correlation is as undeniable as a mathematical proof, underlining the unison of humor and sustainability in a manner that defies traditional expectations.

The study not only unravels this intriguing correlation but also sets the stage for further exploration of the uncharted territory where mathematical curiosity meets the pursuit of sustainable energy. The unexpected harmony between these two disparate domains is akin to stumbling upon a serendipitous pun in the midst of a complex algorithm, reminding us that even in the most unexpected places, humor and practicality can intertwine to create a harmonious narrative.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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]]
"The Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

[[LITERATURE REVIEW]]
The literature on the relationship between nerdy humor and solar power generation might seem as elusive as trying to catch sunlight with a butterfly net. The study by Smith (2015) provides an in-depth analysis of the societal impact of solar power, while Doe and Jones (2017) delve into the mathematical intricacies of stand-up comedy, albeit in a broader context. These serious works set the stage for our investigation into the unlikely marriage of nerdy Stand-up Maths YouTube video titles and the practicalities of solar power installation in the Central African Republic.
Moving into the realm of non-fiction books, "Solar Power: The Complete Guide" by Johnson et al. (2018) offers a comprehensive overview of solar energy applications, juxtaposed against "The Mathematics of Humor" by Brown (2016), which investigates the cognitive process behind finding jokes amusing. These established sources provide a foundation for understanding the seriousness of solar power juxtaposed with the lightheartedness of mathematical humor, akin to the unexpected delight of finding a pun in a technical manual.
Venturing into the fictitious world, "The Solar Serenade" by Rivers (2014) presents a fictional narrative following a group of mathematicians as they attempt to harness the power of the sun, while "The Comical Calculus" by Greene (2017) amusingly weaves intricate formulas into comedic tales. These seemingly unrelated works offer a whimsical twist, not unlike finding a punchline in a scientific theorem.
Amidst this scholarly pursuit, it is worth noting the unexpected sources of insight encountered. The literature review extended to perusing the backs of shampoo bottles, in a lighthearted attempt to tap into the unexpected and find humor in the mundane. Such unconventional sources surprisingly yielded tidbits of wisdom, akin to discovering a hidden treasure map in a stack of comic books.
The juxtaposition of these diverse sources mirrors the unexpected correlation at the heart of our investigation, where nerdy humor and solar power converge, not unlike unexpected punchlines in the annals of academic literature.

[[RESULTS]]
The statistical analysis of the data revealed a remarkably strong correlation between the nerdy Stand-up Maths YouTube video titles and solar power generation in the Central African Republic. The correlation coefficient of 0.9226899 and an r-squared value of 0.8513566 indicated a robust and significant relationship between these two ostensibly incongruous realms. To put it in layman's terms, the connection between the whimsical allure of nerdy math and the pragmatic application of solar power in a sun-soaked region is as clear as finding a punchline in a complex equation.
Fig. 1 presents a scatterplot depicting the noteworthy correlation between the nerdy Stand-up Maths YouTube video titles and solar power generated in the Central African Republic. The data points exhibit a tightly clustered pattern, which visually reinforces the strong statistical relationship we uncovered. It's as if the data itself was eager to demonstrate the unexpected interplay between mathematical humor and renewable energy production.
Our findings not only offer a compelling statistical insight into this unlikely connection but also provide a delightful reminder of the unpredictability inherent in both mathematics and solar energy. Like discovering a hidden Easter egg in an algorithm, our study illuminates the colorful convergence of entertainment and practicality in a domain where unexpected correlations manifest themselves in the most amusing fashion.
The p-value of less than 0.01 further underscores the robustness of the relationship, cementing the unlikely kinship between the nerdy world of mathematics and the earnest field of solar power generation. The statistical significance of this correlation is as undeniable as a mathematical proof, underlining the unison of humor and sustainability in a manner that defies traditional expectations.
The study not only unravels this intriguing correlation but also sets the stage for further exploration of the uncharted territory where mathematical curiosity meets the pursuit of sustainable energy. The unexpected harmony between these two disparate domains is akin to stumbling upon a serendipitous pun in the midst of a complex algorithm, reminding us that even in the most unexpected places, humor and practicality can intertwine to create a harmonious narrative.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The unexpected and eccentric correlation between the nerdy Stand-up Maths YouTube video titles and solar power generation in the Central African Republic has unearthed a captivating fusion of whimsy and practicality. Our statistical analysis validated and reinforced the prior research that may have initially seemed as elusive as attempting to calculate the humor in a complex algorithm. The robust correlation coefficient and p-value align seamlessly with the lightheartedness of the nerdy math titles and the seriousness of solar power application, reminiscent of discovering a pun in a technical manual and realizing it wasn't just a fluke.

Our findings playfully manifest the unexpected convergence between mathematics and solar energy, akin to stumbling upon a serendipitous pun in the midst of a complex algorithm. The scatterplot pattern of the data not only visually highlights the remarkable statistical relationship but also offers a reminder of the colorful interplay between entertainment and practicality in unexpected realms. It's as if the data itself was eager to demonstrate the delightful lighthearted connection, like finding humor in the mundane or uncovering a hidden Easter egg in an algorithm.

The statistical significance of this correlation, with a p-value of less than 0.01, underscores the resilient link between nerdy mathematics and sustainable energy. This validation of the unexpected kinship between two disparate domains is as undeniable as a mathematical proof, reinforcing the unison of humor and sustainability in a manner that defies traditional expectations. It's as clear as finding a punchline in a complex equation, underlining the unforeseen harmony between these realms.

In conclusion, our research has not only spotlighted the whimsical convergence between nerdy math and solar power but also beckons further exploration of the uncharted territory where mathematical curiosity meets the pursuit of sustainable energy. The harmonious narrative between humor and practicality in this niche presents an exceptional opportunity for interdisciplinary cooperation and a lighthearted approach to sustainable solutions. After all, who would have thought that a nerdy stand-up comedian's YouTube video title could shed light on practical sustainable energy generation in Central Africa?

Continued exploration in this unconventional field promises to integrate humor and sustainability in a novel and entertaining manner, creating a paradigm shift in the interdisciplinary dialogue between nerdy humor and renewable energy. It's a delightful reminder that even in the most unexpected places, humor and practicality can intertwine to create a harmonious narrative that captivates and enlightens.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in Central African Republic. 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]]
"The Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic"

[[ABSTRACT]]
This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

[[INTRDUCTION]]
The overlap of nerdy humor and serious energy production seems about as likely as a cat barking like a dog. Yet, here we are, delving into the hitherto unexplored connection between the wittily-titled Stand-up Maths YouTube videos and the generation of solar power in the sun-drenched Central African Republic. This endeavor may seem as paradoxical as finding a solar panel in a dark room, but it is precisely this unpredictability that piqued our curiosity.
It is said that "the best way to predict the future is to create it," and what better way to create the whimsical world of nerdy humor than through stand-up mathematics? However, coupling this with the practical application of solar power in a region known for its abundant sunshine introduces an unexpected twist, akin to finding a hidden joke in a complex equation.
Our journey began with the determination to approach this research with a lightheartedness befitting of the subject matter, all while keeping a keen eye on the rigorous scientific foundation our investigation demanded. The unexpected juxtaposition of these two disparate domains rendered the task a bit like balancing a delicate equation on the tip of a pencil – challenging, yet ripe with opportunities for unexpected, light-hearted discoveries. We set out, armed with AI analysis of YouTube video titles and robust data from the Energy Information Administration, to explore this quirky union from 2011 to 2017.
In the following sections, we delve into the unexpected correlations we unearthed, allowing us to bask in the warm glow of both statistical significance and shared amusement. This intersection of nerdy humor, mathematical curiosity, and renewable energy may seem as unlikely as discovering a unicorn grazing in a field of differential equations, but it has unfurled a tapestry of unforeseen connections and opportunities for intriguing insights. Join us as we embark on this peculiar journey where math, laughter, and solar power converge in a kaleidoscope of intellectual mirth and practical enthusiasm.

[[RESULTS]]
The statistical analysis of the data revealed a remarkably strong correlation between the nerdy Stand-up Maths YouTube video titles and solar power generation in the Central African Republic. The correlation coefficient of 0.9226899 and an r-squared value of 0.8513566 indicated a robust and significant relationship between these two ostensibly incongruous realms. To put it in layman's terms, the connection between the whimsical allure of nerdy math and the pragmatic application of solar power in a sun-soaked region is as clear as finding a punchline in a complex equation.
Fig. 1 presents a scatterplot depicting the noteworthy correlation between the nerdy Stand-up Maths YouTube video titles and solar power generated in the Central African Republic. The data points exhibit a tightly clustered pattern, which visually reinforces the strong statistical relationship we uncovered. It's as if the data itself was eager to demonstrate the unexpected interplay between mathematical humor and renewable energy production.
Our findings not only offer a compelling statistical insight into this unlikely connection but also provide a delightful reminder of the unpredictability inherent in both mathematics and solar energy. Like discovering a hidden Easter egg in an algorithm, our study illuminates the colorful convergence of entertainment and practicality in a domain where unexpected correlations manifest themselves in the most amusing fashion.
The p-value of less than 0.01 further underscores the robustness of the relationship, cementing the unlikely kinship between the nerdy world of mathematics and the earnest field of solar power generation. The statistical significance of this correlation is as undeniable as a mathematical proof, underlining the unison of humor and sustainability in a manner that defies traditional expectations.
The study not only unravels this intriguing correlation but also sets the stage for further exploration of the uncharted territory where mathematical curiosity meets the pursuit of sustainable energy. The unexpected harmony between these two disparate domains is akin to stumbling upon a serendipitous pun in the midst of a complex algorithm, reminding us that even in the most unexpected places, humor and practicality can intertwine to create a harmonious narrative.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the connection between How nerdy Stand-up Maths YouTube video titles are and Solar power generated in the Central African Republic has yielded surprisingly substantial results. The significant correlation coefficient and p-value, akin to finding a perfectly timed punchline, point to an unexpected and robust relationship between the whimsical world of mathematical humor and the practical arena of solar energy. The visual representation of the data in Fig. 1, with its tightly clustered pattern, offers a vivid portrayal of the unanticipated convergence between these seemingly disparate domains, akin to stumbling upon an inside joke in a complex equation.

These findings not only expand our understanding of the interconnectedness of humor and sustainability but also underscore the unpredictable nature of mathematical inquiry and renewable energy generation. The unexpected kinship uncovered in this study is akin to discovering a hidden gem in a sea of data – a delightful surprise that challenges preconceived notions and offers a refreshing perspective on the intersection of entertainment and pragmatism.

As we reflect on the humor-infused journey of uncovering this improbable correlation, it becomes evident that no further research in this area is needed. The delightful unison of nerdy math humor and solar power generation has been illuminated, leaving us with an amusing tale of statistical significance and practical whimsy that stands as a testament to the unpredictability and mirthful nature of scientific exploration. Just as a well-crafted joke lingers in the mind, this unexpected correlation leaves an indelible mark on the academic landscape, reminding us that even in the realm of serious inquiry, lighthearted discoveries abound.


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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Renewable Energy Humor and Analysis


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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Solar Energy Mathematics and Humor Integration


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 Nerdy Math of Solar Power: A Stand-Up YouTube Analysis in Central African Republic with an abstract of This paper investigates the peculiar and unlikely relationship between the whimsical world of nerdy Stand-up Maths YouTube video titles and the pragmatic realm of solar power generation in the Central African Republic. Leveraging AI analysis of YouTube video titles and data from the Energy Information Administration, our research team conducted a comprehensive study from 2011 to 2017. The analysis unveiled a surprisingly strong correlation coefficient of 0.9226899 and p < 0.01, reflecting the unexpected link between the two seemingly unrelated domains. In addition to shedding light on the unexpected connection, this research also offers a humorous and entertaining lens through which to view the intersection of mathematics, solar energy, and digital media.

ChatGPT:

Stand-up Maths, YouTube analysis, solar power, Central African Republic, AI analysis, Energy Information Administration, correlation coefficient, mathematics, solar energy, digital media

*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

How nerdy Matt Parker's YouTube video titles are
Detailed data title: How nerdy Stand-up Maths YouTube video titles are, as rated by an AI.
Source: AI analysis of Stand-up Maths YouTube video titles
Additional Info: I asked a large language model, 'On a scale of 1-10, how _______ do you think this YouTube video title is?' for every video.

See what else correlates with How nerdy Matt Parker's YouTube video titles are

Solar power generated in Central African Republic
Detailed data title: Total solar power generated in Central African Republic in billion kWh
Source: Energy Information Administration
See what else correlates with Solar power generated in Central African Republic

Correlation r = 0.9226899 (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.8513566 (Coefficient of determination)
This means 85.1% of the change in the one variable (i.e., Solar power generated in Central African Republic) is predictable based on the change in the other (i.e., How nerdy Matt Parker's YouTube video titles are) over the 7 years from 2011 through 2017.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.003061. 0.0030606705548236073000000000
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.92 in 0.3061% of random cases. Said differently, if you correlated 327 random variables Which I absolutely did.
with the same 6 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 6 because we have two variables measured over a period of 7 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.56, 0.99 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2011201220132014201520162017
How nerdy Matt Parker's YouTube video titles are (Nerdiness score)5.33336.66676.66676.56.356.61226.1667
Solar power generated in Central African Republic (Billion kWh)0.00030.00040.00040.00040.00040.00040.0004




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




Try it yourself

You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.

Step 2: Open a plaintext editor like Notepad and paste the code below into it.

Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"

Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.

Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.

Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.

Step 7: Run the Python script by typing "python calculate_correlation.py"

If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:

"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."


# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats

# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):

    # Calculate Pearson correlation coefficient and p-value
    correlation, p_value = stats.pearsonr(array1, array2)

    # Calculate R-squared as the square of the correlation coefficient
    r_squared = correlation**2

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([5.3333,6.6667,6.6667,6.5,6.35,6.6122,6.1667,])
array_2 = np.array([0.0003,0.0004,0.0004,0.0004,0.0004,0.0004,0.0004,])
array_1_name = "How nerdy Matt Parker's YouTube video titles are"
array_2_name = "Solar power generated in Central African Republic"

# 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 a rater extraordinaire!


Correlation ID: 5141 · Black Variable ID: 25800 · Red Variable ID: 23582
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0