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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Butter consumption and the second variable is Total length of Mark Rober YouTube videos.  The chart goes from 2011 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As butter consumption went up, so did the length of Mark Rober's videos. It's a slippery slope of correlation and causation - seems like the more butter we spread, the longer his content churns out. Maybe all that extra butter got people to really 'unwind' and watch, leading Mark to 'butter up' his videos with more 'cream' of entertainment. Who knew that the key to extended Rober content was just a 'butter' understanding of viewer preferences?

Model: dalle-3
Prompt: Create an image of a futuristic kitchen with a large stick of butter melting on a hot griddle, sizzling and slowly liquefying. The butter flows and expands, covering the entire surface with a smooth, golden layer. In the background, a sleek computer screen displays a playlist of Mark Rober's YouTube videos, each with a longer duration than the last, playing continuously. The butter and the videos, both increasing in volume and length, seem to mirror each other in their gradual growth. 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: Butter consumption and Total length of Mark Rober YouTube videos. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: Data cyber art Cyber folk Low poly Futuristic Low poly
ChatGPT: Futuristic

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 Butter consumption and Total length of Mark Rober YouTube videos, in the following situation: As butter consumption went up, so did the length of Mark Rober's videos. It's a slippery slope of correlation and causation - seems like the more butter we spread, the longer his content churns out. Maybe all that extra butter got people to really 'unwind' and watch, leading Mark to 'butter up' his videos with more 'cream' of entertainment. Who knew that the key to extended Rober content was just a 'butter' understanding of viewer preferences?. Keep the description simple.
ChatGPT: Imagine a scene where a large stick of butter is melting on a hot griddle, sizzling and slowly liquefying. As the butter melts, it flows and expands, covering the entire surface with a smooth, golden layer. Meanwhile, in the background, a computer screen displays a playlist of Mark Rober's YouTube videos, each with a longer duration than the last, playing continuously. The butter and the videos, both increasing in volume and length, seem to mirror each other in their gradual growth.

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: [ Futuristic ] and depicting this scene: Imagine a scene where a large stick of butter is melting on a hot griddle, sizzling and slowly liquefying. As the butter melts, it flows and expands, covering the entire surface with a smooth, golden layer. Meanwhile, in the background, a computer screen displays a playlist of Mark Rober's YouTube videos, each with a longer duration than the last, playing continuously. The butter and the videos, both increasing in volume and length, seem to mirror each other in their gradual growth. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create an image of a futuristic kitchen with a large stick of butter melting on a hot griddle, sizzling and slowly liquefying. The butter flows and expands, covering the entire surface with a smooth, golden layer. In the background, a sleek computer screen displays a playlist of Mark Rober's YouTube videos, each with a longer duration than the last, playing continuously. The butter and the videos, both increasing in volume and length, seem to mirror each other in their gradual growth.

*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 Butter consumption caused Total length of Mark Rober YouTube videos to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos

The Journal of Dairy Delights

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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Rhyme words in the title.

Your research team used data from USDA and YouTube to assess this nagging question. You found a correlation coefficient of 0.9111904 and p < 0.01 for 2011 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]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.


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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
Introduction

Butter, a staple in many households and a beloved companion to many culinary creations, has long been a subject of fascination and scrutiny. Its creamy richness adds flavor and flair to dishes, but could it also have a hidden influence on unexpected aspects of our lives? As researchers, we are often urged to "spread our findings," but in this case, we aimed to "spread some butter," as we delved into the enigmatic relationship between butter consumption and the total length of Mark Rober's YouTube videos. It's a tale as old as thyme!

You might wonder, "What does butter have to do with Mark Rober's engineering marvels?" Well, hold onto your margarine, because our investigation has uncovered a correlation that is as surprising as finding a tiny, butter-themed hat atop a stick of butter. As we embarked on this study, we couldn't help but take each data point with a grain of salt – or better yet, a pat of butter – as we navigated a sea of spreadsheets and scrambled for correlations.

Now, before we get too spread out, let's "whisk" into the specifics. Our curiosity was piqued by the notion that the length of Mark Rober's videos might be influenced by a factor as seemingly unrelated as butter consumption. It's almost as if the universe conspired to butter us up with this puzzling yet intriguing anomaly.

With our research, we aimed to provide empirical evidence to support the hypothesis that butter consumption, much like a well-whipped batter, has a hand in determining the length of educational content provided by engineering enthusiasts such as Mark Rober. Who would have thought that butter, often found on breakfast tables, would have implications for what's on our screens?

So, grab a slice of toast, slather on the butter, and let's embark on a scientific journey that will have us pondering, "Was it the butter or the batter that influenced Mark Rober's video length?" It's a question that might just spread like wildfire, much like melted butter on a hot griddle.


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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Introduction
Butter, a staple in many households and a beloved companion to many culinary creations, has long been a subject of fascination and scrutiny. Its creamy richness adds flavor and flair to dishes, but could it also have a hidden influence on unexpected aspects of our lives? As researchers, we are often urged to "spread our findings," but in this case, we aimed to "spread some butter," as we delved into the enigmatic relationship between butter consumption and the total length of Mark Rober's YouTube videos. It's a tale as old as thyme!
You might wonder, "What does butter have to do with Mark Rober's engineering marvels?" Well, hold onto your margarine, because our investigation has uncovered a correlation that is as surprising as finding a tiny, butter-themed hat atop a stick of butter. As we embarked on this study, we couldn't help but take each data point with a grain of salt – or better yet, a pat of butter – as we navigated a sea of spreadsheets and scrambled for correlations.
Now, before we get too spread out, let's "whisk" into the specifics. Our curiosity was piqued by the notion that the length of Mark Rober's videos might be influenced by a factor as seemingly unrelated as butter consumption. It's almost as if the universe conspired to butter us up with this puzzling yet intriguing anomaly.
With our research, we aimed to provide empirical evidence to support the hypothesis that butter consumption, much like a well-whipped batter, has a hand in determining the length of educational content provided by engineering enthusiasts such as Mark Rober. Who would have thought that butter, often found on breakfast tables, would have implications for what's on our screens?
So, grab a slice of toast, slather on the butter, and let's embark on a scientific journey that will have us pondering, "Was it the butter or the batter that influenced Mark Rober's video length?" It's a question that might just spread like wildfire, much like melted butter on a hot griddle.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Numerous scholarly works have delved into the peculiar relationships between seemingly disparate variables. In "Butterology: A Spread to the Senses," Smith et al. investigate the sensory experience of butter consumption and its potential impact on cognitive processes. Similarly, Doe examines the cultural significance of butter in "Butter Chronicles: A Creamy Culinary Trail," shedding light on the historical and socio-economic factors shaping butter consumption patterns.

However, as we searched for literature addressing the entwinement of butter consumption and YouTube video lengths, we found ourselves venturing into uncharted territories reminiscent of a butter churner navigating uncharted cream. The correlation we sought was as elusive as finding the last pat of butter in the fridge – until we stumbled upon "The Bountiful Butter Effect: Unearthing Unlikely Links" by Jones, which unexpectedly touched upon the influence of dairy products on creative output.

Transitioning from scholarly inquiries to the culinary realm, culinary aficionados have pondered the implications of butter beyond the kitchen. "The Art of Butter: Beyond Baking" by B. Logan provides insights into the whimsical world of butter sculptures and their potential impact on artistic expression. This leaves us asking: could Mark Rober's creativity be similarly influenced?

In the land of fiction, one cannot overlook the classic work of literature, "The Butterly Effect" by R. Ashton. Though not directly related to our research topic, the novel's exploration of the ripple effects of small actions resonates with our quest to unravel the mysteries of butter's influence. On a lighter note, the comical novel "The Land of Margarine" by P. Maple introduces a whimsical world where butter substitutes reign supreme, offering a humorous take on the omnipresence of butter-related phenomena.

Through the digital grapevine, social media posts have surfaced, hinting at the tacit association between butter consumption and the duration of Mark Rober's YouTube videos. One influencer humorously quipped, "Perhaps Mark Rober is buttering us up with lengthy videos to spread awareness about dairy farmers!" This casual remark encapsulates the lighthearted speculation swirling around our research topic.

In the midst of uncovering the comical and capricious connections between butter consumption and Mark Rober's YouTube video durations, our academic pursuits have taken a delightfully unexpected turn. The but-tery path we have embarked upon has not only enriched our academic endeavors but also infused a generous dollop of whimsy into our research.


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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from USDA and YouTube . You used data from 2011 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]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

[[INTRODUCTION]]
Introduction
Butter, a staple in many households and a beloved companion to many culinary creations, has long been a subject of fascination and scrutiny. Its creamy richness adds flavor and flair to dishes, but could it also have a hidden influence on unexpected aspects of our lives? As researchers, we are often urged to "spread our findings," but in this case, we aimed to "spread some butter," as we delved into the enigmatic relationship between butter consumption and the total length of Mark Rober's YouTube videos. It's a tale as old as thyme!
You might wonder, "What does butter have to do with Mark Rober's engineering marvels?" Well, hold onto your margarine, because our investigation has uncovered a correlation that is as surprising as finding a tiny, butter-themed hat atop a stick of butter. As we embarked on this study, we couldn't help but take each data point with a grain of salt – or better yet, a pat of butter – as we navigated a sea of spreadsheets and scrambled for correlations.
Now, before we get too spread out, let's "whisk" into the specifics. Our curiosity was piqued by the notion that the length of Mark Rober's videos might be influenced by a factor as seemingly unrelated as butter consumption. It's almost as if the universe conspired to butter us up with this puzzling yet intriguing anomaly.
With our research, we aimed to provide empirical evidence to support the hypothesis that butter consumption, much like a well-whipped batter, has a hand in determining the length of educational content provided by engineering enthusiasts such as Mark Rober. Who would have thought that butter, often found on breakfast tables, would have implications for what's on our screens?
So, grab a slice of toast, slather on the butter, and let's embark on a scientific journey that will have us pondering, "Was it the butter or the batter that influenced Mark Rober's video length?" It's a question that might just spread like wildfire, much like melted butter on a hot griddle.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

METHODOLOGY

Data Collection

To conduct this utterly fascinating investigation, we first hopped aboard the data train. Our research team scoured various sources, most notably the USDA’s National Agricultural Statistics Service, to obtain comprehensive butter consumption data from 2011 to 2021. Strap in, because sifting through butter consumption records can be quite the slippery endeavor - just like trying to spread cold butter on toast! We meticulously gathered data on butter production, export/import volumes, and per capita consumption across different regions, all while resisting the urge to break into a spontaneous rendition of "Butter Tubs Are Here Again" for fear of dairy misadventures.

Simultaneously, we embarked on a YouTube binge that would make any avid viewer envious, documenting every single video published by the illustrious Mark Rober during the aforementioned time frame. Admittedly, at times, we felt a bit like private investigators on the tail of buttery suspects, with spreadsheets for clues and statistical analysis at the ready. Picture us as data detectives, embarking on a quest that was a perfect match for our butter-themed moniker - the "Spreadsheet Sleuths."

Data Analysis

Once we had assembled our copious amounts of butter consumption statistics and Mark Rober's video lengths, it was time to whisk through the sea of data and extract the creamy insights hidden within. Utilizing statistical software, we calculated descriptive statistics for butter consumption and video length distributions, observing patterns that made us wonder if these data points were dancing the "Buttercup Samba."

As we delved deeper, we applied correlation analyses to ascertain the strength and significance of the relationship between butter consumption and the duration of Mark Rober's YouTube videos. We decided not to "butter up" the results and presented them as they were – a strikingly high correlation coefficient of 0.9111904, leaving us uttering, "We churned out quite the discovery!"

In addition, we performed regression analysis to examine the predictive power of butter consumption on video length, a process that had us contemplating whether butter could truly "spread" its influence across diverse domains like culinary arts and content creation. The statistical models we constructed helped us butter understand the extent to which butter consumption could predict changes in video length, leaving us positively churning with excitement over the fruitful insights.

Ethical Considerations

Throughout this research journey, we ensured utmost ethical practices, respecting the privacy and intellectual property rights of both the consumers and producers of butter, as well as the creative endeavors of Mark Rober. Moreover, we remain ever so grateful to both the USDA and YouTube for the cornucopia of data they provided, enabling us to unravel this unexpected connection.

In conclusion, our methodology stands as a testament to the lengths we went to in order to butter up our research and whip up findings that would have our peers exclaiming, "Well, butter my bread and call me a biscuit!"


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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 2011 to 2021, you found a correlation 0.9111904, r-squared of 0.8302680, 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]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Introduction
Butter, a staple in many households and a beloved companion to many culinary creations, has long been a subject of fascination and scrutiny. Its creamy richness adds flavor and flair to dishes, but could it also have a hidden influence on unexpected aspects of our lives? As researchers, we are often urged to "spread our findings," but in this case, we aimed to "spread some butter," as we delved into the enigmatic relationship between butter consumption and the total length of Mark Rober's YouTube videos. It's a tale as old as thyme!
You might wonder, "What does butter have to do with Mark Rober's engineering marvels?" Well, hold onto your margarine, because our investigation has uncovered a correlation that is as surprising as finding a tiny, butter-themed hat atop a stick of butter. As we embarked on this study, we couldn't help but take each data point with a grain of salt – or better yet, a pat of butter – as we navigated a sea of spreadsheets and scrambled for correlations.
Now, before we get too spread out, let's "whisk" into the specifics. Our curiosity was piqued by the notion that the length of Mark Rober's videos might be influenced by a factor as seemingly unrelated as butter consumption. It's almost as if the universe conspired to butter us up with this puzzling yet intriguing anomaly.
With our research, we aimed to provide empirical evidence to support the hypothesis that butter consumption, much like a well-whipped batter, has a hand in determining the length of educational content provided by engineering enthusiasts such as Mark Rober. Who would have thought that butter, often found on breakfast tables, would have implications for what's on our screens?
So, grab a slice of toast, slather on the butter, and let's embark on a scientific journey that will have us pondering, "Was it the butter or the batter that influenced Mark Rober's video length?" It's a question that might just spread like wildfire, much like melted butter on a hot griddle.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis of our data revealed a remarkably high correlation coefficient of 0.9111904 between butter consumption and the total length of Mark Rober's YouTube videos. This correlation was further supported by an r-squared value of 0.8302680, signifying that approximately 83% of the variability in the length of the videos can be explained by the variation in butter consumption. One could almost say that the relationship between these variables is as smooth as whipped butter or, dare I say, margarinely beautiful.

Among the myriad of correlations we've explored, the butter-video connection really takes the cake. It's enough to make one want to spread this discovery like, well, butter on toast.

The p-value of less than 0.01 indicates that the association between butter consumption and the duration of Mark Rober's videos is indeed significant, leaving us feeling like we've found the golden chalice of statistical associations. Our findings are as clear as a tub of clarified butter - there's something special about the butter and Mark Rober concoction.

And now, for the pièce de résistance, Fig. 1 presents a scatterplot displaying the substantial correlation between butter consumption and the total length of Mark Rober's YouTube videos. This graph is a testament to the buttery influence on video length, and we hope it spreads as much joy as it did to us.

All in all, our research suggests that there is more to butter than meets the eye, and its impact extends beyond the confines of the kitchen. We hope our study lays the groundwork for future investigations into how seemingly unrelated variables can, quite unexpectedly, butter each other up.


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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

[[LITERATURE REVIEW]]
Numerous scholarly works have delved into the peculiar relationships between seemingly disparate variables. In "Butterology: A Spread to the Senses," Smith et al. investigate the sensory experience of butter consumption and its potential impact on cognitive processes. Similarly, Doe examines the cultural significance of butter in "Butter Chronicles: A Creamy Culinary Trail," shedding light on the historical and socio-economic factors shaping butter consumption patterns.
However, as we searched for literature addressing the entwinement of butter consumption and YouTube video lengths, we found ourselves venturing into uncharted territories reminiscent of a butter churner navigating uncharted cream. The correlation we sought was as elusive as finding the last pat of butter in the fridge – until we stumbled upon "The Bountiful Butter Effect: Unearthing Unlikely Links" by Jones, which unexpectedly touched upon the influence of dairy products on creative output.
Transitioning from scholarly inquiries to the culinary realm, culinary aficionados have pondered the implications of butter beyond the kitchen. "The Art of Butter: Beyond Baking" by B. Logan provides insights into the whimsical world of butter sculptures and their potential impact on artistic expression. This leaves us asking: could Mark Rober's creativity be similarly influenced?
In the land of fiction, one cannot overlook the classic work of literature, "The Butterly Effect" by R. Ashton. Though not directly related to our research topic, the novel's exploration of the ripple effects of small actions resonates with our quest to unravel the mysteries of butter's influence. On a lighter note, the comical novel "The Land of Margarine" by P. Maple introduces a whimsical world where butter substitutes reign supreme, offering a humorous take on the omnipresence of butter-related phenomena.
Through the digital grapevine, social media posts have surfaced, hinting at the tacit association between butter consumption and the duration of Mark Rober's YouTube videos. One influencer humorously quipped, "Perhaps Mark Rober is buttering us up with lengthy videos to spread awareness about dairy farmers!" This casual remark encapsulates the lighthearted speculation swirling around our research topic.
In the midst of uncovering the comical and capricious connections between butter consumption and Mark Rober's YouTube video durations, our academic pursuits have taken a delightfully unexpected turn. The but-tery path we have embarked upon has not only enriched our academic endeavors but also infused a generous dollop of whimsy into our research.

[[RESULTS]]
The statistical analysis of our data revealed a remarkably high correlation coefficient of 0.9111904 between butter consumption and the total length of Mark Rober's YouTube videos. This correlation was further supported by an r-squared value of 0.8302680, signifying that approximately 83% of the variability in the length of the videos can be explained by the variation in butter consumption. One could almost say that the relationship between these variables is as smooth as whipped butter or, dare I say, margarinely beautiful.
Among the myriad of correlations we've explored, the butter-video connection really takes the cake. It's enough to make one want to spread this discovery like, well, butter on toast.
The p-value of less than 0.01 indicates that the association between butter consumption and the duration of Mark Rober's videos is indeed significant, leaving us feeling like we've found the golden chalice of statistical associations. Our findings are as clear as a tub of clarified butter - there's something special about the butter and Mark Rober concoction.
And now, for the pièce de résistance, Fig. 1 presents a scatterplot displaying the substantial correlation between butter consumption and the total length of Mark Rober's YouTube videos. This graph is a testament to the buttery influence on video length, and we hope it spreads as much joy as it did to us.
All in all, our research suggests that there is more to butter than meets the eye, and its impact extends beyond the confines of the kitchen. We hope our study lays the groundwork for future investigations into how seemingly unrelated variables can, quite unexpectedly, butter each other up.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our study has churned out some interesting findings, revealing a substantial correlation between butter consumption and the length of Mark Rober's YouTube videos. This discovery may seem as surprising as finding that last pat of butter at the back of the fridge, but it reinforces the notion that the world of research is full of unexpected twists just like a pretzel - or should I say, a lovely buttered twist! As we dug into the literature review, we were pleasantly surprised to find prior works that, although initially humorous in premise, served as precursors to our own groundbreaking findings. We certainly took our research seriously, just as seriously as a lactose-intolerant person avoiding butter, but it seems that the buttery speculations were not just a "spread of fiction" after all.

Our significant correlation coefficient and low p-value support previous literary works attempting to rationalize the enigmatic connection between butter and creative outputs. It appears that butter does indeed have a knack for churning out unsuspecting yet compelling intricacies in the world of science and creativity. Perhaps it's time to spread the word about this unconventional relationship, much like spreading "ladlefuls" of butter onto a sizzling skillet. As we delve deeper into the relevance of this connection, one cannot help but be butterly amused by the delightful twists and turns in our research journey.

In light of our results, it seems apt to borrow the words of the literary virtuoso, R. Ashton, and consider this phenomenon as the "Butterly Effect" - a whimsical extension of the butterfly effect, where the flap of a wings of a butterfly is replaced by the smooth spread of butter, and the resulting tornado manifests in the form of extended YouTube videos. The next time someone questions the influence of butter on creative endeavors, we can confidently point them toward our study and exclaim, "The proof is in the pudding, or should we say, the butter?"

This study raises fascinating questions about the potential impact of dietary components on creative output and adds an extra dollop of intrigue to the already captivating world of research. We look forward to churning out new theories that melt away the mysteries surrounding these unexpected connections and hope that future studies will continue to butter up our understanding of seemingly unrelated phenomena.


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 Butter consumption and Total length of Mark Rober YouTube videos. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos"

[[ABSTRACT]]
In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"

As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.

In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

[[INTRDUCTION]]
Introduction
Butter, a staple in many households and a beloved companion to many culinary creations, has long been a subject of fascination and scrutiny. Its creamy richness adds flavor and flair to dishes, but could it also have a hidden influence on unexpected aspects of our lives? As researchers, we are often urged to "spread our findings," but in this case, we aimed to "spread some butter," as we delved into the enigmatic relationship between butter consumption and the total length of Mark Rober's YouTube videos. It's a tale as old as thyme!
You might wonder, "What does butter have to do with Mark Rober's engineering marvels?" Well, hold onto your margarine, because our investigation has uncovered a correlation that is as surprising as finding a tiny, butter-themed hat atop a stick of butter. As we embarked on this study, we couldn't help but take each data point with a grain of salt – or better yet, a pat of butter – as we navigated a sea of spreadsheets and scrambled for correlations.
Now, before we get too spread out, let's "whisk" into the specifics. Our curiosity was piqued by the notion that the length of Mark Rober's videos might be influenced by a factor as seemingly unrelated as butter consumption. It's almost as if the universe conspired to butter us up with this puzzling yet intriguing anomaly.
With our research, we aimed to provide empirical evidence to support the hypothesis that butter consumption, much like a well-whipped batter, has a hand in determining the length of educational content provided by engineering enthusiasts such as Mark Rober. Who would have thought that butter, often found on breakfast tables, would have implications for what's on our screens?
So, grab a slice of toast, slather on the butter, and let's embark on a scientific journey that will have us pondering, "Was it the butter or the batter that influenced Mark Rober's video length?" It's a question that might just spread like wildfire, much like melted butter on a hot griddle.

[[RESULTS]]
The statistical analysis of our data revealed a remarkably high correlation coefficient of 0.9111904 between butter consumption and the total length of Mark Rober's YouTube videos. This correlation was further supported by an r-squared value of 0.8302680, signifying that approximately 83% of the variability in the length of the videos can be explained by the variation in butter consumption. One could almost say that the relationship between these variables is as smooth as whipped butter or, dare I say, margarinely beautiful.
Among the myriad of correlations we've explored, the butter-video connection really takes the cake. It's enough to make one want to spread this discovery like, well, butter on toast.
The p-value of less than 0.01 indicates that the association between butter consumption and the duration of Mark Rober's videos is indeed significant, leaving us feeling like we've found the golden chalice of statistical associations. Our findings are as clear as a tub of clarified butter - there's something special about the butter and Mark Rober concoction.
And now, for the pièce de résistance, Fig. 1 presents a scatterplot displaying the substantial correlation between butter consumption and the total length of Mark Rober's YouTube videos. This graph is a testament to the buttery influence on video length, and we hope it spreads as much joy as it did to us.
All in all, our research suggests that there is more to butter than meets the eye, and its impact extends beyond the confines of the kitchen. We hope our study lays the groundwork for future investigations into how seemingly unrelated variables can, quite unexpectedly, butter each other up.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

Conclusion

In closing, our research has churned up some truly noteworthy findings that may forever change the way we perceive butter and its influence on the length of Mark Rober's YouTube videos. We've delved into spreadsheets and statistical analyses, and it's safe to say that we've buttered up to some truly fascinating correlations.

As we wrap up, we can't help but recall a dad joke that makes us chuckle: Why did the scientist go to art school? Because he wanted to draw conclusions! And drawn they are, but not with crayons—our conclusions are based on rigorous statistical analyses and a whole lotta buttery sleuthing.

This study has left us with a sense of wonder and a newfound appreciation for the synergy between butter consumption and the total duration of Mark Rober's captivating content. You might even say that the relationship is as smooth as a well-whisked batter.

Therefore, in the spirit of promoting the consumption of both butter and knowledge, we assert that further research in this area would be, dare we say, over-churn-ing. It's clear as day that the connection between butter and Mark Rober's videos is as concrete as, well, a stick of butter in the fridge. So, let's spread the word and savor these findings. After all, there's no need to butter us up for more research in this delectable domain.


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 Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Dairy Delights


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 Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Dairy Dynamics and Multimedia Metrics


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 Butter Flutter: How Butter Consumption is Related to the Length of Mark Rober's YouTube Videos with an abstract of In this paper, we investigate the curious correlation between butter consumption and the total duration of educational engineering content created by the renowned YouTuber, Mark Rober. Armed with spreadsheets and puns to churn out, we utilized data from the USDA to analyze butter consumption trends. Simultaneously, we meticulously scrutinized the length of Mark Rober's videos from 2011 to 2021. Our findings revealed a strikingly high correlation coefficient of 0.9111904 between these seemingly unrelated variables, prompting even the most hardened skeptics to utter, "What in tarnation?"
As we dived deeper into the data, the buttery smooth relationship between butter intake and video length became more apparent, like a slab of butter on a hot griddle. Our statistical analysis yielded a p-value of less than 0.01, indicating a robust association. This discovery left us feeling like we had struck gold - or rather, churned butter.
In conclusion, our research infers a noteworthy linkage between butter consumption and the extended duration of Mark Rober's captivating YouTube demonstrations. While the exact mechanism behind this correlation remains a mystery, these findings encourage further exploration and perhaps suggest that "butter up" Mark Rober to extend your YouTube viewing pleasure.

ChatGPT:

butter consumption, Mark Rober, YouTube videos, USDA data, engineering content, correlation, statistical analysis, p-value, association, butter intake, video length, data analysis, butter consumption trends

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

Butter consumption
Detailed data title: Per capita consumption of Butter in the US
Source: USDA
See what else correlates with Butter consumption

Total length of Mark Rober YouTube videos
Detailed data title: Total length of Mark Rober YouTube videos.
Source: YouTube
See what else correlates with Total length of Mark Rober YouTube videos

Correlation r = 0.9111904 (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.8302680 (Coefficient of determination)
This means 83% of the change in the one variable (i.e., Total length of Mark Rober YouTube videos) is predictable based on the change in the other (i.e., Butter consumption) over the 11 years from 2011 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 9.5E-5. 0.0000953505605267976300000000
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.91 in 0.0095% of random cases. Said differently, if you correlated 10,488 random variables Which I absolutely did.
with the same 10 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 10 because we have two variables measured over a period of 11 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.69, 0.98 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
20112012201320142015201620172018201920202021
Butter consumption (Pounds per person)5.45.55.55.55.65.75.766.26.36.5
Total length of Mark Rober YouTube videos (Total length in seconds)160193916011943168940754450654764271950721628




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.
  4. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([5.4,5.5,5.5,5.5,5.6,5.7,5.7,6,6.2,6.3,6.5,])
array_2 = np.array([160,1939,1601,1943,1689,4075,4450,6547,6427,19507,21628,])
array_1_name = "Butter consumption"
array_2_name = "Total length of Mark Rober 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 a rater extraordinaire!


Correlation ID: 4627 · Black Variable ID: 557 · Red Variable ID: 25584
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0