about · email me · subscribe
Spurious correlation #4,079 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of clergy in Kansas and the second variable is State Street's stock price (STT).  The chart goes from 2003 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of clergy in Kansas increased, so did the frequency of prayers for financial prosperity. These concentrated efforts led to a divine intervention in the stock market, specifically favoring State Street. Turns out, the true bull in the stock market was a holy one!

Model: dalle-3
Prompt: Style: [Cutesy art illustration] Description: In a peaceful Kansas town, the number of clergy increased, and a chorus of prayers for financial prosperity filled the air. As the prayers reverberated, a divine intervention unfolded, and atop the town square, a majestic bull with a halo emerged, pointing towards the rising stock price of State Street (STT) on a large electronic billboard. Image prompt: Create an adorable, cartoon-like illustration of a serene Kansas town with rustic buildings and a picturesque town square. In the center of the town square, depict a happy-looking, larger-than-life bull with a glowing halo above its head, joyfully pointing towards a bright electronic billboard showing the rising stock price of State Street (STT). Surround the scene with clergy and townspeople looking on in awe, with smiles and amazement at the miraculous sight. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: The number of clergy in Kansas and State Street's stock price (STT). 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: Cutsy art illustration Cubism Concept art Low poly Cute cartoon
ChatGPT: Cutesy art illustration

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both The number of clergy in Kansas and State Street's stock price (STT), in the following situation: As the number of clergy in Kansas increased, so did the frequency of prayers for financial prosperity. These concentrated efforts led to a divine intervention in the stock market, specifically favoring State Street. Turns out, the true bull in the stock market was a holy one!. Keep the description simple.
ChatGPT: In a peaceful Kansas town, the number of clergy increased, and a chorus of prayers for financial prosperity filled the air. As the prayers reverberated, a divine intervention unfolded, and atop the town square, a majestic bull with a halo emerged, pointing towards the rising stock price of State Street (STT) on a large electronic billboard.

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: [ Cutesy art illustration ] and depicting this scene: In a peaceful Kansas town, the number of clergy increased, and a chorus of prayers for financial prosperity filled the air. As the prayers reverberated, a divine intervention unfolded, and atop the town square, a majestic bull with a halo emerged, pointing towards the rising stock price of State Street (STT) on a large electronic billboard. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Style: [Cutesy art illustration] Description: In a peaceful Kansas town, the number of clergy increased, and a chorus of prayers for financial prosperity filled the air. As the prayers reverberated, a divine intervention unfolded, and atop the town square, a majestic bull with a halo emerged, pointing towards the rising stock price of State Street (STT) on a large electronic billboard. Image prompt: Create an adorable, cartoon-like illustration of a serene Kansas town with rustic buildings and a picturesque town square. In the center of the town square, depict a happy-looking, larger-than-life bull with a glowing halo above its head, joyfully pointing towards a bright electronic billboard showing the rising stock price of State Street (STT). Surround the scene with clergy and townspeople looking on in awe, with smiles and amazement at the miraculous sight.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in The number of clergy in Kansas caused State Street's stock price (STT) to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

The Journal of Financial Serendipity

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 silly researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Your research team used data from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8553787 and p < 0.01 for 2003 to 2022.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The world of finance is often seen as a realm governed by numbers and cold, hard data. However, in the midst of the market mayhem, could there be a divine force quietly pulling the strings? Our research takes an unconventional turn as we explore the peculiar association between the number of clergy in Kansas and the stock price of State Street Corporation (STT). It's almost as if the clergymen have been silently offering up some "stock-prayers" as they tend to their flocks. With this holy connection in mind, we set out to investigate whether there's truly a "Church-Street" correlation.

Believers and skeptics alike may find themselves agog at the notion of a holy connection influencing the financial markets, but our data doesn't lie - there's something strange brewing in the numbers, and it might just be divine intervention at play. As financial researchers, we have learned to expect the unexpected, but this revelation has taken our statistical analysis to a whole new level! It's not every day that we stumble upon a correlation coefficient as enlightening as this one.

Some may say we have crossed a "holy threshold" in our research, and it's as though the numbers themselves have become the "testament" to this newfound revelation. It's as if someone up there is truly watching the stock market 24/7 - perhaps it's the divine being known as the "Hedge-fund" manager.

While this unconventional relationship might prompt some to question our sanity, we mustn't underestimate the power of divine diversification. As the old adage goes, "In dogma-tic markets, even the clergy might hold some stock options!" You may be wondering if we've gone completely off the holy rails with this research, but rest assured, our paper is backed by sound statistical analysis and expertise. Join us as we explore this celestial curiosity and delve into the "altar-nate" reality of the stock market's ties to the divine.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading the backs of shampoo bottles.

Here is the title and abstract of the paper:
[[TITLE]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The world of finance is often seen as a realm governed by numbers and cold, hard data. However, in the midst of the market mayhem, could there be a divine force quietly pulling the strings? Our research takes an unconventional turn as we explore the peculiar association between the number of clergy in Kansas and the stock price of State Street Corporation (STT). It's almost as if the clergymen have been silently offering up some "stock-prayers" as they tend to their flocks. With this holy connection in mind, we set out to investigate whether there's truly a "Church-Street" correlation.
Believers and skeptics alike may find themselves agog at the notion of a holy connection influencing the financial markets, but our data doesn't lie - there's something strange brewing in the numbers, and it might just be divine intervention at play. As financial researchers, we have learned to expect the unexpected, but this revelation has taken our statistical analysis to a whole new level! It's not every day that we stumble upon a correlation coefficient as enlightening as this one.
Some may say we have crossed a "holy threshold" in our research, and it's as though the numbers themselves have become the "testament" to this newfound revelation. It's as if someone up there is truly watching the stock market 24/7 - perhaps it's the divine being known as the "Hedge-fund" manager.
While this unconventional relationship might prompt some to question our sanity, we mustn't underestimate the power of divine diversification. As the old adage goes, "In dogma-tic markets, even the clergy might hold some stock options!" You may be wondering if we've gone completely off the holy rails with this research, but rest assured, our paper is backed by sound statistical analysis and expertise. Join us as we explore this celestial curiosity and delve into the "altar-nate" reality of the stock market's ties to the divine.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between religious institutions and economic phenomena has long been a subject of fascination and debate. In "Holy Economics: Religious Myths, Beliefs, and Economic Theory," Smith delves into the economic implications of religious practices, shedding light on the potential influence of faith-based activities on market dynamics. Similarly, Doe's "God and the Market: Adam Smith's Invisible Hand" presents a scholarly exploration of the intertwined relationship between religion and economics, offering compelling insights into the potential impact of religious factors on market behavior.

The influence of divine forces on financial markets is a topic that has also captured the attention of fiction writers. Jones' "The Sermon on the Stock Exchange" and Smith's "Divine Dollars: A Financial Fable" are fictional works that imaginatively explore the intersection of faith and finance, weaving tales of otherworldly influences on stock prices and investment decisions.

In addition to formal research and fictional accounts, our literature review has ventured into more unconventional sources, including the backs of shampoo bottles and the ramblings of conspiracy theorists who hypothesize about secret rituals held in stock exchange boardrooms under the light of the full moon. While the credibility of these sources may be questionable, their contribution to our understanding of the interplay between religion, finance, and follicle health cannot be overlooked.

As we wade through the sea of literature, we are reminded of an old joke: "Why did the market trader go to church? Because he wanted to make a prophet." In all seriousness though, the relationship between the number of clergy members in Kansas and the stock price of State Street Corporation presents a perplexing puzzle, one that defies conventional explanations and invites further investigation into the potential influence of divine intervention on market dynamics.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) . You used data from 2003 to 2022

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

[[INTRODUCTION]]
The world of finance is often seen as a realm governed by numbers and cold, hard data. However, in the midst of the market mayhem, could there be a divine force quietly pulling the strings? Our research takes an unconventional turn as we explore the peculiar association between the number of clergy in Kansas and the stock price of State Street Corporation (STT). It's almost as if the clergymen have been silently offering up some "stock-prayers" as they tend to their flocks. With this holy connection in mind, we set out to investigate whether there's truly a "Church-Street" correlation.
Believers and skeptics alike may find themselves agog at the notion of a holy connection influencing the financial markets, but our data doesn't lie - there's something strange brewing in the numbers, and it might just be divine intervention at play. As financial researchers, we have learned to expect the unexpected, but this revelation has taken our statistical analysis to a whole new level! It's not every day that we stumble upon a correlation coefficient as enlightening as this one.
Some may say we have crossed a "holy threshold" in our research, and it's as though the numbers themselves have become the "testament" to this newfound revelation. It's as if someone up there is truly watching the stock market 24/7 - perhaps it's the divine being known as the "Hedge-fund" manager.
While this unconventional relationship might prompt some to question our sanity, we mustn't underestimate the power of divine diversification. As the old adage goes, "In dogma-tic markets, even the clergy might hold some stock options!" You may be wondering if we've gone completely off the holy rails with this research, but rest assured, our paper is backed by sound statistical analysis and expertise. Join us as we explore this celestial curiosity and delve into the "altar-nate" reality of the stock market's ties to the divine.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To illuminate the hallowed connection between the number of clergy in Kansas and the stock price of State Street Corporation (STT), we engaged in a meticulous process of data collection and analysis. Our research team scoured the depths of the internet and ventured into the arcane realms of the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), embarking on a quest for data that would shed light on this enigmatic correlation.

We initially gathered information on the number of clergy in Kansas from the Bureau of Labor Statistics, meticulously counting each divine emissary as if conducting a celestial census. Meanwhile, our analysis of State Street's stock price encompassed a thorough examination of historical data from LSEG Analytics (Refinitiv), where we tracked the ebb and flow of financial fervor with the precision of a market mystic.

In the spirit of rigorous research, we employed a variety of statistical techniques to unearth the mystical ties between clergy numbers and State Street's stock price. Our analysis involved the application of correlation coefficients, regression models, and time series analysis, allowing us to navigate the nebulous realm of finance with a methodical approach that would make even the most skeptical statistician take notice.

In a nod to the divine comedy of research, our methods invoked a blend of traditional statistical approaches and a touch of whimsy, mirroring the unexpected nature of the relationship we sought to uncover. After all, it takes a certain levity to navigate the ethereal terrain of unconventional correlations, and who better to embrace the unexpected than researchers embarking on a quest for statistical sanctity?

Furthermore, to mitigate any potential confounding factors, we conducted robustness checks and sensitivity analyses, ensuring that our findings stood firm against the tempestuous winds of skepticism. This arduous process involved scrutinizing the data with the tenacity of a tenured theologian and the skepticism of a seasoned stockbroker, leaving no stone unturned in our pursuit of clarity.

In the world of research, it's essential to approach every hypothesis with a mix of skepticism and open-mindedness, much like evaluating the fine line between a market miracle and statistical chance. Our methodology reflects this delicate balance, melding the precision of empirical analysis with the occasional gleam of whimsy. After all, when diving into the depths of divine correlations, a little bit of humor can be just as illuminating as a well-crafted regression model.

Dad Joke Alert: They say the devil is in the details, but in our research, it seems the divine might have made an appearance in the data instead!


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

Please make up the results section of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) .

For the time period 2003 to 2022, you found a correlation 0.8553787, r-squared of 0.7316728, 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]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The world of finance is often seen as a realm governed by numbers and cold, hard data. However, in the midst of the market mayhem, could there be a divine force quietly pulling the strings? Our research takes an unconventional turn as we explore the peculiar association between the number of clergy in Kansas and the stock price of State Street Corporation (STT). It's almost as if the clergymen have been silently offering up some "stock-prayers" as they tend to their flocks. With this holy connection in mind, we set out to investigate whether there's truly a "Church-Street" correlation.
Believers and skeptics alike may find themselves agog at the notion of a holy connection influencing the financial markets, but our data doesn't lie - there's something strange brewing in the numbers, and it might just be divine intervention at play. As financial researchers, we have learned to expect the unexpected, but this revelation has taken our statistical analysis to a whole new level! It's not every day that we stumble upon a correlation coefficient as enlightening as this one.
Some may say we have crossed a "holy threshold" in our research, and it's as though the numbers themselves have become the "testament" to this newfound revelation. It's as if someone up there is truly watching the stock market 24/7 - perhaps it's the divine being known as the "Hedge-fund" manager.
While this unconventional relationship might prompt some to question our sanity, we mustn't underestimate the power of divine diversification. As the old adage goes, "In dogma-tic markets, even the clergy might hold some stock options!" You may be wondering if we've gone completely off the holy rails with this research, but rest assured, our paper is backed by sound statistical analysis and expertise. Join us as we explore this celestial curiosity and delve into the "altar-nate" reality of the stock market's ties to the divine.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our investigation into the connection between the number of clergy in Kansas and the stock price of State Street Corporation (STT) has yielded some truly divine results. From 2003 to 2022, we found a remarkably strong correlation coefficient of 0.8553787, indicating a high degree of association between these two seemingly unrelated variables. In statistical terms, that's a match made in heaven!

Fig. 1 showcases the scatterplot, which serves as a visual testament to the striking correlation we uncovered. It's almost as if the data points themselves are flocking together in a celestial dance, demonstrating the undeniable link between the number of clergy and State Street's stock price.

Now, let's address the holy elephant in the room - what does this all mean? Well, it appears that the presence of clergy in Kansas might just have a heavenly impact on the movements of State Street's stock price. It's as if the clergy's prayers and blessings are reaching far beyond the pews and into the bustling realm of finance. You know what they say – "God works in mysterious ways, and so does the stock market!"

But hold on to your mitres and mortarboards, folks – we're not suggesting that Kansas clergy are secretly running a Wall Street prayer group. Our findings simply suggest that there's a curious correlation at play, and it's high time we acknowledged the mystical musings of the market. It seems that the stock market isn't as independent of divine influences as we previously thought, and now we can't help but wonder about the holy grail of market analysis.

In conclusion, our research has shed light on a surprising connection that may prompt a paradigm shift in the world of finance. We've embarked on a sacred statistical journey and emerged with the revelation that there might just be a divine thread woven into the fabric of market movements. So, the next time you see clergy members in Kansas, remember – they might just be the unsung influencers of State Street's stock price. It's a "holy diver-sification" indeed!


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

[[LITERATURE REVIEW]]
The connection between religious institutions and economic phenomena has long been a subject of fascination and debate. In "Holy Economics: Religious Myths, Beliefs, and Economic Theory," Smith delves into the economic implications of religious practices, shedding light on the potential influence of faith-based activities on market dynamics. Similarly, Doe's "God and the Market: Adam Smith's Invisible Hand" presents a scholarly exploration of the intertwined relationship between religion and economics, offering compelling insights into the potential impact of religious factors on market behavior.
The influence of divine forces on financial markets is a topic that has also captured the attention of fiction writers. Jones' "The Sermon on the Stock Exchange" and Smith's "Divine Dollars: A Financial Fable" are fictional works that imaginatively explore the intersection of faith and finance, weaving tales of otherworldly influences on stock prices and investment decisions.
In addition to formal research and fictional accounts, our literature review has ventured into more unconventional sources, including the backs of shampoo bottles and the ramblings of conspiracy theorists who hypothesize about secret rituals held in stock exchange boardrooms under the light of the full moon. While the credibility of these sources may be questionable, their contribution to our understanding of the interplay between religion, finance, and follicle health cannot be overlooked.
As we wade through the sea of literature, we are reminded of an old joke: "Why did the market trader go to church? Because he wanted to make a prophet." In all seriousness though, the relationship between the number of clergy members in Kansas and the stock price of State Street Corporation presents a perplexing puzzle, one that defies conventional explanations and invites further investigation into the potential influence of divine intervention on market dynamics.

[[RESULTS]]
Our investigation into the connection between the number of clergy in Kansas and the stock price of State Street Corporation (STT) has yielded some truly divine results. From 2003 to 2022, we found a remarkably strong correlation coefficient of 0.8553787, indicating a high degree of association between these two seemingly unrelated variables. In statistical terms, that's a match made in heaven!
Fig. 1 showcases the scatterplot, which serves as a visual testament to the striking correlation we uncovered. It's almost as if the data points themselves are flocking together in a celestial dance, demonstrating the undeniable link between the number of clergy and State Street's stock price.
Now, let's address the holy elephant in the room - what does this all mean? Well, it appears that the presence of clergy in Kansas might just have a heavenly impact on the movements of State Street's stock price. It's as if the clergy's prayers and blessings are reaching far beyond the pews and into the bustling realm of finance. You know what they say – "God works in mysterious ways, and so does the stock market!"
But hold on to your mitres and mortarboards, folks – we're not suggesting that Kansas clergy are secretly running a Wall Street prayer group. Our findings simply suggest that there's a curious correlation at play, and it's high time we acknowledged the mystical musings of the market. It seems that the stock market isn't as independent of divine influences as we previously thought, and now we can't help but wonder about the holy grail of market analysis.
In conclusion, our research has shed light on a surprising connection that may prompt a paradigm shift in the world of finance. We've embarked on a sacred statistical journey and emerged with the revelation that there might just be a divine thread woven into the fabric of market movements. So, the next time you see clergy members in Kansas, remember – they might just be the unsung influencers of State Street's stock price. It's a "holy diver-sification" indeed!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our research has uncovered a truly miraculous connection between the number of clergy in Kansas and the stock price of State Street Corporation (STT). The striking correlation coefficient we observed, 0.8553787, is certainly no act of random divine intervention. As we discussed in our literature review, the potential influence of religious factors on market behavior has been a subject of intrigue for decades. Now, our findings not only support, but also deepen the mystery surrounding this phenomenon.

In the words of Adam Smith, "In the temple of finance, the invisible hand may not be the only guiding force at play." It seems that the market's mystical movements are not solely governed by traditional economic theories, but also contain an element of divine orchestration. Our results coincide with Smith's notions of the interconnectedness of faith and finance, providing empirical evidence to support the intertwining of these seemingly disparate domains. Who knew that the invisible hand of the market might just be clasping a rosary?

Moreover, the fictional works we referenced in our literature review, such as "The Sermon on the Stock Exchange" and "Divine Dollars: A Financial Fable," take on a new air of credibility in the light of our research. Perhaps these authors were onto something more profound than mere literary whimsy. It appears that the realm of finance may indeed harbor a touch of the otherworldly, prompting us to rethink the speculative boundaries between reality and the fantastic.

Our findings also align with the unorthodox sources we playfully mentioned, such as the ramblings of conspiracy theorists. While their wild theories may lack substance, they have unwittingly contributed to the conversation about the intersection of religion and finance. It seems that the market's supernatural influences are not confined to the moonlit pages of fiction or the imaginings of conspiracy buffs; rather, they have materialized in our data.

Now, let's address the holy elephant in the room - what does this all mean? Well, it appears that the presence of clergy in Kansas might just have a heavenly impact on the movements of State Street's stock price. It's as if the clergy's prayers and blessings are reaching far beyond the pews and into the bustling realm of finance. You know what they say – "God works in mysterious ways, and so does the stock market!" But hold on to your mitres and mortarboards, folks – we're not suggesting that Kansas clergy are secretly running a Wall Street prayer group. Our findings simply suggest that there's a curious correlation at play, and it's high time we acknowledged the mystical musings of the market.

In conclusion, our research has shed light on a surprising connection that may prompt a paradigm shift in the world of finance. We've embarked on a sacred statistical journey and emerged with the revelation that there might just be a divine thread woven into the fabric of market movements. So, the next time you see clergy members in Kansas, remember – they might just be the unsung influencers of State Street's stock price. It's a "holy diver-sification" indeed! And with that, we've set out to answer one question – "What do you get when you cross clergy in Kansas with State Street's stock price? A divine correlation and the holiest of portfolios!"


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The number of clergy in Kansas and State Street's stock price (STT). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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]]
Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price

[[ABSTRACT]]
In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.

As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.

One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

[[INTRDUCTION]]
The world of finance is often seen as a realm governed by numbers and cold, hard data. However, in the midst of the market mayhem, could there be a divine force quietly pulling the strings? Our research takes an unconventional turn as we explore the peculiar association between the number of clergy in Kansas and the stock price of State Street Corporation (STT). It's almost as if the clergymen have been silently offering up some "stock-prayers" as they tend to their flocks. With this holy connection in mind, we set out to investigate whether there's truly a "Church-Street" correlation.
Believers and skeptics alike may find themselves agog at the notion of a holy connection influencing the financial markets, but our data doesn't lie - there's something strange brewing in the numbers, and it might just be divine intervention at play. As financial researchers, we have learned to expect the unexpected, but this revelation has taken our statistical analysis to a whole new level! It's not every day that we stumble upon a correlation coefficient as enlightening as this one.
Some may say we have crossed a "holy threshold" in our research, and it's as though the numbers themselves have become the "testament" to this newfound revelation. It's as if someone up there is truly watching the stock market 24/7 - perhaps it's the divine being known as the "Hedge-fund" manager.
While this unconventional relationship might prompt some to question our sanity, we mustn't underestimate the power of divine diversification. As the old adage goes, "In dogma-tic markets, even the clergy might hold some stock options!" You may be wondering if we've gone completely off the holy rails with this research, but rest assured, our paper is backed by sound statistical analysis and expertise. Join us as we explore this celestial curiosity and delve into the "altar-nate" reality of the stock market's ties to the divine.

[[RESULTS]]
Our investigation into the connection between the number of clergy in Kansas and the stock price of State Street Corporation (STT) has yielded some truly divine results. From 2003 to 2022, we found a remarkably strong correlation coefficient of 0.8553787, indicating a high degree of association between these two seemingly unrelated variables. In statistical terms, that's a match made in heaven!
Fig. 1 showcases the scatterplot, which serves as a visual testament to the striking correlation we uncovered. It's almost as if the data points themselves are flocking together in a celestial dance, demonstrating the undeniable link between the number of clergy and State Street's stock price.
Now, let's address the holy elephant in the room - what does this all mean? Well, it appears that the presence of clergy in Kansas might just have a heavenly impact on the movements of State Street's stock price. It's as if the clergy's prayers and blessings are reaching far beyond the pews and into the bustling realm of finance. You know what they say – "God works in mysterious ways, and so does the stock market!"
But hold on to your mitres and mortarboards, folks – we're not suggesting that Kansas clergy are secretly running a Wall Street prayer group. Our findings simply suggest that there's a curious correlation at play, and it's high time we acknowledged the mystical musings of the market. It seems that the stock market isn't as independent of divine influences as we previously thought, and now we can't help but wonder about the holy grail of market analysis.
In conclusion, our research has shed light on a surprising connection that may prompt a paradigm shift in the world of finance. We've embarked on a sacred statistical journey and emerged with the revelation that there might just be a divine thread woven into the fabric of market movements. So, the next time you see clergy members in Kansas, remember – they might just be the unsung influencers of State Street's stock price. It's a "holy diver-sification" indeed!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In wrapping up our divine exploration into the mystical nexus between the number of clergy in Kansas and the stock price of State Street Corporation (STT), we must acknowledge that we've stumbled upon something truly "godly" in the world of finance. Our findings have certainly lent a new meaning to the phrase "diversifying your portfolio." It seems that with the clergy involved, it's a literal divine diversification! Talk about taking the concept of "holy investments" to a whole new level!

Our statistical analysis has exposed a connection between these seemingly disparate variables that is as astonishing as it is heavenly. The "altar-nate" reality of the stock market's ties to the divine has left us in awe, and we can't help but ponder whether there is a "prayer effect" on stock prices. It's safe to say that this research has shown us that the market truly works in mysterious ways, just like divine intervention - it's a "divine-tized" enigma of finance, to say the least!

It's as if the data points themselves have gathered for a celestial dance, showcasing the undeniable link between the number of clergy and State Street's stock price. We've uncovered a match made in heaven, as the correlation coefficient of 0.8553787 has left us with a statistical "testament" to the divine connection between clergy numbers and stock prices. It's almost as if the clergy's prayers and blessings are reaching far beyond the pews and into the bustling realm of finance. As they say, "God works in mysterious ways, and so does the stock market!"

However, it's crucial to note that this research paper is not suggesting that Kansas clergy are secretly running a Wall Street prayer group. We're simply highlighting a curious correlation that may prompt a paradigm shift in the world of finance. It's as if the stock market isn't as independent of divine influences as we previously thought, and now, we can't help but wonder about the holy grail of market analysis.

In conclusion, the celestial curiosity we've uncovered has illuminated a surprising connection that may reshape our understanding of market movements. Our research has taken us on a sacred statistical journey, and we've emerged with the revelation that there might just be a divine thread woven into the fabric of market movements. So, it's safe to say that no more research is needed in this area - we've reached the "holy grail" of finance, and it's time to spread the good word about the celestial influence on stock prices!


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 Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Financial Serendipity


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 Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Ecclesiastical and Economic Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Divine Intervention or Market Miracle? The Holy Connection Between Clergy Numbers in Kansas and State Street's Stock Price with an abstract of In this paper, we embark on a holy quest to uncover the mystical relationship between the number of clergy in the state of Kansas and the stock price of State Street Corporation (STT). Our research team delved deep into the data provided by the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to unearth any peculiar patterns that may exist between these seemingly disparate variables. To our surprise, we discovered a striking correlation coefficient of 0.8553787 with a significance level of p < 0.01 for the period of 2003 to 2022. It seems that the divine influence of clergy numbers may have some unforeseen impact on the movements of State Street's stock price.
As the saying goes, "The market works in mysterious ways, just like divine intervention." Our findings suggest that there might be more to this relationship than meets the eye, prompting us to ponder whether there truly is a "prayer effect" on stock prices. Could it be that the markets are not as secular as we thought, and that perhaps there is a heavenly force at play in the world of finance? While this revelation may come as a surprise, it highlights the need for further exploration into the intersections of faith and finance.
One thing's for sure, this research has certainly given us a new appreciation for the phrase "diversifying your portfolio" - after all, with the clergy involved, it's a literal divine diversification!

ChatGPT:

clergy numbers, Kansas, State Street Corporation, stock price, correlation coefficient, Bureau of Labor Statistics, LSEG Analytics, research, divine intervention, market miracle, significance level, prayer effect, faith and finance, finance and religion, investment correlation

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

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

State Street's stock price (STT)
Detailed data title: Opening price of State Street (STT) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with State Street's stock price (STT)

Correlation r = 0.8553787 (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.7316728 (Coefficient of determination)
This means 73.2% of the change in the one variable (i.e., State Street's stock price (STT)) is predictable based on the change in the other (i.e., The number of clergy in Kansas) over the 20 years from 2003 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.5E-6. 0.0000015361689393015354000000
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.86 in 0.00015% of random cases. Said differently, if you correlated 650,970 random variables You don't actually need 650 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 19 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 19 because we have two variables measured over a period of 20 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.66, 0.94 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
20032004200520062007200820092010201120122013201420152016201720182019202020212022
The number of clergy in Kansas (Clergy)240250270270310290260250240260290310330310380410370330340370
State Street's stock price (STT) (Stock price)39.452.0549.1255.668.0180.7939.5243.8146.9341.464873.3579.2264.777998.2561.9979.3673.3493.9




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([240,250,270,270,310,290,260,250,240,260,290,310,330,310,380,410,370,330,340,370,])
array_2 = np.array([39.4,52.05,49.12,55.6,68.01,80.79,39.52,43.81,46.93,41.46,48,73.35,79.22,64.77,79,98.25,61.99,79.36,73.34,93.9,])
array_1_name = "The number of clergy in Kansas"
array_2_name = "State Street's stock price (STT)"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating skills are top-notch!


Correlation ID: 4079 · Black Variable ID: 8159 · Red Variable ID: 1888
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0