about · email me · subscribe
Spurious correlation #1,842 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bachelor's degrees awarded in Engineering and the second variable is Google searches for 'tummy ache'.  The chart goes from 2012 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of Bachelor's degrees awarded in Engineering has increased, so has the innovative spirit of budding engineers. This surge in creativity has inadvertently led to the development of more efficient kitchen gadgets, resulting in people cooking and eating more elaborate meals. Consequently, the rise in indulgent food consumption has caused an uptick in cases of digestive discomfort, hence the increase in Google searches for 'tummy ache'. Remember, with great engineering knowledge comes great digestive responsibility!

Model: dalle-3
Prompt: Creating the scene of a Discovery magazine cover, generate an image where a group of engineering graduates proudly display their Bachelor's degrees in front of a prestigious university building. Ensure the graduates are smiling and radiate a sense of achievement. In the background, incorporate a figure sitting at a computer, visibly concerned and typing "tummy ache" into the Google search bar. The image should balance the pride of academic success with the relatable everyday concerns of health. 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: Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. 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: A TIME magazine cover image Realistic Voxel art A Discovery magazine cover image Cutsy art illustration
ChatGPT: A Discovery magazine cover image

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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache' together. Keep the description simple.
ChatGPT: In the scene, a group of graduates in engineering gowns proudly hold up their Bachelor's degrees while standing in front of a prominent university building. In the background, a person is seen sitting at a computer, furrowing their brows and typing "tummy ache" into the Google search bar.

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 Discovery magazine cover image ] and depicting this scene: In the scene, a group of graduates in engineering gowns proudly hold up their Bachelor's degrees while standing in front of a prominent university building. In the background, a person is seen sitting at a computer, furrowing their brows and typing "tummy ache" into the Google search bar. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Creating the scene of a Discovery magazine cover, generate an image where a group of engineering graduates proudly display their Bachelor's degrees in front of a prestigious university building. Ensure the graduates are smiling and radiate a sense of achievement. In the background, incorporate a figure sitting at a computer, visibly concerned and typing "tummy ache" into the Google search bar. The image should balance the pride of academic success with the relatable everyday concerns of health.

*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 Bachelor's degrees awarded in Engineering caused tummy ache (Google searches for 'tummy ache') to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

The Journal of Interdisciplinary Puzzlements and Scholarly Shenanigans

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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of jokes, goofy observations, and puns.

Rhyme words in the title.

Your research team used data from National Center for Education Statistics and Google Trends to assess this nagging question. You found a correlation coefficient of 0.9897754 and p < 0.01 for 2012 to 2021.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?


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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

"Ladies and gentlemen, step right up and behold the wondrous world of statistical shenanigans! Welcome to the carnival of correlations, where we explore the delightfully bizarre connection between the serious business of engineering degrees and the not-so-serious business of 'tummy ache' Google searches. If you ever thought that academia and indigestion had nothing in common, prepare to have your assumptions flipped upside down and spun around like a rollercoaster ride.

In this whimsical escapade, we are venturing into the land of data, where the National Center for Education Statistics and Google Trends collide in a collision of academic curiosity and internet antics. Picture this: a group of intrepid researchers, armed with spreadsheets and search results, embark on a quest to unravel the mysteries of the human stomach and its peculiar intersection with the world of engineering education. If that doesn't pique your interest, then buckle up because we are about to embark on a wild and wacky ride through the realm of statistical significance and digital bellyaches.

Who could have guessed that the hallowed halls of engineering institutions might have a tummy-turning impact on the virtual realm? We certainly didn't see it coming, but as the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre correlation coefficient of 0.9897754. It's a number that would make even the staunchest skeptics raise an eyebrow and say, 'Well, isn't that interesting?' And with a p-value smaller than the chance of finding a four-leaf clover in a field of three-leaf clovers, we found ourselves in a statistical wonderland where the improbable becomes the undeniable.

So, sit back, fasten your seatbelts, and get ready to dive headfirst into a world where academic pursuits and gastrointestinal grumblings converge in a spectacle of statistical tomfoolery. Join us as we uncover the secrets of mechanical tummies and academic rumbles, and take a lighthearted stroll through the corridors of education, internet curiosity, and a pinch of absurdity. After all, who says research can't be both serious and side-splittingly silly? Let the adventure begin!"


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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name some movies that you watched that are tangentially related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
"Ladies and gentlemen, step right up and behold the wondrous world of statistical shenanigans! Welcome to the carnival of correlations, where we explore the delightfully bizarre connection between the serious business of engineering degrees and the not-so-serious business of 'tummy ache' Google searches. If you ever thought that academia and indigestion had nothing in common, prepare to have your assumptions flipped upside down and spun around like a rollercoaster ride.
In this whimsical escapade, we are venturing into the land of data, where the National Center for Education Statistics and Google Trends collide in a collision of academic curiosity and internet antics. Picture this: a group of intrepid researchers, armed with spreadsheets and search results, embark on a quest to unravel the mysteries of the human stomach and its peculiar intersection with the world of engineering education. If that doesn't pique your interest, then buckle up because we are about to embark on a wild and wacky ride through the realm of statistical significance and digital bellyaches.
Who could have guessed that the hallowed halls of engineering institutions might have a tummy-turning impact on the virtual realm? We certainly didn't see it coming, but as the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre correlation coefficient of 0.9897754. It's a number that would make even the staunchest skeptics raise an eyebrow and say, 'Well, isn't that interesting?' And with a p-value smaller than the chance of finding a four-leaf clover in a field of three-leaf clovers, we found ourselves in a statistical wonderland where the improbable becomes the undeniable.
So, sit back, fasten your seatbelts, and get ready to dive headfirst into a world where academic pursuits and gastrointestinal grumblings converge in a spectacle of statistical tomfoolery. Join us as we uncover the secrets of mechanical tummies and academic rumbles, and take a lighthearted stroll through the corridors of education, internet curiosity, and a pinch of absurdity. After all, who says research can't be both serious and side-splittingly silly? Let the adventure begin!"

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Serious research into the realm of academic curiosities and their unlikely bedfellows begins with Smith et al.'s comprehensive study, "Engineering Degrees and Their Impact on Society," in which the authors scrutinize the societal implications of engineering education. This sobering examination of the influence of engineering graduates on the workforce and technological advancement sets a solid foundation for our own investigation. However, little did they know that their work would eventually lead to the discovery of a correlation that takes the phrase "gut feeling" to a whole new level.

Moving on to Doe's seminal work, "The Troublesome Tummy: A Comprehensive Guide to Digestive Disorders," we venture into the domain of gastrointestinal issues and their multifaceted effects on human health. While the focus of this tome is on medical matters, one cannot help but wonder if there might be a whimsical link between the pursuit of engineering knowledge and the manifestation of tummy-related concerns. It's a delightful hypothesis indeed, one that would make even the most serious academic crack a smile.

Jones' extensive analysis in "The Engineering Mind: Personality Traits and Cognitive Patterns" provides invaluable insights into the unique mindset of engineering students and professionals. Their meticulous examination of the cognitive processes and behavioral tendencies within the engineering domain lays the groundwork for our investigation into the unexpected connection between intellectual pursuits and the urge to consult Dr. Google for tummy-related inquiries.

Venturing beyond the academically rigorous realm, let's take a peek at some non-fiction and fiction works that may, albeit tangentially, be related to our whimsical inquiry. "Gut: The Inside Story of Our Body's Most Underrated Organ" by Giulia Enders offers a captivating delve into the inner workings of the digestive system, while simultaneously tickling the reader's funny bone with its witty anecdotes and charming illustrations. On a more fictional note, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams takes us on a cosmic journey where the unlikeliest of correlations and absurdities abound, proving that even in the vast universe, the link between engineering degrees and tummy concerns is not entirely far-fetched.

Now, let's not overlook the silver screen's contribution to our research journey. "The Nutty Professor" and "The Absent-Minded Professor" may not directly address our academic pursuits, but their quirky take on intellectual endeavors and the human condition will light up our research with a touch of cinematic whimsy. After all, who can resist the allure of a good old-fashioned belly laugh, especially when it's in the name of scientific exploration?

With our academic backpacks brimming with serious literature and whimsical musings, we are ready to traverse the wondrous landscape of Mechanical Tummies and Academic Rumble with equal parts curiosity and levity. Let the laughter-filled expedition begin!



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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Google Trends . You used data from 2012 to 2021

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

[[INTRODUCTION]]
"Ladies and gentlemen, step right up and behold the wondrous world of statistical shenanigans! Welcome to the carnival of correlations, where we explore the delightfully bizarre connection between the serious business of engineering degrees and the not-so-serious business of 'tummy ache' Google searches. If you ever thought that academia and indigestion had nothing in common, prepare to have your assumptions flipped upside down and spun around like a rollercoaster ride.
In this whimsical escapade, we are venturing into the land of data, where the National Center for Education Statistics and Google Trends collide in a collision of academic curiosity and internet antics. Picture this: a group of intrepid researchers, armed with spreadsheets and search results, embark on a quest to unravel the mysteries of the human stomach and its peculiar intersection with the world of engineering education. If that doesn't pique your interest, then buckle up because we are about to embark on a wild and wacky ride through the realm of statistical significance and digital bellyaches.
Who could have guessed that the hallowed halls of engineering institutions might have a tummy-turning impact on the virtual realm? We certainly didn't see it coming, but as the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre correlation coefficient of 0.9897754. It's a number that would make even the staunchest skeptics raise an eyebrow and say, 'Well, isn't that interesting?' And with a p-value smaller than the chance of finding a four-leaf clover in a field of three-leaf clovers, we found ourselves in a statistical wonderland where the improbable becomes the undeniable.
So, sit back, fasten your seatbelts, and get ready to dive headfirst into a world where academic pursuits and gastrointestinal grumblings converge in a spectacle of statistical tomfoolery. Join us as we uncover the secrets of mechanical tummies and academic rumbles, and take a lighthearted stroll through the corridors of education, internet curiosity, and a pinch of absurdity. After all, who says research can't be both serious and side-splittingly silly? Let the adventure begin!"

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the enigmatic connection between the awarding of bachelor's degrees in engineering and the peculiar phenomenon of Google searches for 'tummy ache', our research team concocted a methodology as zany as the correlation we sought to uncover. Our approach involved a blend of data collection, statistical analysis, and a sprinkle of quirky experimentation.

To gather data on engineering degrees awarded, we turned to the National Center for Education Statistics (NCES). Like intrepid treasure hunters scouring the digital seas, we navigated through the labyrinthine datasets to unearth the annual counts of bachelor's degrees conferred in the noble field of engineering. A task akin to excavating gems from the data mines, this process laid the foundation for our investigation into academic pursuits.

In parallel, our merry band of researchers plunged into the realm of Google Trends, where we embarked on a quest to trace the ebb and flow of 'tummy ache' searches over the years 2012 to 2021. Armed with algorithms and a dash of digital detective work, we charted the undulating peaks and valleys of gastrointestinal Google inquiries, carving a path through the mesmerizing landscape of internet curiosity.

Now, here comes the twist in our tale. To explore the perception and experience of tummy-related concerns in engineering circles, we engaged in a whimsical survey of engineering students and faculty. Armed with a jovial questionnaire and a spirit of mirth, we probed the grassroot sentiments toward stomach discomfort amid the pursuit of engineering expertise. This light-hearted foray into the minds of academia blended seamlessly with our quantitative data, enlivening our research with a touch of offbeat amusement.

With our arsenal of collected data in hand, we summoned the powers of statistical sorcery to conduct a spellbinding analysis. From t-tests to correlation calculations, we conjured the mystical digits that quantified the uncanny relationship between engineering degrees and gastronomic perturbations. Our statistical toolkit, bursting at the seams with p-values and regression analyses, served as the magical key to unlock the door to the realm of academic humor and digital tummy rumbles.

Thus, our methodology - a fusion of data spelunking, internet excavation, and a dash of jovial academia - paved the way for a zany exploration of the correlation between engineering aspirations and tummy-centric Google adventures. It's a journey through the corridors of statistical tomfoolery and digital curiosity that invites all who seek to revel in the oddity of academic research.


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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Google Trends .

For the time period 2012 to 2021, you found a correlation 0.9897754, r-squared of 0.9796554, 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]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
"Ladies and gentlemen, step right up and behold the wondrous world of statistical shenanigans! Welcome to the carnival of correlations, where we explore the delightfully bizarre connection between the serious business of engineering degrees and the not-so-serious business of 'tummy ache' Google searches. If you ever thought that academia and indigestion had nothing in common, prepare to have your assumptions flipped upside down and spun around like a rollercoaster ride.
In this whimsical escapade, we are venturing into the land of data, where the National Center for Education Statistics and Google Trends collide in a collision of academic curiosity and internet antics. Picture this: a group of intrepid researchers, armed with spreadsheets and search results, embark on a quest to unravel the mysteries of the human stomach and its peculiar intersection with the world of engineering education. If that doesn't pique your interest, then buckle up because we are about to embark on a wild and wacky ride through the realm of statistical significance and digital bellyaches.
Who could have guessed that the hallowed halls of engineering institutions might have a tummy-turning impact on the virtual realm? We certainly didn't see it coming, but as the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre correlation coefficient of 0.9897754. It's a number that would make even the staunchest skeptics raise an eyebrow and say, 'Well, isn't that interesting?' And with a p-value smaller than the chance of finding a four-leaf clover in a field of three-leaf clovers, we found ourselves in a statistical wonderland where the improbable becomes the undeniable.
So, sit back, fasten your seatbelts, and get ready to dive headfirst into a world where academic pursuits and gastrointestinal grumblings converge in a spectacle of statistical tomfoolery. Join us as we uncover the secrets of mechanical tummies and academic rumbles, and take a lighthearted stroll through the corridors of education, internet curiosity, and a pinch of absurdity. After all, who says research can't be both serious and side-splittingly silly? Let the adventure begin!"

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our statistical analysis revealed a remarkably strong correlation between the number of Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache' during the period from 2012 to 2021. With a correlation coefficient of 0.9897754, an r-squared of 0.9796554, and a p-value smaller than the chance of finding a needle in a haystack, our findings ventured into the realm of statistical magic. The scatterplot (see Fig. 1) further depicts the undeniable relationship between these seemingly unrelated variables, showcasing a trend that is as clear as a crystal ball... or an engineer's blueprint!

This unexpected connection between academic pursuits in engineering and the prevalence of internet-induced stomach unease had us scratching our heads and chuckling in equal measure. It seems that the pursuit of mechanical mastery, while inspiring and intellectually stimulating, also triggers a curious surge in online searches related to abdominal discomfort. Who knew that the realm of higher education could have such a gut-wrenching impact on the virtual domain?

With our statistical sleight of hand, we found ourselves confronted with the tantalizing prospect that engineering education might be more closely intertwined with stomach-related queries than previously imagined. As the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre strength of this association. It's a revelation that both captivates the imagination and tickles the funny bone, leaving us with an academic mystery simply begging for a comically inclined Sherlock to solve.

Now, the question remains: what's the actual cause behind this unexpected correlation – is it the stress of engineering coursework, the late-night snacking habits of budding engineers, or mere coincidental cosmic chaos? We can't say for certain just yet, but in the delightful land of statistical whimsy, any gut feeling is fair game for exploration. Join us as we continue our whimsical journey through the carnival of correlations and the baffling enigma of academic pursuits and upset tummies. After all, when it comes to the peculiar associations unearthed by rigorous research, buckle up and prepare for surprises around every statistical corner!


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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of 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]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

[[LITERATURE REVIEW]]
Serious research into the realm of academic curiosities and their unlikely bedfellows begins with Smith et al.'s comprehensive study, "Engineering Degrees and Their Impact on Society," in which the authors scrutinize the societal implications of engineering education. This sobering examination of the influence of engineering graduates on the workforce and technological advancement sets a solid foundation for our own investigation. However, little did they know that their work would eventually lead to the discovery of a correlation that takes the phrase "gut feeling" to a whole new level.
Moving on to Doe's seminal work, "The Troublesome Tummy: A Comprehensive Guide to Digestive Disorders," we venture into the domain of gastrointestinal issues and their multifaceted effects on human health. While the focus of this tome is on medical matters, one cannot help but wonder if there might be a whimsical link between the pursuit of engineering knowledge and the manifestation of tummy-related concerns. It's a delightful hypothesis indeed, one that would make even the most serious academic crack a smile.
Jones' extensive analysis in "The Engineering Mind: Personality Traits and Cognitive Patterns" provides invaluable insights into the unique mindset of engineering students and professionals. Their meticulous examination of the cognitive processes and behavioral tendencies within the engineering domain lays the groundwork for our investigation into the unexpected connection between intellectual pursuits and the urge to consult Dr. Google for tummy-related inquiries.
Venturing beyond the academically rigorous realm, let's take a peek at some non-fiction and fiction works that may, albeit tangentially, be related to our whimsical inquiry. "Gut: The Inside Story of Our Body's Most Underrated Organ" by Giulia Enders offers a captivating delve into the inner workings of the digestive system, while simultaneously tickling the reader's funny bone with its witty anecdotes and charming illustrations. On a more fictional note, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams takes us on a cosmic journey where the unlikeliest of correlations and absurdities abound, proving that even in the vast universe, the link between engineering degrees and tummy concerns is not entirely far-fetched.
Now, let's not overlook the silver screen's contribution to our research journey. "The Nutty Professor" and "The Absent-Minded Professor" may not directly address our academic pursuits, but their quirky take on intellectual endeavors and the human condition will light up our research with a touch of cinematic whimsy. After all, who can resist the allure of a good old-fashioned belly laugh, especially when it's in the name of scientific exploration?
With our academic backpacks brimming with serious literature and whimsical musings, we are ready to traverse the wondrous landscape of Mechanical Tummies and Academic Rumble with equal parts curiosity and levity. Let the laughter-filled expedition begin!


[[RESULTS]]
Our statistical analysis revealed a remarkably strong correlation between the number of Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache' during the period from 2012 to 2021. With a correlation coefficient of 0.9897754, an r-squared of 0.9796554, and a p-value smaller than the chance of finding a needle in a haystack, our findings ventured into the realm of statistical magic. The scatterplot (see Fig. 1) further depicts the undeniable relationship between these seemingly unrelated variables, showcasing a trend that is as clear as a crystal ball... or an engineer's blueprint!
This unexpected connection between academic pursuits in engineering and the prevalence of internet-induced stomach unease had us scratching our heads and chuckling in equal measure. It seems that the pursuit of mechanical mastery, while inspiring and intellectually stimulating, also triggers a curious surge in online searches related to abdominal discomfort. Who knew that the realm of higher education could have such a gut-wrenching impact on the virtual domain?
With our statistical sleight of hand, we found ourselves confronted with the tantalizing prospect that engineering education might be more closely intertwined with stomach-related queries than previously imagined. As the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre strength of this association. It's a revelation that both captivates the imagination and tickles the funny bone, leaving us with an academic mystery simply begging for a comically inclined Sherlock to solve.
Now, the question remains: what's the actual cause behind this unexpected correlation – is it the stress of engineering coursework, the late-night snacking habits of budding engineers, or mere coincidental cosmic chaos? We can't say for certain just yet, but in the delightful land of statistical whimsy, any gut feeling is fair game for exploration. Join us as we continue our whimsical journey through the carnival of correlations and the baffling enigma of academic pursuits and upset tummies. After all, when it comes to the peculiar associations unearthed by rigorous research, buckle up and prepare for surprises around every statistical corner!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings not only corroborate the prior research by Smith et al., Doe, and Jones but also add a whimsical twist to the serious domain of academic investigations. The unexpected correlation between the number of engineering bachelor's degrees and Google searches for 'tummy ache' seems to have struck a chord with the statistical pendulum, swinging in favor of an intriguing connection that dances between the halls of academia and the quirks of internet queries.

The statistical magic we unearthed in our study mirrors the societal implications delineated by Smith et al., albeit in a lighthearted and unexpected manner. The surreal strength of this correlation, with a correlation coefficient as robust as the steel in a bridge (or the stomach lining of a person enduring a tummy ache), cannot be overlooked. As we peer through the lens of statistical curiosity, it becomes apparent that the pursuit of engineering knowledge may have a not-so-subtle impact on the propensity of individuals to consult the enigmatic oracle of our time – Dr. Google – for gastrointestinal guidance.

This journey through the whimsical landscape of Mechanical Tummies and Academic Rumble opens the door to perplexing questions that are as charming as they are enigmatic. Could it be that the stress of engineering coursework leaves students with a literal 'twist' in their stomachs, triggering a cascade of online inquiries? Or perhaps the late-night snack cravings of budding engineers illuminate the interconnected web of virtual tummy concerns? The possibilities are as myriad as the stars in the night sky, or the variables in a complex statistical model.

This unexpected correlation, as clear as a professor's lecture, begs for further exploration and invites the academically inclined minds to embark on a joyous quest replete with giggles and statistical revelations. After all, who would have thought that the pursuit of mechanical mastery could leave a virtual trail of tummy-based queries – a breadcrumb trail of digital digestive debates that tickle the curious nerve and invite hearty chuckles from the scholarly audience?

The union of the earnest pursuit of academic enlightenment and the delightful absurdity of internet searches for 'tummy ache' presents an academic mystery that requires a humorous touch and an exploration of the comically inclined universe of statistical whimsy. Accompany us on this laughter-filled expedition as we seek to unravel the bellyaching enigma of academic pursuits and virtual stomach rumblings, venturing through the carnival of correlations with a wink, a nod, and a jolly good statistical chuckle.


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 Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache'. Make lots of 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]]
Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'

[[ABSTRACT]]
This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

[[INTRDUCTION]]
"Ladies and gentlemen, step right up and behold the wondrous world of statistical shenanigans! Welcome to the carnival of correlations, where we explore the delightfully bizarre connection between the serious business of engineering degrees and the not-so-serious business of 'tummy ache' Google searches. If you ever thought that academia and indigestion had nothing in common, prepare to have your assumptions flipped upside down and spun around like a rollercoaster ride.
In this whimsical escapade, we are venturing into the land of data, where the National Center for Education Statistics and Google Trends collide in a collision of academic curiosity and internet antics. Picture this: a group of intrepid researchers, armed with spreadsheets and search results, embark on a quest to unravel the mysteries of the human stomach and its peculiar intersection with the world of engineering education. If that doesn't pique your interest, then buckle up because we are about to embark on a wild and wacky ride through the realm of statistical significance and digital bellyaches.
Who could have guessed that the hallowed halls of engineering institutions might have a tummy-turning impact on the virtual realm? We certainly didn't see it coming, but as the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre correlation coefficient of 0.9897754. It's a number that would make even the staunchest skeptics raise an eyebrow and say, 'Well, isn't that interesting?' And with a p-value smaller than the chance of finding a four-leaf clover in a field of three-leaf clovers, we found ourselves in a statistical wonderland where the improbable becomes the undeniable.
So, sit back, fasten your seatbelts, and get ready to dive headfirst into a world where academic pursuits and gastrointestinal grumblings converge in a spectacle of statistical tomfoolery. Join us as we uncover the secrets of mechanical tummies and academic rumbles, and take a lighthearted stroll through the corridors of education, internet curiosity, and a pinch of absurdity. After all, who says research can't be both serious and side-splittingly silly? Let the adventure begin!"

[[RESULTS]]
Our statistical analysis revealed a remarkably strong correlation between the number of Bachelor's degrees awarded in Engineering and Google searches for 'tummy ache' during the period from 2012 to 2021. With a correlation coefficient of 0.9897754, an r-squared of 0.9796554, and a p-value smaller than the chance of finding a needle in a haystack, our findings ventured into the realm of statistical magic. The scatterplot (see Fig. 1) further depicts the undeniable relationship between these seemingly unrelated variables, showcasing a trend that is as clear as a crystal ball... or an engineer's blueprint!
This unexpected connection between academic pursuits in engineering and the prevalence of internet-induced stomach unease had us scratching our heads and chuckling in equal measure. It seems that the pursuit of mechanical mastery, while inspiring and intellectually stimulating, also triggers a curious surge in online searches related to abdominal discomfort. Who knew that the realm of higher education could have such a gut-wrenching impact on the virtual domain?
With our statistical sleight of hand, we found ourselves confronted with the tantalizing prospect that engineering education might be more closely intertwined with stomach-related queries than previously imagined. As the data unfolded before our eyes, we couldn't help but marvel at the delightfully bizarre strength of this association. It's a revelation that both captivates the imagination and tickles the funny bone, leaving us with an academic mystery simply begging for a comically inclined Sherlock to solve.
Now, the question remains: what's the actual cause behind this unexpected correlation – is it the stress of engineering coursework, the late-night snacking habits of budding engineers, or mere coincidental cosmic chaos? We can't say for certain just yet, but in the delightful land of statistical whimsy, any gut feeling is fair game for exploration. Join us as we continue our whimsical journey through the carnival of correlations and the baffling enigma of academic pursuits and upset tummies. After all, when it comes to the peculiar associations unearthed by rigorous research, buckle up and prepare for surprises around every statistical corner!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the fascinating relationship between Engineering Bachelor's degrees and Google searches for 'tummy ache' has left us in a state of statistical awe and pun-filled pondering. The devilishly high correlation coefficient of 0.9897754 has not only induced a fair share of raised eyebrows but also sparked a lively debate about the humorous intricacies of academic pursuits and virtual belly rumbles.

While we've uncovered a correlation that is as strong as an iron pillar, the underlying cause of this quirk remains as mysterious as the elusive Sasquatch. Is it the stress of demanding coursework that sends budding engineers reaching for the antacids, or perhaps the sheer mental exertion causing virtual indigestion? Or could it simply be a colossal cosmic joke played on the digital domain? We're left with an enigma that's as compelling as a stand-up comedy routine and as perplexing as a math puzzle on April Fools' Day.

As the curtain falls on our peculiar academic caper, one thing is abundantly clear: the comically unexpected association between Engineering degrees and online tummy troubles is a statistical nugget that begs for a standing ovation. It's a reminder that even in the world of rigorous research and scholarly inquiry, there's always room for statistical surprises and the occasional statistical stand-up routine.

Therefore, with a firm and jocular tone, we confidently assert that no further research is needed in this area. For we believe that the universe of academic oddities and peculiar correlations has been thoroughly unpacked, leaving us with a delightful statistical mystery that's as humorous as it is head-scratching. Let's leave this enigmatic duo of mechanical tummies and academic rumbles to serenade the virtual realm with their statistical tune, and marvel at the delightful blend of academic curiosity and internet whimsy. Cheers to the uproarious world of statistical shenanigans!


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 Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Interdisciplinary Puzzlements and Scholarly Shenanigans


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 Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache'. Respond only with the name of a fictional organization.

ChatGPT:

The Association for Advancement of Absurd Inquiries


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 Mechanical Tummies and Academic Rumble: The Correlation Between Engineering Bachelor's Degrees and Google Searches for 'Tummy Ache' with an abstract of This research delves into the quirky relationship between bachelor's degrees awarded in engineering and Google searches for 'tummy ache'. Utilizing data from the National Center for Education Statistics and Google Trends, our study unveils an unexpected connection that tickles the funny bone. With a correlation coefficient of 0.9897754 and p < 0.01 for the period between 2012 and 2021, our findings suggest a tantalizing link between academic pursuits and gastric distress in the online realm. Join us as we dissect this curious correlation and explore the comedic potential of statistical analysis. After all, who knew that the pursuit of engineering prowess could have such a gut-wrenching impact on internet search trends?

ChatGPT:

engineering bachelor's degrees, Google searches, tummy ache, National Center for Education Statistics, Google Trends, correlation coefficient, statistical analysis, academic pursuits, engineering prowess, online search 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

Bachelor's degrees awarded in Engineering
Detailed data title: Bachelor's degrees conferred by postsecondary institutions, in field of study: Engineering
Source: National Center for Education Statistics
See what else correlates with Bachelor's degrees awarded in Engineering

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

See what else correlates with Google searches for 'tummy ache'

Correlation r = 0.9897754 (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.9796554 (Coefficient of determination)
This means 98% of the change in the one variable (i.e., Google searches for 'tummy ache') is predictable based on the change in the other (i.e., Bachelor's degrees awarded in Engineering) over the 10 years from 2012 through 2021.

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

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

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

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2012201320142015201620172018201920202021
Bachelor's degrees awarded in Engineering (Degrees awarded)81371859879216997852106789115671121953126692128337126037
Google searches for 'tummy ache' (Rel. search volume)5155.58336065.416769.083371.166777.916782.583383.583.5833




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([81371,85987,92169,97852,106789,115671,121953,126692,128337,126037,])
array_2 = np.array([51,55.5833,60,65.4167,69.0833,71.1667,77.9167,82.5833,83.5,83.5833,])
array_1_name = "Bachelor's degrees awarded in Engineering"
array_2_name = "Google searches for 'tummy ache'"

# 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?

Hats off to you for rating!


Correlation ID: 1842 · Black Variable ID: 1273 · Red Variable ID: 1345
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0