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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Air pollution in Durham, North Carolina and the second variable is The number of cooks, short order in North Carolina.  The chart goes from 2003 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As air pollution decreased in Durham, North Carolina, it became easier for short order cooks to breathe in the state. As a result, they no longer felt the need to make a swift exit from their jobs, leading to a decrease in the number of cooks. Now, instead of short order cooks, we might just have medium order cooks dishing out punny meals like "You can't handle the vermicelli!"

Model: dalle-3
Prompt: Generate an image of a comical kitchen scene set in Durham, North Carolina. The kitchen is chaotic, with a group of short-order cooks struggling to prepare their signature dishes. However, outside the kitchen, the air is noticeably clearer, with fewer ingredients flying through the air. The frustrated cooks are depicted trying to whip up their dishes without the usual hustle and bustle of ingredients flying around, giving the feeling that the air has been let out of their soufflé. 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: Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: a funny image you would see on reddit Woodblock painting Parallax art Macabre High-tech
ChatGPT: a funny image you would see on reddit

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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina, in the following situation: Less air pollution led to a decrease in the number of flying ingredients, making it harder for short order cooks to whip up their signature dishes on the fly. This left them feeling like the air was let out of their soufflé.. Keep the description simple.
ChatGPT: In Durham, North Carolina, a group of short-order cooks are struggling in the kitchen. Outside, the air is noticeably clearer, with fewer ingredients flying through the air. The cooks are frustrated, feeling like the air has been let out of their soufflé as they try to whip up their signature dishes without the usual hustle and bustle of ingredients flying around.

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 funny image you would see on reddit ] and depicting this scene: In Durham, North Carolina, a group of short-order cooks are struggling in the kitchen. Outside, the air is noticeably clearer, with fewer ingredients flying through the air. The cooks are frustrated, feeling like the air has been let out of their soufflé as they try to whip up their signature dishes without the usual hustle and bustle of ingredients flying around. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a comical kitchen scene set in Durham, North Carolina. The kitchen is chaotic, with a group of short-order cooks struggling to prepare their signature dishes. However, outside the kitchen, the air is noticeably clearer, with fewer ingredients flying through the air. The frustrated cooks are depicted trying to whip up their dishes without the usual hustle and bustle of ingredients flying around, giving the feeling that the air has been let out of their soufflé.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in Air pollution in Durham, North Carolina caused The number of cooks, short order in North Carolina to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?

The Journal of Culinary and Environmental Sciences

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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title punny if you can come up with clever pun. If not, just make it sound clever.

Your research team used data from Environmental Protection Agency and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of 0.9329330 and p < 0.01 for 2003 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]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.


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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

The relationship between environmental factors and labor market dynamics has long been a topic of interest among researchers, leading to a plethora of studies exploring the impact of atmospheric conditions on various industries. However, the connection between air pollution and the employment of short-order cooks in Durham, North Carolina, has remained a tantalizing mystery—much like trying to decipher the secret ingredient in Grandma's famous meatloaf recipe.

Air pollution, often characterized by a medley of chemical compounds reminiscent of an eclectic spice cabinet, has been linked to a myriad of health and environmental concerns. The implications of these pollutants stretch far and wide, affecting everything from public health to urban planning. It seems that the air pollution problem in Durham truly adds a twist to the "seal-in-the-flavor" concept, much like a fine marinating process. The stakes are high, and the implications are nothing short of breath-taking—at least, if you're standing outside in Durham.

Despite the looming seriousness of air pollution's implications, we cannot overlook the potential lighthearted connection it may harbor with the seemingly unrelated realm of short-order cooking. It's as if the city's smog is sending out a signal, calling upon the short-order cooks to step up to the plate and conquer the culinary chaos—it’s a real "air-raising" situation.

Through this study, we seek to unravel the enigmatic link between air pollution and the demand for short-order cooks, providing insight into the intersection of environmental factors and the labor market. This exploration may bring to light the unexpected symbiosis between seemingly incongruous elements, much like a culinary fusion dish that somehow just works.


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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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 CVS receipts.

Here is the title and abstract of the paper:
[[TITLE]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
The relationship between environmental factors and labor market dynamics has long been a topic of interest among researchers, leading to a plethora of studies exploring the impact of atmospheric conditions on various industries. However, the connection between air pollution and the employment of short-order cooks in Durham, North Carolina, has remained a tantalizing mystery—much like trying to decipher the secret ingredient in Grandma's famous meatloaf recipe.
Air pollution, often characterized by a medley of chemical compounds reminiscent of an eclectic spice cabinet, has been linked to a myriad of health and environmental concerns. The implications of these pollutants stretch far and wide, affecting everything from public health to urban planning. It seems that the air pollution problem in Durham truly adds a twist to the "seal-in-the-flavor" concept, much like a fine marinating process. The stakes are high, and the implications are nothing short of breath-taking—at least, if you're standing outside in Durham.
Despite the looming seriousness of air pollution's implications, we cannot overlook the potential lighthearted connection it may harbor with the seemingly unrelated realm of short-order cooking. It's as if the city's smog is sending out a signal, calling upon the short-order cooks to step up to the plate and conquer the culinary chaos—it’s a real "air-raising" situation.
Through this study, we seek to unravel the enigmatic link between air pollution and the demand for short-order cooks, providing insight into the intersection of environmental factors and the labor market. This exploration may bring to light the unexpected symbiosis between seemingly incongruous elements, much like a culinary fusion dish that somehow just works.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

A robust body of literature exists that highlights the multifaceted impact of air pollution on various aspects of society. In "Air Quality, Health, and Climate Change," Smith et al. detail the detrimental effects of air pollutants such as particulate matter and volatile organic compounds on public health and environmental quality. Similarly, Doe's "Economic Implications of Air Pollution" adeptly delves into the economic ramifications of air pollution, emphasizing its potential to disrupt labor markets and industry dynamics.

Speaking of disruptions, did you hear about the chef who got into a fight with his boss? He just couldn't take the heat anymore.

Considering the connection between air pollution in Durham, North Carolina, and the employment of short-order cooks, there is a dearth of direct research in the existing literature. However, studies such as Jones' "Labor Trends in Metropolitan Areas" illustrate the intricate interplay between environmental conditions and job availability, paving the way for our investigation into this unconventional correlation.

Turning the page to non-fiction works with culinary themes, "Kitchen Confidential" by Anthony Bourdain and "The Omnivore's Dilemma" by Michael Pollan offer insightful perspectives on the culinary world, though their relevance to air pollution and short-order cooks remains tangential at best.

Then there's the fiction category, with titles like "The Recipe Club" and "The Secret Ingredient of Wishes," which, much like our topic, present tantalizing mysteries and unexpected connections, albeit in the realm of imagination.

To further supplement our review, we embraced unconventional sources, including reading CVS receipts to decipher if there were any hidden recipes for success in the employment of short-order cooks. Unfortunately, the only thing we uncovered was a startling number of promotions for antacid tablets – a clear sign that even the receipt paper couldn't stomach any more of our unconventional methods.

In conclusion, our literature review reveals a conspicuous gap in research regarding the link between air pollution and the demand for short-order cooks. Furthermore, it underscores the importance of approaching unconventional research questions with a dash of humor and a sprinkling of creativity - much like adding just the right amount of seasoning to a dish. After all, in the world of academia, a little laughter can go a long way in sizzling up a captivating research narrative.


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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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 Environmental Protection Agency and Bureau of Larbor Statistics . You used data from 2003 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]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

[[INTRODUCTION]]
INTRODUCTION
The relationship between environmental factors and labor market dynamics has long been a topic of interest among researchers, leading to a plethora of studies exploring the impact of atmospheric conditions on various industries. However, the connection between air pollution and the employment of short-order cooks in Durham, North Carolina, has remained a tantalizing mystery—much like trying to decipher the secret ingredient in Grandma's famous meatloaf recipe.
Air pollution, often characterized by a medley of chemical compounds reminiscent of an eclectic spice cabinet, has been linked to a myriad of health and environmental concerns. The implications of these pollutants stretch far and wide, affecting everything from public health to urban planning. It seems that the air pollution problem in Durham truly adds a twist to the "seal-in-the-flavor" concept, much like a fine marinating process. The stakes are high, and the implications are nothing short of breath-taking—at least, if you're standing outside in Durham.
Despite the looming seriousness of air pollution's implications, we cannot overlook the potential lighthearted connection it may harbor with the seemingly unrelated realm of short-order cooking. It's as if the city's smog is sending out a signal, calling upon the short-order cooks to step up to the plate and conquer the culinary chaos—it’s a real "air-raising" situation.
Through this study, we seek to unravel the enigmatic link between air pollution and the demand for short-order cooks, providing insight into the intersection of environmental factors and the labor market. This exploration may bring to light the unexpected symbiosis between seemingly incongruous elements, much like a culinary fusion dish that somehow just works.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

METHODOLOGY

To uncover the cryptic connection between air pollution levels and the employment of short-order cooks in Durham, North Carolina, we employed a meticulously crafted methodology befitting the complexity of the culinary arts industry. Our approach aimed to capture the nuances and intricacies of both atmospheric conditions and labor market dynamics, akin to concocting a perfectly balanced sauce or conducting a carefully timed sauté.

First, we gathered air pollution data from the Environmental Protection Agency (EPA), meticulously sifting through an array of pollutant measurements akin to separating the spices needed for a gourmet dish. The data comprised an assortment of pollutants, ranging from the familiar culprits such as particulate matter (PM10 and PM2.5) and ground-level ozone to the less savory nitrogen dioxide and sulfur dioxide—a veritable smorgasbord of atmospheric ingredients!

Having collected the air pollution data, we delved into the labor statistics provided by the Bureau of Labor Statistics, savoring the array of employment figures much like a discerning food critic appraising an expertly prepared meal. Through in-depth analysis, we combed through employment data to extract the specific numbers of short-order cooks employed in Durham, North Carolina, during the years 2003 to 2022—meticulously ensuring that no employment figure was left unturned, much like meticulously flipping pancakes to attain the perfect golden brown hue.

Next, we faced the task of merging these diverse datasets, blending the aromatic air pollution measurements with the savory employment figures, to create a data stew worthy of a Michelin-starred kitchen. This integration process required careful consideration and precise measurement, much like the art of combining ingredients in a delectable recipe to achieve the perfect balance of flavors.

Upon achieving this harmonious amalgamation of data, we employed sophisticated statistical analyses, including regression modeling and correlation tests, to distill the essence of the relationship between air pollution levels and the employment of short-order cooks. Our statistical techniques sought to uncover the hidden patterns and associations, akin to unraveling the intricate layers of flavors in a complex dish—only in this case, the flavors were replaced with statistical significance and p-values.

Our inquisitive approach was guided by a devotion to uncovering the underlying connection between atmospheric pollutants and culinary workforce dynamics—a pursuit akin to attempting to discern the subtle flavors of a dish in which the ingredients are shrouded in secrecy, much like the composition of a renowned family recipe guarded like an ancient treasure.

In summary, our methodology represented a fusion of meticulous data collection, artful integration of disparate datasets, and sophisticated statistical analyses, all infused with the inquisitive spirit of unraveling a tantalizing culinary mystery. Our approach sought to offer a unique perspective on the interplay between air pollution and the labor market, akin to creating a dish that blurs the boundaries between culinary traditions and yields a surprising, yet delectable, outcome.

And with that, we like to think we've truly "cooked up" something special here.


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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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 Environmental Protection Agency and Bureau of Larbor Statistics .

For the time period 2003 to 2022, you found a correlation 0.9329330, r-squared of 0.8703639, 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]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
The relationship between environmental factors and labor market dynamics has long been a topic of interest among researchers, leading to a plethora of studies exploring the impact of atmospheric conditions on various industries. However, the connection between air pollution and the employment of short-order cooks in Durham, North Carolina, has remained a tantalizing mystery—much like trying to decipher the secret ingredient in Grandma's famous meatloaf recipe.
Air pollution, often characterized by a medley of chemical compounds reminiscent of an eclectic spice cabinet, has been linked to a myriad of health and environmental concerns. The implications of these pollutants stretch far and wide, affecting everything from public health to urban planning. It seems that the air pollution problem in Durham truly adds a twist to the "seal-in-the-flavor" concept, much like a fine marinating process. The stakes are high, and the implications are nothing short of breath-taking—at least, if you're standing outside in Durham.
Despite the looming seriousness of air pollution's implications, we cannot overlook the potential lighthearted connection it may harbor with the seemingly unrelated realm of short-order cooking. It's as if the city's smog is sending out a signal, calling upon the short-order cooks to step up to the plate and conquer the culinary chaos—it’s a real "air-raising" situation.
Through this study, we seek to unravel the enigmatic link between air pollution and the demand for short-order cooks, providing insight into the intersection of environmental factors and the labor market. This exploration may bring to light the unexpected symbiosis between seemingly incongruous elements, much like a culinary fusion dish that somehow just works.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

**RESULTS**

We discovered a strong positive correlation between air pollution levels in Durham, North Carolina, and the number of employed short-order cooks over the period of 2003 to 2022. The correlation coefficient of 0.9329330 and a robust r-squared value of 0.8703639 provided compelling evidence of this association. To put it simply, as the air quality took a nosedive, the employment of short-order cooks soared. It seems that when the city's atmosphere was clouded with particulate matter, the demand for sizzling short-order expertise sizzled right along with it.

Fig. 1 depicts the scatterplot illustrating this correlation, displaying a clear, upward trend that prompts the classic joke: "Why did the short-order cook work at the polluted diner? Because he wanted to work where the air was already full of grease!"

Our findings add a flavorful dimension to the ongoing debate about the impact of environmental factors on labor markets. As the data revealed, there's no denying the sizzle between air pollution and short-order cooks. It appears that the city's smog acted as a culinary clarion call, beckoning the short-order cooks to rise to the occasion and meet the appetite-inducing challenges presented by the polluted ambiance. Just like a well-seasoned dish, this correlation left us with a satisfying aftertaste of discovery and amusement.



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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

[[LITERATURE REVIEW]]
A robust body of literature exists that highlights the multifaceted impact of air pollution on various aspects of society. In "Air Quality, Health, and Climate Change," Smith et al. detail the detrimental effects of air pollutants such as particulate matter and volatile organic compounds on public health and environmental quality. Similarly, Doe's "Economic Implications of Air Pollution" adeptly delves into the economic ramifications of air pollution, emphasizing its potential to disrupt labor markets and industry dynamics.
Speaking of disruptions, did you hear about the chef who got into a fight with his boss? He just couldn't take the heat anymore.
Considering the connection between air pollution in Durham, North Carolina, and the employment of short-order cooks, there is a dearth of direct research in the existing literature. However, studies such as Jones' "Labor Trends in Metropolitan Areas" illustrate the intricate interplay between environmental conditions and job availability, paving the way for our investigation into this unconventional correlation.
Turning the page to non-fiction works with culinary themes, "Kitchen Confidential" by Anthony Bourdain and "The Omnivore's Dilemma" by Michael Pollan offer insightful perspectives on the culinary world, though their relevance to air pollution and short-order cooks remains tangential at best.
Then there's the fiction category, with titles like "The Recipe Club" and "The Secret Ingredient of Wishes," which, much like our topic, present tantalizing mysteries and unexpected connections, albeit in the realm of imagination.
To further supplement our review, we embraced unconventional sources, including reading CVS receipts to decipher if there were any hidden recipes for success in the employment of short-order cooks. Unfortunately, the only thing we uncovered was a startling number of promotions for antacid tablets – a clear sign that even the receipt paper couldn't stomach any more of our unconventional methods.
In conclusion, our literature review reveals a conspicuous gap in research regarding the link between air pollution and the demand for short-order cooks. Furthermore, it underscores the importance of approaching unconventional research questions with a dash of humor and a sprinkling of creativity - much like adding just the right amount of seasoning to a dish. After all, in the world of academia, a little laughter can go a long way in sizzling up a captivating research narrative.

[[RESULTS]]
We discovered a strong positive correlation between air pollution levels in Durham, North Carolina, and the number of employed short-order cooks over the period of 2003 to 2022. The correlation coefficient of 0.9329330 and a robust r-squared value of 0.8703639 provided compelling evidence of this association. To put it simply, as the air quality took a nosedive, the employment of short-order cooks soared. It seems that when the city's atmosphere was clouded with particulate matter, the demand for sizzling short-order expertise sizzled right along with it.
Fig. 1 depicts the scatterplot illustrating this correlation, displaying a clear, upward trend that prompts the classic joke: "Why did the short-order cook work at the polluted diner? Because he wanted to work where the air was already full of grease!"
Our findings add a flavorful dimension to the ongoing debate about the impact of environmental factors on labor markets. As the data revealed, there's no denying the sizzle between air pollution and short-order cooks. It appears that the city's smog acted as a culinary clarion call, beckoning the short-order cooks to rise to the occasion and meet the appetite-inducing challenges presented by the polluted ambiance. Just like a well-seasoned dish, this correlation left us with a satisfying aftertaste of discovery and amusement.


-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our research has unearthed a compelling connection between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks, corroborating previous scholarly inquiries into the impact of environmental factors on labor markets. The robust correlation coefficient of 0.9329330 and p < 0.01 not only supports but elevates the significance of prior studies that delved into the intricate relationship between environmental conditions and job availability. It appears that when it comes to the culinary labor force, the old adage of "you are what you eat" should perhaps be revised to "you cook where the air is neat." After all, when the air quality takes a hit, it seems the demand for short-order cooks hits the roof!

Our findings not only sizzle with statistical significance but also add a dash of humor to the age-old debate about the impact of atmospheric pollutants on the labor market. It's almost as if the air pollution in Durham, North Carolina, served as a metaphorical heatwave, luring in short-order cooks to "take the heat" and fulfill the culinary needs intensified by the polluted ambiance. Such a connection may seem as unexpected as finding a "souper" villain in a cookbook – but there's no denying the tantalizing results.

Returning to the literature review's unconventional sources, let's not discount the possibility of uncovering hidden recipes for success, even if they come in unexpected packages – much like the surprising correlation between air pollution and short-order cooks. Just as one might stumble upon a "whisk"y joke in a cookbook, our research has revealed a culinary conundrum that is as flavorful as it is thought-provoking, offering a fresh perspective on the impact of environmental factors on the labor market dynamics.

In closing, our study not only provides empirical evidence of the remarkable relationship between air pollution and the employment of short-order cooks but also serves as a culinary call to action for further exploration of the unexpected connections that flavor our societal and environmental landscapes. Just as a well-timed dad joke can season a conversation, our findings add a pinch of zest to the ongoing narrative surrounding the interplay between atmospheric pollutants and the labor force. After all, the old saying "like peas in a pod" seems to extend to the unlikeliest of pairings, much like air pollution and the demand for short-order cooks in Durham, North Carolina.


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 Air pollution in Durham, North Carolina and The number of cooks, short order in North Carolina. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. 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]]
"Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?"

[[ABSTRACT]]
Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.

Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

[[INTRDUCTION]]
INTRODUCTION
The relationship between environmental factors and labor market dynamics has long been a topic of interest among researchers, leading to a plethora of studies exploring the impact of atmospheric conditions on various industries. However, the connection between air pollution and the employment of short-order cooks in Durham, North Carolina, has remained a tantalizing mystery—much like trying to decipher the secret ingredient in Grandma's famous meatloaf recipe.
Air pollution, often characterized by a medley of chemical compounds reminiscent of an eclectic spice cabinet, has been linked to a myriad of health and environmental concerns. The implications of these pollutants stretch far and wide, affecting everything from public health to urban planning. It seems that the air pollution problem in Durham truly adds a twist to the "seal-in-the-flavor" concept, much like a fine marinating process. The stakes are high, and the implications are nothing short of breath-taking—at least, if you're standing outside in Durham.
Despite the looming seriousness of air pollution's implications, we cannot overlook the potential lighthearted connection it may harbor with the seemingly unrelated realm of short-order cooking. It's as if the city's smog is sending out a signal, calling upon the short-order cooks to step up to the plate and conquer the culinary chaos—it’s a real "air-raising" situation.
Through this study, we seek to unravel the enigmatic link between air pollution and the demand for short-order cooks, providing insight into the intersection of environmental factors and the labor market. This exploration may bring to light the unexpected symbiosis between seemingly incongruous elements, much like a culinary fusion dish that somehow just works.

[[RESULTS]]
We discovered a strong positive correlation between air pollution levels in Durham, North Carolina, and the number of employed short-order cooks over the period of 2003 to 2022. The correlation coefficient of 0.9329330 and a robust r-squared value of 0.8703639 provided compelling evidence of this association. To put it simply, as the air quality took a nosedive, the employment of short-order cooks soared. It seems that when the city's atmosphere was clouded with particulate matter, the demand for sizzling short-order expertise sizzled right along with it.
Fig. 1 depicts the scatterplot illustrating this correlation, displaying a clear, upward trend that prompts the classic joke: "Why did the short-order cook work at the polluted diner? Because he wanted to work where the air was already full of grease!"
Our findings add a flavorful dimension to the ongoing debate about the impact of environmental factors on labor markets. As the data revealed, there's no denying the sizzle between air pollution and short-order cooks. It appears that the city's smog acted as a culinary clarion call, beckoning the short-order cooks to rise to the occasion and meet the appetite-inducing challenges presented by the polluted ambiance. Just like a well-seasoned dish, this correlation left us with a satisfying aftertaste of discovery and amusement.


-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unequivocally demonstrated the compelling link between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks. Our findings not only illuminate the unexpected correlation between atmospheric conditions and the labor market but also add a dash of humor to the serious realm of environmental and economic research—much like adding a pinch of salt to a hearty stew.

Our research has served up undeniable evidence that as the air quality in Durham fell foul, the demand for short-order cooks rose to the occasion, proving that even culinary professionals are not immune to the impact of environmental factors. It seems that when the city's skies were smudged with pollutants, short-order cooks were the unsung heroes painting the town red with their sizzling expertise—an unexpected recipe for success indeed.

As our data and analysis reveal, the connection between air pollution and the employment of short-order cooks is as clear as day, leaving us with a side dish of unexpected humor and a main course of thought-provoking insights.

So, to answer the question posed by our title, "Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?", it seems the answer is a resounding yes—a perfectly seasoned union that has simmered, stirred, and finally come to a delectable boil. Our study highlights the importance of considering the diverse and often quirky ways in which environmental factors can shape the labor market.

In light of these compelling findings, we assert that no further research is needed on this topic—after all, there's no need to stir the pot when the result is as tantalizingly clear as the aroma of a freshly cooked meal. Thank you for joining us on this gastronomical journey through the world of economics and environmental science.


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 Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Culinary and Environmental Sciences


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 Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks?. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Culinary and Environmental 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 Air Pollution in Durham, North Carolina: A Recipe for Short Order Cooks? with an abstract of Intensive research efforts have been dedicated to uncovering the often overlooked similarities between atmospheric pollutants and the culinary workforce. We embarked on a quest to uncover if there is a direct correlation between air pollution levels in Durham, North Carolina, and the employment rate of short-order cooks in the same region. Our study utilizes data from the Environmental Protection Agency (EPA) and the Bureau of Labor Statistics, spanning the years 2003 to 2022. Through rigorous statistical analysis, we identified a remarkably robust correlation coefficient of 0.9329330 and p < 0.01, indicating an undeniable link between air pollution and the number of short-order cooks.
Perhaps it's not surprising that as the air quality decreases, the demand for short-order cooks increases – after all, they are the experts in turning up the heat! Our findings shed light on the complex interplay between environmental factors and the labor market, proving that the impact of air pollution extends beyond the atmosphere and seeps into the realm of culinary expertise. As the old adage goes, "If you can't stand the heat, get out of the kitchen"—and it seems that short-order cooks are in higher demand when the city air is sizzling with pollutants. This culinary conundrum serves as a reminder that sometimes, the most unexpected pairings can yield tantalizing results.

ChatGPT:

Air pollution, Durham, North Carolina, short-order cooks, employment rate, correlation coefficient, Environmental Protection Agency, EPA data, Bureau of Labor Statistics, labor market, air quality, demand for short-order cooks, atmospheric pollutants, culinary workforce, statistical analysis, environmental factors, atmospheric pollutants, heat, culinary expertise, air quality impact on labor market

*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

Air pollution in Durham, North Carolina
Detailed data title: Percentage of days with moderate or worse air quality in Durham-Chapel Hill, NC
Source: Environmental Protection Agency
See what else correlates with Air pollution in Durham, North Carolina

The number of cooks, short order in North Carolina
Detailed data title: BLS estimate of cooks, short order in North Carolina
Source: Bureau of Larbor Statistics
See what else correlates with The number of cooks, short order in North Carolina

Correlation r = 0.9329330 (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.8703639 (Coefficient of determination)
This means 87% of the change in the one variable (i.e., The number of cooks, short order in North Carolina) is predictable based on the change in the other (i.e., Air pollution in Durham, North Carolina) over the 20 years from 2003 through 2022.

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

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 19 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 19 because we have two variables measured over a period of 20 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.84, 0.97 ] 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.
20032004200520062007200820092010201120122013201420152016201720182019202020212022
Air pollution in Durham, North Carolina (Bad air quality days)53.977358.953258.620757.777852.580651.685429.597740.384633.424723.287717.534219.452129.945127.049227.397325.139723.83568.2417618.35628.49315
The number of cooks, short order in North Carolina (Cooks, Short Order)83909260794069906760774062407140430049103730387043003970393029702930188027701720




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([53.9773,58.9532,58.6207,57.7778,52.5806,51.6854,29.5977,40.3846,33.4247,23.2877,17.5342,19.4521,29.9451,27.0492,27.3973,25.1397,23.8356,8.24176,18.3562,8.49315,])
array_2 = np.array([8390,9260,7940,6990,6760,7740,6240,7140,4300,4910,3730,3870,4300,3970,3930,2970,2930,1880,2770,1720,])
array_1_name = "Air pollution in Durham, North Carolina"
array_2_name = "The number of cooks, short order in North Carolina"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

You're the correlation whisperer we needed!


Correlation ID: 2492 · Black Variable ID: 20570 · Red Variable ID: 12414
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0