about · email me · subscribe
Spurious correlation #1,837 · 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 Military technologies and the second variable is Google searches for 'i have a headache'.  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 knowledge of military technologies advanced, so did the use of advanced weaponry systems, leading to louder explosions. These explosions caused shocking headaches, prompting more people to search for "i have a headache" on Google. In this case, it's a real blast from the past that's coming back to haunt us!

Model: dalle-3
Prompt: In the dimly lit classroom at the prestigious military academy, a group of proud cadets gathers, each holding aloft their freshly awarded Master's degrees in Military Technologies, the coveted documents standing out against their crisp uniforms. Overhead, the soft glow of holographic displays illuminates their faces, casting an otherworldly hue as their expressions fill with pride and determination. Nearby, a lone figure sits at a computer terminal, silhouetted against the ambient light, lost in a search for answers while typing "I have a headache" into the search bar. The atmosphere crackles with a sense of achievement and the mystery of the digital world. 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 Military technologies and Google searches for 'i have a headache'. 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 photo-realistic image Cutsy graphics An image that looks like it is a scene from 'Star Wars' Oragami a Polaroid photo
ChatGPT: An image that looks like it is a scene from 'Star Wars'

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 Military technologies and Google searches for 'i have a headache' together. Keep the description simple.
ChatGPT: In a classroom at a military academy, a group of students proudly holds up their newly awarded Master's degrees in Military Technologies. Meanwhile, on a nearby computer screen, a person is seen typing "I have a headache" 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: [ An image that looks like it is a scene from 'Star Wars' ] and depicting this scene: In a classroom at a military academy, a group of students proudly holds up their newly awarded Master's degrees in Military Technologies. Meanwhile, on a nearby computer screen, a person is seen typing "I have a headache" into the Google search bar. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: In the dimly lit classroom at the prestigious military academy, a group of proud cadets gathers, each holding aloft their freshly awarded Master's degrees in Military Technologies, the coveted documents standing out against their crisp uniforms. Overhead, the soft glow of holographic displays illuminates their faces, casting an otherworldly hue as their expressions fill with pride and determination. Nearby, a lone figure sits at a computer terminal, silhouetted against the ambient light, lost in a search for answers while typing "I have a headache" into the search bar. The atmosphere crackles with a sense of achievement and the mystery of the digital world.

*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 Master's degrees awarded in Military technologies caused i have a headache (Google searches for 'i have a headache') to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

The Journal of Migraine Studies and Military Technologies

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 silly 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 Military technologies and Google searches for 'i have a headache'. Make lots of jokes, goofy observations, and puns.

Make the title an alliteration.

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.9770949 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]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Military technologies and Google searches for 'i have a headache'. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

Buckle up, dear reader, for a journey into the bizarre and bewildering world of academia. Today, we delve into the unlikely and hitherto unexplored connection between Master's degrees in Military technologies and the ever-persistent lament of 'i have a headache' in Google searches. Who could have thought that the lofty pursuit of advanced education and the common complaint of head discomfort could be entwined in such a fascinating manner?

While most researchers are content with studying predictable and conventional relationships, we are daring to push the boundaries of scholarly inquiry by examining this quirky and quizzical correlation. It's as if the academic world and the mundane daily struggles of individuals have collided in a cacophony of confusion, leading us down an unconventional path of investigation.

The title of our paper might leave you scratching your head—whether due to the subject matter or an actual headache—and the abstract might have prompted a raised eyebrow or a wry smile, but fear not, for we are on a mission to uncover the unexpected, the offbeat, and the outlandish. Yes, we are diving headfirst into the depths of data analysis and Google searches, armed with statistical tools and a healthy dose of humor, to unravel the enigma of 'Migrant Militants and Migraines.'

Now, let's embark on this whimsical journey together, as we explore the linkage between the scholarly pursuit of military knowledge and the virtual cries for relief from throbbing heads. Prepare yourself for a rollercoaster ride of academic inquiry, statistical revelation, and an abundance of puns and jests, for where would a voyage into peculiar research be without a touch of levity? So, without further ado, let's navigate the labyrinthine corridors of educational statistics and search trends in the ever-enthralling quest for knowledge, chuckles, and perhaps even a bit of head-scratching puzzlement.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Military technologies and Google searches for 'i have a headache'. 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 you might move on to cartoons and children's shows that you watched for research.

Here is the title and abstract of the paper:
[[TITLE]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
Buckle up, dear reader, for a journey into the bizarre and bewildering world of academia. Today, we delve into the unlikely and hitherto unexplored connection between Master's degrees in Military technologies and the ever-persistent lament of 'i have a headache' in Google searches. Who could have thought that the lofty pursuit of advanced education and the common complaint of head discomfort could be entwined in such a fascinating manner?
While most researchers are content with studying predictable and conventional relationships, we are daring to push the boundaries of scholarly inquiry by examining this quirky and quizzical correlation. It's as if the academic world and the mundane daily struggles of individuals have collided in a cacophony of confusion, leading us down an unconventional path of investigation.
The title of our paper might leave you scratching your head—whether due to the subject matter or an actual headache—and the abstract might have prompted a raised eyebrow or a wry smile, but fear not, for we are on a mission to uncover the unexpected, the offbeat, and the outlandish. Yes, we are diving headfirst into the depths of data analysis and Google searches, armed with statistical tools and a healthy dose of humor, to unravel the enigma of 'Migrant Militants and Migraines.'
Now, let's embark on this whimsical journey together, as we explore the linkage between the scholarly pursuit of military knowledge and the virtual cries for relief from throbbing heads. Prepare yourself for a rollercoaster ride of academic inquiry, statistical revelation, and an abundance of puns and jests, for where would a voyage into peculiar research be without a touch of levity? So, without further ado, let's navigate the labyrinthine corridors of educational statistics and search trends in the ever-enthralling quest for knowledge, chuckles, and perhaps even a bit of head-scratching puzzlement.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

To embark on our quest to uncover the mysterious connection between Master's degrees in Military technologies and the peculiar prevalence of 'i have a headache' Google searches, we delve into the existing literature surrounding this curious correlation. While the juxtaposition of these seemingly unrelated phenomena may initially elicit skepticism, our investigation is grounded in a lighthearted yet rigorous examination of both serious and whimsical sources.

Smith et al. (2015) undertook a comprehensive analysis of advanced degrees in military technology and reported intriguing insights into the academic landscape. Their findings shed light on the increasing enrollment in specialized military programs and highlighted the nuances of education within this domain. However, what Smith et al. failed to anticipate is the unforeseen linkage between military knowledge acquisition and the digital outcry of headache-afflicted individuals.

Doe and Jones (2018) explored the psychological impacts of educational pursuits in their seminal work, delving into the stressors and anxieties experienced by students in rigorous academic programs. While their study primarily focused on general postgraduate education, their observations may hold relevance in the context of military technology programs, where the intricate nature of the subject matter could manifest in unexpected ways.

Turning to non-fiction literature, "The Art of War" by Sun Tzu provides timeless wisdom on military strategy. While not directly related to Master's degrees, it offers valuable insight into warfare that may metaphorically resonate with the battles waged by students pursuing advanced military education. On a lighter note, "Headache Free" by Dr. Cornelia Davis presents practical remedies for alleviating headaches, a subject that appears with unexpected frequency in our investigation.

Venturing into the realm of fiction, we encounter "The Guns of August" by Barbara Tuchman, a gripping narrative of military history that, while not directly related to our study, merits a mention for its thematic alignment. In a parallel universe, the whimsical children's book "Captain Underpants" by Dav Pilkey may offer a comical escape from the scholarly pursuit of our research.

But let us not forget the invaluable insights gleaned from popular culture, cartoons, and children's shows. The Super Mario Bros. series, with its portrayal of military-themed levels and the ubiquitous frustration-induced-exclamations of "I have a headache" when facing challenging obstacles, may hold surprising relevance to our investigation.

As we synthesize the diverse array of literature, both serious and ludicrous, we embark on a journey marked by unexpected twists and turns, akin to the rollercoaster ride of our peculiar research inquiry. This synthesis guides us towards a whimsical understanding of the parallels between advanced military education and the seemingly distant realm of headaches, demonstrating that scholarly exploration need not be devoid of levity and mirth.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Military technologies and Google searches for 'i have a headache'. 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]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

[[INTRODUCTION]]
INTRODUCTION
Buckle up, dear reader, for a journey into the bizarre and bewildering world of academia. Today, we delve into the unlikely and hitherto unexplored connection between Master's degrees in Military technologies and the ever-persistent lament of 'i have a headache' in Google searches. Who could have thought that the lofty pursuit of advanced education and the common complaint of head discomfort could be entwined in such a fascinating manner?
While most researchers are content with studying predictable and conventional relationships, we are daring to push the boundaries of scholarly inquiry by examining this quirky and quizzical correlation. It's as if the academic world and the mundane daily struggles of individuals have collided in a cacophony of confusion, leading us down an unconventional path of investigation.
The title of our paper might leave you scratching your head—whether due to the subject matter or an actual headache—and the abstract might have prompted a raised eyebrow or a wry smile, but fear not, for we are on a mission to uncover the unexpected, the offbeat, and the outlandish. Yes, we are diving headfirst into the depths of data analysis and Google searches, armed with statistical tools and a healthy dose of humor, to unravel the enigma of 'Migrant Militants and Migraines.'
Now, let's embark on this whimsical journey together, as we explore the linkage between the scholarly pursuit of military knowledge and the virtual cries for relief from throbbing heads. Prepare yourself for a rollercoaster ride of academic inquiry, statistical revelation, and an abundance of puns and jests, for where would a voyage into peculiar research be without a touch of levity? So, without further ado, let's navigate the labyrinthine corridors of educational statistics and search trends in the ever-enthralling quest for knowledge, chuckles, and perhaps even a bit of head-scratching puzzlement.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the curious connection between Master's degrees in Military technologies and the frequency of Google searches for 'i have a headache', we embarked on a most peculiar and at times befuddling research odyssey. Picture this: armed with an arsenal of statistical software and a steadfast determination to fathom the unfathomable, our team set out to navigate the digital landscape in search of answers that lay at the crossroads of academic achievement and cranial discomfort.

First and foremost, our intrepid band of researchers scoured the hallowed halls of the National Center for Education Statistics for data on the conferral of Master's degrees in the esoteric realm of military technologies. Like diligent detectives, we meticulously tracked the annual count of these advanced accolades from the year 2012 to 2021, steadfastly unearthing the statistical nuggets that might unravel this enigmatic enigma.

But wait, that's not all - armed with our trusty cyber-sleuthing skills and an inquisitive spirit, we forged forth into the digital domain of Google Trends. There, amidst the ebb and flow of search queries, we sought out the frequency of those telltale words that hint at cranial discomfort: 'i have a headache'. Picture us, if you will, huddled around a computer screen, scrutinizing the peaks and valleys of Google search data, searching for signs of correlation in a sea of virtual woe.

Now, in the grand tradition of academic inquiry, we summoned the formidable forces of statistical analysis. Utilizing the mystical tools of correlation coefficients, hypothesis testing, and regression models, we endeavored to tease out the intricate dance between the awarding of military technology degrees and the digital entreaties for headache relief. At times, our battle with the data resembled a complex chess match, with every move scrutinized and every statistical inference wrought with intellectual intrigue.

Yes, dear reader, the path to uncovering this unexpected nexus between academic pursuits and cranial distress was fraught with twists and turns, akin to a rollercoaster ride through a landscape of numbers and search queries. As the fog of data gradually lifted, the intriguing correlation coefficient of 0.9770949 and the tantalizing p-value of p < 0.01 emerged, sparking both elation and consternation in equal measure.

So, there you have it - our intrepid escapade into the realms of education statistics and the digital tapestry of search trends, a journey marked by laughter, bewilderment, and the thrill of uncovering the delightfully unexpected.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Military technologies and Google searches for 'i have a headache'. 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.9770949, r-squared of 0.9547144, 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]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
Buckle up, dear reader, for a journey into the bizarre and bewildering world of academia. Today, we delve into the unlikely and hitherto unexplored connection between Master's degrees in Military technologies and the ever-persistent lament of 'i have a headache' in Google searches. Who could have thought that the lofty pursuit of advanced education and the common complaint of head discomfort could be entwined in such a fascinating manner?
While most researchers are content with studying predictable and conventional relationships, we are daring to push the boundaries of scholarly inquiry by examining this quirky and quizzical correlation. It's as if the academic world and the mundane daily struggles of individuals have collided in a cacophony of confusion, leading us down an unconventional path of investigation.
The title of our paper might leave you scratching your head—whether due to the subject matter or an actual headache—and the abstract might have prompted a raised eyebrow or a wry smile, but fear not, for we are on a mission to uncover the unexpected, the offbeat, and the outlandish. Yes, we are diving headfirst into the depths of data analysis and Google searches, armed with statistical tools and a healthy dose of humor, to unravel the enigma of 'Migrant Militants and Migraines.'
Now, let's embark on this whimsical journey together, as we explore the linkage between the scholarly pursuit of military knowledge and the virtual cries for relief from throbbing heads. Prepare yourself for a rollercoaster ride of academic inquiry, statistical revelation, and an abundance of puns and jests, for where would a voyage into peculiar research be without a touch of levity? So, without further ado, let's navigate the labyrinthine corridors of educational statistics and search trends in the ever-enthralling quest for knowledge, chuckles, and perhaps even a bit of head-scratching puzzlement.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our investigation have unveiled a peculiar and perplexing correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The statistical analysis yielded a remarkably high correlation coefficient of 0.9770949, indicating a strong positive relationship between these seemingly disparate variables. The r-squared value of 0.9547144 further underscores the robustness of this connection, suggesting that 95% of the variability in migraine-related Google searches can be explained by the number of Master's degrees in Military technologies. The p-value of less than 0.01 indicates that this correlation is highly statistically significant, leaving little room for doubt regarding the legitimacy of this curious association.

In a nutshell, our data suggest that as the number of advanced degrees in military technology increased, so did the frequency of Google searches for headaches. It's as if the pursuit of knowledge in the intricate domain of military technologies has unwittingly triggered an outbreak of headaches among the general populace, or perhaps our collective cognitive dissonance at the thought of advanced military technologies is causing us to involuntarily clutch our heads in despair.

Ah, but fear not, dear reader, for we are not ones to take these findings at face value. We understand that correlation does not imply causation, and for all we know, the surge in Google searches for headaches could be due to the release of the latest mind-boggling military gadgetry that has left us all in a state of bewildered awe.

To bring this surreal connection to life, Fig. 1 displays a scatterplot that captures the unmistakable relationship between Master's degrees in Military technologies and the frequency of 'i have a headache' searches on Google. The plot showcases the clustering of data points, painting a picture that is equal parts intriguing and amusing, much like the perplexing nature of our research question.

In conclusion, this unexpected correlation compels us to ponder the potential stressors associated with military education that may have broader implications on public health. Alternatively, it could be interpreted as evidence that the mere contemplation of military technologies induces sympathetic headaches in unsuspecting Google users. Regardless of the underlying cause, this research underscores the whimsical and wacky ways in which seemingly unrelated phenomena can be interconnected, renewing our appreciation for the delightful randomness of scientific inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Military technologies and Google searches for 'i have a headache'. 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]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

[[LITERATURE REVIEW]]
To embark on our quest to uncover the mysterious connection between Master's degrees in Military technologies and the peculiar prevalence of 'i have a headache' Google searches, we delve into the existing literature surrounding this curious correlation. While the juxtaposition of these seemingly unrelated phenomena may initially elicit skepticism, our investigation is grounded in a lighthearted yet rigorous examination of both serious and whimsical sources.
Smith et al. (2015) undertook a comprehensive analysis of advanced degrees in military technology and reported intriguing insights into the academic landscape. Their findings shed light on the increasing enrollment in specialized military programs and highlighted the nuances of education within this domain. However, what Smith et al. failed to anticipate is the unforeseen linkage between military knowledge acquisition and the digital outcry of headache-afflicted individuals.
Doe and Jones (2018) explored the psychological impacts of educational pursuits in their seminal work, delving into the stressors and anxieties experienced by students in rigorous academic programs. While their study primarily focused on general postgraduate education, their observations may hold relevance in the context of military technology programs, where the intricate nature of the subject matter could manifest in unexpected ways.
Turning to non-fiction literature, "The Art of War" by Sun Tzu provides timeless wisdom on military strategy. While not directly related to Master's degrees, it offers valuable insight into warfare that may metaphorically resonate with the battles waged by students pursuing advanced military education. On a lighter note, "Headache Free" by Dr. Cornelia Davis presents practical remedies for alleviating headaches, a subject that appears with unexpected frequency in our investigation.
Venturing into the realm of fiction, we encounter "The Guns of August" by Barbara Tuchman, a gripping narrative of military history that, while not directly related to our study, merits a mention for its thematic alignment. In a parallel universe, the whimsical children's book "Captain Underpants" by Dav Pilkey may offer a comical escape from the scholarly pursuit of our research.
But let us not forget the invaluable insights gleaned from popular culture, cartoons, and children's shows. The Super Mario Bros. series, with its portrayal of military-themed levels and the ubiquitous frustration-induced-exclamations of "I have a headache" when facing challenging obstacles, may hold surprising relevance to our investigation.
As we synthesize the diverse array of literature, both serious and ludicrous, we embark on a journey marked by unexpected twists and turns, akin to the rollercoaster ride of our peculiar research inquiry. This synthesis guides us towards a whimsical understanding of the parallels between advanced military education and the seemingly distant realm of headaches, demonstrating that scholarly exploration need not be devoid of levity and mirth.

[[RESULTS]]
The results of our investigation have unveiled a peculiar and perplexing correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The statistical analysis yielded a remarkably high correlation coefficient of 0.9770949, indicating a strong positive relationship between these seemingly disparate variables. The r-squared value of 0.9547144 further underscores the robustness of this connection, suggesting that 95% of the variability in migraine-related Google searches can be explained by the number of Master's degrees in Military technologies. The p-value of less than 0.01 indicates that this correlation is highly statistically significant, leaving little room for doubt regarding the legitimacy of this curious association.
In a nutshell, our data suggest that as the number of advanced degrees in military technology increased, so did the frequency of Google searches for headaches. It's as if the pursuit of knowledge in the intricate domain of military technologies has unwittingly triggered an outbreak of headaches among the general populace, or perhaps our collective cognitive dissonance at the thought of advanced military technologies is causing us to involuntarily clutch our heads in despair.
Ah, but fear not, dear reader, for we are not ones to take these findings at face value. We understand that correlation does not imply causation, and for all we know, the surge in Google searches for headaches could be due to the release of the latest mind-boggling military gadgetry that has left us all in a state of bewildered awe.
To bring this surreal connection to life, Fig. 1 displays a scatterplot that captures the unmistakable relationship between Master's degrees in Military technologies and the frequency of 'i have a headache' searches on Google. The plot showcases the clustering of data points, painting a picture that is equal parts intriguing and amusing, much like the perplexing nature of our research question.
In conclusion, this unexpected correlation compels us to ponder the potential stressors associated with military education that may have broader implications on public health. Alternatively, it could be interpreted as evidence that the mere contemplation of military technologies induces sympathetic headaches in unsuspecting Google users. Regardless of the underlying cause, this research underscores the whimsical and wacky ways in which seemingly unrelated phenomena can be interconnected, renewing our appreciation for the delightful randomness of scientific inquiry.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

The interplay between Master's degrees in Military technologies and Google searches for 'i have a headache' has left us in a state of bewilderment, akin to a collective whack on the noggin. As we venture into the discussion of our quirky findings, we are reminded of the playful journey we embarked upon, one that brought us face-to-face with non-fiction and fiction, academia and popular culture, serious literature and whimsical escapades.

Our investigation has confirmed the unforeseen connection between the pursuit of military knowledge and the digital outcry of headache-afflicted individuals. The robust correlation coefficient of 0.9770949 and p < 0.01 corroborates this seemingly bizarre relationship, solidifying the link between the complex world of military education and the throbbing complaints of individuals scouring the internet for headache remedies.

Returning to the serious and whimsical sources from our literature review, we find that Smith et al.'s insights into the academic landscape of military technology programs have been bolstered by our curious findings, adding a whimsical twist to the understanding of stressors and anxieties experienced by students in rigorous academic programs, as suggested by Doe and Jones. Furthermore, popular culture references, such as the Super Mario Bros. series and "Captain Underpants," have transitioned from lighthearted diversions to unexpected touchstones in our exploration of this peculiar correlation.

The r-squared value quantifying the variability in migraine-related Google searches explained by the number of Master's degrees in Military technologies serves as a potent reminder of the whimsical and wacky ways in which seemingly unrelated phenomena might be inextricably linked. As we gaze upon our scatterplot capturing this unmistakable relationship, we are greeted with a visual representation that is as confounding as it is amusing, not unlike a perplexing modern art piece, leaving us to wonder if the pursuit of military knowledge triggers a collective wave of digital head-clutching among the masses.

Indeed, correlation does not imply causation, and we are acutely aware of the myriad interpretations that may underlie this surreal connection. Could it be the stressors associated with military education inducing headaches, or perhaps the release of mind-boggling military gadgetry that leaves us all in a state of bewildered awe? Regardless, our research has breathed life into the whimsical and wacky ways in which seemingly unrelated phenomena can intertwine, infusing the scientific pursuit with a healthy dose of levity and mirth.

In the grand tapestry of scholarly exploration, our study contributes a vibrant thread of curiosity and playfulness, challenging the boundaries of whimsy and academia. It is a testament to the delightful randomness of scientific inquiry and serves as a reminder that even in the most unexpected correlations, there is joy to be found.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Military technologies and Google searches for 'i have a headache'. 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]]
Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches

[[ABSTRACT]]
This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

[[INTRDUCTION]]
INTRODUCTION
Buckle up, dear reader, for a journey into the bizarre and bewildering world of academia. Today, we delve into the unlikely and hitherto unexplored connection between Master's degrees in Military technologies and the ever-persistent lament of 'i have a headache' in Google searches. Who could have thought that the lofty pursuit of advanced education and the common complaint of head discomfort could be entwined in such a fascinating manner?
While most researchers are content with studying predictable and conventional relationships, we are daring to push the boundaries of scholarly inquiry by examining this quirky and quizzical correlation. It's as if the academic world and the mundane daily struggles of individuals have collided in a cacophony of confusion, leading us down an unconventional path of investigation.
The title of our paper might leave you scratching your head—whether due to the subject matter or an actual headache—and the abstract might have prompted a raised eyebrow or a wry smile, but fear not, for we are on a mission to uncover the unexpected, the offbeat, and the outlandish. Yes, we are diving headfirst into the depths of data analysis and Google searches, armed with statistical tools and a healthy dose of humor, to unravel the enigma of 'Migrant Militants and Migraines.'
Now, let's embark on this whimsical journey together, as we explore the linkage between the scholarly pursuit of military knowledge and the virtual cries for relief from throbbing heads. Prepare yourself for a rollercoaster ride of academic inquiry, statistical revelation, and an abundance of puns and jests, for where would a voyage into peculiar research be without a touch of levity? So, without further ado, let's navigate the labyrinthine corridors of educational statistics and search trends in the ever-enthralling quest for knowledge, chuckles, and perhaps even a bit of head-scratching puzzlement.

[[RESULTS]]
The results of our investigation have unveiled a peculiar and perplexing correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The statistical analysis yielded a remarkably high correlation coefficient of 0.9770949, indicating a strong positive relationship between these seemingly disparate variables. The r-squared value of 0.9547144 further underscores the robustness of this connection, suggesting that 95% of the variability in migraine-related Google searches can be explained by the number of Master's degrees in Military technologies. The p-value of less than 0.01 indicates that this correlation is highly statistically significant, leaving little room for doubt regarding the legitimacy of this curious association.
In a nutshell, our data suggest that as the number of advanced degrees in military technology increased, so did the frequency of Google searches for headaches. It's as if the pursuit of knowledge in the intricate domain of military technologies has unwittingly triggered an outbreak of headaches among the general populace, or perhaps our collective cognitive dissonance at the thought of advanced military technologies is causing us to involuntarily clutch our heads in despair.
Ah, but fear not, dear reader, for we are not ones to take these findings at face value. We understand that correlation does not imply causation, and for all we know, the surge in Google searches for headaches could be due to the release of the latest mind-boggling military gadgetry that has left us all in a state of bewildered awe.
To bring this surreal connection to life, Fig. 1 displays a scatterplot that captures the unmistakable relationship between Master's degrees in Military technologies and the frequency of 'i have a headache' searches on Google. The plot showcases the clustering of data points, painting a picture that is equal parts intriguing and amusing, much like the perplexing nature of our research question.
In conclusion, this unexpected correlation compels us to ponder the potential stressors associated with military education that may have broader implications on public health. Alternatively, it could be interpreted as evidence that the mere contemplation of military technologies induces sympathetic headaches in unsuspecting Google users. Regardless of the underlying cause, this research underscores the whimsical and wacky ways in which seemingly unrelated phenomena can be interconnected, renewing our appreciation for the delightful randomness of scientific inquiry.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In closing, it's evident that our journey into the unexpected nexus of military knowledge and migraine-related Google searches has been nothing short of a whimsical odyssey. As we grapple with the zany connection between Master's degrees in Military technologies and the virtual chorus of 'i have a headache' plaints, we are reminded that the arcane corridors of academia can lead us to the most peculiar of destinations.

The robust correlation coefficient and p-value akin to finding a needle in a haystack suggests a strong relationship between these ostensibly unrelated variables. It's as if the mere contemplation of advanced military know-how is causing a collective nationwide cranium conundrum, or perhaps a surge in tactical search strategies for relief from the perplexity of military technologies.

On one hand, we are left pondering the potential stressors instigated by the pursuit of military education and their ramifications on public health. On the other hand, it might just be that the mere ruminations on the complexities of military technologies are inducing nationwide sympathetic headaches, leaving us all in a state of cognitive commotion.

Regardless of the precise causative mechanism, our research reaffirms the whimsical and wacky ways in which seemingly unrelated phenomena can intertwine. We've navigated through statistical mazes, chuckled at scatterplots, and contemplated the bizarre entanglement of serious academic pursuits and the virtual groans of head discomfort.

And so, with a fond adieu to this curious intersection of military enlightenment and migraines, we assert that no further research is needed in this peculiar realm. It seems we've unraveled the enigma of 'Migrant Militants and Migraines' to its delightfully perplexing core, leaving us with a newfound appreciation for the delightful randomness of scientific inquiry.


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 Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Migraine Studies and Military Technologies


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 Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Advanced Migraine and Military 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 Migrant Militants and Migraines: Matching Master's Degrees in Military Technologies with Migraine-related Google Searches with an abstract of This paper aims to explore the curious correlation between the number of Master's degrees awarded in Military technologies and the frequency of Google searches for 'i have a headache'. The research team utilized data from the National Center for Education Statistics to track the number of advanced degrees in military technology and Google Trends to monitor search trends. Surprisingly, our analysis revealed a striking correlation coefficient of 0.9770949 and p < 0.01 when considering the period from 2012 to 2021. This unexpected connection raises intriguing questions about potential stressors related to military education and their impact on public health, or perhaps the possibility that searching for military technologies induces headaches in unsuspecting Google users. In any case, this research contributes to the understanding of the whimsical and wacky ways in which seemingly unrelated phenomena might be connected.

ChatGPT:

migrant militants, master's degrees, military technologies, migraines, Google searches, correlation, National Center for Education Statistics, Google Trends, stressors, public health, search trends, headache, military education, research, connection, phenomena

*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 Military technologies
Detailed data title: Master's degrees conferred by postsecondary institutions in Military technologies and applied sciences
Source: National Center for Education Statistics
See what else correlates with Master's degrees awarded in Military technologies

Google searches for 'i have a headache'
Detailed data title: Relative volume of Google searches for 'i have a headache' (Worldwide), with quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for 'i have a headache'

Correlation r = 0.9770949 (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.9547144 (Coefficient of determination)
This means 95.5% of the change in the one variable (i.e., Google searches for 'i have a headache') is predictable based on the change in the other (i.e., Master's degrees awarded in Military technologies) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.2E-6. 0.0000011714378129215742000000
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.98 in 0.00012% of random cases. Said differently, if you correlated 853,652 random variables You don't actually need 853 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.9, 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 Military technologies (Degrees awarded)29322971152274355572839958
Google searches for 'i have a headache' (Rel. search volume)33.416736.833339.583339.54245.333350.333354.83338180




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([29,32,29,71,152,274,355,572,839,958,])
array_2 = np.array([33.4167,36.8333,39.5833,39.5,42,45.3333,50.3333,54.8333,81,80,])
array_1_name = "Master's degrees awarded in Military technologies"
array_2_name = "Google searches for 'i have a headache'"

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

Your dedication to rating warms my heart!


Correlation ID: 1837 · Black Variable ID: 1331 · Red Variable ID: 1524
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0