about · email me · subscribe
Spurious correlation #2,379 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of commercial pilots in Massachusetts and the second variable is Google searches for 'zombies'.  The chart goes from 2006 to 2020, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of commercial pilots in Massachusetts soared, it led to an unexpected rise in zombies. It seems the pilots were just dying to fly, and their infectious enthusiasm somehow reanimated an interest in zombies among the locals. It's a dead giveaway that there's a grave connection between taking to the skies and a surge in zombie fascination. It's like they say, when there's a Will, there's a zombae!

Model: dalle-3
Prompt: Generate an image of a 3D Pixar-style cityscape in Massachusetts, where an increasing number of planes fill the skies, causing disturbances in the atmosphere. In the background, cemeteries are depicted with dormant zombies twitching into life as concerned citizens can be seen searching on their devices for the nearest zombie escape routes. 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: The number of commercial pilots in Massachusetts and Google searches for 'zombies'. 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: Steampunk Low poly Cubism Woodblock painting 3D Pixar Style
ChatGPT: 3D Pixar Style

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 The number of commercial pilots in Massachusetts and Google searches for 'zombies', in the following situation: As the number of commercial pilots in Massachusetts increased, more airplanes took to the skies, creating disturbances in the atmosphere. These disturbances inadvertently affected nearby cemeteries, causing dormant zombies to twitch into life and prompting concerned citizens to frantically Google the nearest zombie escape routes.. Keep the description simple.
ChatGPT: As the number of commercial pilots in Massachusetts increased, more planes filled the skies, creating disturbances in the atmosphere. In the nearby cemeteries, dormant zombies twitched into life. Concerned citizens rushed to their devices to Google the nearest zombie escape routes.

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: [ 3D Pixar Style ] and depicting this scene: As the number of commercial pilots in Massachusetts increased, more planes filled the skies, creating disturbances in the atmosphere. In the nearby cemeteries, dormant zombies twitched into life. Concerned citizens rushed to their devices to Google the nearest zombie escape routes. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a 3D Pixar-style cityscape in Massachusetts, where an increasing number of planes fill the skies, causing disturbances in the atmosphere. In the background, cemeteries are depicted with dormant zombies twitching into life as concerned citizens can be seen searching on their devices for the nearest zombie escape routes.

*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 increases in The number of commercial pilots in Massachusetts positively influenced zombies (Google searches for 'zombies'). Include one good pun.

AI academic paper

(Because p < 0.01)
Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead

Journal of Paranormal Aviation Studies

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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from Bureau of Larbor Statistics and Google Trends to assess this nagging question. You found a correlation coefficient of 0.8790043 and p < 0.01 for 2006 to 2020.

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]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.


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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

In the vast and often turbulent skies of research, there are numerous unexplored air currents and hidden phenomena waiting to be uncovered. One such phenomenon that has lingered on the periphery of scholarly scrutiny is the relationship between the number of commercial pilots in Massachusetts and the seemingly unrelated realm of interest in zombies. While these two subjects may appear as different as night and day, our investigation seeks to illuminate the uncharted airspace where they intersect.

As intrepid explorers of statistical landscapes, we were drawn to the magnetic pull of these anomalies and aimed to navigate through the clouds of uncertainty. Armed with data from the Bureau of Labor Statistics and the treasure trove of Google searches, we embarked on a journey to unravel the connections that defy conventional wisdom and take flight into uncharted territories of inquiry.

The canvas of our investigation spans over a decade, from 2006 to 2020, allowing us to capture the ebb and flow of interest in the undead and the dynamic fluctuations in the population of commercial pilots. With our analytical compass pointing due north, we sought to unveil the hidden correlations within this labyrinth of numbers and trends, uncovering the strange bedfellows of high-flying professionals and the enigmatic allure of the undead.

So fasten your seatbelts, ensure your tray tables are in their upright positions, and prepare for a journey that ventures beyond the ordinary horizons of academic inquiry. Our findings promise to unveil a tapestry woven by the threads of statistics and the unexpected synergy between professionals soaring in the skies and the captivating allure of the walking dead. As we embark on this expedition of inquiry, let us soar high and remain ever vigilant for the unexpected and curious links that science, data, and perhaps a touch of whimsy may reveal. After all, in the realm of the curious and the unexplained, one can never be too prepared for the unexpected turbulence of academic discovery.


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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading the backs of shampoo bottles.

Here is the title and abstract of the paper:
[[TITLE]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
In the vast and often turbulent skies of research, there are numerous unexplored air currents and hidden phenomena waiting to be uncovered. One such phenomenon that has lingered on the periphery of scholarly scrutiny is the relationship between the number of commercial pilots in Massachusetts and the seemingly unrelated realm of interest in zombies. While these two subjects may appear as different as night and day, our investigation seeks to illuminate the uncharted airspace where they intersect.
As intrepid explorers of statistical landscapes, we were drawn to the magnetic pull of these anomalies and aimed to navigate through the clouds of uncertainty. Armed with data from the Bureau of Labor Statistics and the treasure trove of Google searches, we embarked on a journey to unravel the connections that defy conventional wisdom and take flight into uncharted territories of inquiry.
The canvas of our investigation spans over a decade, from 2006 to 2020, allowing us to capture the ebb and flow of interest in the undead and the dynamic fluctuations in the population of commercial pilots. With our analytical compass pointing due north, we sought to unveil the hidden correlations within this labyrinth of numbers and trends, uncovering the strange bedfellows of high-flying professionals and the enigmatic allure of the undead.
So fasten your seatbelts, ensure your tray tables are in their upright positions, and prepare for a journey that ventures beyond the ordinary horizons of academic inquiry. Our findings promise to unveil a tapestry woven by the threads of statistics and the unexpected synergy between professionals soaring in the skies and the captivating allure of the walking dead. As we embark on this expedition of inquiry, let us soar high and remain ever vigilant for the unexpected and curious links that science, data, and perhaps a touch of whimsy may reveal. After all, in the realm of the curious and the unexplained, one can never be too prepared for the unexpected turbulence of academic discovery.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The exploration of seemingly incongruous phenomena has long served as a lodestar for scholarly inquisitiveness. The intersection between disparate topics often leads to the unearthing of unexpected correlations and associations. In this pursuit, we turn our attention to the curious relationship between the number of commercial pilots in Massachusetts and the often macabre fascination with zombies. Our voyage through the annals of existing literature reveals a multifaceted tapestry of insights and surprises.

Smith et al. (2015) conducted a comprehensive analysis of occupational trends in the northeastern United States, including the demographic composition of commercial pilots. While their focus was primarily on labor force dynamics, their work inadvertently laid the groundwork for our expedition into the esoteric correlation between airborne professionals and the undead. The unanticipated synergy between these subjects has remained clandestine in the academic domain, warranting detailed scrutiny to unravel the peculiar interplay at hand.

Doe and Jones (2018) provide a cogent overview of internet search patterns and the cultural zeitgeist, with a particular emphasis on the spectral fascination with supernatural entities. Their treatise on modern information retrieval and societal interests inadvertently piqued our curiosity, steering our attention toward the enigmatic surge in searches for 'zombies' and its alignment with the population of commercial pilots. From their seminal work, an enigmatic nexus emerged, encouraging us to navigate through the nebulous confluence of professional aviation and the macabre allure of the undead.

As we delve further into the realm of literature, the works of renowned non-fiction authors shed additional light on the unanticipated conjunction under scrutiny. In "The Rise of the Skybound: An Analysis of Aeronautical Professions" by Aviation Research Institute (2017), the intricate dynamics of aviation careers provide a compelling backdrop for our investigation. The juxtaposition of this serious academic work with the levity of the undead creates an expanse of unexpected proportions, elevating our scholarly pursuit to unforeseen heights.

Turning the pages to the realm of fiction, the works of Max Brooks and Mira Grant offer speculative insights into parallel worlds where the skies and zombies intersect. Brooks' "World War Z: An Oral History of the Zombie War" (2006) and Grant's "Feed" (2010) veer into the realm of apocalyptic scenarios, intertwining the fantastical with the aeronautical. While these works border on the whimsical, they presage the uncanny corollaries we unearth in our own rigorous investigation.

Furthermore, our foray into the annals of research extends beyond the traditional confines of scholarly journals and empirical studies. In the spirit of thoroughness and lighthearted inquiry, the authors engaged in an unconventional literature review by perusing the backs of shampoo bottles, hoping for serendipitous revelations. Alas, the correlation was detergents apart from our focal subjects, but our endeavor underscored the multifaceted nature of academic pursuit, where even unforeseen avenues may lead to unexpected insights.

As we traverse the terrain of existing literature, the confluence of commercial pilots and zombies emerges as a tantalizing enigma, beckoning us to unravel its mysteries with scholarly perspicacity while indulging in the occasional whimsical detour. This amalgamation of the serious and the surreal offers a lens through which to perceive the uncharted skies of academia, where the unexpected often takes flight alongside the rigor of inquiry.


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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and Google Trends . You used data from 2006 to 2020

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]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

[[INTRODUCTION]]
INTRODUCTION
In the vast and often turbulent skies of research, there are numerous unexplored air currents and hidden phenomena waiting to be uncovered. One such phenomenon that has lingered on the periphery of scholarly scrutiny is the relationship between the number of commercial pilots in Massachusetts and the seemingly unrelated realm of interest in zombies. While these two subjects may appear as different as night and day, our investigation seeks to illuminate the uncharted airspace where they intersect.
As intrepid explorers of statistical landscapes, we were drawn to the magnetic pull of these anomalies and aimed to navigate through the clouds of uncertainty. Armed with data from the Bureau of Labor Statistics and the treasure trove of Google searches, we embarked on a journey to unravel the connections that defy conventional wisdom and take flight into uncharted territories of inquiry.
The canvas of our investigation spans over a decade, from 2006 to 2020, allowing us to capture the ebb and flow of interest in the undead and the dynamic fluctuations in the population of commercial pilots. With our analytical compass pointing due north, we sought to unveil the hidden correlations within this labyrinth of numbers and trends, uncovering the strange bedfellows of high-flying professionals and the enigmatic allure of the undead.
So fasten your seatbelts, ensure your tray tables are in their upright positions, and prepare for a journey that ventures beyond the ordinary horizons of academic inquiry. Our findings promise to unveil a tapestry woven by the threads of statistics and the unexpected synergy between professionals soaring in the skies and the captivating allure of the walking dead. As we embark on this expedition of inquiry, let us soar high and remain ever vigilant for the unexpected and curious links that science, data, and perhaps a touch of whimsy may reveal. After all, in the realm of the curious and the unexplained, one can never be too prepared for the unexpected turbulence of academic discovery.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

DATA COLLECTION

Our data collection process was as rigorous as navigating through a turbulence-filled storm, and just as exhilarating. The Bureau of Labor Statistics served as our North Star in obtaining information on the number of commercial pilots in Massachusetts over the years 2006 to 2020. We dived deep into the datasets, navigating through bureaucratic mazes and statistical thickets to emerge with a comprehensive understanding of the ebb and flow of high-flying professionals in the state.

In parallel, our journey into the digital realm led us to Google Trends, a treasure trove of information reflecting the collective online quests for knowledge, curiosity, and perhaps the occasional zombie survival strategy. We charted the frequency of Google searches for 'zombies' within the same timeframe, unearthing the curious patterns and peaks of interest in the undead that would make even the most seasoned cryptographer raise an eyebrow.

DATA ANALYSIS

With our dataset in hand, we didn't rely on common statistical tools as our trusty navigational instruments. No, we turned to the complex and esoteric arts of correlation analysis, hypothesis testing, and statistical modeling, akin to decoding a cryptic message etched into the fabric of numbers and trends.

We performed a rigorous correlation analysis to measure the strength and direction of the relationship between the number of commercial pilots and Google searches for 'zombies', akin to scrutinizing the alignment of celestial bodies to reveal hidden constellations of insight. This analysis provided us with a correlation coefficient that would make the stars themselves envious: a robust 0.8790043.

In tandem, we subjected our findings to hypothesis testing, comparing the observed correlation coefficient with what would be expected by pure chance. The p-value that emerged from this endeavor was less than 0.01, akin to discovering a rare gem in a field of statistical rubble.

Lastly, we employed a series of sophisticated statistical models, treating our data as the enigmatic puzzle it truly is. Through the lens of these models, we endeavored to illuminate the hidden pathways and interconnections between the variables, charting a course through the nebulous expanse of statistics to reveal the interwoven threads of high-flying professionals and the undead in the digital ether.

Study Limitations

As with any daring expedition into the realm of inquiry, our study is not without its limitations. The correlation we observed may be subject to the gravitational pull of confounding variables lurking in the statistical darkness, waiting to throw off our calculations like an unexpected twist in a mystery novel. Furthermore, while our data spans over a decade, it remains confined to the space and time of Massachusetts – leaving the expansive skies of other regions and states uncharted in our odyssey.

Nevertheless, armed with our trusty statistical sextant and the fervent spirit of exploration, we set forth on this journey to unravel the conundrums and curiosities that beckon from the reaches of data and imagination. Our methodology may have been as convoluted as a labyrinthine cloud formation, but it has led us to the precipice of discovery, where the puzzle pieces of commercial pilots and the undead coalesce into a pattern as mesmerizing as the Milky Way itself.


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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and Google Trends .

For the time period 2006 to 2020, you found a correlation 0.8790043, r-squared of 0.7726485, 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]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
In the vast and often turbulent skies of research, there are numerous unexplored air currents and hidden phenomena waiting to be uncovered. One such phenomenon that has lingered on the periphery of scholarly scrutiny is the relationship between the number of commercial pilots in Massachusetts and the seemingly unrelated realm of interest in zombies. While these two subjects may appear as different as night and day, our investigation seeks to illuminate the uncharted airspace where they intersect.
As intrepid explorers of statistical landscapes, we were drawn to the magnetic pull of these anomalies and aimed to navigate through the clouds of uncertainty. Armed with data from the Bureau of Labor Statistics and the treasure trove of Google searches, we embarked on a journey to unravel the connections that defy conventional wisdom and take flight into uncharted territories of inquiry.
The canvas of our investigation spans over a decade, from 2006 to 2020, allowing us to capture the ebb and flow of interest in the undead and the dynamic fluctuations in the population of commercial pilots. With our analytical compass pointing due north, we sought to unveil the hidden correlations within this labyrinth of numbers and trends, uncovering the strange bedfellows of high-flying professionals and the enigmatic allure of the undead.
So fasten your seatbelts, ensure your tray tables are in their upright positions, and prepare for a journey that ventures beyond the ordinary horizons of academic inquiry. Our findings promise to unveil a tapestry woven by the threads of statistics and the unexpected synergy between professionals soaring in the skies and the captivating allure of the walking dead. As we embark on this expedition of inquiry, let us soar high and remain ever vigilant for the unexpected and curious links that science, data, and perhaps a touch of whimsy may reveal. After all, in the realm of the curious and the unexplained, one can never be too prepared for the unexpected turbulence of academic discovery.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Upon delving into the intricate web of data, our research uncovered a noteworthy correlation between the number of commercial pilots in Massachusetts and Google searches for 'zombies' from 2006 to 2020. The calculated correlation coefficient of 0.8790043 indicated a strong positive relationship, suggesting that as the number of commercial pilots soared, so did public interest in the undead. This association was further fortified by an r-squared value of 0.7726485, affirming that approximately 77.3% of the variation in zombie searches could be explained by changes in the population of commercial pilots. The p-value of less than 0.01 fortified the robustness of this link, providing compelling evidence to reject the null hypothesis and affirm the presence of a significant association.

Fig. 1 showcases the visually captivating scatterplot illustrating the compelling correlation between the number of commercial pilots and Google searches for 'zombies', where the data points align themselves in unison, echoing the harmonious melody of statistical concord. This visualization offers a glimpse into the entwined dance of these seemingly incongruous variables, inviting the audience to witness the celestial choreography of high-flying professionals and the captivating allure of the undead.

Our findings suggest that there may be an underlying force propelling the public's fascination with zombies as the skies teem with commercial pilots. While some may dismiss this correlation as mere coincidence, our research urges a closer examination of the hidden currents and unexpected connections that shape our cultural zeitgeist. As we unravel the enigmatic threads that bind the realms of aviation and the undead, we invite fellow researchers to join us in navigating the labyrinth of statistical relationships that beckon from above and below.


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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

[[LITERATURE REVIEW]]
The exploration of seemingly incongruous phenomena has long served as a lodestar for scholarly inquisitiveness. The intersection between disparate topics often leads to the unearthing of unexpected correlations and associations. In this pursuit, we turn our attention to the curious relationship between the number of commercial pilots in Massachusetts and the often macabre fascination with zombies. Our voyage through the annals of existing literature reveals a multifaceted tapestry of insights and surprises.
Smith et al. (2015) conducted a comprehensive analysis of occupational trends in the northeastern United States, including the demographic composition of commercial pilots. While their focus was primarily on labor force dynamics, their work inadvertently laid the groundwork for our expedition into the esoteric correlation between airborne professionals and the undead. The unanticipated synergy between these subjects has remained clandestine in the academic domain, warranting detailed scrutiny to unravel the peculiar interplay at hand.
Doe and Jones (2018) provide a cogent overview of internet search patterns and the cultural zeitgeist, with a particular emphasis on the spectral fascination with supernatural entities. Their treatise on modern information retrieval and societal interests inadvertently piqued our curiosity, steering our attention toward the enigmatic surge in searches for 'zombies' and its alignment with the population of commercial pilots. From their seminal work, an enigmatic nexus emerged, encouraging us to navigate through the nebulous confluence of professional aviation and the macabre allure of the undead.
As we delve further into the realm of literature, the works of renowned non-fiction authors shed additional light on the unanticipated conjunction under scrutiny. In "The Rise of the Skybound: An Analysis of Aeronautical Professions" by Aviation Research Institute (2017), the intricate dynamics of aviation careers provide a compelling backdrop for our investigation. The juxtaposition of this serious academic work with the levity of the undead creates an expanse of unexpected proportions, elevating our scholarly pursuit to unforeseen heights.
Turning the pages to the realm of fiction, the works of Max Brooks and Mira Grant offer speculative insights into parallel worlds where the skies and zombies intersect. Brooks' "World War Z: An Oral History of the Zombie War" (2006) and Grant's "Feed" (2010) veer into the realm of apocalyptic scenarios, intertwining the fantastical with the aeronautical. While these works border on the whimsical, they presage the uncanny corollaries we unearth in our own rigorous investigation.
Furthermore, our foray into the annals of research extends beyond the traditional confines of scholarly journals and empirical studies. In the spirit of thoroughness and lighthearted inquiry, the authors engaged in an unconventional literature review by perusing the backs of shampoo bottles, hoping for serendipitous revelations. Alas, the correlation was detergents apart from our focal subjects, but our endeavor underscored the multifaceted nature of academic pursuit, where even unforeseen avenues may lead to unexpected insights.
As we traverse the terrain of existing literature, the confluence of commercial pilots and zombies emerges as a tantalizing enigma, beckoning us to unravel its mysteries with scholarly perspicacity while indulging in the occasional whimsical detour. This amalgamation of the serious and the surreal offers a lens through which to perceive the uncharted skies of academia, where the unexpected often takes flight alongside the rigor of inquiry.

[[RESULTS]]
Upon delving into the intricate web of data, our research uncovered a noteworthy correlation between the number of commercial pilots in Massachusetts and Google searches for 'zombies' from 2006 to 2020. The calculated correlation coefficient of 0.8790043 indicated a strong positive relationship, suggesting that as the number of commercial pilots soared, so did public interest in the undead. This association was further fortified by an r-squared value of 0.7726485, affirming that approximately 77.3% of the variation in zombie searches could be explained by changes in the population of commercial pilots. The p-value of less than 0.01 fortified the robustness of this link, providing compelling evidence to reject the null hypothesis and affirm the presence of a significant association.
Fig. 1 showcases the visually captivating scatterplot illustrating the compelling correlation between the number of commercial pilots and Google searches for 'zombies', where the data points align themselves in unison, echoing the harmonious melody of statistical concord. This visualization offers a glimpse into the entwined dance of these seemingly incongruous variables, inviting the audience to witness the celestial choreography of high-flying professionals and the captivating allure of the undead.
Our findings suggest that there may be an underlying force propelling the public's fascination with zombies as the skies teem with commercial pilots. While some may dismiss this correlation as mere coincidence, our research urges a closer examination of the hidden currents and unexpected connections that shape our cultural zeitgeist. As we unravel the enigmatic threads that bind the realms of aviation and the undead, we invite fellow researchers to join us in navigating the labyrinth of statistical relationships that beckon from above and below.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our investigation provide a compelling testament to the unexpected connection between the number of commercial pilots in Massachusetts and the public's interest in zombies. While the initial presumption of a link between high-flying professionals and the undead may have seemed far-fetched, our findings resonated with prior research that explored unconventional correlations. Smith et al.'s (2015) inadvertently laid the groundwork for our inquiry, and we are in their debt, or at least will send them a fruit basket, for setting the stage for our unanticipated foray into the aviation-undead interface. Similarly, the seemingly whimsical works of fiction by Max Brooks and Mira Grant cunningly foreshadowed the parallel worlds we encountered in our own rigorous exploration. Their speculative insights were uncannily paralleled by our statistical revelations, making us wonder if they may have been conducting their own imaginative studies through apocalyptic scenarios.

Moreover, the unanticipated fathomless discovery of a strong positive relationship between the number of commercial pilots and Google searches for 'zombies' serves as a testament to the unexpected correlations that can surface in the most unlikely of territories. Our results, often met with bemused contemplation, underscore the capricious nature of statistical revelations and the intriguing paths they lay before us. The subtle humor of our shampoo bottle literature review, while detergents apart from our focal subjects, offers a whimsical showcase of the multifaceted nature of academic pursuit, reminding us that even serendipitous detours may yield unexpected insights, or at least momentarily pristine hair.

The robustness of the correlation coefficient and the resounding echo of statistical concord in our scatterplot visually illustrate the harmonic resonance between these seemingly incongruous variables, tempting us to consider our findings as the celestial choreography of high-flying professionals and the captivating allure of the undead. Our study, with its quirky subject matter and unlikely conclusions, serves as a whimsical reminder that even the most unconventional inquiries can yield surprising and thought-provoking discoveries—a testament to the serendipitous ebb and flow of scholarly curiosity.


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 The number of commercial pilots in Massachusetts and Google searches for 'zombies'. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead"

[[ABSTRACT]]
In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

[[INTRDUCTION]]
INTRODUCTION
In the vast and often turbulent skies of research, there are numerous unexplored air currents and hidden phenomena waiting to be uncovered. One such phenomenon that has lingered on the periphery of scholarly scrutiny is the relationship between the number of commercial pilots in Massachusetts and the seemingly unrelated realm of interest in zombies. While these two subjects may appear as different as night and day, our investigation seeks to illuminate the uncharted airspace where they intersect.
As intrepid explorers of statistical landscapes, we were drawn to the magnetic pull of these anomalies and aimed to navigate through the clouds of uncertainty. Armed with data from the Bureau of Labor Statistics and the treasure trove of Google searches, we embarked on a journey to unravel the connections that defy conventional wisdom and take flight into uncharted territories of inquiry.
The canvas of our investigation spans over a decade, from 2006 to 2020, allowing us to capture the ebb and flow of interest in the undead and the dynamic fluctuations in the population of commercial pilots. With our analytical compass pointing due north, we sought to unveil the hidden correlations within this labyrinth of numbers and trends, uncovering the strange bedfellows of high-flying professionals and the enigmatic allure of the undead.
So fasten your seatbelts, ensure your tray tables are in their upright positions, and prepare for a journey that ventures beyond the ordinary horizons of academic inquiry. Our findings promise to unveil a tapestry woven by the threads of statistics and the unexpected synergy between professionals soaring in the skies and the captivating allure of the walking dead. As we embark on this expedition of inquiry, let us soar high and remain ever vigilant for the unexpected and curious links that science, data, and perhaps a touch of whimsy may reveal. After all, in the realm of the curious and the unexplained, one can never be too prepared for the unexpected turbulence of academic discovery.

[[RESULTS]]
Upon delving into the intricate web of data, our research uncovered a noteworthy correlation between the number of commercial pilots in Massachusetts and Google searches for 'zombies' from 2006 to 2020. The calculated correlation coefficient of 0.8790043 indicated a strong positive relationship, suggesting that as the number of commercial pilots soared, so did public interest in the undead. This association was further fortified by an r-squared value of 0.7726485, affirming that approximately 77.3% of the variation in zombie searches could be explained by changes in the population of commercial pilots. The p-value of less than 0.01 fortified the robustness of this link, providing compelling evidence to reject the null hypothesis and affirm the presence of a significant association.
Fig. 1 showcases the visually captivating scatterplot illustrating the compelling correlation between the number of commercial pilots and Google searches for 'zombies', where the data points align themselves in unison, echoing the harmonious melody of statistical concord. This visualization offers a glimpse into the entwined dance of these seemingly incongruous variables, inviting the audience to witness the celestial choreography of high-flying professionals and the captivating allure of the undead.
Our findings suggest that there may be an underlying force propelling the public's fascination with zombies as the skies teem with commercial pilots. While some may dismiss this correlation as mere coincidence, our research urges a closer examination of the hidden currents and unexpected connections that shape our cultural zeitgeist. As we unravel the enigmatic threads that bind the realms of aviation and the undead, we invite fellow researchers to join us in navigating the labyrinth of statistical relationships that beckon from above and below.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

CONCLUSION

In navigating the atmospheric currents of inquiry, our study has shed light on the compelling correlation between the population of commercial pilots in Massachusetts and public interest in zombies. The robust correlation coefficient and p-value underpin the statistically significant association, guiding us to unravel the mysterious nexus between the high-flying profession and the undead fascination.

As we close this chapter of research, it is evident that there is a captivating synergy between these seemingly disparate phenomena. The celestial dance of statistical concord between commercial pilots and zombie searches has revealed a narrative that transcends the ordinary realms of scholarly inquiry, urging us to rethink the boundaries of scientific exploration and tap into the whimsical symphony of unexpected correlations.

In light of these findings, it is clear that no further research is needed in this area. The skies have spoken, and the undead have risen - it seems that the only thing soaring higher than commercial pilots is the public's fascination with the zombie apocalypse. Perhaps it's time for both pilots and researchers to keep their eyes on the skies and watch out for any unexpected hordes of statistical anomalies. After all, in the world of scholarly exploration, truth can be stranger than fiction, and the statistical undead may continue to surprise us with their resilient allure. So let us bid adieu to this particular investigation and look forward to new horizons of inquiry, where the unexpected correlations of statistical science await, ready to take us on yet another whimsical journey of academic discovery.


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 Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Paranormal Aviation Studies


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 Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Aeronautical and Paranormal 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 Zombie Searches and the Skies: A Study on the Correlation Between Commercial Pilots in Massachusetts and Interest in the Undead with an abstract of In this study, we delve into the fascinating yet unexpected connection between the number of commercial pilots in the state of Massachusetts and Google searches for 'zombies'. Leveraging data from the Bureau of Labor Statistics and Google Trends, we scrutinized the relationship between these seemingly disparate phenomena from 2006 to 2020. Our findings reveal a significant correlation coefficient of 0.8790043, with a p-value less than 0.01, indicating a robust association. This research sheds light on the potential factors influencing public interest in the undead and avenues for further exploration. Join us as we navigate the airspace of inquiry and unearth the curious link between high-flying professionals and the fascination with the walking dead.

ChatGPT:

"zombie searches commercial pilots," "Massachusetts commercial pilots," "Google Trends zombies," "correlation commercial pilots zombies," "Bureau of Labor Statistics commercial pilots," "public interest undead," "Google Trends correlation coefficient," "zombie fascination Massachusetts," "commercial pilots Massachusetts," "undead Google searches"

*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

The number of commercial pilots in Massachusetts
Detailed data title: BLS estimate of commercial pilots in Massachusetts
Source: Bureau of Larbor Statistics
See what else correlates with The number of commercial pilots in Massachusetts

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

See what else correlates with Google searches for 'zombies'

Correlation r = 0.8790043 (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.7726485 (Coefficient of determination)
This means 77.3% of the change in the one variable (i.e., Google searches for 'zombies') is predictable based on the change in the other (i.e., The number of commercial pilots in Massachusetts) over the 15 years from 2006 through 2020.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.6E-5. 0.0000159582379959429900000000
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.88 in 0.0016% of random cases. Said differently, if you correlated 62,664 random variables You don't actually need 62 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 14 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 14 because we have two variables measured over a period of 15 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.67, 0.96 ] 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.
200620072008200920102011201220132014201520162017201820192020
The number of commercial pilots in Massachusetts (Commercial Pilots)1301103502905208309001270390440370250240160180
Google searches for 'zombies' (Rel. search volume)4.083335.083336.0833317.916736.7559.416767.583383.255948.7539.083328.252417.7523.6667




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([130,110,350,290,520,830,900,1270,390,440,370,250,240,160,180,])
array_2 = np.array([4.08333,5.08333,6.08333,17.9167,36.75,59.4167,67.5833,83.25,59,48.75,39.0833,28.25,24,17.75,23.6667,])
array_1_name = "The number of commercial pilots in Massachusetts"
array_2_name = "Google searches for 'zombies'"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Hats off to you for rating!


Correlation ID: 2379 · Black Variable ID: 17678 · Red Variable ID: 1380
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0