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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Worldwide Harry Potter Movies Revenue and the second variable is The number of dental hygienists in Massachusetts.  The chart goes from 2003 to 2011, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The magic and wonder of the movies led to a surge in people brushing and flossing, creating a higher demand for dental hygienists to keep those pearly whites sparkling. It turns out, Hogwarts wasn't the only place with a spell for a dazzling smile!

Model: dalle-3
Prompt: Generate an image of a bustling movie theater in Massachusetts with a large marquee proudly displaying the total worldwide revenue from all Harry Potter movies. Inside the theater, a group of diligent dental hygienists from Massachusetts are gathered, engaged in discussion about the latest advancements in oral care. The scene has a playful and cute style, with vibrant colors and cheerful expressions. The movie theater is filled with excitement, and the dental hygienists are animatedly sharing insights amidst the lively atmosphere. 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: Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. 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: Cyber folk Art nouveau A scene from Skyrim Cutsy graphics Brutalism
ChatGPT: Cutsy graphics

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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts together. Keep the description simple.
ChatGPT: In a bustling movie theater in Massachusetts, a large marquee proudly displays the total worldwide revenue from all Harry Potter movies. Meanwhile, inside the theater, a group of diligent dental hygienists from Massachusetts are gathered, discussing the latest advancements in oral care.

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: [ Cutsy graphics ] and depicting this scene: In a bustling movie theater in Massachusetts, a large marquee proudly displays the total worldwide revenue from all Harry Potter movies. Meanwhile, inside the theater, a group of diligent dental hygienists from Massachusetts are gathered, discussing the latest advancements in oral care. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a bustling movie theater in Massachusetts with a large marquee proudly displaying the total worldwide revenue from all Harry Potter movies. Inside the theater, a group of diligent dental hygienists from Massachusetts are gathered, engaged in discussion about the latest advancements in oral care. The scene has a playful and cute style, with vibrant colors and cheerful expressions. The movie theater is filled with excitement, and the dental hygienists are animatedly sharing insights amidst the lively atmosphere.

*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 Worldwide Harry Potter Movies Revenue caused The number of dental hygienists in Massachusetts to increase.

AI academic paper

(Because p < 0.01)
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

Journal of Wizarding Health 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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from Wikipedia and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of 0.9044914 and p < 0.01 for 2003 to 2011.

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]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."


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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Amidst the world of enchanting spells, magical creatures, and wand-wielding protagonists, lies a peculiar connection that has gone unnoticed by even the most astute observers - the link between the revenue generated by the globally successful Harry Potter movie series and the number of dental hygienists bustling around the state of Massachusetts. It seems there's more to the Wizarding World than just fantastic beasts and where to find them! No need for a Crystal Ball to see the magic in that, is there?

As J.K. Rowling’s masterpieces captured the imagination of audiences worldwide, could it be possible that they inadvertently cast a spell over the dental hygiene industry in Massachusetts? The wizardry of these films may have fueled a fascination with oral care, leading to an unprecedented rise in the demand for dental hygienists in the state. It appears that despite the missing tooth in Lucius Malfoy's smile, fans of the franchise were more than willing to guard their own teeth as closely as a dragon guards its treasure!

This seemingly outlandish correlation is as puzzling as a wizard without a wand, but our inquiry digs deeper to discern the underlying connection. The "Tooth and Consequences" of this unexpected relationship might just have dentists and Harry Potter fanatics alike exclaiming, "Accio dental floss!"


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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. 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 name some movies that you watched that are tangentially related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Amidst the world of enchanting spells, magical creatures, and wand-wielding protagonists, lies a peculiar connection that has gone unnoticed by even the most astute observers - the link between the revenue generated by the globally successful Harry Potter movie series and the number of dental hygienists bustling around the state of Massachusetts. It seems there's more to the Wizarding World than just fantastic beasts and where to find them! No need for a Crystal Ball to see the magic in that, is there?
As J.K. Rowling’s masterpieces captured the imagination of audiences worldwide, could it be possible that they inadvertently cast a spell over the dental hygiene industry in Massachusetts? The wizardry of these films may have fueled a fascination with oral care, leading to an unprecedented rise in the demand for dental hygienists in the state. It appears that despite the missing tooth in Lucius Malfoy's smile, fans of the franchise were more than willing to guard their own teeth as closely as a dragon guards its treasure!
This seemingly outlandish correlation is as puzzling as a wizard without a wand, but our inquiry digs deeper to discern the underlying connection. The "Tooth and Consequences" of this unexpected relationship might just have dentists and Harry Potter fanatics alike exclaiming, "Accio dental floss!"

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Previous research has delved into the curious connections between popular culture phenomena and societal trends. In their study, Smith and Doe (2017) uncovered a surprising correlation between the consumption of pumpkin spice lattes and the sales of cable knit sweaters. Similarly, Jones et al. (2019) examined the impact of superhero movie releases on the sales of spandex leggings. While these studies shed light on the whimsical intertwining of entertainment and consumer behavior, our investigation unearths a new and enchanting association - the relationship between the revenue generated by the Harry Potter movies and the number of dental hygienists operating in the state of Massachusetts.

The sorcery of the Wizarding World has captivated audiences both young and old, and its impact seems to have extended beyond the realm of entertainment. Just as Hermione Granger casts a revealing spell, our analysis reveals a correlation coefficient akin to the magic number 9 and 3/4. It appears that the revenue generated by the Harry Potter franchise has cast an enchantment over the dental hygiene industry in Massachusetts, prompting a surge in the pursuit of dental cleanliness. One might even say that the allure of the movies has led to a "Goblet of Floss" situation!

Adding to this bewitching revelation, our findings resonate with the works of dental economist Lorem Ipsum. In "Toothonomics: A Molar Approach to Economic Analysis," Ipsum presents a compelling argument for the impact of popular culture on dental care trends. Drawing parallels between the rise of superhero movies and the proliferation of floss sales, his work sets the stage for our exploration of the correlation between Harry Potter movies revenue and dental hygienists in Massachusetts. As the saying goes, "The wand chooses the wizard," and it seems that the box office success of the Harry Potter films has also chosen to charm the dental industry!

In the realm of fiction, the notion of dental hygiene and wizardry finds echoes in Roald Dahl's "The Witches," where dental health takes center stage as witches devise devious schemes to sabotage children's teeth. Our study, however, offers a more lighthearted perspective on the intersection of magic and tooth care, akin to a Patronus charm warding off cavities! It seems that even in the world of make-believe, oral care holds a place of significance, proving that the real magic lies in a dazzling smile.

On a more cinematic note, the research team also explored movies tangentially related to the dental profession, including "The Tooth Fairy," starring Dwayne Johnson, and "Little Shop of Horrors," a musical comedy featuring a man-eating plant with a penchant for dental work. Though these films may not directly address the association between Harry Potter movies revenue and dental hygienists in Massachusetts, they certainly provided whimsical inspiration for our study's dental puns and charm-spelled humor.

As we navigate the junction of fantasy and dental care, our research unveils a captivating correlation that transcends the ordinary realms of academic inquiry. Now, with the flick of a wand and a clever incantation, our investigation promises to cast a new light on the transformative impact of the Wizarding World on the world of oral care. It seems that in the case of Harry Potter movies revenue and dental hygienists in Massachusetts, the spellbinding connection is not just a figment of imagination but a tangible manifestation of magic in the realm of dental health and wellness.


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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from Wikipedia and Bureau of Larbor Statistics . You used data from 2003 to 2011

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]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."

[[INTRODUCTION]]
Amidst the world of enchanting spells, magical creatures, and wand-wielding protagonists, lies a peculiar connection that has gone unnoticed by even the most astute observers - the link between the revenue generated by the globally successful Harry Potter movie series and the number of dental hygienists bustling around the state of Massachusetts. It seems there's more to the Wizarding World than just fantastic beasts and where to find them! No need for a Crystal Ball to see the magic in that, is there?
As J.K. Rowling’s masterpieces captured the imagination of audiences worldwide, could it be possible that they inadvertently cast a spell over the dental hygiene industry in Massachusetts? The wizardry of these films may have fueled a fascination with oral care, leading to an unprecedented rise in the demand for dental hygienists in the state. It appears that despite the missing tooth in Lucius Malfoy's smile, fans of the franchise were more than willing to guard their own teeth as closely as a dragon guards its treasure!
This seemingly outlandish correlation is as puzzling as a wizard without a wand, but our inquiry digs deeper to discern the underlying connection. The "Tooth and Consequences" of this unexpected relationship might just have dentists and Harry Potter fanatics alike exclaiming, "Accio dental floss!"

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To begin our investigation into this enchantingly peculiar correlation, we first employed the Lumos spell to shed light on the data collection process. Our research team meticulously scoured through the virtual halls of Wikipedia, meticulously combing through the revenue figures of each Harry Potter movie released between the years 2003 and 2011. It was a bit like Hermione doing some in-depth research in the Hogwarts library - only with fewer magical creatures and more Excel spreadsheets.

The next step in our convoluted quest involved delving into the digital archives of the Bureau of Labor Statistics to unearth the number of dental hygienists in the state of Massachusetts during the same time period. It was like we were on a magical scavenger hunt, except instead of seeking Horcruxes, we were tracking down dental professionals.

Once our data haul was complete, we precisely measured the level of correlation between the worldwide revenue of Harry Potter movies and the number of dental hygienists in Massachusetts using the Accio Correlation Coefficient spell. It was as if we were divining the very essence of this mystical connection, much like Professor Trelawney grasping at her tasseled shawl in a haze of incense smoke.

Our statistical incantations unveiled a correlation coefficient of 0.9044914, signifying a remarkably strong link between the two variables. With a p-value of less than 0.01, the probability of this connection being merely incidental was about as likely as a Muggle accidentally stumbling into Diagon Alley. It seems that this correlation is not a mere flight of fancy – it’s as real as a golden snitch darting through the air during a Quidditch match!

The culmination of our data analysis led us to the startling realization that as the magical allure of Harry Potter movies captivated audiences worldwide, it also acted as a catalyst for an increased demand for dental hygienists in Massachusetts. It's almost as if the movies were casting a "spell"binding charm over the state's oral hygiene industry. Our findings suggest that there might be more to this connection than meets the eye – perhaps the desire for a dazzling smile a la Gilderoy Lockhart was stronger than anyone could have imagined!

All in all, the journey through this enchanting correlation was like navigating the twisting hallways of Hogwarts – filled with unexpected turns, peculiar discoveries, and an occasional encounter with the unexpected. Our quest to uncover this mysterious relationship between Harry Potter movies and dental hygienists might be as unlikely as a Hufflepuff leading the Dark Arts Club, but the evidence is as clear as the mirror of Erised – it's not just a figment of our imagination.


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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

For the time period 2003 to 2011, you found a correlation 0.9044914, r-squared of 0.8181048, 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]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Amidst the world of enchanting spells, magical creatures, and wand-wielding protagonists, lies a peculiar connection that has gone unnoticed by even the most astute observers - the link between the revenue generated by the globally successful Harry Potter movie series and the number of dental hygienists bustling around the state of Massachusetts. It seems there's more to the Wizarding World than just fantastic beasts and where to find them! No need for a Crystal Ball to see the magic in that, is there?
As J.K. Rowling’s masterpieces captured the imagination of audiences worldwide, could it be possible that they inadvertently cast a spell over the dental hygiene industry in Massachusetts? The wizardry of these films may have fueled a fascination with oral care, leading to an unprecedented rise in the demand for dental hygienists in the state. It appears that despite the missing tooth in Lucius Malfoy's smile, fans of the franchise were more than willing to guard their own teeth as closely as a dragon guards its treasure!
This seemingly outlandish correlation is as puzzling as a wizard without a wand, but our inquiry digs deeper to discern the underlying connection. The "Tooth and Consequences" of this unexpected relationship might just have dentists and Harry Potter fanatics alike exclaiming, "Accio dental floss!"

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our analysis revealed a striking correlation between the revenue of the Harry Potter movie series and the number of dental hygienists in Massachusetts. From 2003 to 2011, we found a correlation coefficient of 0.9044914. It's as if the success of the movies was like a Lumos spell, bringing to light the importance of dental hygiene and the professionals dedicated to it. It seems the magic of Harry Potter didn't just captivate audiences; it also led to a surge in oral care awareness.

The r-squared value of 0.8181048 indicates that a whopping 81.81% of the variation in the number of dental hygienists in Massachusetts can be explained by the revenue of the Harry Potter movies. One could say that this relationship is as clear as the prophecy of "neither can live while the other survives"!

The p-value of less than 0.01 provides strong evidence against the null hypothesis, suggesting that the correlation we observed is unlikely to be a mere coincidence. This relationship is as compelling as the Unforgivable Curses - something that simply can't be ignored.

Figure 1 depicts the scatterplot illustrating the robust association between worldwide Harry Potter movies revenue and the number of dental hygienists in Massachusetts. It's a graphical representation as spellbinding as the Marauder's Map, revealing the unmistakable pattern of influence that the magic of the movies exerted on the demand for dental hygienists.

In conclusion, our research highlights an unexpectedly magical connection between the wizarding world and dental care, clearly demonstrating that the prosperity of Harry Potter movies came hand-in-hand with an uptick in the dental hygiene workforce. This correlation should be as impossible to overlook as a boggart in a closet!

Our findings contribute to unraveling the enigmatic relationship between pop culture phenomena and professional workforce dynamics, adding a touch of whimsy to the seemingly mundane realm of dental hygiene employment trends.


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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."

[[LITERATURE REVIEW]]
Previous research has delved into the curious connections between popular culture phenomena and societal trends. In their study, Smith and Doe (2017) uncovered a surprising correlation between the consumption of pumpkin spice lattes and the sales of cable knit sweaters. Similarly, Jones et al. (2019) examined the impact of superhero movie releases on the sales of spandex leggings. While these studies shed light on the whimsical intertwining of entertainment and consumer behavior, our investigation unearths a new and enchanting association - the relationship between the revenue generated by the Harry Potter movies and the number of dental hygienists operating in the state of Massachusetts.
The sorcery of the Wizarding World has captivated audiences both young and old, and its impact seems to have extended beyond the realm of entertainment. Just as Hermione Granger casts a revealing spell, our analysis reveals a correlation coefficient akin to the magic number 9 and 3/4. It appears that the revenue generated by the Harry Potter franchise has cast an enchantment over the dental hygiene industry in Massachusetts, prompting a surge in the pursuit of dental cleanliness. One might even say that the allure of the movies has led to a "Goblet of Floss" situation!
Adding to this bewitching revelation, our findings resonate with the works of dental economist Lorem Ipsum. In "Toothonomics: A Molar Approach to Economic Analysis," Ipsum presents a compelling argument for the impact of popular culture on dental care trends. Drawing parallels between the rise of superhero movies and the proliferation of floss sales, his work sets the stage for our exploration of the correlation between Harry Potter movies revenue and dental hygienists in Massachusetts. As the saying goes, "The wand chooses the wizard," and it seems that the box office success of the Harry Potter films has also chosen to charm the dental industry!
In the realm of fiction, the notion of dental hygiene and wizardry finds echoes in Roald Dahl's "The Witches," where dental health takes center stage as witches devise devious schemes to sabotage children's teeth. Our study, however, offers a more lighthearted perspective on the intersection of magic and tooth care, akin to a Patronus charm warding off cavities! It seems that even in the world of make-believe, oral care holds a place of significance, proving that the real magic lies in a dazzling smile.
On a more cinematic note, the research team also explored movies tangentially related to the dental profession, including "The Tooth Fairy," starring Dwayne Johnson, and "Little Shop of Horrors," a musical comedy featuring a man-eating plant with a penchant for dental work. Though these films may not directly address the association between Harry Potter movies revenue and dental hygienists in Massachusetts, they certainly provided whimsical inspiration for our study's dental puns and charm-spelled humor.
As we navigate the junction of fantasy and dental care, our research unveils a captivating correlation that transcends the ordinary realms of academic inquiry. Now, with the flick of a wand and a clever incantation, our investigation promises to cast a new light on the transformative impact of the Wizarding World on the world of oral care. It seems that in the case of Harry Potter movies revenue and dental hygienists in Massachusetts, the spellbinding connection is not just a figment of imagination but a tangible manifestation of magic in the realm of dental health and wellness.

[[RESULTS]]
Our analysis revealed a striking correlation between the revenue of the Harry Potter movie series and the number of dental hygienists in Massachusetts. From 2003 to 2011, we found a correlation coefficient of 0.9044914. It's as if the success of the movies was like a Lumos spell, bringing to light the importance of dental hygiene and the professionals dedicated to it. It seems the magic of Harry Potter didn't just captivate audiences; it also led to a surge in oral care awareness.
The r-squared value of 0.8181048 indicates that a whopping 81.81% of the variation in the number of dental hygienists in Massachusetts can be explained by the revenue of the Harry Potter movies. One could say that this relationship is as clear as the prophecy of "neither can live while the other survives"!
The p-value of less than 0.01 provides strong evidence against the null hypothesis, suggesting that the correlation we observed is unlikely to be a mere coincidence. This relationship is as compelling as the Unforgivable Curses - something that simply can't be ignored.
Figure 1 depicts the scatterplot illustrating the robust association between worldwide Harry Potter movies revenue and the number of dental hygienists in Massachusetts. It's a graphical representation as spellbinding as the Marauder's Map, revealing the unmistakable pattern of influence that the magic of the movies exerted on the demand for dental hygienists.
In conclusion, our research highlights an unexpectedly magical connection between the wizarding world and dental care, clearly demonstrating that the prosperity of Harry Potter movies came hand-in-hand with an uptick in the dental hygiene workforce. This correlation should be as impossible to overlook as a boggart in a closet!
Our findings contribute to unraveling the enigmatic relationship between pop culture phenomena and professional workforce dynamics, adding a touch of whimsy to the seemingly mundane realm of dental hygiene employment trends.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our study delves into the curious correlation between the revenue of the Harry Potter movie series and the number of dental hygienists in Massachusetts, uncovering a compelling relationship that's as captivating as catching the Golden Snitch - and just as surprising as receiving a Howler from a distant relative!

Our results not only corroborate previous research that has explored the captivating connections between popular culture and unexpected societal trends but also take it one step further, as if waving a wand and casting an "Alohomora" to unlock a new realm of inquiry. The correlation coefficient we observed, akin to the steadfast presence of a loyal House Elf, speaks volumes about the impact of the Wizarding World on the demand for dental care professionals in Massachusetts. It's almost as if the Harry Potter movies whispered a "Revelio" spell, unveiling a previously concealed link to the world of oral hygiene as potent as Polyjuice Potion.

Ah, the literature review leading us on a journey through the whimsical intertwining of entertainment and consumer behavior truly set the stage for our own enchanting revelations. The works of Smith and Doe and Jones et al. hinted at the magical potential of pop culture’s influence on societal trends, much like the discovery of a secret passage in Hogwarts. Our findings align with the parallels drawn in the "Toothonomics" of Lorem Ipsum, showing that the rise of popular culture phenomena can indeed exert a magical influence on dental care trends, much like the gradual ascent of Professor McGonagall's transfigured desk!

The strength of the relationship we observed is as resolute as the Sorting Hat's choice, with an r-squared value that explains a remarkable 81.81% of the variation in the number of dental hygienists in Massachusetts. It's a result as solid as the foundation of Gringotts Bank. This further substantiates the convincing nature of the correlation between the revenue of Harry Potter movies and the demand for dental hygiene professionals, akin to the absolute certainty of the prophecy concerning the Boy Who Lived.

The p-value of less than 0.01 provides compelling evidence against the null hypothesis, as if the Room of Requirement itself presented the irrefutable proof. The likelihood of this correlation being a chance encounter is about as probable as a teacup transforming into a toad without a flick of a wand – in other words, it's highly unlikely!

In conclusion, our findings not only cast light on a previously unexplored connection between popular culture and professional workforce dynamics but also add a much-needed dash of whimsy to the world of academic research. It's as if we've stumbled upon the Pensieve and unlocked a trove of astonishing revelations, proving that the influence of the Wizarding World extends far beyond the confines of the silver screen. Truly, the sorcery of Harry Potter has left an indelible mark on the realm of dental hygiene in Massachusetts, turning the spotlight on the importance of oral care and the professionals dedicated to ensuring dazzling smiles. And with that, it seems that when it comes to the captivating allure of the Wizarding World, the enchantment extends far beyond the Quidditch pitch!


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 Worldwide Harry Potter Movies Revenue and The number of dental hygienists in Massachusetts. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts

[[ABSTRACT]]
In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment."

[[INTRDUCTION]]
Amidst the world of enchanting spells, magical creatures, and wand-wielding protagonists, lies a peculiar connection that has gone unnoticed by even the most astute observers - the link between the revenue generated by the globally successful Harry Potter movie series and the number of dental hygienists bustling around the state of Massachusetts. It seems there's more to the Wizarding World than just fantastic beasts and where to find them! No need for a Crystal Ball to see the magic in that, is there?
As J.K. Rowling’s masterpieces captured the imagination of audiences worldwide, could it be possible that they inadvertently cast a spell over the dental hygiene industry in Massachusetts? The wizardry of these films may have fueled a fascination with oral care, leading to an unprecedented rise in the demand for dental hygienists in the state. It appears that despite the missing tooth in Lucius Malfoy's smile, fans of the franchise were more than willing to guard their own teeth as closely as a dragon guards its treasure!
This seemingly outlandish correlation is as puzzling as a wizard without a wand, but our inquiry digs deeper to discern the underlying connection. The "Tooth and Consequences" of this unexpected relationship might just have dentists and Harry Potter fanatics alike exclaiming, "Accio dental floss!"

[[RESULTS]]
Our analysis revealed a striking correlation between the revenue of the Harry Potter movie series and the number of dental hygienists in Massachusetts. From 2003 to 2011, we found a correlation coefficient of 0.9044914. It's as if the success of the movies was like a Lumos spell, bringing to light the importance of dental hygiene and the professionals dedicated to it. It seems the magic of Harry Potter didn't just captivate audiences; it also led to a surge in oral care awareness.
The r-squared value of 0.8181048 indicates that a whopping 81.81% of the variation in the number of dental hygienists in Massachusetts can be explained by the revenue of the Harry Potter movies. One could say that this relationship is as clear as the prophecy of "neither can live while the other survives"!
The p-value of less than 0.01 provides strong evidence against the null hypothesis, suggesting that the correlation we observed is unlikely to be a mere coincidence. This relationship is as compelling as the Unforgivable Curses - something that simply can't be ignored.
Figure 1 depicts the scatterplot illustrating the robust association between worldwide Harry Potter movies revenue and the number of dental hygienists in Massachusetts. It's a graphical representation as spellbinding as the Marauder's Map, revealing the unmistakable pattern of influence that the magic of the movies exerted on the demand for dental hygienists.
In conclusion, our research highlights an unexpectedly magical connection between the wizarding world and dental care, clearly demonstrating that the prosperity of Harry Potter movies came hand-in-hand with an uptick in the dental hygiene workforce. This correlation should be as impossible to overlook as a boggart in a closet!
Our findings contribute to unraveling the enigmatic relationship between pop culture phenomena and professional workforce dynamics, adding a touch of whimsy to the seemingly mundane realm of dental hygiene employment trends.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In summary, our research has unveiled a bewitching correlation between the global triumph of the Harry Potter movies and the surge in demand for dental hygienists in Massachusetts. It appears that as the Hogwarts Express of revenue chugged along, it brought forth a magical wave of interest in oral care, resulting in an exponential increase in dental hygiene professionals akin to the unexplainable growth of the Whomping Willow.

Our findings emphasize the substantial impact of pop culture phenomena on professional workforce dynamics, as undeniable as the effects of a well-cast Confundus Charm. Just as a good laugh is said to be the best medicine, it seems a good movie may also contribute to maintaining dental health - talk about a "Hollywood" smile gone global!

Given the robust correlation and the clear implications for workforce planning, it seems that further research in this area might be as unnecessary as a Muggle trying to brew Polyjuice Potion. Our results have already cast quite the spell on the understanding of the interplay between popular culture and professional labor markets, leaving little doubt that the wizarding world of Harry Potter has a dental hygiene enchantment all its own.

In conclusion, it's safe to say that the relationship between Harry Potter movies and the number of dental hygienists in Massachusetts is as rock-solid as the Weasley twins' brotherly bond. As Sirius Black once said, "We've all got both light and dark inside us," and this unexpected correlation has certainly shed a lumos of light on the realm of dental care dynamics. No more research is needed in this area, unless someone wants to explore how the sales of Bertie Bott's Every Flavor Beans affects the job market for gastroenterologists!


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 The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Wizarding Health 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 The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Wizarding Economics and Dental Health


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 The Sorcerer's Teeth: A Gingivitic Analysis of the Relationship between Harry Potter Movies Revenue and Dental Hygienists in Massachusetts with an abstract of In this study, we examine the seemingly enchanting relationship between the revenue generated by the worldwide Harry Potter movie series and the number of dental hygienists in the state of Massachusetts. Through a meticulous examination of data from Wikipedia and the Bureau of Labor Statistics, we uncover a correlation coefficient of 0.9044914 and a p-value of less than 0.01 for the period between 2003 and 2011. It seems that as the magic of the Wizarding World captured the hearts of global audiences, it also sparked a fascination with pearly whites, leading to an undeniable surge in demand for dental hygienists in Massachusetts. One might say that this correlation is as solid as a wizard's tooth after a spell of "reparo"! However, as Dumbledore wisely once said, "It does not do to dwell on dreams and forget to live," suggesting that while the revenue soared, oral hygiene wasn't left behind. Our findings shed light on an unexpected relationship between the wizarding world and dental care, giving new meaning to the term "incisor-inciting entertainment.

ChatGPT:

Harry Potter movie revenue, dental hygienists, Massachusetts, correlation coefficient, p-value, Wikipedia data analysis, Bureau of Labor Statistics, 2003-2011, wizarding world, oral hygiene, dental care, entertainment impact on dental industry

*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

Worldwide Harry Potter Movies Revenue
Source: Wikipedia
See what else correlates with Worldwide Harry Potter Movies Revenue

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

Correlation r = 0.9044914 (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.8181048 (Coefficient of determination)
This means 81.8% of the change in the one variable (i.e., The number of dental hygienists in Massachusetts) is predictable based on the change in the other (i.e., Worldwide Harry Potter Movies Revenue) over the 9 years from 2003 through 2011.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.000807. 0.0008065913467543888000000000
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.9 in 0.0807% of random cases. Said differently, if you correlated 1,240 random variables Which I absolutely did.
with the same 8 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 8 because we have two variables measured over a period of 9 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.6, 0.98 ] 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.
200320042005200620072008200920102011
Worldwide Harry Potter Movies Revenue (US Dollars)079668900089691100009398860000934417000956400000956400000
The number of dental hygienists in Massachusetts (Dental Hygienists)554058205690548058005570589058505970




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. Very low n: There are not many data points included in this analysis. Even if the p-value is high, we should be suspicious of using so few datapoints in a correlation.
  5. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([0,796689000,896911000,0,939886000,0,934417000,956400000,956400000,])
array_2 = np.array([5540,5820,5690,5480,5800,5570,5890,5850,5970,])
array_1_name = "Worldwide Harry Potter Movies Revenue"
array_2_name = "The number of dental hygienists in Massachusetts"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your dedication to rating warms my heart!


Correlation ID: 1606 · Black Variable ID: 547 · Red Variable ID: 9432
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0