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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Master's degrees awarded in Transportation and the second variable is Google searches for 'how to cure a hangover'.  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 transportation experts dwindles, there are fewer efficient routes for the delivery of hangover remedies, leading to a sobering decrease in their availability. After all, it's hard to find a cure when it's stuck in traffic!

Model: dalle-3
Prompt: [A photo-realistic image] Create a cozy study room with warm lighting and rich wooden bookshelves filled with books. Display a Master's degree in Transportation prominently on the wall in an elegant frame. On the desk, place an open laptop with the Google search tab visible, and a half-drunk glass of water along with a couple of headache relief tablets. Ensure the room exudes an atmosphere of warmth, accomplishment, and just a hint of post-celebration recovery. 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: Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. 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: Woodblock painting Cutsy graphics Woodblock painting A photo-realistic image Psychedelic
ChatGPT: A photo-realistic 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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover' together. Keep the description simple.
ChatGPT: In a cozy, book-filled study room, a freshly awarded Master's degree in Transportation is proudly displayed on the wall. Meanwhile, on the nearby desk, a laptop is open with a tab displaying a Google search for "how to cure a hangover" as someone tries to recover from celebrating their academic achievement.

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 photo-realistic image ] and depicting this scene: In a cozy, book-filled study room, a freshly awarded Master's degree in Transportation is proudly displayed on the wall. Meanwhile, on the nearby desk, a laptop is open with a tab displaying a Google search for "how to cure a hangover" as someone tries to recover from celebrating their academic achievement. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [A photo-realistic image] Create a cozy study room with warm lighting and rich wooden bookshelves filled with books. Display a Master's degree in Transportation prominently on the wall in an elegant frame. On the desk, place an open laptop with the Google search tab visible, and a half-drunk glass of water along with a couple of headache relief tablets. Ensure the room exudes an atmosphere of warmth, accomplishment, and just a hint of post-celebration recovery.

*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 a decrease in Master's degrees awarded in Transportation caused how to cure a hangover (Google searches for 'how to cure a hangover') to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches

Journal of Transportation Studies and Hangover Research

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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. Make lots of jokes, goofy observations, and puns.

Make the title a clever pun.

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.9714800 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]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.


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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Ah, academics and alcohol – a pairing as timeless as wine and cheese, or in this case, perhaps a more appropriate analogy would be "Uber and late-night pizza deliveries." As scholars, we are often on the quest for new frontiers and connections, seeking out correlations that might seem as unrelated as a train schedule and an early morning headache. In this whimsical yet enlightening study, we unpack the fascinating correlation between the conferral of Master's degrees in transportation and the perennially popular Google searches for 'how to cure a hangover'. Strap in as we steer through this boozy and scholarly journey – it's sure to be a wild ride!

There's an old adage that says, "As the degree count goes up, so do the recovery methods." Okay, maybe that's not exactly how the saying goes, but our findings have uncovered a correlation so strong that it has left us questioning whether a master's thesis defense and a wild night out go hand in hand. We present our evidence with a mix of academic rigor and barroom banter, shedding light on the unexpected convergence of higher education in transportation and the quest for the perfect hangover cure.

Most academic papers talk about trains of thought, but in our analysis, we're exploring the connection between locomotives and libations. Who would have thought that the world of transportation and the world of post-party remedies could be linked with such statistical gusto? So, grab your favorite coffee mug (or maybe something a bit stronger) as we take a lighthearted romp through this improbable correlation. It's time to uncork the peculiar and raise a toast to the unexpected intersections of scholarly research.

Shedding light on this unlikely pair of subjects may raise eyebrows, but as we navigate the twists and turns of this investigation, we hope to offer a refreshing perspective that goes beyond the conventional boundaries of academic inquiry. So, let's rev up our engines and embark on a journey that promises to uncover more than just good humored revelry – it's a road trip through the surprising connections between intellectual pursuits and hangover helpers. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!


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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. 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]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Ah, academics and alcohol – a pairing as timeless as wine and cheese, or in this case, perhaps a more appropriate analogy would be "Uber and late-night pizza deliveries." As scholars, we are often on the quest for new frontiers and connections, seeking out correlations that might seem as unrelated as a train schedule and an early morning headache. In this whimsical yet enlightening study, we unpack the fascinating correlation between the conferral of Master's degrees in transportation and the perennially popular Google searches for 'how to cure a hangover'. Strap in as we steer through this boozy and scholarly journey – it's sure to be a wild ride!
There's an old adage that says, "As the degree count goes up, so do the recovery methods." Okay, maybe that's not exactly how the saying goes, but our findings have uncovered a correlation so strong that it has left us questioning whether a master's thesis defense and a wild night out go hand in hand. We present our evidence with a mix of academic rigor and barroom banter, shedding light on the unexpected convergence of higher education in transportation and the quest for the perfect hangover cure.
Most academic papers talk about trains of thought, but in our analysis, we're exploring the connection between locomotives and libations. Who would have thought that the world of transportation and the world of post-party remedies could be linked with such statistical gusto? So, grab your favorite coffee mug (or maybe something a bit stronger) as we take a lighthearted romp through this improbable correlation. It's time to uncork the peculiar and raise a toast to the unexpected intersections of scholarly research.
Shedding light on this unlikely pair of subjects may raise eyebrows, but as we navigate the twists and turns of this investigation, we hope to offer a refreshing perspective that goes beyond the conventional boundaries of academic inquiry. So, let's rev up our engines and embark on a journey that promises to uncover more than just good humored revelry – it's a road trip through the surprising connections between intellectual pursuits and hangover helpers. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "The Journal of Transport Economics and Policy," Smith and Doe present a rigorous analysis of the factors contributing to the increasing number of Master's degrees awarded in the field of transportation. Their study underscores the growing demand for specialized education in navigating the complex web of logistics and infrastructure. Meanwhile, Jones' research in "Transportation Research Part A: Policy and Practice" elucidates the evolving landscape of transportation education and its impact on workforce development.

As we transition from the serious tones of academic research, let's hit the brakes and make a pit stop at the delightful world of non-fiction literature. In "The Art of Fermentation" by Sandor Katz, we encounter a masterful exploration of the chemical processes at work in the fermentation of beverages – a process that might offer some insight into the scientific underpinnings of the hangover. Similarly, "The Drunken Botanist" by Amy Stewart provides an entertaining and informative journey through the plants that have shaped the world's most famous libations.

Turning to the realm of fiction, the novel "The Hangover" by Rosie Walsh takes us on a comical yet poignant adventure through the aftermath of a wild night out. While not an academic treatise, this work reminds us that even the most unexpected and humorous of circumstances can lead to unexpected insights – much like our own findings. And who could forget the classic film "Planes, Trains and Automobiles"? While not directly related to transportation education or hangover cures, this movie captures the chaotic and often hilarious experiences that arise from journeys of all kinds.

In the world of scholarly research, we often navigate through dense literature and technical jargon, but here we embrace the offbeat and lighthearted. As we synthesize our unconventional findings, it becomes clear that the intersection of higher education in transportation and the quest to cure a hangover is more than just a statistical quirk – it's a testament to the whimsical and unexpected connections that can emerge in the world of academic inquiry. So, as we embark on this rollicking adventure, let's raise a glass to the delightful absurdity of our scholarly pursuits and the joyful surprises that await at the crossroads of academia and revelry. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!


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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. 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]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

[[INTRODUCTION]]
Ah, academics and alcohol – a pairing as timeless as wine and cheese, or in this case, perhaps a more appropriate analogy would be "Uber and late-night pizza deliveries." As scholars, we are often on the quest for new frontiers and connections, seeking out correlations that might seem as unrelated as a train schedule and an early morning headache. In this whimsical yet enlightening study, we unpack the fascinating correlation between the conferral of Master's degrees in transportation and the perennially popular Google searches for 'how to cure a hangover'. Strap in as we steer through this boozy and scholarly journey – it's sure to be a wild ride!
There's an old adage that says, "As the degree count goes up, so do the recovery methods." Okay, maybe that's not exactly how the saying goes, but our findings have uncovered a correlation so strong that it has left us questioning whether a master's thesis defense and a wild night out go hand in hand. We present our evidence with a mix of academic rigor and barroom banter, shedding light on the unexpected convergence of higher education in transportation and the quest for the perfect hangover cure.
Most academic papers talk about trains of thought, but in our analysis, we're exploring the connection between locomotives and libations. Who would have thought that the world of transportation and the world of post-party remedies could be linked with such statistical gusto? So, grab your favorite coffee mug (or maybe something a bit stronger) as we take a lighthearted romp through this improbable correlation. It's time to uncork the peculiar and raise a toast to the unexpected intersections of scholarly research.
Shedding light on this unlikely pair of subjects may raise eyebrows, but as we navigate the twists and turns of this investigation, we hope to offer a refreshing perspective that goes beyond the conventional boundaries of academic inquiry. So, let's rev up our engines and embark on a journey that promises to uncover more than just good humored revelry – it's a road trip through the surprising connections between intellectual pursuits and hangover helpers. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the intriguing correlation between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover', our research team engaged in an ambitious and somewhat avant-garde data collection and analysis process. Picture this: scientists poring over spreadsheets while nursing a suspiciously large cup of coffee, all in the pursuit of uncovering the surprising link between academics and a hearty dose of revelry.

First, we scoured the depths of the internet – as all intrepid researchers do – to gather data from the National Center for Education Statistics and Google Trends. We combed through vast troves of information from the years 2012 to 2021, navigating the virtual highways and byways like intrepid explorers searching for the fabled city of 'Correlationsville'.

Our data analysis methods were as diverse and eclectic as the transportation modes we sought to study. We employed sophisticated statistical techniques, including the often-overlooked 'Drowsy Doctorate Analysis' method, which involves analyzing data at both peak productivity and post-coffee crash periods. Additionally, we utilized the renowned 'Tipsy Transit Test', wherein data points were shuffled and reorganized while one researcher served as 'designated statistics driver', ensuring that the analysis stayed on the right track.

In a nod to our pun-loving colleagues, we also dabbled in the 'Clinking Coefficient Counter', where correlations were quantified in pints of data rather than standard units. This method certainly added a frothy and light-hearted touch to our otherwise rigorous statistical analysis.

Furthermore, to account for any potential confounding variables – a necessity in any robust research endeavor – we conducted what we affectionately dubbed the 'Mixologist Multivariate Modeling', wherein we mingled various data points to see if any sneaky variables were attempting to crash our statistical soirée.

There were, of course, the inevitable challenges as we navigated this uncharted terrain. The logistical complexities of cross-referencing hangover cures with Master's degree conferrals in transportation led to more than a few befuddled looks and muttered jokes about needing an aspirin. Nevertheless, we persevered and emerged with a dataset chock-full of correlations, coefficients, and probably more wine and spirits jokes than strictly necessary.

In summary, our methodology epitomized the unorthodox spirit of this investigation, blending serious statistical analyses with a pinch of whimsy and a dash of absurdity. Through this distinctive approach, we endeavored to shed light on the curious bond between academic achievements in transportation and the communal quest for the perfect hangover remedy.

Our methodology may have been unconventional, but one thing's for certain – we've steered our research into uncharted territories, blazing a trail through the often-stodgy realm of academic inquiry and uncovering a surprising intersection of scholarly achievements and spirited pursuits. Cheers to that!



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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. 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.9714800, r-squared of 0.9437734, 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]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Ah, academics and alcohol – a pairing as timeless as wine and cheese, or in this case, perhaps a more appropriate analogy would be "Uber and late-night pizza deliveries." As scholars, we are often on the quest for new frontiers and connections, seeking out correlations that might seem as unrelated as a train schedule and an early morning headache. In this whimsical yet enlightening study, we unpack the fascinating correlation between the conferral of Master's degrees in transportation and the perennially popular Google searches for 'how to cure a hangover'. Strap in as we steer through this boozy and scholarly journey – it's sure to be a wild ride!
There's an old adage that says, "As the degree count goes up, so do the recovery methods." Okay, maybe that's not exactly how the saying goes, but our findings have uncovered a correlation so strong that it has left us questioning whether a master's thesis defense and a wild night out go hand in hand. We present our evidence with a mix of academic rigor and barroom banter, shedding light on the unexpected convergence of higher education in transportation and the quest for the perfect hangover cure.
Most academic papers talk about trains of thought, but in our analysis, we're exploring the connection between locomotives and libations. Who would have thought that the world of transportation and the world of post-party remedies could be linked with such statistical gusto? So, grab your favorite coffee mug (or maybe something a bit stronger) as we take a lighthearted romp through this improbable correlation. It's time to uncork the peculiar and raise a toast to the unexpected intersections of scholarly research.
Shedding light on this unlikely pair of subjects may raise eyebrows, but as we navigate the twists and turns of this investigation, we hope to offer a refreshing perspective that goes beyond the conventional boundaries of academic inquiry. So, let's rev up our engines and embark on a journey that promises to uncover more than just good humored revelry – it's a road trip through the surprising connections between intellectual pursuits and hangover helpers. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis of the data revealed a remarkably strong correlation between the number of Master's degrees awarded in Transportation and the frequency of Google searches for 'how to cure a hangover'. With a correlation coefficient of 0.9714800 and an r-squared value of 0.9437734 over the period from 2012 to 2021, the relationship between these two seemingly unrelated subjects appears to be as clear as a sobering sunrise after a night of revelry.

To visually illustrate the robust correlation, Fig. 1 depicts a scatterplot that unequivocally portrays this surprising connection. As we stare at the graph, we can't help but wonder if the intersection of these two distinct domains mirrors the junction where a subway line crosses paths with a vineyard – an unexpected meeting of transport and intoxication.

This correlation raises the question: are aspirations for advanced degrees in transportation inversely proportional to the consumption of beverages that lead to hangovers, or are hangover-induced Google searches serving as the inspiration for embarking on scholarly pursuits in transportation? Perhaps it's a chicken-and-egg scenario, or in this case, a car-and-cabernet quandary that begs further exploration.

While our findings may lead some to raise an eyebrow higher than they did their last glass, the statistically significant correlation between these two domains adds a touch of merriment to the scholarly discourse. By shedding light on this unexpected connection, we offer a whimsically refreshing perspective that transcends the conventional boundaries of academic inquiry, inviting scholars to embark on this unconventional journey through the intellectually curious and spirited side of life. So why not raise a glass of data-driven insight and toast to the unexpected discoveries that await in the world of research? Cheers!


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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. 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]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

[[LITERATURE REVIEW]]
In "The Journal of Transport Economics and Policy," Smith and Doe present a rigorous analysis of the factors contributing to the increasing number of Master's degrees awarded in the field of transportation. Their study underscores the growing demand for specialized education in navigating the complex web of logistics and infrastructure. Meanwhile, Jones' research in "Transportation Research Part A: Policy and Practice" elucidates the evolving landscape of transportation education and its impact on workforce development.
As we transition from the serious tones of academic research, let's hit the brakes and make a pit stop at the delightful world of non-fiction literature. In "The Art of Fermentation" by Sandor Katz, we encounter a masterful exploration of the chemical processes at work in the fermentation of beverages – a process that might offer some insight into the scientific underpinnings of the hangover. Similarly, "The Drunken Botanist" by Amy Stewart provides an entertaining and informative journey through the plants that have shaped the world's most famous libations.
Turning to the realm of fiction, the novel "The Hangover" by Rosie Walsh takes us on a comical yet poignant adventure through the aftermath of a wild night out. While not an academic treatise, this work reminds us that even the most unexpected and humorous of circumstances can lead to unexpected insights – much like our own findings. And who could forget the classic film "Planes, Trains and Automobiles"? While not directly related to transportation education or hangover cures, this movie captures the chaotic and often hilarious experiences that arise from journeys of all kinds.
In the world of scholarly research, we often navigate through dense literature and technical jargon, but here we embrace the offbeat and lighthearted. As we synthesize our unconventional findings, it becomes clear that the intersection of higher education in transportation and the quest to cure a hangover is more than just a statistical quirk – it's a testament to the whimsical and unexpected connections that can emerge in the world of academic inquiry. So, as we embark on this rollicking adventure, let's raise a glass to the delightful absurdity of our scholarly pursuits and the joyful surprises that await at the crossroads of academia and revelry. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!

[[RESULTS]]
The statistical analysis of the data revealed a remarkably strong correlation between the number of Master's degrees awarded in Transportation and the frequency of Google searches for 'how to cure a hangover'. With a correlation coefficient of 0.9714800 and an r-squared value of 0.9437734 over the period from 2012 to 2021, the relationship between these two seemingly unrelated subjects appears to be as clear as a sobering sunrise after a night of revelry.
To visually illustrate the robust correlation, Fig. 1 depicts a scatterplot that unequivocally portrays this surprising connection. As we stare at the graph, we can't help but wonder if the intersection of these two distinct domains mirrors the junction where a subway line crosses paths with a vineyard – an unexpected meeting of transport and intoxication.
This correlation raises the question: are aspirations for advanced degrees in transportation inversely proportional to the consumption of beverages that lead to hangovers, or are hangover-induced Google searches serving as the inspiration for embarking on scholarly pursuits in transportation? Perhaps it's a chicken-and-egg scenario, or in this case, a car-and-cabernet quandary that begs further exploration.
While our findings may lead some to raise an eyebrow higher than they did their last glass, the statistically significant correlation between these two domains adds a touch of merriment to the scholarly discourse. By shedding light on this unexpected connection, we offer a whimsically refreshing perspective that transcends the conventional boundaries of academic inquiry, inviting scholars to embark on this unconventional journey through the intellectually curious and spirited side of life. So why not raise a glass of data-driven insight and toast to the unexpected discoveries that await in the world of research? Cheers!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our results have shed light on a surprising linkage between higher education in transportation and the age-old quest to alleviate the morning-after malaise. Much like navigating a winding road, our study has uncovered a correlation that takes us on a whimsical, albeit statistically significant, journey. While the notion of masterfully navigating the logistics of transportation education may seem worlds apart from the boozy escapades that lead to hangovers, our findings hint at an unexpected convergence of academic ambition and the cheerful pursuit of libations.

Drawing upon the scholarly roadmaps laid out by Smith, Doe, and Jones, our study has effectively fueled the engine of knowledge, driving further research into the intersection of transportation education and hangover remedies. Just as a well-oiled transportation system relies on interconnected pathways, our results underscore the interconnectedness of seemingly unrelated domains. The robust correlation coefficient and r-squared value not only support our findings but also provide a wave of statistical evidence akin to a strong tailwind propelling our analysis forward.

Delving into the lighthearted musings of non-fiction literature, our exploration of fermentation processes and the whimsical anecdotes from "The Drunken Botanist" serve as a reminder that even scholarly pursuits can have a spirited twist. These unconventional yet valid sources have provided a delightful and informative backdrop that underscores the whimsical nature of our findings. Thus, our results stand as a testament to the often overlooked joy of unexpected connections in the scholarly pursuit.

As we reflect on the hilarity of a hangover comedy and the chaotic charm of "Planes, Trains and Automobiles," we are reminded that unexpected insights can emerge from the most surprising of circumstances. Our findings, while statistically robust, offer a refreshing perspective that provides a whimsically unconventional lens through which to view the world of academic inquiry.

In conclusion, our study supports and extends the scholarly discourse on transportation education while serving as a spirited testament to the whimsical surprises that await at the crossroads of academic inquiry and revelry. As we toast to the unexpected and delightful correlations that have emerged, we invite scholars to raise a glass to the intellectually curious and spirited side of academic research. Cheers to the unconventional route we have traversed, and may it lead to further discoveries that entwine academia and the exuberant pursuit of life's more spirited pleasures.


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 Master's degrees awarded in Transportation and Google searches for 'how to cure a hangover'. 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]]
"Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches"

[[ABSTRACT]]
As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.

With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

[[INTRDUCTION]]
Ah, academics and alcohol – a pairing as timeless as wine and cheese, or in this case, perhaps a more appropriate analogy would be "Uber and late-night pizza deliveries." As scholars, we are often on the quest for new frontiers and connections, seeking out correlations that might seem as unrelated as a train schedule and an early morning headache. In this whimsical yet enlightening study, we unpack the fascinating correlation between the conferral of Master's degrees in transportation and the perennially popular Google searches for 'how to cure a hangover'. Strap in as we steer through this boozy and scholarly journey – it's sure to be a wild ride!
There's an old adage that says, "As the degree count goes up, so do the recovery methods." Okay, maybe that's not exactly how the saying goes, but our findings have uncovered a correlation so strong that it has left us questioning whether a master's thesis defense and a wild night out go hand in hand. We present our evidence with a mix of academic rigor and barroom banter, shedding light on the unexpected convergence of higher education in transportation and the quest for the perfect hangover cure.
Most academic papers talk about trains of thought, but in our analysis, we're exploring the connection between locomotives and libations. Who would have thought that the world of transportation and the world of post-party remedies could be linked with such statistical gusto? So, grab your favorite coffee mug (or maybe something a bit stronger) as we take a lighthearted romp through this improbable correlation. It's time to uncork the peculiar and raise a toast to the unexpected intersections of scholarly research.
Shedding light on this unlikely pair of subjects may raise eyebrows, but as we navigate the twists and turns of this investigation, we hope to offer a refreshing perspective that goes beyond the conventional boundaries of academic inquiry. So, let's rev up our engines and embark on a journey that promises to uncover more than just good humored revelry – it's a road trip through the surprising connections between intellectual pursuits and hangover helpers. Cheers to unconventional correlations and the scholarly pursuits of the spirited side of life!

[[RESULTS]]
The statistical analysis of the data revealed a remarkably strong correlation between the number of Master's degrees awarded in Transportation and the frequency of Google searches for 'how to cure a hangover'. With a correlation coefficient of 0.9714800 and an r-squared value of 0.9437734 over the period from 2012 to 2021, the relationship between these two seemingly unrelated subjects appears to be as clear as a sobering sunrise after a night of revelry.
To visually illustrate the robust correlation, Fig. 1 depicts a scatterplot that unequivocally portrays this surprising connection. As we stare at the graph, we can't help but wonder if the intersection of these two distinct domains mirrors the junction where a subway line crosses paths with a vineyard – an unexpected meeting of transport and intoxication.
This correlation raises the question: are aspirations for advanced degrees in transportation inversely proportional to the consumption of beverages that lead to hangovers, or are hangover-induced Google searches serving as the inspiration for embarking on scholarly pursuits in transportation? Perhaps it's a chicken-and-egg scenario, or in this case, a car-and-cabernet quandary that begs further exploration.
While our findings may lead some to raise an eyebrow higher than they did their last glass, the statistically significant correlation between these two domains adds a touch of merriment to the scholarly discourse. By shedding light on this unexpected connection, we offer a whimsically refreshing perspective that transcends the conventional boundaries of academic inquiry, inviting scholars to embark on this unconventional journey through the intellectually curious and spirited side of life. So why not raise a glass of data-driven insight and toast to the unexpected discoveries that await in the world of research? Cheers!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our findings have unveiled a correlation so strong it will make you reach for a Tylenol. With a statistical bond as robust as a well-engineered bridge, the link between Master's degrees in Transportation and 'how to cure a hangover' Google searches is as clear as a designated driver on a wild night out.

As we wrap up this unconventional exploration, it's clear that the road to higher education runs parallel to the search for the perfect hangover cure. Whether it's a knack for problem-solving or a need for practical applications after a night of revelry, the intersection of these seemingly disparate domains leaves us with a hangover of amazement.

But let's not drown our findings in too much alcohol-related humor – there's a sober message here. Our research paves the way for future studies to delve into the quirky connections between education, indulgence, and the pursuit of solutions. And who knows, maybe a Master's program in Transportation Planning will include a course on 'Mixology and Commuting' in the future!

In the end, it's time to hang up our beer goggles and declare that no more research is needed in this area; we've driven home our point with a statistical chauffeur. So as we veer into the conclusion, we raise a toast to the unexpected, the inexplicable, and the downright delightful surprises that await in the world of academia. Cheers to the scholarly pursuit of the spirited side of life! Hic... sorry, we meant to say, "Sic transit gloria mundi!"


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 Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Transportation Studies and Hangover Research


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 Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches. Respond only with the name of a fictional organization.

ChatGPT:

Society for Advanced Transportation Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Miles to Mojitos: Analyzing the Correlation Between Master's Degrees in Transportation and 'How to Cure a Hangover' Google Searches with an abstract of As the saying goes, there's no pain like an academic headache – but did you know that hangovers might hold the key to unlocking new insights in the field of transportation education? In this groundbreaking study, we embarked on a journey to uncover the curious connection between the awarding of Master's degrees in transportation and the frequency of Google searches for 'how to cure a hangover'. Leveraging data from the National Center for Education Statistics and Google Trends, our research team utilized statistical analyses to unveil a surprisingly robust correlation.
With a correlation coefficient of 0.9714800 and p < 0.01 across the years 2012 to 2021, our findings suggest a strong and statistically significant link between the two seemingly disparate phenomena. We delve into the implications of this discovery, discussing potential reasons for this correlation and highlighting the humorous quirkiness of academic research. Our results offer a refreshing perspective that brings new meaning to the phrase 'getting on the wagon', revealing the unexpected ties between higher education in transportation and life's more spirited pursuits. So buckle up and join us on this rollicking ride through the complex and curiously interconnected world of academia and libations.

ChatGPT:

Master's degrees in transportation, Google searches, hangover cure, correlation, National Center for Education Statistics, statistical analysis, transportation education, academic research

*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

Master's degrees awarded in Transportation
Detailed data title: Master's degrees conferred by postsecondary institutions in Transportation and materials moving
Source: National Center for Education Statistics
See what else correlates with Master's degrees awarded in Transportation

Google searches for 'how to cure a hangover'
Detailed data title: Relative volume of Google searches for 'how to cure a hangover' (Worldwide, without quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for 'how to cure a hangover'

Correlation r = 0.9714800 (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.9437734 (Coefficient of determination)
This means 94.4% of the change in the one variable (i.e., Google searches for 'how to cure a hangover') is predictable based on the change in the other (i.e., Master's degrees awarded in Transportation) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.8E-6. 0.0000027966177518264345000000
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.97 in 0.00028% of random cases. Said differently, if you correlated 357,575 random variables You don't actually need 357 thousand 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.88, 0.99 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2012201320142015201620172018201920202021
Master's degrees awarded in Transportation (Degrees awarded)170214441243971911839815774631670
Google searches for 'how to cure a hangover' (Rel. search volume)63.833360.666756.7549.833346.083349.545.7543.66673843.25




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([1702,1444,1243,971,911,839,815,774,631,670,])
array_2 = np.array([63.8333,60.6667,56.75,49.8333,46.0833,49.5,45.75,43.6667,38,43.25,])
array_1_name = "Master's degrees awarded in Transportation"
array_2_name = "Google searches for 'how to cure a hangover'"

# Perform the calculation
print(f"Calculating the correlation between {array_1_name} and {array_2_name}...")
correlation, r_squared, p_value = calculate_correlation(array_1, array_2)

# Print the results
print("Correlation Coefficient:", correlation)
print("R-squared:", r_squared)
print("P-value:", p_value)



Reuseable content

You may re-use the images on this page for any purpose, even commercial purposes, without asking for permission. The only requirement is that you attribute Tyler Vigen. Attribution can take many different forms. If you leave the "tylervigen.com" link in the image, that satisfies it just fine. If you remove it and move it to a footnote, that's fine too. You can also just write "Charts courtesy of Tyler Vigen" at the bottom of an article.

You do not need to attribute "the spurious correlations website," and you don't even need to link here if you don't want to. I don't gain anything from pageviews. There are no ads on this site, there is nothing for sale, and I am not for hire.

For the record, I am just one person. Tyler Vigen, he/him/his. I do have degrees, but they should not go after my name unless you want to annoy my wife. If that is your goal, then go ahead and cite me as "Tyler Vigen, A.A. A.A.S. B.A. J.D." Otherwise it is just "Tyler Vigen."

When spoken, my last name is pronounced "vegan," like I don't eat meat.

Full license details.
For more on re-use permissions, or to get a signed release form, see tylervigen.com/permission.

Download images for these variables:


View another random correlation

How fun was this correlation?

You're the correlation whisperer we needed!


Correlation ID: 1762 · Black Variable ID: 1341 · Red Variable ID: 1347
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0