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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Air pollution in Sacramento and the second variable is Viewership count for Days of Our Lives.  The chart goes from 1980 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The cleaner air led to people spending more time outdoors, engaging in activities and socializing, rather than staying cooped up inside watching daytime soap operas.

Model: dalle-3
Prompt: Prompt for DALLE-3: Generate a comic-book-style illustration with a 1960s muted color palette and a dotted halftone pattern. Depict a scene in Sacramento where the clear blue sky signals decreasing air pollution. Meanwhile, residents forsake watching Days of Our Lives and are seen navigating through bustling city streets, carefully parallel parking around parked Priuses with sudsy residue on their car windows from the recent rain. Capture the essence of the city's residents embracing real-life drama over television drama. Keep the visual depiction simple and do not include any words or speech bubbles. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: Air pollution in Sacramento and Viewership count for Days of Our Lives. 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: Woodblock painting Cubism A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s inspired by bauhaus Magic realism
ChatGPT: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Air pollution in Sacramento and Viewership count for Days of Our Lives, in the following situation: Because as the air got cleaner in Sacramento, viewers of Days of Our Lives realized they didn't need the drama of fictional lives when they could go outside and enjoy the real drama of trying to parallel park on the busy city streets without hitting a Prius. So, they traded soap opera drama for the real sudsy stuff on their car windows.. Keep the description simple.
ChatGPT: In Sacramento, the sky was a clear blue as the air pollution decreased, allowing residents to breathe easier. Meanwhile, in living rooms across the city, the viewership count for Days of Our Lives plummeted as people found themselves trading soap opera drama for the real-life suspense of parallel parking on bustling city streets, as they carefully navigated around parked Priuses, with a sudsy residue on their car windows from the recent rain.

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 comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s ] and depicting this scene: In Sacramento, the sky was a clear blue as the air pollution decreased, allowing residents to breathe easier. Meanwhile, in living rooms across the city, the viewership count for Days of Our Lives plummeted as people found themselves trading soap opera drama for the real-life suspense of parallel parking on bustling city streets, as they carefully navigated around parked Priuses, with a sudsy residue on their car windows from the recent rain. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt for DALLE-3: Generate a comic-book-style illustration with a 1960s muted color palette and a dotted halftone pattern. Depict a scene in Sacramento where the clear blue sky signals decreasing air pollution. Meanwhile, residents forsake watching Days of Our Lives and are seen navigating through bustling city streets, carefully parallel parking around parked Priuses with sudsy residue on their car windows from the recent rain. Capture the essence of the city's residents embracing real-life drama over television drama. Keep the visual depiction simple and do not include any words or speech bubbles.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in Air pollution in Sacramento caused Viewership count for Days of Our Lives to decrease.

AI academic paper

(Because p < 0.01)
The Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

The Journal of Environmental Drama Studies

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. Make lots of jokes, goofy observations, and puns.

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

Your research team used data from Environmental Protection Agency and Wikipedia to assess this nagging question. You found a correlation coefficient of 0.7219268 and p < 0.01 for 1980 to 2021.

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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
The Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

In the realm of statistical analysis, it is not uncommon to uncover surprising correlations between seemingly disparate phenomena. Our study delves into the intriguing and seemingly inexplicable relationship between air pollution in Sacramento and the viewership count for the iconic soap opera, Days of Our Lives. While one might expect a correlation between air pollution and respiratory health, the discovery of a potential tie to soap opera viewership adds an element of unexpected drama to the scientific landscape.

As researchers, we often seek to shed light on complex and consequential societal patterns. The juxtaposition of environmental quality and daytime television engagement may seem trivial at first glance, but upon closer inspection, it reveals a fascinating intersection of environmental factors and entertainment preferences. Our investigation aims to unravel this unexpected association, offering a light-hearted yet intellectually stimulating analysis that captures the imagination much like a soap opera cliffhanger.

The colorful and vibrant city of Sacramento serves as the backdrop for our endeavor, with its historical significance and diverse population providing a rich tapestry for data collection and analysis. Meanwhile, Days of Our Lives has enchanted audiences for decades with its riveting storylines and beloved characters, making it an ideal subject for exploring the quirks of human behavior and popular culture.

Through our study, we aim not only to present an empirical examination of the correlation between air pollution and soap opera viewership but also to spark a sense of wonder and amusement in the scientific community. Just as soap operas keep their audiences on the edge of their seats, we endeavor to keep readers engaged and entertained as we navigate the unexpected twists and turns of our research findings. So, fasten your seatbelts, dear readers, as we embark on a statistical rollercoaster ride that defies conventional expectations and proves that truth is often stranger than fiction.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. 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. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
The Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
In the realm of statistical analysis, it is not uncommon to uncover surprising correlations between seemingly disparate phenomena. Our study delves into the intriguing and seemingly inexplicable relationship between air pollution in Sacramento and the viewership count for the iconic soap opera, Days of Our Lives. While one might expect a correlation between air pollution and respiratory health, the discovery of a potential tie to soap opera viewership adds an element of unexpected drama to the scientific landscape.
As researchers, we often seek to shed light on complex and consequential societal patterns. The juxtaposition of environmental quality and daytime television engagement may seem trivial at first glance, but upon closer inspection, it reveals a fascinating intersection of environmental factors and entertainment preferences. Our investigation aims to unravel this unexpected association, offering a light-hearted yet intellectually stimulating analysis that captures the imagination much like a soap opera cliffhanger.
The colorful and vibrant city of Sacramento serves as the backdrop for our endeavor, with its historical significance and diverse population providing a rich tapestry for data collection and analysis. Meanwhile, Days of Our Lives has enchanted audiences for decades with its riveting storylines and beloved characters, making it an ideal subject for exploring the quirks of human behavior and popular culture.
Through our study, we aim not only to present an empirical examination of the correlation between air pollution and soap opera viewership but also to spark a sense of wonder and amusement in the scientific community. Just as soap operas keep their audiences on the edge of their seats, we endeavor to keep readers engaged and entertained as we navigate the unexpected twists and turns of our research findings. So, fasten your seatbelts, dear readers, as we embark on a statistical rollercoaster ride that defies conventional expectations and proves that truth is often stranger than fiction.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In the pursuit of understanding the intriguing correlation between air pollution in Sacramento and the viewership count for the enduring soap opera, Days of Our Lives, researchers have traversed through a range of scholarly inquiries. Smith and Doe (2010) highlighted the environmental impact of air pollution in urban areas and its potential health implications, painting a serious and concerning picture. However, they failed to foresee the comical twist of this correlation leading to daytime television preferences. Jones (2015) delved into the cultural significance of soap operas in American society, presenting a thorough examination of the genre's evolution over the decades. While their insights are invaluable, they missed the chance to integrate air quality data into their analysis, leaving a soap opera-sized gap in the literature.

Turning to non-fiction narratives outside the realm of academic research, the work of “Fresh Air: What We Know About Air Pollution - Its Causes, Health Effects, and Solutions” (Brown, 2018) offers a comprehensive overview of air pollution and its potential consequences. Despite the somber tone of the topic, this work surprisingly fails to anticipate the potential link between air quality and television viewing habits. On the other hand, “The Business of Soap Opera: Real Money from Daytime Drama” (Smith, 2004) provides a detailed account of the economic dynamics of soap operas, but curiously overlooks the possibility of environmental factors influencing audience engagement.

Delving into the realm of fiction, the novel “A Breath of Fresh Air” (Hawkins, 2017) captures the essence of a city grappling with pollution, but regrettably misses the chance to intertwine this with the allure of daytime drama. Similarly, “The Days of Our Lives: A Tale of Intrigue and Romance” (Roberts, 2005) weaves a captivating narrative within the context of the soap opera world, yet fails to incorporate the atmospheric elements that could elevate the drama to unparalleled heights.

Drawing inspiration from seemingly unrelated sources, the board game "Smog: The Board Game" offers players the chance to navigate through a city engulfed in pollution, providing a whimsical take on the environmental challenges faced in urban areas. Meanwhile, the game "Soap Opera Word Search" adds a touch of levity to the genre, yet fails to uncover the hidden connections between air quality and television drama.

As we navigate through the scholarly landscape and beyond, the literature presents a curious blend of poignant insights and missed opportunities, mirroring the unpredictable plot twists of a classic soap opera. The quest for a comprehensive understanding of the correlation between air pollution and Days of Our Lives viewership continues, with each literary journey adding a layer of intrigue and amusement to the pursuit of knowledge.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Wikipedia . You used data from 1980 to 2021

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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

[[INTRODUCTION]]
In the realm of statistical analysis, it is not uncommon to uncover surprising correlations between seemingly disparate phenomena. Our study delves into the intriguing and seemingly inexplicable relationship between air pollution in Sacramento and the viewership count for the iconic soap opera, Days of Our Lives. While one might expect a correlation between air pollution and respiratory health, the discovery of a potential tie to soap opera viewership adds an element of unexpected drama to the scientific landscape.
As researchers, we often seek to shed light on complex and consequential societal patterns. The juxtaposition of environmental quality and daytime television engagement may seem trivial at first glance, but upon closer inspection, it reveals a fascinating intersection of environmental factors and entertainment preferences. Our investigation aims to unravel this unexpected association, offering a light-hearted yet intellectually stimulating analysis that captures the imagination much like a soap opera cliffhanger.
The colorful and vibrant city of Sacramento serves as the backdrop for our endeavor, with its historical significance and diverse population providing a rich tapestry for data collection and analysis. Meanwhile, Days of Our Lives has enchanted audiences for decades with its riveting storylines and beloved characters, making it an ideal subject for exploring the quirks of human behavior and popular culture.
Through our study, we aim not only to present an empirical examination of the correlation between air pollution and soap opera viewership but also to spark a sense of wonder and amusement in the scientific community. Just as soap operas keep their audiences on the edge of their seats, we endeavor to keep readers engaged and entertained as we navigate the unexpected twists and turns of our research findings. So, fasten your seatbelts, dear readers, as we embark on a statistical rollercoaster ride that defies conventional expectations and proves that truth is often stranger than fiction.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

In order to unravel the enigmatic relationship between air pollution in Sacramento and the viewership count for Days of Our Lives, we employed a combination of statistical analysis and whimsical curiosity. Our approach was as eclectic as the array of characters in a soap opera, blending data collection from the Environmental Protection Agency with informative snippets from the ever-reliable source, Wikipedia.

The first step in our convoluted yet delightfully entertaining methodology involved the acquisition of historical air pollution data from the Environmental Protection Agency. We perused through atmospheric measurements, feeling as intrepid as daring explorers navigating through uncharted territories of pollution levels. The data was gathered from various monitoring stations in Sacramento, capturing the ebb and flow of airborne contaminants from 1980 to 2021.

After donning our metaphorical detective hats, we proceeded to comb through the annals of soap opera history, sourcing viewership count information for Days of Our Lives from the venerable pages of Wikipedia. Like intrepid researchers spelunking in the caves of information, we meticulously documented the viewership statistics for the esteemed soap opera, ensuring no plot twist or ratings surge was left unturned.

With the requisite data in hand, akin to treasure troves unearthed by intrepid adventurers, we then ventured into the realm of statistical analysis. Employing the venerable tool of correlation coefficient calculation, we merrily set forth to discern any potential connection between the odorous mists of pollution and the captivating allure of daytime drama. Our analysis was as precise as a character's longing gaze in a soap opera scene, ensuring robustness amidst the whimsy of our investigation.

Through the application of appropriate statistical tests and harnessing the power of spreadsheets reminiscent of complex soap opera timelines, we seamlessly integrated the atmospheric data and television viewership counts. A harmonious symphony of numbers unfolded before us, much like a dramatic orchestral score at a pivotal soap opera moment, ultimately yielding a correlation coefficient of 0.7219268, with a p-value of less than 0.01.

In the spirit of candor and analytical rigour, we wish to acknowledge the limitations of our methodology, not unlike the vulnerabilities of a beloved soap opera character. While we strove for comprehensive data collection, the limitations inherent in historical air pollution and viewership data bear consideration. Despite these challenges, the robustness of our findings withstood the tempestuous seas of statistical scrutiny.

In summary, our methodology seamlessly blended the rigour of statistical analysis with the whimsy of soap opera storytelling, underscoring the unexpected union of air pollution and daytime drama. Our approach embodies the essence of scientific exploration, entwining empirical evidence with an unyielding sense of wonder, much like the captivating allure of an enduring soap opera saga.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Environmental Protection Agency and Wikipedia .

For the time period 1980 to 2021, you found a correlation 0.7219268, r-squared of 0.5211783, 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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
In the realm of statistical analysis, it is not uncommon to uncover surprising correlations between seemingly disparate phenomena. Our study delves into the intriguing and seemingly inexplicable relationship between air pollution in Sacramento and the viewership count for the iconic soap opera, Days of Our Lives. While one might expect a correlation between air pollution and respiratory health, the discovery of a potential tie to soap opera viewership adds an element of unexpected drama to the scientific landscape.
As researchers, we often seek to shed light on complex and consequential societal patterns. The juxtaposition of environmental quality and daytime television engagement may seem trivial at first glance, but upon closer inspection, it reveals a fascinating intersection of environmental factors and entertainment preferences. Our investigation aims to unravel this unexpected association, offering a light-hearted yet intellectually stimulating analysis that captures the imagination much like a soap opera cliffhanger.
The colorful and vibrant city of Sacramento serves as the backdrop for our endeavor, with its historical significance and diverse population providing a rich tapestry for data collection and analysis. Meanwhile, Days of Our Lives has enchanted audiences for decades with its riveting storylines and beloved characters, making it an ideal subject for exploring the quirks of human behavior and popular culture.
Through our study, we aim not only to present an empirical examination of the correlation between air pollution and soap opera viewership but also to spark a sense of wonder and amusement in the scientific community. Just as soap operas keep their audiences on the edge of their seats, we endeavor to keep readers engaged and entertained as we navigate the unexpected twists and turns of our research findings. So, fasten your seatbelts, dear readers, as we embark on a statistical rollercoaster ride that defies conventional expectations and proves that truth is often stranger than fiction.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis revealed a striking correlation between air pollution in Sacramento and the viewership count for Days of Our Lives. The correlation coefficient of 0.7219268 indicates a strong positive association, suggesting that as air pollution levels increased, so did the number of viewers tuning in to watch the drama unfold in Salem. The r-squared value of 0.5211783 indicates that approximately 52.12% of the variation in Days of Our Lives viewership count can be explained by changes in air pollution levels in Sacramento for the period from 1980 to 2021. And as if that wasn't surprising enough, the p-value of less than 0.01 further reinforces the significance of this relationship, leaving us with little room for doubt and much room for speculation and laughter.

Given the magnitude of the correlation, our findings are as unexpected as a plot twist in a soap opera storyline. It seems that the atmospheric drama in Sacramento is not the only drama captivating the residents. The association between air pollution and soap opera viewership is not only statistically robust but also humorously enigmatic, adding a whimsical touch to our understanding of environmental influences on popular culture.

The scatterplot (Fig. 1) visually portrays this unlikely connection, depicting a clear trend of increasing Days of Our Lives viewership count with rising levels of air pollution. This visual representation further underscores the surprising nature of our findings and provides a compelling illustration of the bond between these seemingly unrelated variables.

In conclusion, our results not only reveal an unexpected positive correlation between air pollution in Sacramento and viewership count for Days of Our Lives, but also provide a lighthearted insight into the peculiar intersections of environmental factors and daytime television preferences. This correlation, though initially confounding, adds a splash of excitement and amusement to the field of statistical analysis, proving that sometimes the most unexpected relationships can turn out to be statistically significant.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. Make lots of jokes, goofy observations, and puns.

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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

[[LITERATURE REVIEW]]
In the pursuit of understanding the intriguing correlation between air pollution in Sacramento and the viewership count for the enduring soap opera, Days of Our Lives, researchers have traversed through a range of scholarly inquiries. Smith and Doe (2010) highlighted the environmental impact of air pollution in urban areas and its potential health implications, painting a serious and concerning picture. However, they failed to foresee the comical twist of this correlation leading to daytime television preferences. Jones (2015) delved into the cultural significance of soap operas in American society, presenting a thorough examination of the genre's evolution over the decades. While their insights are invaluable, they missed the chance to integrate air quality data into their analysis, leaving a soap opera-sized gap in the literature.
Turning to non-fiction narratives outside the realm of academic research, the work of “Fresh Air: What We Know About Air Pollution - Its Causes, Health Effects, and Solutions” (Brown, 2018) offers a comprehensive overview of air pollution and its potential consequences. Despite the somber tone of the topic, this work surprisingly fails to anticipate the potential link between air quality and television viewing habits. On the other hand, “The Business of Soap Opera: Real Money from Daytime Drama” (Smith, 2004) provides a detailed account of the economic dynamics of soap operas, but curiously overlooks the possibility of environmental factors influencing audience engagement.
Delving into the realm of fiction, the novel “A Breath of Fresh Air” (Hawkins, 2017) captures the essence of a city grappling with pollution, but regrettably misses the chance to intertwine this with the allure of daytime drama. Similarly, “The Days of Our Lives: A Tale of Intrigue and Romance” (Roberts, 2005) weaves a captivating narrative within the context of the soap opera world, yet fails to incorporate the atmospheric elements that could elevate the drama to unparalleled heights.
Drawing inspiration from seemingly unrelated sources, the board game "Smog: The Board Game" offers players the chance to navigate through a city engulfed in pollution, providing a whimsical take on the environmental challenges faced in urban areas. Meanwhile, the game "Soap Opera Word Search" adds a touch of levity to the genre, yet fails to uncover the hidden connections between air quality and television drama.
As we navigate through the scholarly landscape and beyond, the literature presents a curious blend of poignant insights and missed opportunities, mirroring the unpredictable plot twists of a classic soap opera. The quest for a comprehensive understanding of the correlation between air pollution and Days of Our Lives viewership continues, with each literary journey adding a layer of intrigue and amusement to the pursuit of knowledge.

[[RESULTS]]
The statistical analysis revealed a striking correlation between air pollution in Sacramento and the viewership count for Days of Our Lives. The correlation coefficient of 0.7219268 indicates a strong positive association, suggesting that as air pollution levels increased, so did the number of viewers tuning in to watch the drama unfold in Salem. The r-squared value of 0.5211783 indicates that approximately 52.12% of the variation in Days of Our Lives viewership count can be explained by changes in air pollution levels in Sacramento for the period from 1980 to 2021. And as if that wasn't surprising enough, the p-value of less than 0.01 further reinforces the significance of this relationship, leaving us with little room for doubt and much room for speculation and laughter.
Given the magnitude of the correlation, our findings are as unexpected as a plot twist in a soap opera storyline. It seems that the atmospheric drama in Sacramento is not the only drama captivating the residents. The association between air pollution and soap opera viewership is not only statistically robust but also humorously enigmatic, adding a whimsical touch to our understanding of environmental influences on popular culture.
The scatterplot (Fig. 1) visually portrays this unlikely connection, depicting a clear trend of increasing Days of Our Lives viewership count with rising levels of air pollution. This visual representation further underscores the surprising nature of our findings and provides a compelling illustration of the bond between these seemingly unrelated variables.
In conclusion, our results not only reveal an unexpected positive correlation between air pollution in Sacramento and viewership count for Days of Our Lives, but also provide a lighthearted insight into the peculiar intersections of environmental factors and daytime television preferences. This correlation, though initially confounding, adds a splash of excitement and amusement to the field of statistical analysis, proving that sometimes the most unexpected relationships can turn out to be statistically significant.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The correlation between air pollution in Sacramento and the viewership count for Days of Our Lives is as intriguing as a soap opera plot twist. Our findings not only support but also bring to life the unsuspected link between environmental factors and daytime television preferences. As our results corroborate, the relationship between these seemingly unrelated variables is statistically robust, leaving us in a state of whimsical wonder and statistical awe.

Drawing from the literature review, it is clear that previous research unintentionally set the stage for our discovery. Smith and Doe's (2010) serious depiction of air pollution in urban areas failed to anticipate the comedic proximity of smog and soap operas. This, combined with Jones' (2015) thorough examination of soap opera evolution, laid the groundwork for our unexpected revelation. The missed opportunities in both nonfiction and fiction narratives, as well as the board games "Smog" and "Soap Opera Word Search," all unknowingly contributed to the irresistible intrigue of our findings.

Our results reveal a correlation coefficient of 0.7219268, suggesting a strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. This statistically significant relationship not only defies conventional wisdom but also adds a touch of humor to the scholarly pursuit of knowledge. Furthermore, the r-squared value of 0.5211783 indicates that approximately 52.12% of the variation in Days of Our Lives viewership count can be explained by changes in air pollution levels in Sacramento. The validity of our findings is further reinforced by the p-value of less than 0.01, leaving no room for doubt and plenty of room for laughter and speculation.

The scatterplot (Fig. 1) visually encapsulates this unlikely correlation, offering a graphic representation of the whimsical bond between air pollution and soap opera viewership. This visualization not only supports our statistical analysis but also adds a layer of comedic charm to our unexpected discovery.

In conclusion, our research provides a delightfully enigmatic insight into the intersection of air pollution and soap opera viewership. Our findings emphasize the humorous unpredictability of statistical analysis and remind us that sometimes the most unexpected relationships can turn out to be statistically significant. As we leave our readers at the edge of this eccentric cliffhanger, we eagerly await further exploration of this humorous yet thought-provoking correlation.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Air pollution in Sacramento and Viewership count for Days of Our Lives. Make lots of jokes, goofy observations, and puns.

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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives

[[ABSTRACT]]
This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

[[INTRDUCTION]]
In the realm of statistical analysis, it is not uncommon to uncover surprising correlations between seemingly disparate phenomena. Our study delves into the intriguing and seemingly inexplicable relationship between air pollution in Sacramento and the viewership count for the iconic soap opera, Days of Our Lives. While one might expect a correlation between air pollution and respiratory health, the discovery of a potential tie to soap opera viewership adds an element of unexpected drama to the scientific landscape.
As researchers, we often seek to shed light on complex and consequential societal patterns. The juxtaposition of environmental quality and daytime television engagement may seem trivial at first glance, but upon closer inspection, it reveals a fascinating intersection of environmental factors and entertainment preferences. Our investigation aims to unravel this unexpected association, offering a light-hearted yet intellectually stimulating analysis that captures the imagination much like a soap opera cliffhanger.
The colorful and vibrant city of Sacramento serves as the backdrop for our endeavor, with its historical significance and diverse population providing a rich tapestry for data collection and analysis. Meanwhile, Days of Our Lives has enchanted audiences for decades with its riveting storylines and beloved characters, making it an ideal subject for exploring the quirks of human behavior and popular culture.
Through our study, we aim not only to present an empirical examination of the correlation between air pollution and soap opera viewership but also to spark a sense of wonder and amusement in the scientific community. Just as soap operas keep their audiences on the edge of their seats, we endeavor to keep readers engaged and entertained as we navigate the unexpected twists and turns of our research findings. So, fasten your seatbelts, dear readers, as we embark on a statistical rollercoaster ride that defies conventional expectations and proves that truth is often stranger than fiction.

[[RESULTS]]
The statistical analysis revealed a striking correlation between air pollution in Sacramento and the viewership count for Days of Our Lives. The correlation coefficient of 0.7219268 indicates a strong positive association, suggesting that as air pollution levels increased, so did the number of viewers tuning in to watch the drama unfold in Salem. The r-squared value of 0.5211783 indicates that approximately 52.12% of the variation in Days of Our Lives viewership count can be explained by changes in air pollution levels in Sacramento for the period from 1980 to 2021. And as if that wasn't surprising enough, the p-value of less than 0.01 further reinforces the significance of this relationship, leaving us with little room for doubt and much room for speculation and laughter.
Given the magnitude of the correlation, our findings are as unexpected as a plot twist in a soap opera storyline. It seems that the atmospheric drama in Sacramento is not the only drama captivating the residents. The association between air pollution and soap opera viewership is not only statistically robust but also humorously enigmatic, adding a whimsical touch to our understanding of environmental influences on popular culture.
The scatterplot (Fig. 1) visually portrays this unlikely connection, depicting a clear trend of increasing Days of Our Lives viewership count with rising levels of air pollution. This visual representation further underscores the surprising nature of our findings and provides a compelling illustration of the bond between these seemingly unrelated variables.
In conclusion, our results not only reveal an unexpected positive correlation between air pollution in Sacramento and viewership count for Days of Our Lives, but also provide a lighthearted insight into the peculiar intersections of environmental factors and daytime television preferences. This correlation, though initially confounding, adds a splash of excitement and amusement to the field of statistical analysis, proving that sometimes the most unexpected relationships can turn out to be statistically significant.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In closing, our study unravels a tangled web of statistical intrigue, unveiling a surprising correlation between air pollution in Sacramento and the viewership count for Days of Our Lives. The robust positive association we've uncovered is as unexpected as a character resurrection in a soap opera plotline. Our findings defy conventional expectations and add a touch of whimsy to the scientific landscape, proving that truth is indeed stranger than fiction.

This correlation, akin to a soap opera's unpredictable narrative twists, serves as a reminder of the enchanting complexity inherent in the world of statistical analysis. While we may have set out to explore the intersection of environmental quality and daytime television engagement, we've found ourselves immersed in a captivating saga of unexpected relationships and statistical capers.

As we bid adieu to this peculiarly delightful journey, we assert with a sense of statistical certainty and a dash of humor that no further research is needed in this area. However, if future studies do emerge, may they be as delightful and unpredictable as a soap opera marathon on a Sunday afternoon.


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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Environmental Drama Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited The Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Environmental Aesthetics and Media Consumption


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 Smog and the Soap Opera: A Correlative Analysis of Air Pollution in Sacramento and Viewership Count for Days of Our Lives with an abstract of This study investigates the curious relationship between air pollution in Sacramento and the viewership count for the long-running soap opera, Days of Our Lives. By utilizing data from the Environmental Protection Agency and Wikipedia, we sought to uncover any potential connection between the two seemingly unrelated variables. With a correlation coefficient of 0.7219268 and p < 0.01 for the years 1980 to 2021, our findings suggest a surprisingly strong positive association between increased air pollution levels in Sacramento and heightened viewership of Days of Our Lives. The implications of this unexpected correlation are as intriguing as a soap opera plot twist. We present our analysis and discuss potential explanations for this peculiar link, offering a lighthearted take on the intersection of environmental factors and daytime television preferences.

ChatGPT:

air pollution, Sacramento, Days of Our Lives, viewership count, correlation analysis, environmental protection agency, EPA data, soap opera, Sacramento air quality, television viewership, correlation coefficient, soap opera viewership.

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

Air pollution in Sacramento
Detailed data title: Percentage of days 'unhealthy' or worse air quality in Sacramento--Roseville--Arden-Arcade, CA
Source: Environmental Protection Agency
See what else correlates with Air pollution in Sacramento

Viewership count for Days of Our Lives
Detailed data title: Metered viewership count for Days of Our Lives
Source: Wikipedia
See what else correlates with Viewership count for Days of Our Lives

Correlation r = 0.7219268 (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.5211783 (Coefficient of determination)
This means 52.1% of the change in the one variable (i.e., Viewership count for Days of Our Lives) is predictable based on the change in the other (i.e., Air pollution in Sacramento) over the 42 years from 1980 through 2021.

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

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 41 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 41 because we have two variables measured over a period of 42 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.54, 0.84 ] 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.
198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
Air pollution in Sacramento (Bad air quality days)14.480916.164413.698613.150713.934413.150713.424717.808217.759613.698611.506813.972614.20775.2054810.41110.41112.56834.657539.8630116.712311.475412.328815.342511.23296.2841511.506813.42474.931518.743176.301372.465756.02743.551911.643841.917811.095894.098360.8219185.7534207.377055.47945
Viewership count for Days of Our Lives (Nielson share)560000055000005700000710000071000007200000700000071000006500000540000052000005400000490000056000005300000580000058000005100000580000042000003800000360000031000003100000270000026000002300000210000022000002200000200000020000002100000190000020500001800000160000016000001600000140000012000001200000




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([14.4809,16.1644,13.6986,13.1507,13.9344,13.1507,13.4247,17.8082,17.7596,13.6986,11.5068,13.9726,14.2077,5.20548,10.411,10.411,12.5683,4.65753,9.86301,16.7123,11.4754,12.3288,15.3425,11.2329,6.28415,11.5068,13.4247,4.93151,8.74317,6.30137,2.46575,6.0274,3.55191,1.64384,1.91781,1.09589,4.09836,0.821918,5.75342,0,7.37705,5.47945,])
array_2 = np.array([5600000,5500000,5700000,7100000,7100000,7200000,7000000,7100000,6500000,5400000,5200000,5400000,4900000,5600000,5300000,5800000,5800000,5100000,5800000,4200000,3800000,3600000,3100000,3100000,2700000,2600000,2300000,2100000,2200000,2200000,2000000,2000000,2100000,1900000,2050000,1800000,1600000,1600000,1600000,1400000,1200000,1200000,])
array_1_name = "Air pollution in Sacramento"
array_2_name = "Viewership count for Days of Our Lives"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating is much appreciated!


Correlation ID: 3953 · Black Variable ID: 21169 · Red Variable ID: 87
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0