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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of hazardous materials removal workers in Kansas and the second variable is Google searches for '3Blue1Brown'.  The chart goes from 2007 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The more hazardous materials removal workers there are in Kansas, the greater the demand for their services. As a result, Kansans become increasingly concerned about the presence of hazardous materials in their daily lives. This leads to a spike in anxiety and a desire for distraction. As Kansans frantically search for ways to cope, they turn to the mesmerizing and soothing math and science videos of 3Blue1Brown, causing a significant uptick in Google searches for '3Blue1Brown.' It's a classic case of hazardous materials removal workers unintentionally multiplying the beauty of mathematics in the Sunflower State! Who knew that the path to mathematical enlightenment could be paved with hazmat suits and caution tape in the heartland of America? Keep crunching those numbers, Kansas!

Model: dalle-3
Prompt: [ A photo-realistic image ] An overhead view of a bustling office in Kansas, with a team of hazardous materials removal workers meticulously donning protective gear. They are surrounded by crates and barrels containing hazardous materials, and are in the process of carefully unpacking and preparing them for disposal. In the corner of the room, an office computer displays a detailed Google search for "3Blue1Brown," adding a subtle layer of interest to the scene. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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: Parallax art Photorealism Psychedelic Scalar art A photo-realistic image
ChatGPT: A photo-realistic image

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown' together. Keep the description simple.
ChatGPT: In a bustling office in Kansas, a team of hazardous materials removal workers diligently handles protective gear and carefully unpacks materials for disposal, while a computer in the corner displays a Google search for "3Blue1Brown" in the background.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A photo-realistic image ] and depicting this scene: In a bustling office in Kansas, a team of hazardous materials removal workers diligently handles protective gear and carefully unpacks materials for disposal, while a computer in the corner displays a Google search for "3Blue1Brown" in the background. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [ A photo-realistic image ] An overhead view of a bustling office in Kansas, with a team of hazardous materials removal workers meticulously donning protective gear. They are surrounded by crates and barrels containing hazardous materials, and are in the process of carefully unpacking and preparing them for disposal. In the corner of the room, an office computer displays a detailed Google search for "3Blue1Brown," adding a subtle layer of interest to the scene.

*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 The number of hazardous materials removal workers in Kansas caused 3Blue1Brown (Google searches for '3Blue1Brown') to increase.

AI academic paper

(Because p < 0.01)
Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'

The Journal of Occupational Hazard Research

Jan 2024

Reminder: This paper is AI-generated. Not real!
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. Make lots of jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from Bureau of Larbor Statistics and Google Trends to assess this nagging question. You found a correlation coefficient of 0.7871195 and p < 0.01 for 2007 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.


Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the introduction section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the introduction section of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Digging through the databanks of peculiar correlations, the unlikely dance between hazardous materials removal workers in the flat plains of Kansas and online explorations of mathematical marvels has piqued our curiosity. While hazardous materials removal may not typically evoke thoughts of abstract algebra or trigonometric triumphs, the unearthing of a notable connection between the two has left our research team both amused and intrigued. As we embark on this scholarly pursuit, we are reminded that in the realm of data analysis, serendipitous discoveries often lurk beneath the surface, waiting to be revealed with a twirl of the statistical wand.

It is well-established that hazardous materials removal workers carry out their potentially perilous duties with resolute seriousness. From handling toxic chemicals to dismantling asbestos-laden structures, their work is undoubtedly hazardous and vital. Yet, could there be an unforeseen link between the hazardous materials domain and the quest for mathematical enlightenment? The surprising harmony between these seemingly disparate realms raises questions about the playful caprice of human interests and the enigmatic aura of statistical relationships.

The discovery of this correlation has us ruminating on the delightful absurdity of data analysis, where the realms of hard science and whimsy occasionally collide. Our aim in this paper is to shed light on this unusual correlation, providing a thorough examination of the connection between hazardous materials removal workers and the quest for mathematical knowledge in the virtual ether. As we muse on the merry juncture of practical dangers and theoretical ponderings, let us embark on this scholarly voyage, with a twinkle in our eyes and a scatterplot at the ready.


Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft a literature review section of an academic research paper, that starts out dry for the first few sentences but then becomes hilarious and goofy.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a literature review section of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Digging through the databanks of peculiar correlations, the unlikely dance between hazardous materials removal workers in the flat plains of Kansas and online explorations of mathematical marvels has piqued our curiosity. While hazardous materials removal may not typically evoke thoughts of abstract algebra or trigonometric triumphs, the unearthing of a notable connection between the two has left our research team both amused and intrigued. As we embark on this scholarly pursuit, we are reminded that in the realm of data analysis, serendipitous discoveries often lurk beneath the surface, waiting to be revealed with a twirl of the statistical wand.
It is well-established that hazardous materials removal workers carry out their potentially perilous duties with resolute seriousness. From handling toxic chemicals to dismantling asbestos-laden structures, their work is undoubtedly hazardous and vital. Yet, could there be an unforeseen link between the hazardous materials domain and the quest for mathematical enlightenment? The surprising harmony between these seemingly disparate realms raises questions about the playful caprice of human interests and the enigmatic aura of statistical relationships.
The discovery of this correlation has us ruminating on the delightful absurdity of data analysis, where the realms of hard science and whimsy occasionally collide. Our aim in this paper is to shed light on this unusual correlation, providing a thorough examination of the connection between hazardous materials removal workers and the quest for mathematical knowledge in the virtual ether. As we muse on the merry juncture of practical dangers and theoretical ponderings, let us embark on this scholarly voyage, with a twinkle in our eyes and a scatterplot at the ready.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their study, Smith and Doe (2015) dive into the occupational landscape of hazardous materials removal workers, detailing the challenges and risks faced by individuals in this line of work. The authors shed light on the rigorous safety measures and protocols implemented in the industry, underscoring the grave nature of the tasks at hand. Further, Jones et al. (2018) explore the psychological and physical implications of prolonged exposure to hazardous materials, highlighting the paramount importance of expertise and caution in such hazardous environments. These scholarly works provide a comprehensive understanding of the hazardous materials removal profession, painting a sobering picture of the realities faced by workers in this field.

Turning our attention to the digital realm, "Big Data and Its Implications in the Modern Era" (Garcia, 2017) offers insights into the trends and patterns that emerge from online user behavior. The book delves into the intricate ways in which digital footprints can be analyzed to uncover unexpected connections, laying the groundwork for our exploration into the link between hazardous materials removal workers in Kansas and online searches for '3Blue1Brown'. Additionally, "Digital Nudges: Information, Data, and Decision-Making in the Virtual Universe" (Adams, 2019) examines the influence of online content on user decision-making, hinting at the potential impact of digital stimuli on individual interests and pursuits.

Shifting to the world of fiction, "The Statistical Sorcery of Sherlock Holmes" (Conan Doyle, 1892) presents the famed detective's astute use of statistical reasoning in solving mysteries. While not directly linked to hazardous materials or mathematical musings, this classic work alludes to the unforeseen intersections of disparate elements, setting the stage for our own pursuit of an unexpected correlation.

Beyond the traditional confines of academic literature, our research team unearthed unique insights from an unconventional source. By meticulously poring over a selection of CVS receipts, we stumbled upon a peculiar trend wherein purchases of hazmat suits coincided with an uptick in searches for '3Blue1Brown' on specific dates. Though initially dismissed as a whimsical diversion, this curious observation prompted us to delve further into the whimsical world of hazardous materials and mathematical fascination, culminating in the striking correlation revealed in our study.

As we traverse through the scholarly landscape and meander into the realms of fiction and absurdity, we endeavor to illuminate the intriguing bond between hazardous materials removal workers in Kansas and the convoluted quest for math-themed enlightenment.


Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the methodology section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the methodology section of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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 Bureau of Larbor Statistics and Google Trends . You used data from 2007 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

[[INTRODUCTION]]
Digging through the databanks of peculiar correlations, the unlikely dance between hazardous materials removal workers in the flat plains of Kansas and online explorations of mathematical marvels has piqued our curiosity. While hazardous materials removal may not typically evoke thoughts of abstract algebra or trigonometric triumphs, the unearthing of a notable connection between the two has left our research team both amused and intrigued. As we embark on this scholarly pursuit, we are reminded that in the realm of data analysis, serendipitous discoveries often lurk beneath the surface, waiting to be revealed with a twirl of the statistical wand.
It is well-established that hazardous materials removal workers carry out their potentially perilous duties with resolute seriousness. From handling toxic chemicals to dismantling asbestos-laden structures, their work is undoubtedly hazardous and vital. Yet, could there be an unforeseen link between the hazardous materials domain and the quest for mathematical enlightenment? The surprising harmony between these seemingly disparate realms raises questions about the playful caprice of human interests and the enigmatic aura of statistical relationships.
The discovery of this correlation has us ruminating on the delightful absurdity of data analysis, where the realms of hard science and whimsy occasionally collide. Our aim in this paper is to shed light on this unusual correlation, providing a thorough examination of the connection between hazardous materials removal workers and the quest for mathematical knowledge in the virtual ether. As we muse on the merry juncture of practical dangers and theoretical ponderings, let us embark on this scholarly voyage, with a twinkle in our eyes and a scatterplot at the ready.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel this unexpected correlation between hazardous materials removal workers in the heart of Kansas and the virtual quest for mathematical marvels, our research team navigated through a labyrinth of data sources and analysis techniques, blending the rigor of statistical inquiry with a pinch of whimsy.

Data Collection:
We gathered our primary data from the Bureau of Labor Statistics, mining information on the number of hazardous materials removal workers in Kansas over the years 2007 to 2022. The diligent labor of these individuals, grappling with perilous substances, formed the bedrock of our exploration. Simultaneously, we delved into the digital expanse with data from Google Trends, capturing the searches for '3Blue1Brown' over the same period. This juxtaposition of tangible labor and virtual inquiry laid the foundation for our study.

Data Analysis:
Our approach to data analysis entailed a fusion of traditional statistical methods and a sprinkle of unconventional tactics. We employed correlation analysis to unveil the interplay between the number of hazardous materials removal workers and the online fervor for mathematical musings. As the numbers began to weave their intricate dance, we embraced the uncharted territories of data visualization, sculpting line plots and scatterplots to discern any underlying patterns. As we peered at the swirling dots on our scatterplot, we couldn't help but wonder if the hazardous materials removal workers were inadvertently leaving their mark in the digital domain as well.

Statistical Wizardry:
In our pursuit of unraveling this enigma, we summoned the mystical powers of statistical software, conjuring regression models to tease out the nuances of this curious correlation. With a flick of the metaphorical wand, we probed the relationship between hazardous materials removal workers and '3Blue1Brown' searches, scrutinizing coefficients and p-values with a dash of academic enchantment. Our statistical incantations revealed a correlation coefficient of 0.7871195, casting a spellbinding aura of significance with a p-value less than 0.01. With this statistical spellbinding, we marveled at the unexpected harmony between the toil of hazardous materials removal and the quest for mathematical enlightenment in the digital realm.

Interdisciplinary Musings:
Venturing beyond traditional statistical confines, we ventured into the realm of interdisciplinary contemplation. The dreamlike interplay between the tangible labor of hazardous materials removal and the ethereal inquiries into mathematical wonders left us pondering the broader implications. Could there be unseen threads tying the physical and digital worlds together? As we toiled with the data, we entertained the whimsical notion that perhaps the hazardous materials removal workers were not only purging physical hazards but also sparking a yearning for intellectual discoveries in the digital consciousness.

In conclusion, our journey into this unlikely correlation married the precision of statistical inquiry with the boundless expanse of human curiosity. This dainty pas de deux between hazardous materials removal and mathematical exploration reminded us of the zesty unpredictability that infuses the world of academic pursuit. As we unfurl our findings, we invite our scholarly companions to, with a wink and a nod, join us in this merry dance of data discovery.


Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the results section of an academic research paper. You speak in the past tense (you found...).
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the results section of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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 Bureau of Larbor Statistics and Google Trends .

For the time period 2007 to 2022, you found a correlation 0.7871195, r-squared of 0.6195572, 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Digging through the databanks of peculiar correlations, the unlikely dance between hazardous materials removal workers in the flat plains of Kansas and online explorations of mathematical marvels has piqued our curiosity. While hazardous materials removal may not typically evoke thoughts of abstract algebra or trigonometric triumphs, the unearthing of a notable connection between the two has left our research team both amused and intrigued. As we embark on this scholarly pursuit, we are reminded that in the realm of data analysis, serendipitous discoveries often lurk beneath the surface, waiting to be revealed with a twirl of the statistical wand.
It is well-established that hazardous materials removal workers carry out their potentially perilous duties with resolute seriousness. From handling toxic chemicals to dismantling asbestos-laden structures, their work is undoubtedly hazardous and vital. Yet, could there be an unforeseen link between the hazardous materials domain and the quest for mathematical enlightenment? The surprising harmony between these seemingly disparate realms raises questions about the playful caprice of human interests and the enigmatic aura of statistical relationships.
The discovery of this correlation has us ruminating on the delightful absurdity of data analysis, where the realms of hard science and whimsy occasionally collide. Our aim in this paper is to shed light on this unusual correlation, providing a thorough examination of the connection between hazardous materials removal workers and the quest for mathematical knowledge in the virtual ether. As we muse on the merry juncture of practical dangers and theoretical ponderings, let us embark on this scholarly voyage, with a twinkle in our eyes and a scatterplot at the ready.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Upon delving into the depths of our datasets, we reveled in the revelation of a robust correlation between the number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. Our statistical analysis unveiled a noteworthy correlation coefficient of 0.7871195 with an r-squared of 0.6195572, accompanied by a p-value of less than 0.01, signifying a strong and significant relationship between these seemingly unrelated variables.

The scatterplot (Fig. 1) exhibits a striking linear pattern, showcasing the intriguing alignment between the occupational realm of hazardous materials removal and the digital pursuit of mathematical enlightenment. This unexpected connection, akin to stumbling upon an algebraic nugget in a haystack of hazardous materials, underscores the enchanting and capricious nature of statistical exploration.

The findings of our study prompt reflection on the extraordinary and delightful interplay between physical hazards and intellectual curiosity. To witness a correlation blossom between the daunting world of hazardous materials removal and the virtual quest for mathematical epiphany is a testament to the fascinating and often whimsical nature of data analysis. As we marvel at the unexpected coupling of these two divergent domains, our hearts flutter with the joy of unearthing such an enchanting statistical surprise.

The robust correlation coefficient and the compelling scatterplot champion the playful confluence of occupational hazards and digital wanderings through the realm of mathematics. This unusual link serves as a gentle reminder that within the oceans of data, treasures of unexpected correlations are just waiting to be discovered, much like finding a gemstone amidst an expanse of hazardous rubble.

In light of these findings, we are compelled to ponder the comical dance of statistical relationships and the improbable connections that await discovery in the vast expanse of data. The unearthing of this correlation serves not only as a scholarly contribution but as a whimsical testament to the playful unpredictability of statistical exploration.

In conclusion, our study sheds light on the surprisingly robust correlation between hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown', highlighting the delightful and charmingly unpredictable nature of statistical analysis.


Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the discussion section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the discussion section of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

[[LITERATURE REVIEW]]
In their study, Smith and Doe (2015) dive into the occupational landscape of hazardous materials removal workers, detailing the challenges and risks faced by individuals in this line of work. The authors shed light on the rigorous safety measures and protocols implemented in the industry, underscoring the grave nature of the tasks at hand. Further, Jones et al. (2018) explore the psychological and physical implications of prolonged exposure to hazardous materials, highlighting the paramount importance of expertise and caution in such hazardous environments. These scholarly works provide a comprehensive understanding of the hazardous materials removal profession, painting a sobering picture of the realities faced by workers in this field.
Turning our attention to the digital realm, "Big Data and Its Implications in the Modern Era" (Garcia, 2017) offers insights into the trends and patterns that emerge from online user behavior. The book delves into the intricate ways in which digital footprints can be analyzed to uncover unexpected connections, laying the groundwork for our exploration into the link between hazardous materials removal workers in Kansas and online searches for '3Blue1Brown'. Additionally, "Digital Nudges: Information, Data, and Decision-Making in the Virtual Universe" (Adams, 2019) examines the influence of online content on user decision-making, hinting at the potential impact of digital stimuli on individual interests and pursuits.
Shifting to the world of fiction, "The Statistical Sorcery of Sherlock Holmes" (Conan Doyle, 1892) presents the famed detective's astute use of statistical reasoning in solving mysteries. While not directly linked to hazardous materials or mathematical musings, this classic work alludes to the unforeseen intersections of disparate elements, setting the stage for our own pursuit of an unexpected correlation.
Beyond the traditional confines of academic literature, our research team unearthed unique insights from an unconventional source. By meticulously poring over a selection of CVS receipts, we stumbled upon a peculiar trend wherein purchases of hazmat suits coincided with an uptick in searches for '3Blue1Brown' on specific dates. Though initially dismissed as a whimsical diversion, this curious observation prompted us to delve further into the whimsical world of hazardous materials and mathematical fascination, culminating in the striking correlation revealed in our study.
As we traverse through the scholarly landscape and meander into the realms of fiction and absurdity, we endeavor to illuminate the intriguing bond between hazardous materials removal workers in Kansas and the convoluted quest for math-themed enlightenment.

[[RESULTS]]
Upon delving into the depths of our datasets, we reveled in the revelation of a robust correlation between the number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. Our statistical analysis unveiled a noteworthy correlation coefficient of 0.7871195 with an r-squared of 0.6195572, accompanied by a p-value of less than 0.01, signifying a strong and significant relationship between these seemingly unrelated variables.
The scatterplot (Fig. 1) exhibits a striking linear pattern, showcasing the intriguing alignment between the occupational realm of hazardous materials removal and the digital pursuit of mathematical enlightenment. This unexpected connection, akin to stumbling upon an algebraic nugget in a haystack of hazardous materials, underscores the enchanting and capricious nature of statistical exploration.
The findings of our study prompt reflection on the extraordinary and delightful interplay between physical hazards and intellectual curiosity. To witness a correlation blossom between the daunting world of hazardous materials removal and the virtual quest for mathematical epiphany is a testament to the fascinating and often whimsical nature of data analysis. As we marvel at the unexpected coupling of these two divergent domains, our hearts flutter with the joy of unearthing such an enchanting statistical surprise.
The robust correlation coefficient and the compelling scatterplot champion the playful confluence of occupational hazards and digital wanderings through the realm of mathematics. This unusual link serves as a gentle reminder that within the oceans of data, treasures of unexpected correlations are just waiting to be discovered, much like finding a gemstone amidst an expanse of hazardous rubble.
In light of these findings, we are compelled to ponder the comical dance of statistical relationships and the improbable connections that await discovery in the vast expanse of data. The unearthing of this correlation serves not only as a scholarly contribution but as a whimsical testament to the playful unpredictability of statistical exploration.
In conclusion, our study sheds light on the surprisingly robust correlation between hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown', highlighting the delightful and charmingly unpredictable nature of statistical analysis.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

The unexpectedly delightful correlation between the number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown' may seem whimsical, but our findings have revealed a surprisingly robust connection, echoing the lighthearted and unpredictable nature of data analysis. Building on the sobering realities faced by hazardous materials removal workers as depicted in the literature, our results affirm an unexpected link between physically hazardous work and digital mathematical curiosity. The correlation coefficient of 0.7871195, supported by a p-value of less than 0.01, aligns with the prior research on occupational hazards and user behavior, hinting at the comical dance of statistical relationships in the vast expanse of data.

Drawing from the literature review, Smith and Doe (2015) shed light on the rigorous safety measures implemented in hazardous materials removal, underscoring the serious nature of the profession. Surprisingly, our findings suggest a whimsical twist in the form of a strong correlation between this serious work and the virtual pursuit of mathematical enlightenment as evidenced by an upsurge in Google searches for '3Blue1Brown'. Similarly, the unexpected intersection of disparate elements alluded to in the classic "The Statistical Sorcery of Sherlock Holmes" (Conan Doyle, 1892) serves as a charming precursor to our own surprising correlation.

In light of these findings, our research team is reminded of the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits. The unexpected robust correlation between hazardous materials removal workers in Kansas and the quest for mathematical enlightenment online serves as a gentle reminder of the playful unpredictability of statistical exploration. Our study not only adds a whimsical testament to the capricious nature of data analysis but also champions the marvel of unearthing such charming statistical surprises.


Model: gpt-3.5-turbo-1106
System prompt: You are a researcher writing an academic paper.You draft the discussion section of goofy academic research papers that sounds like it belongs based on the title and abstract provided.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. 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]]
"Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'"

[[ABSTRACT]]
This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

[[INTRDUCTION]]
Digging through the databanks of peculiar correlations, the unlikely dance between hazardous materials removal workers in the flat plains of Kansas and online explorations of mathematical marvels has piqued our curiosity. While hazardous materials removal may not typically evoke thoughts of abstract algebra or trigonometric triumphs, the unearthing of a notable connection between the two has left our research team both amused and intrigued. As we embark on this scholarly pursuit, we are reminded that in the realm of data analysis, serendipitous discoveries often lurk beneath the surface, waiting to be revealed with a twirl of the statistical wand.
It is well-established that hazardous materials removal workers carry out their potentially perilous duties with resolute seriousness. From handling toxic chemicals to dismantling asbestos-laden structures, their work is undoubtedly hazardous and vital. Yet, could there be an unforeseen link between the hazardous materials domain and the quest for mathematical enlightenment? The surprising harmony between these seemingly disparate realms raises questions about the playful caprice of human interests and the enigmatic aura of statistical relationships.
The discovery of this correlation has us ruminating on the delightful absurdity of data analysis, where the realms of hard science and whimsy occasionally collide. Our aim in this paper is to shed light on this unusual correlation, providing a thorough examination of the connection between hazardous materials removal workers and the quest for mathematical knowledge in the virtual ether. As we muse on the merry juncture of practical dangers and theoretical ponderings, let us embark on this scholarly voyage, with a twinkle in our eyes and a scatterplot at the ready.

[[RESULTS]]
Upon delving into the depths of our datasets, we reveled in the revelation of a robust correlation between the number of hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown'. Our statistical analysis unveiled a noteworthy correlation coefficient of 0.7871195 with an r-squared of 0.6195572, accompanied by a p-value of less than 0.01, signifying a strong and significant relationship between these seemingly unrelated variables.
The scatterplot (Fig. 1) exhibits a striking linear pattern, showcasing the intriguing alignment between the occupational realm of hazardous materials removal and the digital pursuit of mathematical enlightenment. This unexpected connection, akin to stumbling upon an algebraic nugget in a haystack of hazardous materials, underscores the enchanting and capricious nature of statistical exploration.
The findings of our study prompt reflection on the extraordinary and delightful interplay between physical hazards and intellectual curiosity. To witness a correlation blossom between the daunting world of hazardous materials removal and the virtual quest for mathematical epiphany is a testament to the fascinating and often whimsical nature of data analysis. As we marvel at the unexpected coupling of these two divergent domains, our hearts flutter with the joy of unearthing such an enchanting statistical surprise.
The robust correlation coefficient and the compelling scatterplot champion the playful confluence of occupational hazards and digital wanderings through the realm of mathematics. This unusual link serves as a gentle reminder that within the oceans of data, treasures of unexpected correlations are just waiting to be discovered, much like finding a gemstone amidst an expanse of hazardous rubble.
In light of these findings, we are compelled to ponder the comical dance of statistical relationships and the improbable connections that await discovery in the vast expanse of data. The unearthing of this correlation serves not only as a scholarly contribution but as a whimsical testament to the playful unpredictability of statistical exploration.
In conclusion, our study sheds light on the surprisingly robust correlation between hazardous materials removal workers in Kansas and Google searches for '3Blue1Brown', highlighting the delightful and charmingly unpredictable nature of statistical analysis.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In the illustrious realm of statistical analysis, where data points pirouette through the grand ballroom of correlation, we often stumble upon the unlikeliest of dance partners. The delightful waltz between hazardous materials removal workers in Kansas and the siren call of '3Blue1Brown' in the digital ether has captivated our research team with its whimsical allure. Our findings, akin to discovering a treasure map in a pile of hazardous waste, convey the enchanting and surprisingly robust connection between these seemingly incongruous domains.

As we bid farewell to our scholarly odyssey, we cannot help but smile at the peculiar melody of occupational hazards harmonizing with the symphony of mathematical curiosity. Like uncovering a Fibonacci sequence in a stack of asbestos, this correlation entwines the realms of physical peril and cerebral wonder in an unexpected tango. The robust correlation coefficient, akin to a mathematical theorem hidden in the hazmat manual, testifies to the genuine significance of this unlikely rapport.

With a twinkle in our eyes and a nod to the capricious whims of statistical analysis, we proclaim the tale of hazardous materials removal workers in Kansas and their digital rendezvous with 3Blue1Brown as a valuable contribution to the whimsical tapestry of data exploration. Henceforth, we assert emphatically that further research in this area is as unnecessary as using a slide rule to calculate the circumference of a pizza.


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 Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Occupational Hazard Research


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown'. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Hazardous Materials Research and Applied Mathematics


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 Removing Hazards and Searching for Math: A Correlation Between Hazardous Materials Removal Workers in Kansas and Google Searches for '3Blue1Brown' with an abstract of This study delves into an unexpectedly delightful correlation – the number of hazardous materials removal workers in Kansas and Google searches for the mathematical wonderland of '3Blue1Brown'. Utilizing data from the Bureau of Labor Statistics and Google Trends, our research team has unearthed a correlation coefficient of 0.7871195 with a p-value less than 0.01 for the time period spanning 2007 to 2022. While the relationship between these disparate subjects may seem puzzling at first, our findings reveal a surprisingly robust connection. The hazardous materials removal industry in Kansas, often associated with serious and daunting tasks, appears to have an intriguing tie to the online search behavior for math-themed content. This correlation, though unexpected, underscores the whimsical and unpredictable nature of data analysis. As we unravel this interplay between physically hazardous work and digital mathematical curiosity, one cannot help but ponder the humorous and mysterious ways in which human interests intersect with diverse occupational pursuits.

ChatGPT:

hazardous materials removal workers, Kansas, Google searches, 3Blue1Brown, correlation coefficient, Bureau of Labor Statistics, Google Trends, p-value, data analysis, mathematical curiosity, occupational pursuits

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The number of hazardous materials removal workers in Kansas
Detailed data title: BLS estimate of hazardous materials removal workers in Kansas
Source: Bureau of Larbor Statistics
See what else correlates with The number of hazardous materials removal workers in Kansas

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

See what else correlates with Google searches for '3Blue1Brown'

Correlation r = 0.7871195 (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.6195572 (Coefficient of determination)
This means 62% of the change in the one variable (i.e., Google searches for '3Blue1Brown') is predictable based on the change in the other (i.e., The number of hazardous materials removal workers in Kansas) over the 16 years from 2007 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.0003. 0.0002962503793936928000000000
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.79 in 0.03% of random cases. Said differently, if you correlated 3,376 random variables Which I absolutely did.
with the same 15 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 15 because we have two variables measured over a period of 16 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.48, 0.92 ] 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.
2007200820092010201120122013201420152016201720182019202020212022
The number of hazardous materials removal workers in Kansas (Laborers)220150290320280190230220260290280240750770390420
Google searches for '3Blue1Brown' (Rel. search volume)2.333332.51.50.4166670.4166670.33333300.3333330.52.6666721.583339.083347.416757.333333.333348.6667




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.
  4. Confounding variable: 2020 is particularly different from the other years on this graph. Confounding variables (like global pandemics) will cause two variables to look connected when in fact a "sneaky third" variable is influencing both of them behind the scenes.




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([220,150,290,320,280,190,230,220,260,290,280,240,750,770,390,420,])
array_2 = np.array([2.33333,2.5,1.5,0.416667,0.416667,0.333333,0,0.333333,0.5,2.66667,21.5833,39.0833,47.4167,57.3333,33.3333,48.6667,])
array_1_name = "The number of hazardous materials removal workers in Kansas"
array_2_name = "Google searches for '3Blue1Brown'"

# 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 skills are top-notch!


Correlation ID: 1822 · Black Variable ID: 8298 · Red Variable ID: 1454
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0