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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Rainfall in San Francisco and the second variable is The number of printing press operators in Rhode Island.  The chart goes from 2010 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The rain in San Francisco created a demand for more intricate umbrella designs, leading to a surge in printing press work orders. Rhode Island, known for its skilled printing press operators, saw an opportunity to capitalize on this new market. As a result, the number of printing press operators in Rhode Island increased to meet the growing need for stylish and water-resistant umbrella patterns.

Model: dalle-3
Prompt: Generate an image of a cybernetic-inspired landscape, showcasing a futuristic San Francisco cityscape cloaked in steady rain. Through the rain-streaked windows of a printing press workshop, capture the warm, cozy glow of lamplight illuminating the figures of hobbyists engrossed in their work. Meanwhile, in Rhode Island, display the printing press operators diligently tending to their machines as the demand for their skills surges due to the increasing number of people pursuing printing hobbies during the rainy day. 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: Rainfall in San Francisco and The number of printing press operators in Rhode Island. 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: High-tech Concept art Cybernetic art Cyberpunk Parallax art
ChatGPT: Cybernetic art

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 Rainfall in San Francisco and The number of printing press operators in Rhode Island, in the following situation: Because as rainfall in San Francisco increases, more people stay indoors and take up hobbies like printing, causing a surge in demand for printing press operators in Rhode Island.. Keep the description simple.
ChatGPT: In San Francisco, rain falls steadily, drumming on the pavement as people hurry indoors to escape the downpour. Through the windows, the cozy glow of lamplight illuminates the figures of hobbyists working the printing press. In Rhode Island, the printing press operators diligently tend to their machines, the demand for their skills surging as the rainfall in San Francisco keeps more and more people indoors pursuing their newly found printing hobbies.

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: [ Cybernetic art ] and depicting this scene: In San Francisco, rain falls steadily, drumming on the pavement as people hurry indoors to escape the downpour. Through the windows, the cozy glow of lamplight illuminates the figures of hobbyists working the printing press. In Rhode Island, the printing press operators diligently tend to their machines, the demand for their skills surging as the rainfall in San Francisco keeps more and more people indoors pursuing their newly found printing hobbies. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a cybernetic-inspired landscape, showcasing a futuristic San Francisco cityscape cloaked in steady rain. Through the rain-streaked windows of a printing press workshop, capture the warm, cozy glow of lamplight illuminating the figures of hobbyists engrossed in their work. Meanwhile, in Rhode Island, display the printing press operators diligently tending to their machines as the demand for their skills surges due to the increasing number of people pursuing printing hobbies during the rainy day.

*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 Rainfall in San Francisco caused The number of printing press operators in Rhode Island to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

The Journal of Quirky Weather and Unlikely Labor Trends

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from Golden Gate Weather Service and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of 0.9119675 and p < 0.01 for 2010 to 2022.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The link between environmental factors and labor market dynamics has long been a subject of interest among scholars and researchers. While the impact of factors such as technological advancements, economic policies, and demographic trends on employment levels has been extensively studied, the influence of rainfall in one region on the workforce in another has garnered considerably less attention. This paper delves into the uncharted territory of climate-induced employment patterns by examining the curious relationship between the amount of rainfall in San Francisco and the number of printing press operators in the charming state of Rhode Island.

At first glance, one might find it laughable to suggest that the drizzle in San Francisco could have any bearing on the bustling world of printing press operations in the far-flung reaches of Rhode Island. However, as our analysis reveals, this seemingly whimsical association is not to be dismissed lightly. In fact, the empirical evidence we have amassed points to a remarkably robust correlation between these two seemingly unrelated variables.

By drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team has unearthed a statistical association that is as surprising as it is thought-provoking. The correlation coefficient of 0.9119675, coupled with a p-value of less than 0.01 for the timeframe spanning 2010 to 2022, leaves little room to doubt the validity of this remarkable link. While this connection may appear peculiar at first blush, the depth and consistency of our findings compel us to explore this enigmatic phenomenon further.

Join us as we embark on an academic journey that both enlightens and entertains, offering a fresh perspective on the interplay of precipitation patterns and the world of print media. Beyond the rigorous statistical analysis, our exploration also provides an opportunity for some lighthearted musings on the potential impact of meteorological conditions on the livelihoods of printing press operators. By embracing this offbeat intersection of raindrops and printing presses, we endeavor to shed light on an unexpected aspect of labor market dynamics and perhaps even sprinkle a dash of whimsy into the realm of empirical research.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then cite some social media posts you read that seem to be related.

Here is the title and abstract of the paper:
[[TITLE]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The link between environmental factors and labor market dynamics has long been a subject of interest among scholars and researchers. While the impact of factors such as technological advancements, economic policies, and demographic trends on employment levels has been extensively studied, the influence of rainfall in one region on the workforce in another has garnered considerably less attention. This paper delves into the uncharted territory of climate-induced employment patterns by examining the curious relationship between the amount of rainfall in San Francisco and the number of printing press operators in the charming state of Rhode Island.
At first glance, one might find it laughable to suggest that the drizzle in San Francisco could have any bearing on the bustling world of printing press operations in the far-flung reaches of Rhode Island. However, as our analysis reveals, this seemingly whimsical association is not to be dismissed lightly. In fact, the empirical evidence we have amassed points to a remarkably robust correlation between these two seemingly unrelated variables.
By drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team has unearthed a statistical association that is as surprising as it is thought-provoking. The correlation coefficient of 0.9119675, coupled with a p-value of less than 0.01 for the timeframe spanning 2010 to 2022, leaves little room to doubt the validity of this remarkable link. While this connection may appear peculiar at first blush, the depth and consistency of our findings compel us to explore this enigmatic phenomenon further.
Join us as we embark on an academic journey that both enlightens and entertains, offering a fresh perspective on the interplay of precipitation patterns and the world of print media. Beyond the rigorous statistical analysis, our exploration also provides an opportunity for some lighthearted musings on the potential impact of meteorological conditions on the livelihoods of printing press operators. By embracing this offbeat intersection of raindrops and printing presses, we endeavor to shed light on an unexpected aspect of labor market dynamics and perhaps even sprinkle a dash of whimsy into the realm of empirical research.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The established literature on labor market dynamics has focused primarily on conventional factors such as technology, policy, and demographics. However, the connection between environmental variables and employment trends has remained a relatively underexplored area of research. In this section, we review existing studies as well as some unconventional sources that may shed light on the curious correlation between rainfall in San Francisco and the number of printing press operators in Rhode Island.

Smith (2015) examines the impact of weather patterns on labor markets in his seminal work, "Climate Conditions and Employment Trends." While his study primarily analyzes local labor markets and seasonal variations, it offers valuable insights into the potential influence of weather on employment levels. Similarly, Doe (2018) explores the link between geographical factors and workforce dynamics in "Geographic Variation in Employment Patterns," presenting evidence of regional idiosyncrasies shaping labor market outcomes.

In a departure from conventional academic sources, we look to non-fiction literature that may offer tangential insights into our subject of interest. Works such as "The Weather Factor: How Nature Has Shaped Our World" by Haslett (2018) and "The Printing Revolution in Early Modern Europe" by Eisenstein (1983) provide background information on meteorological patterns and the historical evolution of printing technology, offering potential clues to the unexpected relationship under investigation.

Further expanding our search for unconventional insights, we turn to fiction literature that, while not directly related to our research topic, may offer allegorical relevance. Titles such as "Cloud Atlas" by Mitchell (2004) and "The Gutenberg Elegies: The Fate of Reading in an Electronic Age" by Birkerts (2006) provide imaginative accounts that, although metaphorical, invite contemplation about the intersection of natural phenomena and the dissemination of information.

Additionally, we draw upon insights gleaned from social media channels, recognizing the potential for anecdotal evidence to inform our investigation. Recent posts on a popular platform discuss the unexpected parallels between rain-induced moods and job satisfaction, hinting at the broader implications of meteorological influences on occupational well-being. While these observations are informal in nature, they prompt consideration of the nuances underlying the relationship between atmospheric conditions and labor market dynamics.

Overall, the literature presents a blend of traditional scholarly work, non-fiction literature, fiction with allegorical relevance, and anecdotal observations from social media that collectively provide a multifaceted backdrop for our exploration of the perplexing nexus between rainfall in San Francisco and the employment of printing press operators in Rhode Island.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Golden Gate Weather Service and Bureau of Larbor Statistics . You used data from 2010 to 2022

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

[[INTRODUCTION]]
The link between environmental factors and labor market dynamics has long been a subject of interest among scholars and researchers. While the impact of factors such as technological advancements, economic policies, and demographic trends on employment levels has been extensively studied, the influence of rainfall in one region on the workforce in another has garnered considerably less attention. This paper delves into the uncharted territory of climate-induced employment patterns by examining the curious relationship between the amount of rainfall in San Francisco and the number of printing press operators in the charming state of Rhode Island.
At first glance, one might find it laughable to suggest that the drizzle in San Francisco could have any bearing on the bustling world of printing press operations in the far-flung reaches of Rhode Island. However, as our analysis reveals, this seemingly whimsical association is not to be dismissed lightly. In fact, the empirical evidence we have amassed points to a remarkably robust correlation between these two seemingly unrelated variables.
By drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team has unearthed a statistical association that is as surprising as it is thought-provoking. The correlation coefficient of 0.9119675, coupled with a p-value of less than 0.01 for the timeframe spanning 2010 to 2022, leaves little room to doubt the validity of this remarkable link. While this connection may appear peculiar at first blush, the depth and consistency of our findings compel us to explore this enigmatic phenomenon further.
Join us as we embark on an academic journey that both enlightens and entertains, offering a fresh perspective on the interplay of precipitation patterns and the world of print media. Beyond the rigorous statistical analysis, our exploration also provides an opportunity for some lighthearted musings on the potential impact of meteorological conditions on the livelihoods of printing press operators. By embracing this offbeat intersection of raindrops and printing presses, we endeavor to shed light on an unexpected aspect of labor market dynamics and perhaps even sprinkle a dash of whimsy into the realm of empirical research.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Data Collection:
The data utilized in this research was sourced from various reputable repositories, with a significant reliance on records furnished by the Golden Gate Weather Service for rainfall data in San Francisco and the Bureau of Labor Statistics for employment figures pertaining to printing press operators in Rhode Island. The data spanned the time period from 2010 to 2022, capturing a wide array of climatic and labor market dynamics for thorough analysis.

Variable Selection:
The choice of variables in this study was driven by the aim to investigate the potential influence of rainfall patterns on the employment levels of printing press operators. The primary independent variable, rainfall in San Francisco, was selected based on its capacity to drench the landscape with insightful meteorological nuances, while the dependent variable of printing press operator employment in Rhode Island was chosen for its role as a stalwart sentinel of the print media industry.

Statistical Analysis:
To discern the potential relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island, a series of statistical analyses were deployed. First, a correlation analysis was conducted to investigate the strength and direction of the association between the variables. Subsequently, a regression analysis was carried out to ascertain the extent to which rainfall in San Francisco could predict the employment levels of printing press operators in Rhode Island, unveiling a trove of intriguing insights into this unlikely pairing.

Control Variables:
In order to mitigate extraneous influences, a selection of control variables was included in the analysis. Factors such as overall economic conditions, technological advancements in printing technology, and other weather-related variables were incorporated to ensure that the observed relationship between rainfall in San Francisco and printing press operator employment in Rhode Island was not confounded by external forces.

Time-Series Analysis:
Given the temporal nature of the data, a meticulous time-series analysis was conducted to unravel the nuanced patterns underlying the association between rainfall and printing press operator employment. This enabled the exploration of potential lags and lead effects, shedding light on the dynamic interplay between meteorological conditions and labor market trends over the study period.

Robustness Checks:
To bolster the validity of the findings, a battery of robustness checks was performed, including sensitivity analysis, alternate model specifications, and diagnostic testing. These checks served to fortify the credibility of the observed relationship, ensuring that the results were resilient to varying methodological approaches and data configurations.

Overall, the research methodology adopted in this study was meticulously designed to sift through the rain-soaked terrain of San Francisco and the ink-stained world of printing presses in Rhode Island, culminating in a comprehensive exploration of this captivating correlation.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

For the time period 2010 to 2022, you found a correlation 0.9119675, r-squared of 0.8316847, 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]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The link between environmental factors and labor market dynamics has long been a subject of interest among scholars and researchers. While the impact of factors such as technological advancements, economic policies, and demographic trends on employment levels has been extensively studied, the influence of rainfall in one region on the workforce in another has garnered considerably less attention. This paper delves into the uncharted territory of climate-induced employment patterns by examining the curious relationship between the amount of rainfall in San Francisco and the number of printing press operators in the charming state of Rhode Island.
At first glance, one might find it laughable to suggest that the drizzle in San Francisco could have any bearing on the bustling world of printing press operations in the far-flung reaches of Rhode Island. However, as our analysis reveals, this seemingly whimsical association is not to be dismissed lightly. In fact, the empirical evidence we have amassed points to a remarkably robust correlation between these two seemingly unrelated variables.
By drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team has unearthed a statistical association that is as surprising as it is thought-provoking. The correlation coefficient of 0.9119675, coupled with a p-value of less than 0.01 for the timeframe spanning 2010 to 2022, leaves little room to doubt the validity of this remarkable link. While this connection may appear peculiar at first blush, the depth and consistency of our findings compel us to explore this enigmatic phenomenon further.
Join us as we embark on an academic journey that both enlightens and entertains, offering a fresh perspective on the interplay of precipitation patterns and the world of print media. Beyond the rigorous statistical analysis, our exploration also provides an opportunity for some lighthearted musings on the potential impact of meteorological conditions on the livelihoods of printing press operators. By embracing this offbeat intersection of raindrops and printing presses, we endeavor to shed light on an unexpected aspect of labor market dynamics and perhaps even sprinkle a dash of whimsy into the realm of empirical research.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The investigation into the relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island revealed a remarkable correlation coefficient of 0.9119675, indicating a strong positive correlation between these two seemingly disparate variables. The coefficient of determination (r-squared) of 0.8316847 further underscores the robustness of this correlation, suggesting that approximately 83.17% of the variability in the number of printing press operators can be explained by the variability in rainfall in San Francisco. The p-value of less than 0.01 provides strong evidence against the null hypothesis of no correlation, asserting the statistical significance of this unorthodox association.

Figure 1 illustrates the striking correlation uncovered by our analysis, portraying a scatterplot that visually captures the strong positive relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island. As rainfall levels in San Francisco fluctuate, there is a discernible pattern of corresponding fluctuations in the employment levels of printing press operators in Rhode Island, underscoring the unexpected connection between these two variables.

The empirical evidence presented in this study not only highlights the substantial correlation between these unlikely bedfellows but also paves the way for some lighthearted contemplation on the quirkier side of labor market dynamics. The findings not only broaden our understanding of the influence of environmental factors on employment patterns but also invite a whimsical exploration of the potential impact of meteorological conditions on the charming world of print media.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

[[LITERATURE REVIEW]]
The established literature on labor market dynamics has focused primarily on conventional factors such as technology, policy, and demographics. However, the connection between environmental variables and employment trends has remained a relatively underexplored area of research. In this section, we review existing studies as well as some unconventional sources that may shed light on the curious correlation between rainfall in San Francisco and the number of printing press operators in Rhode Island.
Smith (2015) examines the impact of weather patterns on labor markets in his seminal work, "Climate Conditions and Employment Trends." While his study primarily analyzes local labor markets and seasonal variations, it offers valuable insights into the potential influence of weather on employment levels. Similarly, Doe (2018) explores the link between geographical factors and workforce dynamics in "Geographic Variation in Employment Patterns," presenting evidence of regional idiosyncrasies shaping labor market outcomes.
In a departure from conventional academic sources, we look to non-fiction literature that may offer tangential insights into our subject of interest. Works such as "The Weather Factor: How Nature Has Shaped Our World" by Haslett (2018) and "The Printing Revolution in Early Modern Europe" by Eisenstein (1983) provide background information on meteorological patterns and the historical evolution of printing technology, offering potential clues to the unexpected relationship under investigation.
Further expanding our search for unconventional insights, we turn to fiction literature that, while not directly related to our research topic, may offer allegorical relevance. Titles such as "Cloud Atlas" by Mitchell (2004) and "The Gutenberg Elegies: The Fate of Reading in an Electronic Age" by Birkerts (2006) provide imaginative accounts that, although metaphorical, invite contemplation about the intersection of natural phenomena and the dissemination of information.
Additionally, we draw upon insights gleaned from social media channels, recognizing the potential for anecdotal evidence to inform our investigation. Recent posts on a popular platform discuss the unexpected parallels between rain-induced moods and job satisfaction, hinting at the broader implications of meteorological influences on occupational well-being. While these observations are informal in nature, they prompt consideration of the nuances underlying the relationship between atmospheric conditions and labor market dynamics.
Overall, the literature presents a blend of traditional scholarly work, non-fiction literature, fiction with allegorical relevance, and anecdotal observations from social media that collectively provide a multifaceted backdrop for our exploration of the perplexing nexus between rainfall in San Francisco and the employment of printing press operators in Rhode Island.

[[RESULTS]]
The investigation into the relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island revealed a remarkable correlation coefficient of 0.9119675, indicating a strong positive correlation between these two seemingly disparate variables. The coefficient of determination (r-squared) of 0.8316847 further underscores the robustness of this correlation, suggesting that approximately 83.17% of the variability in the number of printing press operators can be explained by the variability in rainfall in San Francisco. The p-value of less than 0.01 provides strong evidence against the null hypothesis of no correlation, asserting the statistical significance of this unorthodox association.
Figure 1 illustrates the striking correlation uncovered by our analysis, portraying a scatterplot that visually captures the strong positive relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island. As rainfall levels in San Francisco fluctuate, there is a discernible pattern of corresponding fluctuations in the employment levels of printing press operators in Rhode Island, underscoring the unexpected connection between these two variables.
The empirical evidence presented in this study not only highlights the substantial correlation between these unlikely bedfellows but also paves the way for some lighthearted contemplation on the quirkier side of labor market dynamics. The findings not only broaden our understanding of the influence of environmental factors on employment patterns but also invite a whimsical exploration of the potential impact of meteorological conditions on the charming world of print media.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings not only confirm the robust relationship between rainfall in San Francisco and the employment of printing press operators in Rhode Island but also add mirthful credence to peculiar musings that have intermittently surfaced in the literature. The conspicuous correlation coefficient of 0.9119675 aligns closely with Smith's (2015) postulations regarding local labor market variations influenced by weather patterns. While Doe (2018) explicated geographical factors shaping workforce dynamics, our study insignificantly attests to the palpable effects of precipitation patterns on the niche domain of printing press operators.

The cogent correlation coefficient substantiates subtle allusions found in the non-fiction literature, particularly Haslett's (2018) elucidations of how nature has shaped our world, which seems particularly apropos given the unexpected connection between meteorological phenomena and labor dynamics. Eisenstein's (1983) historical account of the printing revolution in Early Modern Europe, while not overtly relating to our research, now elicits contemplative reflection upon its potential allegorical relevance to our findings.

The playful tangents offered by fiction literature, such as Mitchell's (2004) "Cloud Atlas" and Birkerts' (2006) "The Gutenberg Elegies," now slyly invite us to ponder the metaphorical resonance of our empirical revelations. There is, after all, an undeniable charm in acknowledging the whimsical confluence of weather patterns and the dissemination of information, much like the capricious interplay of raindrops on a windowpane.

Furthermore, our study playfully attests to the zeitgeist of social media observations, hinting at the colloquial parallels between rainy-day blues and job satisfaction. While cautiously acknowledging the informality of such musings, we cannot help but concede their reflective nudges toward the nuances underlying the relationship between atmospheric conditions and the ebullient world of occupational well-being.

In sum, our research not only strengthens the empirical basis for the unanticipated correlation between precipitation in San Francisco and the employment of printing press operators in Rhode Island but also admirably indulges in the jest of literary and informal reflections on this curious association.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Rainfall in San Francisco and The number of printing press operators in Rhode Island. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island

[[ABSTRACT]]
This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

[[INTRDUCTION]]
The link between environmental factors and labor market dynamics has long been a subject of interest among scholars and researchers. While the impact of factors such as technological advancements, economic policies, and demographic trends on employment levels has been extensively studied, the influence of rainfall in one region on the workforce in another has garnered considerably less attention. This paper delves into the uncharted territory of climate-induced employment patterns by examining the curious relationship between the amount of rainfall in San Francisco and the number of printing press operators in the charming state of Rhode Island.
At first glance, one might find it laughable to suggest that the drizzle in San Francisco could have any bearing on the bustling world of printing press operations in the far-flung reaches of Rhode Island. However, as our analysis reveals, this seemingly whimsical association is not to be dismissed lightly. In fact, the empirical evidence we have amassed points to a remarkably robust correlation between these two seemingly unrelated variables.
By drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team has unearthed a statistical association that is as surprising as it is thought-provoking. The correlation coefficient of 0.9119675, coupled with a p-value of less than 0.01 for the timeframe spanning 2010 to 2022, leaves little room to doubt the validity of this remarkable link. While this connection may appear peculiar at first blush, the depth and consistency of our findings compel us to explore this enigmatic phenomenon further.
Join us as we embark on an academic journey that both enlightens and entertains, offering a fresh perspective on the interplay of precipitation patterns and the world of print media. Beyond the rigorous statistical analysis, our exploration also provides an opportunity for some lighthearted musings on the potential impact of meteorological conditions on the livelihoods of printing press operators. By embracing this offbeat intersection of raindrops and printing presses, we endeavor to shed light on an unexpected aspect of labor market dynamics and perhaps even sprinkle a dash of whimsy into the realm of empirical research.

[[RESULTS]]
The investigation into the relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island revealed a remarkable correlation coefficient of 0.9119675, indicating a strong positive correlation between these two seemingly disparate variables. The coefficient of determination (r-squared) of 0.8316847 further underscores the robustness of this correlation, suggesting that approximately 83.17% of the variability in the number of printing press operators can be explained by the variability in rainfall in San Francisco. The p-value of less than 0.01 provides strong evidence against the null hypothesis of no correlation, asserting the statistical significance of this unorthodox association.
Figure 1 illustrates the striking correlation uncovered by our analysis, portraying a scatterplot that visually captures the strong positive relationship between rainfall in San Francisco and the number of printing press operators in Rhode Island. As rainfall levels in San Francisco fluctuate, there is a discernible pattern of corresponding fluctuations in the employment levels of printing press operators in Rhode Island, underscoring the unexpected connection between these two variables.
The empirical evidence presented in this study not only highlights the substantial correlation between these unlikely bedfellows but also paves the way for some lighthearted contemplation on the quirkier side of labor market dynamics. The findings not only broaden our understanding of the influence of environmental factors on employment patterns but also invite a whimsical exploration of the potential impact of meteorological conditions on the charming world of print media.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the correlation between rainfall in San Francisco and the number of printing press operators in Rhode Island has yielded surprising and robust findings. The statistically significant correlation coefficient of 0.9119675, coupled with a p-value of less than 0.01, presents an intriguing revelation in the realm of labor market dynamics. The high coefficient of determination further underscores the substantial impact of San Francisco's precipitation patterns on the employment levels of printing press operators in Rhode Island.

These unexpected findings not only challenge conventional wisdom but also invite a playful exploration of the whimsical interplay between raindrops and printing presses. Who would have thought that the pitter-patter of rain in one locale could wield such influence over the bustling world of print media in another? While the initial inclination may be to dismiss this correlation as mere happenstance, the depth and consistency of our empirical evidence leave little room for skepticism.

Our findings not only shed light on this improbable relationship but also offer a delightful opportunity to inject a touch of lightheartedness into the oftentimes solemn domain of scholarly inquiry. After all, who could resist the charm of pondering the potential impact of meteorological conditions on the livelihoods of printing press operators, or envisioning rainclouds as clandestine influencers in the labor markets of far-off states?

In light of these compelling revelations, we assert with confidence that no further research in this domain is warranted. This work stands as a testament to the delightful surprises that await those bold enough to venture into the uncharted territories of empirical inquiry.


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 Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Weather and Unlikely Labor Trends


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Atmospheric Anomalies and Societal Impacts (IAASI)


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 Drip, Drip, Drop: The Curious Connection Between Rainfall in San Francisco and the Number of Printing Press Operators in Rhode Island with an abstract of This paper explores the seemingly improbable yet intriguing relationship between the periodic precipitation patterns in San Francisco and the employment levels of printing press operators in the quaint state of Rhode Island. Drawing on data meticulously sourced from the Golden Gate Weather Service and the Bureau of Labor Statistics, our research team delves into the empirical evidence surrounding this enigmatic correlation. Our analysis unveils a striking correlation coefficient of 0.9119675 with a statistically significant p-value of less than 0.01 for the timeframe spanning 2010 to 2022. Through our investigation, we not only uncover this compelling statistical association but also offer some playful musings on the potential impact of meteorological conditions on the delightful world of print media. Join us as we embark on an academic journey that shines a light on this unexpected interplay of raindrops and printing presses.

ChatGPT:

rainfall San Francisco, printing press operators Rhode Island, precipitation patterns, employment levels, correlation coefficient, statistical significance, Golden Gate Weather Service, Bureau of Labor Statistics, empirical evidence, meteorological conditions, print media 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

Rainfall in San Francisco
Source: Golden Gate Weather Service
See what else correlates with Rainfall in San Francisco

The number of printing press operators in Rhode Island
Detailed data title: BLS estimate of printing press operators in Rhode Island
Source: Bureau of Larbor Statistics
See what else correlates with The number of printing press operators in Rhode Island

Correlation r = 0.9119675 (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.8316847 (Coefficient of determination)
This means 83.2% of the change in the one variable (i.e., The number of printing press operators in Rhode Island) is predictable based on the change in the other (i.e., Rainfall in San Francisco) over the 13 years from 2010 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.41E-5. 0.0000140778474691407560000000
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.91 in 0.00141% of random cases. Said differently, if you correlated 71,034 random variables You don't actually need 71 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

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

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

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 12 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 12 because we have two variables measured over a period of 13 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.73, 0.97 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2010201120122013201420152016201720182019202020212022
Rainfall in San Francisco (In mm)28.8715.6416.6112.5418.1923.2632.3417.5325.7211.78.9618.7434.18
The number of printing press operators in Rhode Island (Printing Press Operators)580490490440530520630500540420410500550




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([28.87,15.64,16.61,12.54,18.19,23.26,32.34,17.53,25.72,11.7,8.96,18.74,34.18,])
array_2 = np.array([580,490,490,440,530,520,630,500,540,420,410,500,550,])
array_1_name = "Rainfall in San Francisco"
array_2_name = "The number of printing press operators in Rhode Island"

# 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?

Thanks for shining a light on this correlation!


Correlation ID: 2948 · Black Variable ID: 374 · Red Variable ID: 18578
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0