about · email me · subscribe
Spurious correlation #3,759 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Global revenue generated by McDonald's and the second variable is Google searches for 'zombies'.  The chart goes from 2005 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As McDonald’s global revenue increases, so does the consumption of their highly processed, preservative-packed food. This leads to a corresponding rise in metabolic imbalances and the reanimation of dormant brain cells in individuals, effectively creating a craving for human flesh. In other words, more money for McDonald's means more people craving 'McNuggets' of the undead, and thus an inexplicable surge in zombie interest. It's a McNightmare in the making!

Model: dalle-3
Prompt: Generate an image in the style of a popular meme that depicts a street scene with the iconic McDonald's golden arches towering on one side, next to a sign displaying decreasing global revenue. In the background, a group of people are huddled around a smartphone, searching frantically for "zombies" on Google. The contrast between the declining revenue and the growing interest in zombies illustrates the connection between the two variables. The visualization should maintain simplicity without including any words or speech bubbles, enhancing the striking contrast between the McDonald's dominance and the emerging fascination with zombies. 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: Global revenue generated by McDonald's 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: Vaporwave a meme Woodblock painting a meme Hyper-realistic
ChatGPT: A meme

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 Global revenue generated by McDonald's and Google searches for 'zombies', in the following situation: Because as McDonald's global revenue decreases, people start eating fewer Happy Meals, leading to a decline in their "brain food" intake, making them more susceptible to zombie-related fears and searches.. Keep the description simple.
ChatGPT: In a street scene, the McDonald's golden arches stand tall on one side, with a sign displaying decreasing global revenue. Meanwhile, a group of people in the background are huddled around a smartphone, searching frantically for "zombies" on Google. The contrast between the declining revenue and the growing interest in zombies illustrates the connection between the two variables.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A meme ] and depicting this scene: In a street scene, the McDonald's golden arches stand tall on one side, with a sign displaying decreasing global revenue. Meanwhile, a group of people in the background are huddled around a smartphone, searching frantically for "zombies" on Google. The contrast between the declining revenue and the growing interest in zombies illustrates the connection between the two variables. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image in the style of a popular meme that depicts a street scene with the iconic McDonald's golden arches towering on one side, next to a sign displaying decreasing global revenue. In the background, a group of people are huddled around a smartphone, searching frantically for "zombies" on Google. The contrast between the declining revenue and the growing interest in zombies illustrates the connection between the two variables. The visualization should maintain simplicity without including any words or speech bubbles, enhancing the striking contrast between the McDonald's dominance and the emerging fascination with zombies.

*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 Global revenue generated by McDonald's caused zombies (Google searches for 'zombies') to increase. Make it feel plausible.

AI academic paper

(Because p < 0.01)
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

International Journal of Culinary Economics and Trends

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 dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from Statista and Google Trends to assess this nagging question. You found a correlation coefficient of 0.8575431 and p < 0.01 for 2005 to 2022.

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]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intersection of consumer behavior and popular culture has long been a subject of fascination and inquiry. In the realm of fast-food consumption and internet search trends, the dynamics unfolding beneath the surface have often remained as enigmatic as the hidden ingredients in a Big Mac secret sauce. In this study, we aim to shed light on the unexpected relationship between global revenue generated by McDonald's and Google searches for 'zombies'. This peculiar pairing has raised eyebrows and piqued curiosity, prompting our investigation into the potential McZombie connection.

While one may wonder what zombies and fast food could possibly have in common, the correlation coefficient of 0.8575431 we unearthed has turned skeptic's raised eyebrows into raised appetites for knowledge. At first blush, it may seem as unlikely as finding a brussels sprout in a Happy Meal, but the data from Statista and Google Trends tell an intriguing tale of a linkage that is not easily dismissed.

Allow us to pause and reflect on the fact that while zombies roam fictional realms, ravenous for brains, the mere thought of such a creature can apparently drive people to seek out a different kind of brain food—fast-food cuisine.

As we embark on this scholarly investigation, we invite the reader to consider the implications of this unforeseen correlation. Could it be that amidst the flurry of Google searches on zombies, a subliminal craving for McDonald's offerings emerges, akin to the mysterious cravings one might experience at a haunted house populated by the undead? Or, perhaps, there is a latent desire for fast food among the legions of the living dead, providing a whole new meaning to the term "graveyard shift" as they mindlessly shuffle toward the Golden Arches?

In the following pages, we aim to provide a comprehensive analysis of these perplexing phenomena, offering insight into the nuanced and often unpredictable relationship between consumer behaviors and cultural phenomena. It is our hope that this study will offer a fresh perspective on the symbiotic, albeit surprising, nexus between fast food revenue and the online pursuit of zombies, leaving readers both satiated with knowledge and hungry for further exploration of this McZombie connection.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of consumer behavior and popular culture has long been a subject of fascination and inquiry. In the realm of fast-food consumption and internet search trends, the dynamics unfolding beneath the surface have often remained as enigmatic as the hidden ingredients in a Big Mac secret sauce. In this study, we aim to shed light on the unexpected relationship between global revenue generated by McDonald's and Google searches for 'zombies'. This peculiar pairing has raised eyebrows and piqued curiosity, prompting our investigation into the potential McZombie connection.
While one may wonder what zombies and fast food could possibly have in common, the correlation coefficient of 0.8575431 we unearthed has turned skeptic's raised eyebrows into raised appetites for knowledge. At first blush, it may seem as unlikely as finding a brussels sprout in a Happy Meal, but the data from Statista and Google Trends tell an intriguing tale of a linkage that is not easily dismissed.
Allow us to pause and reflect on the fact that while zombies roam fictional realms, ravenous for brains, the mere thought of such a creature can apparently drive people to seek out a different kind of brain food—fast-food cuisine.
As we embark on this scholarly investigation, we invite the reader to consider the implications of this unforeseen correlation. Could it be that amidst the flurry of Google searches on zombies, a subliminal craving for McDonald's offerings emerges, akin to the mysterious cravings one might experience at a haunted house populated by the undead? Or, perhaps, there is a latent desire for fast food among the legions of the living dead, providing a whole new meaning to the term "graveyard shift" as they mindlessly shuffle toward the Golden Arches?
In the following pages, we aim to provide a comprehensive analysis of these perplexing phenomena, offering insight into the nuanced and often unpredictable relationship between consumer behaviors and cultural phenomena. It is our hope that this study will offer a fresh perspective on the symbiotic, albeit surprising, nexus between fast food revenue and the online pursuit of zombies, leaving readers both satiated with knowledge and hungry for further exploration of this McZombie connection.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Numerous scholarly works have explored the intersection of consumer behavior, popular culture, and the whimsical dance of statistics. In "Consumer Behavior and Market Analysis" by Smith, the authors find compelling evidence of the influence of popular culture on consumer choices. Similarly, Doe, in "The Global Fast Food Industry," delves into the complex dynamics of fast-food consumption trends across diverse cultural landscapes.

However, as we venture deeper into the realm of peculiar phenomena, our literature review takes an unexpected turn, much like stumbling upon a hidden passage in a fast-food restaurant that leads to a zombie-filled underworld. While the connection between global revenue generated by McDonald's and Google searches for 'zombies' may seem as unlikely as finding a five-star dining establishment in a cemetery, the scholarly quest for understanding this unorthodox linkage continues.

In "The Zombie Survival Guide" by Max Brooks, the author humorously details strategies for surviving a zombie apocalypse, prompting reflection on the level of preparedness individuals may seek when faced with an increase in 'zombie' searches. Similarly, "World War Z" by Max Brooks provides a fictional yet compelling narrative of a global zombie outbreak, which may shed light on the potential subconscious influence of such narratives on consumer behavior.

As we meander through the labyrinthine corridors of pop culture, we encounter movies like "Shaun of the Dead" and "Zombieland," which humorously portray the surreal scenarios of navigating through a world overrun by the undead. These cinematic experiences offer an alternate lens through which to view the curious relationship between fast-food revenue and the prevalence of 'zombie' searches, hinting at the tantalizing prospect of a McZombie phenomenon lurking in the shadows.

Thus, as we navigate this scholarly odyssey, we urge readers to embrace the unexpected, to shine a curious spotlight on the bizarre, and to savor the whims of statistical serendipity that underpin the enigmatic convergence of golden arches and ravenous zombies.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Statista and Google Trends . You used data from 2005 to 2022

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]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

[[INTRODUCTION]]
The intersection of consumer behavior and popular culture has long been a subject of fascination and inquiry. In the realm of fast-food consumption and internet search trends, the dynamics unfolding beneath the surface have often remained as enigmatic as the hidden ingredients in a Big Mac secret sauce. In this study, we aim to shed light on the unexpected relationship between global revenue generated by McDonald's and Google searches for 'zombies'. This peculiar pairing has raised eyebrows and piqued curiosity, prompting our investigation into the potential McZombie connection.
While one may wonder what zombies and fast food could possibly have in common, the correlation coefficient of 0.8575431 we unearthed has turned skeptic's raised eyebrows into raised appetites for knowledge. At first blush, it may seem as unlikely as finding a brussels sprout in a Happy Meal, but the data from Statista and Google Trends tell an intriguing tale of a linkage that is not easily dismissed.
Allow us to pause and reflect on the fact that while zombies roam fictional realms, ravenous for brains, the mere thought of such a creature can apparently drive people to seek out a different kind of brain food—fast-food cuisine.
As we embark on this scholarly investigation, we invite the reader to consider the implications of this unforeseen correlation. Could it be that amidst the flurry of Google searches on zombies, a subliminal craving for McDonald's offerings emerges, akin to the mysterious cravings one might experience at a haunted house populated by the undead? Or, perhaps, there is a latent desire for fast food among the legions of the living dead, providing a whole new meaning to the term "graveyard shift" as they mindlessly shuffle toward the Golden Arches?
In the following pages, we aim to provide a comprehensive analysis of these perplexing phenomena, offering insight into the nuanced and often unpredictable relationship between consumer behaviors and cultural phenomena. It is our hope that this study will offer a fresh perspective on the symbiotic, albeit surprising, nexus between fast food revenue and the online pursuit of zombies, leaving readers both satiated with knowledge and hungry for further exploration of this McZombie connection.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

The investigation commenced with the procurement and aggregation of data from various sources, primarily drawing from Statista and Google Trends. Data spanning the years 2005 to 2022 was meticulously examined, capturing the ebbs and flows of both global revenue generated by McDonald's and the frequency of Google searches for 'zombies'.

The global revenue figures for McDonald's were obtained from official financial reports and industry publications, reflecting the financial performance of the fast-food behemoth across diverse geographical regions. Meanwhile, Google search volume data for 'zombies' was gleaned from Google Trends, capturing the relative interest in this undead theme over time.

In order to establish the linkage between the two disparate variables, a thorough exploration of statistical techniques was undertaken. The correlational analysis served as the cornerstone of our investigation, allowing for a quantitative assessment of the degree and direction of association between McDonald's revenue and Google searches for 'zombies'.

Furthermore, advanced time series analysis was utilized to unravel potential temporal patterns and trends, ensuring that the dynamics of the McZombie connection were comprehensively elucidated. This approach facilitated the detection of any lingering spookiness in the fluctuations of both phenomena over the years under scrutiny, thereby enhancing the depth of our analysis.

Through the harmonious integration of these diverse methods, our research team aimed to paint a vivid and robust picture of the uncanny relationship between fast food revenue and the unyielding quest for zombies in the digital domain. The utilization of these methodologies served as a testament to our commitment to rigorous inquiry and the unwavering pursuit of scholarly insight, even in the face of such whimsical subject matter.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

For the time period 2005 to 2022, you found a correlation 0.8575431, r-squared of 0.7353802, 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]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of consumer behavior and popular culture has long been a subject of fascination and inquiry. In the realm of fast-food consumption and internet search trends, the dynamics unfolding beneath the surface have often remained as enigmatic as the hidden ingredients in a Big Mac secret sauce. In this study, we aim to shed light on the unexpected relationship between global revenue generated by McDonald's and Google searches for 'zombies'. This peculiar pairing has raised eyebrows and piqued curiosity, prompting our investigation into the potential McZombie connection.
While one may wonder what zombies and fast food could possibly have in common, the correlation coefficient of 0.8575431 we unearthed has turned skeptic's raised eyebrows into raised appetites for knowledge. At first blush, it may seem as unlikely as finding a brussels sprout in a Happy Meal, but the data from Statista and Google Trends tell an intriguing tale of a linkage that is not easily dismissed.
Allow us to pause and reflect on the fact that while zombies roam fictional realms, ravenous for brains, the mere thought of such a creature can apparently drive people to seek out a different kind of brain food—fast-food cuisine.
As we embark on this scholarly investigation, we invite the reader to consider the implications of this unforeseen correlation. Could it be that amidst the flurry of Google searches on zombies, a subliminal craving for McDonald's offerings emerges, akin to the mysterious cravings one might experience at a haunted house populated by the undead? Or, perhaps, there is a latent desire for fast food among the legions of the living dead, providing a whole new meaning to the term "graveyard shift" as they mindlessly shuffle toward the Golden Arches?
In the following pages, we aim to provide a comprehensive analysis of these perplexing phenomena, offering insight into the nuanced and often unpredictable relationship between consumer behaviors and cultural phenomena. It is our hope that this study will offer a fresh perspective on the symbiotic, albeit surprising, nexus between fast food revenue and the online pursuit of zombies, leaving readers both satiated with knowledge and hungry for further exploration of this McZombie connection.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our investigation into the connection between global revenue generated by McDonald's and Google searches for 'zombies' from 2005 to 2022 yielded some remarkable findings. The correlation coefficient of 0.8575431 uncovered a surprisingly strong association between these seemingly unrelated variables. This strong correlation was also reflected in the r-squared value of 0.7353802, indicating that approximately 73.54% of the variation in global revenue generated by McDonald's could be explained by Google searches for 'zombies'. Furthermore, the p-value of less than 0.01 provided strong evidence against the null hypothesis, solidifying the significance of this unexpected relationship.

The strong positive correlation between global revenue generated by McDonald's and Google searches for 'zombies' is visually illustrated in Figure 1. The scatterplot graphically depicts the striking association between these two variables. One can almost imagine the zombies, lured by the scent of fast food, mindlessly stumbling towards the glow of the Golden Arches. It seems that the undead may indeed have a taste for more than just brains.

The statistical results provide compelling evidence for a notable connection between consumer interest in zombies and purchasing behavior at McDonald's locations worldwide. The findings of our research both captivate the imagination and prompt further inquiry into the deeper motivations driving these seemingly incongruous trends. While the precise mechanisms underlying this correlation remain subject to speculation, our findings open up a realm of intriguing possibilities that extend far beyond the realms of traditional consumer behavior.

In conclusion, the robust statistical evidence presented in this study brings to light an intriguing correlation between global revenue generated by McDonald's and Google searches for 'zombies'. This unexpected linkage challenges conventional assumptions about consumer behavior and serves as a reminder that the world of commerce and culture is rife with surprises. The implications of this McZombie connection extend beyond the realms of fast food and popular culture, offering a rich tapestry for further exploration and the potential for multidisciplinary inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

[[LITERATURE REVIEW]]
Numerous scholarly works have explored the intersection of consumer behavior, popular culture, and the whimsical dance of statistics. In "Consumer Behavior and Market Analysis" by Smith, the authors find compelling evidence of the influence of popular culture on consumer choices. Similarly, Doe, in "The Global Fast Food Industry," delves into the complex dynamics of fast-food consumption trends across diverse cultural landscapes.
However, as we venture deeper into the realm of peculiar phenomena, our literature review takes an unexpected turn, much like stumbling upon a hidden passage in a fast-food restaurant that leads to a zombie-filled underworld. While the connection between global revenue generated by McDonald's and Google searches for 'zombies' may seem as unlikely as finding a five-star dining establishment in a cemetery, the scholarly quest for understanding this unorthodox linkage continues.
In "The Zombie Survival Guide" by Max Brooks, the author humorously details strategies for surviving a zombie apocalypse, prompting reflection on the level of preparedness individuals may seek when faced with an increase in 'zombie' searches. Similarly, "World War Z" by Max Brooks provides a fictional yet compelling narrative of a global zombie outbreak, which may shed light on the potential subconscious influence of such narratives on consumer behavior.
As we meander through the labyrinthine corridors of pop culture, we encounter movies like "Shaun of the Dead" and "Zombieland," which humorously portray the surreal scenarios of navigating through a world overrun by the undead. These cinematic experiences offer an alternate lens through which to view the curious relationship between fast-food revenue and the prevalence of 'zombie' searches, hinting at the tantalizing prospect of a McZombie phenomenon lurking in the shadows.
Thus, as we navigate this scholarly odyssey, we urge readers to embrace the unexpected, to shine a curious spotlight on the bizarre, and to savor the whims of statistical serendipity that underpin the enigmatic convergence of golden arches and ravenous zombies.

[[RESULTS]]
The results of our investigation into the connection between global revenue generated by McDonald's and Google searches for 'zombies' from 2005 to 2022 yielded some remarkable findings. The correlation coefficient of 0.8575431 uncovered a surprisingly strong association between these seemingly unrelated variables. This strong correlation was also reflected in the r-squared value of 0.7353802, indicating that approximately 73.54% of the variation in global revenue generated by McDonald's could be explained by Google searches for 'zombies'. Furthermore, the p-value of less than 0.01 provided strong evidence against the null hypothesis, solidifying the significance of this unexpected relationship.
The strong positive correlation between global revenue generated by McDonald's and Google searches for 'zombies' is visually illustrated in Figure 1. The scatterplot graphically depicts the striking association between these two variables. One can almost imagine the zombies, lured by the scent of fast food, mindlessly stumbling towards the glow of the Golden Arches. It seems that the undead may indeed have a taste for more than just brains.
The statistical results provide compelling evidence for a notable connection between consumer interest in zombies and purchasing behavior at McDonald's locations worldwide. The findings of our research both captivate the imagination and prompt further inquiry into the deeper motivations driving these seemingly incongruous trends. While the precise mechanisms underlying this correlation remain subject to speculation, our findings open up a realm of intriguing possibilities that extend far beyond the realms of traditional consumer behavior.
In conclusion, the robust statistical evidence presented in this study brings to light an intriguing correlation between global revenue generated by McDonald's and Google searches for 'zombies'. This unexpected linkage challenges conventional assumptions about consumer behavior and serves as a reminder that the world of commerce and culture is rife with surprises. The implications of this McZombie connection extend beyond the realms of fast food and popular culture, offering a rich tapestry for further exploration and the potential for multidisciplinary inquiry.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The robust statistical evidence presented in this study supports the prior research findings that consumer behavior and popular culture may intertwine in unforeseen ways, reminiscent of a clandestine partnership between an unsuspecting fast-food chain and a horde of hungry zombies. The correlation coefficient of 0.8575431 and a p-value of less than 0.01 underline the surprisingly strong association between global revenue generated by McDonald's and Google searches for 'zombies' from 2005 to 2022. These results echo the sentiments of Smith, who emphasized the impact of popular culture on consumer choices, albeit without a specific mention of the undead.

Furthermore, the unexpected connection between fast-food revenue and the prevalence of 'zombie' searches aligns with the amusing yet thought-provoking insights from Max Brooks' "The Zombie Survival Guide" and "World War Z." While these works may have been intended for entertainment, they prompt contemplation about the extent to which fictional narratives of a global zombie outbreak may influence consumer behavior, albeit in ways not initially envisaged by marketers or fast-food aficionados.

The striking association depicted in the scatterplot elicits the whimsical image of zombies, drawn by the scent of fries and burgers, inadvertently becoming patrons of the Golden Arches. This visual portrayal brings to mind the surreal scenarios depicted in movies such as "Shaun of the Dead," hinting at the possibility of a McZombie phenomenon that transcends the realms of both traditional commerce and popular culture. The correlation also underscores the potential subconscious influence of such narratives on consumer behavior, offering a fresh perspective on the intersection of consumer choices and the whims of statistical serendipity that underpin the enigmatic convergence of golden arches and ravenous zombies.

In conclusion, the unexpected linkage between global revenue generated by McDonald's and Google searches for 'zombies' challenges conventional assumptions about consumer behavior and serves as a delightful reminder that the realm of commerce and popular culture is boundless, a "zombieland" of surprises and unexpected connections. The implications of this McZombie connection extend beyond the realms of fast food and popular culture, offering a rich tapestry for further exploration and the potential for interdisciplinary inquiry, though we may have to thread carefully through this uncharted territory, lest we stumble upon a hidden passage leading to a zombie-filled underworld.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics journal.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 Global revenue generated by McDonald's and Google searches for 'zombies'. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches

[[ABSTRACT]]
This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

[[INTRDUCTION]]
The intersection of consumer behavior and popular culture has long been a subject of fascination and inquiry. In the realm of fast-food consumption and internet search trends, the dynamics unfolding beneath the surface have often remained as enigmatic as the hidden ingredients in a Big Mac secret sauce. In this study, we aim to shed light on the unexpected relationship between global revenue generated by McDonald's and Google searches for 'zombies'. This peculiar pairing has raised eyebrows and piqued curiosity, prompting our investigation into the potential McZombie connection.
While one may wonder what zombies and fast food could possibly have in common, the correlation coefficient of 0.8575431 we unearthed has turned skeptic's raised eyebrows into raised appetites for knowledge. At first blush, it may seem as unlikely as finding a brussels sprout in a Happy Meal, but the data from Statista and Google Trends tell an intriguing tale of a linkage that is not easily dismissed.
Allow us to pause and reflect on the fact that while zombies roam fictional realms, ravenous for brains, the mere thought of such a creature can apparently drive people to seek out a different kind of brain food—fast-food cuisine.
As we embark on this scholarly investigation, we invite the reader to consider the implications of this unforeseen correlation. Could it be that amidst the flurry of Google searches on zombies, a subliminal craving for McDonald's offerings emerges, akin to the mysterious cravings one might experience at a haunted house populated by the undead? Or, perhaps, there is a latent desire for fast food among the legions of the living dead, providing a whole new meaning to the term "graveyard shift" as they mindlessly shuffle toward the Golden Arches?
In the following pages, we aim to provide a comprehensive analysis of these perplexing phenomena, offering insight into the nuanced and often unpredictable relationship between consumer behaviors and cultural phenomena. It is our hope that this study will offer a fresh perspective on the symbiotic, albeit surprising, nexus between fast food revenue and the online pursuit of zombies, leaving readers both satiated with knowledge and hungry for further exploration of this McZombie connection.

[[RESULTS]]
The results of our investigation into the connection between global revenue generated by McDonald's and Google searches for 'zombies' from 2005 to 2022 yielded some remarkable findings. The correlation coefficient of 0.8575431 uncovered a surprisingly strong association between these seemingly unrelated variables. This strong correlation was also reflected in the r-squared value of 0.7353802, indicating that approximately 73.54% of the variation in global revenue generated by McDonald's could be explained by Google searches for 'zombies'. Furthermore, the p-value of less than 0.01 provided strong evidence against the null hypothesis, solidifying the significance of this unexpected relationship.
The strong positive correlation between global revenue generated by McDonald's and Google searches for 'zombies' is visually illustrated in Figure 1. The scatterplot graphically depicts the striking association between these two variables. One can almost imagine the zombies, lured by the scent of fast food, mindlessly stumbling towards the glow of the Golden Arches. It seems that the undead may indeed have a taste for more than just brains.
The statistical results provide compelling evidence for a notable connection between consumer interest in zombies and purchasing behavior at McDonald's locations worldwide. The findings of our research both captivate the imagination and prompt further inquiry into the deeper motivations driving these seemingly incongruous trends. While the precise mechanisms underlying this correlation remain subject to speculation, our findings open up a realm of intriguing possibilities that extend far beyond the realms of traditional consumer behavior.
In conclusion, the robust statistical evidence presented in this study brings to light an intriguing correlation between global revenue generated by McDonald's and Google searches for 'zombies'. This unexpected linkage challenges conventional assumptions about consumer behavior and serves as a reminder that the world of commerce and culture is rife with surprises. The implications of this McZombie connection extend beyond the realms of fast food and popular culture, offering a rich tapestry for further exploration and the potential for multidisciplinary inquiry.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unearthed a remarkably strong association between global revenue generated by McDonald's and Google searches for 'zombies'. The robust correlation coefficient of 0.8575431 and the p-value of less than 0.01 paint a compelling picture of the McZombie connection. It seems that the undead may indeed have an "appe-tight" for more than just brains, as depicted in the scatterplot where zombies are drawn to the glow of the Golden Arches like moths to a flame.

The unexpected correlation challenges traditional assumptions about consumer behavior, inviting us to ponder the mysterious motivations driving these seemingly incongruous trends. One cannot help but wonder if the living dead have forsaken their usual diet of brains in favor of a side of fries and a McFlurry. Could there be a "whole new world" of undead cravings lurking beneath the surface, or are zombies simply seeking fast food to satisfy their eternal hunger pangs?

While the exact mechanisms underlying this unexpected linkage remain shrouded in mystery, our findings open the door to a realm of whimsical possibilities that extend far beyond the realms of traditional consumer behavior. It is as if the zombies have left a trail of breadcrumbs, albeit french fries, leading us to unexpected insights and, dare we say, food for thought.

In light of these compelling results, we assert that further research in this area may yield diminishing returns, as we have already uncovered a rich tapestry of connections between fast food revenue and the online pursuit of zombies. This study stands as a testament to the quirky and often unpredictable interplay between consumer behaviors and cultural phenomena, leaving us satiated with knowledge and hungry for the next tantalizing mystery. No further research is needed in this McZombie connection, but perhaps a new dawn will bring forth another unpredictable linkage to sink our teeth into.


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 Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches. Respond only with the name of a fictional academic journal.

ChatGPT:

International Journal of Culinary Economics and Trends


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 Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Fast Food 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 Flipping the Golden Arches: A McZombie Connection between Global Revenue and Google Searches with an abstract of This study investigates the intriguing relationship between global revenue generated by the fast-food giant McDonald's and Google searches for 'zombies'. With a sprinkle of statistical rigor and a dash of humor, our research team delved into the data from Statista and Google Trends. Unearthing a correlation coefficient of 0.8575431 and p < 0.01 for the period spanning 2005 to 2022, we found a surprisingly strong association between the two seemingly disparate phenomena. So, "what's the beef?" you may ask. Could there be a hidden hunger for brainy meals, or perhaps an inexplicable urge for fries among the undead? This study offers a fresh perspective on the intersection of consumer behavior and popular culture, serving up food for thought about the mysterious linkage between fast food revenue and the online quest for zombies.

ChatGPT:

McDonald's, Google searches, zombies, global revenue, correlation coefficient, consumer behavior, popular culture, Statista, Google Trends, fast food revenue, online searches, brainy meals, undead, association

*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

Global revenue generated by McDonald's
Source: Statista
See what else correlates with Global revenue generated by McDonald's

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.8575431 (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.7353802 (Coefficient of determination)
This means 73.5% of the change in the one variable (i.e., Google searches for 'zombies') is predictable based on the change in the other (i.e., Global revenue generated by McDonald's) over the 18 years from 2005 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.4E-6. 0.0000054012381379980360000000
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.86 in 0.00054% of random cases. Said differently, if you correlated 185,143 random variables You don't actually need 185 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 17 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 17 because we have two variables measured over a period of 18 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.65, 0.95 ] 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.
200520062007200820092010201120122013201420152016201720182019202020212022
Global revenue generated by McDonald's (Billion US Dollars)19.1220.922.7923.5222.7524.0827.0127.5728.1127.4425.4124.6222.8221.0321.0819.2123.2223.18
Google searches for 'zombies' (Rel. search volume)4.083334.083335.083336.0833317.916736.7559.416767.583383.255948.7539.083328.252417.7523.66671919.5




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([19.12,20.9,22.79,23.52,22.75,24.08,27.01,27.57,28.11,27.44,25.41,24.62,22.82,21.03,21.08,19.21,23.22,23.18,])
array_2 = np.array([4.08333,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,19,19.5,])
array_1_name = "Global revenue generated by McDonald's"
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?

Your rating is pure awesomeness!


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

CC BY 4.0