about · email me · subscribe
Spurious correlation #2,008 · 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 funeral attendants in Georgia and the second variable is Halliburton Company's stock price (HAL).  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 more funeral attendants in Georgia were employed, there was a surge in demand for professional, high-quality caskets. Halliburton, known for its expertise in oil services, saw an opportunity to apply their top-notch engineering and manufacturing capabilities to create the most luxurious and well-constructed caskets the industry had ever seen. This unexpected diversification into the afterlife market led to a spike in their stock price as investors realized the potential for a whole new revenue stream. With Halliburton's sleek, oil-resistant caskets, even in the afterlife, you can rest in peace knowing you're in top-of-the-line craftsmanship.

Model: dalle-3
Prompt: Generate an image of a peaceful Georgian town with a group of people dressed in dark clothing gathered at a funeral. The clouds above should appear heavy and solemn, echoing the subdued atmosphere below. Nearby, an electronic display prominently shows the fluctuating stock price of Halliburton Company, conveying the juxtaposition between the quiet mourning and the relentless activity of the stock market. The entire scene should be rendered in a striking combination of dark and light charcoal tones, capturing the contrast between the solemnity of the funeral and the dynamic nature of the financial market. 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 funeral attendants in Georgia and Halliburton Company's stock price. 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: Scalar art Psychedelic Cute 2D animation Charcoal Magic realism
ChatGPT: Charcoal

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 funeral attendants in Georgia and Halliburton Company's stock price together. Keep the description simple.
ChatGPT: In a quiet Georgian town, a few people gather at a funeral as the solemn atmosphere is mirrored in the clouds above. Meanwhile, on a nearby electronic display, the stock price of Halliburton Company fluctuates steadily throughout the day, reflecting the ebb and flow of the market.

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: [ Charcoal ] and depicting this scene: In a quiet Georgian town, a few people gather at a funeral as the solemn atmosphere is mirrored in the clouds above. Meanwhile, on a nearby electronic display, the stock price of Halliburton Company fluctuates steadily throughout the day, reflecting the ebb and flow of the market. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a peaceful Georgian town with a group of people dressed in dark clothing gathered at a funeral. The clouds above should appear heavy and solemn, echoing the subdued atmosphere below. Nearby, an electronic display prominently shows the fluctuating stock price of Halliburton Company, conveying the juxtaposition between the quiet mourning and the relentless activity of the stock market. The entire scene should be rendered in a striking combination of dark and light charcoal tones, capturing the contrast between the solemnity of the funeral and the dynamic nature of the financial market.

*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 funeral attendants in Georgia caused Halliburton Company's stock price (HAL) to increase.

AI academic paper

(Because p < 0.01)
Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price

Journal of Southern Funeral Studies

Jan 2024

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




Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

Your research team used data from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8254739 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]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). 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]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

In the world of financial research, uncovering unexpected and curious correlations can lead to unique insights and even the occasional eyebrow raise. Our study delves into the enigmatic world of finance, where the macabre and the mundane collide in an unusual dance of data. Specifically, we endeavor to explore the connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL).

While on the surface, funeral attendance and stock prices may appear about as related as a giraffe and a beach ball, our preliminary analysis hints at a surprisingly close relationship. Embracing gallows humor and a spirit of inquiry, we set out to shed light on this curious link and, perhaps, unearth some buried truths.

As authors, we admit to initially approaching this topic with a mix of skepticism and morbid curiosity, pondering the likelihood of a connection that could potentially rock the financial world to its core. Nonetheless, armed with data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), we embarked on our investigation spanning nearly two decades, eager to dig into the numbers and exhume any significant findings.

In this paper, we will present the methods employed in our analysis, explore the results that have emerged from the crypt, and offer a tenuous yet tantalizing theory on how funeral attendance in the Peach State may have an unexpected influence on the performance of Halliburton's stock. While we approach our subject with the elegance and gravitas of a solemn funeral dirge, we also invite readers to join us in recognizing the quirkiness and levity that can be found in the most unexpected places within the world of financial research. After all, there's nothing wrong with a little deathly whimsy when sifting through stock market data, is there?


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). 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 name some cartoons and childrens' shows that you watched that are related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
In the world of financial research, uncovering unexpected and curious correlations can lead to unique insights and even the occasional eyebrow raise. Our study delves into the enigmatic world of finance, where the macabre and the mundane collide in an unusual dance of data. Specifically, we endeavor to explore the connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL).
While on the surface, funeral attendance and stock prices may appear about as related as a giraffe and a beach ball, our preliminary analysis hints at a surprisingly close relationship. Embracing gallows humor and a spirit of inquiry, we set out to shed light on this curious link and, perhaps, unearth some buried truths.
As authors, we admit to initially approaching this topic with a mix of skepticism and morbid curiosity, pondering the likelihood of a connection that could potentially rock the financial world to its core. Nonetheless, armed with data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), we embarked on our investigation spanning nearly two decades, eager to dig into the numbers and exhume any significant findings.
In this paper, we will present the methods employed in our analysis, explore the results that have emerged from the crypt, and offer a tenuous yet tantalizing theory on how funeral attendance in the Peach State may have an unexpected influence on the performance of Halliburton's stock. While we approach our subject with the elegance and gravitas of a solemn funeral dirge, we also invite readers to join us in recognizing the quirkiness and levity that can be found in the most unexpected places within the world of financial research. After all, there's nothing wrong with a little deathly whimsy when sifting through stock market data, is there?

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith et al.," the authors find a significant positive correlation between funeral attendance and stock market performance, hinting at the possibility of unexpected influence lurking within the solemn halls of financial analysis. Building upon this, "Doe, Jones, and Co." delve into the intriguing realm of unorthodox correlations, deliriously dancing betwixt the somber nature of funerals and the ebbs and flows of stock prices.

Expanding beyond the traditional finance literature, "The Funeral Parlor's Guide to Market Analysis" by Mortimer Grave discusses the potential impact of funerary proceedings on stock prices, offering a cryptic yet whimsically insightful take on the matter. In a similar vein, "Dust to Dust: A Financial Analysis of Mourning" by Anne Undertaker delves into the shadowy undercurrents of burial practices and their potential resonance within the labyrinthine corridors of stock market dynamics.

Transitioning into more fictitious realms, "The Haunting of Wall Street" by Eerie McCreepy and "Ghostly Gains: Paranormal Portfolios" by Spooky McBoo may not be grounded in empirical research, but their eerie titles certainly evoke the spirit of our investigation – pun completely intended.

Not to be outdone, childhood influences also play a role in shaping our perspective. From the spooky mysteries of "Scooby-Doo: Where Are You!" to the existential musings of "Courage the Cowardly Dog," our early encounters with the macabre have instilled in us a fascination with the unexplained and a readiness to embrace the unexpected, even within the realm of financial analysis.

In summary, while the connection between funeral attendance in Georgia and Halliburton's stock price may seem like a ghastly pairing on the surface, we find ourselves in a position to unravel this unconventional correlation with a mix of scholarly rigor and a dash of humor. Our exploration aims to shed light on the curiosities that lie buried within the numbers and to carve out a tombstone for the unexpected in the annals of financial research.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). 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 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]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

[[INTRODUCTION]]
In the world of financial research, uncovering unexpected and curious correlations can lead to unique insights and even the occasional eyebrow raise. Our study delves into the enigmatic world of finance, where the macabre and the mundane collide in an unusual dance of data. Specifically, we endeavor to explore the connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL).
While on the surface, funeral attendance and stock prices may appear about as related as a giraffe and a beach ball, our preliminary analysis hints at a surprisingly close relationship. Embracing gallows humor and a spirit of inquiry, we set out to shed light on this curious link and, perhaps, unearth some buried truths.
As authors, we admit to initially approaching this topic with a mix of skepticism and morbid curiosity, pondering the likelihood of a connection that could potentially rock the financial world to its core. Nonetheless, armed with data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), we embarked on our investigation spanning nearly two decades, eager to dig into the numbers and exhume any significant findings.
In this paper, we will present the methods employed in our analysis, explore the results that have emerged from the crypt, and offer a tenuous yet tantalizing theory on how funeral attendance in the Peach State may have an unexpected influence on the performance of Halliburton's stock. While we approach our subject with the elegance and gravitas of a solemn funeral dirge, we also invite readers to join us in recognizing the quirkiness and levity that can be found in the most unexpected places within the world of financial research. After all, there's nothing wrong with a little deathly whimsy when sifting through stock market data, is there?

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the mysterious link between funeral attendance in Georgia and Halliburton Company's stock price, our research team employed a series of methodological acrobatics that could only be described as a financial waltz with a ghostly partner. Our first step involved summoning data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), where we gathered information from the depths of the internet, much like intrepid explorers on a quest for buried treasure.

The gathered data spanned the years 2003 to 2022, allowing us to cast a wide net over a significant period, reminiscent of a deep-sea fishing expedition, but with spreadsheets instead of fishing rods. This extended timeframe enabled us to capture any eerie correlations that may have been lurking in the financial undercurrents, much like spectral whispers from beyond the grave.

In our analysis, we harnessed the power of statistical tools and quantitative techniques, weaving together mathematical models and advanced algorithms like a magical spell to unmask the ethereal connection between funeral attendance and stock prices. Our mathematical incantations sought to reveal any otherworldly patterns hidden within the data, akin to deciphering cryptic messages from the financial afterlife.

To illuminate the potential influence of funeral attendance on Halliburton's stock price, we engaged in a spectral regression analysis that peered through the misty veil of financial data. This regression analysis served as our trusty ghost whisperer, whispering back to us the secrets of the correlation between funeral attendance and stock price movements.

Additionally, to guard against spurious correlations that may have been mere apparitions in the data, we employed rigorous statistical tests, casting a discerning eye over the spectral landscape of p-values and correlation coefficients. Through this disciplined approach, we sought to separate the genuine spirits of statistical significance from the fleeting specters of random chance.

Our methodology, while steeped in the seriousness of statistical rigor and financial analysis, also embraced a certain whimsical flair, recognizing that the ghostly dance between funeral attendance and stock prices may have a few unexpected twists and turns. After all, who knew that delving into the world of finance could also feel like stepping into a real-life ghost story?


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). 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 Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) .

For the time period 2003 to 2022, you found a correlation 0.8254739, r-squared of 0.6814071, 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]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
In the world of financial research, uncovering unexpected and curious correlations can lead to unique insights and even the occasional eyebrow raise. Our study delves into the enigmatic world of finance, where the macabre and the mundane collide in an unusual dance of data. Specifically, we endeavor to explore the connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL).
While on the surface, funeral attendance and stock prices may appear about as related as a giraffe and a beach ball, our preliminary analysis hints at a surprisingly close relationship. Embracing gallows humor and a spirit of inquiry, we set out to shed light on this curious link and, perhaps, unearth some buried truths.
As authors, we admit to initially approaching this topic with a mix of skepticism and morbid curiosity, pondering the likelihood of a connection that could potentially rock the financial world to its core. Nonetheless, armed with data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), we embarked on our investigation spanning nearly two decades, eager to dig into the numbers and exhume any significant findings.
In this paper, we will present the methods employed in our analysis, explore the results that have emerged from the crypt, and offer a tenuous yet tantalizing theory on how funeral attendance in the Peach State may have an unexpected influence on the performance of Halliburton's stock. While we approach our subject with the elegance and gravitas of a solemn funeral dirge, we also invite readers to join us in recognizing the quirkiness and levity that can be found in the most unexpected places within the world of financial research. After all, there's nothing wrong with a little deathly whimsy when sifting through stock market data, is there?

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the relationship between funeral attendance in Georgia and the stock price of Halliburton Company (HAL) yielded intriguing results. Over the period from 2003 to 2022, we found a remarkably strong correlation coefficient of 0.8254739, indicating a robust positive relationship between the two variables. The coefficient of determination (r-squared) of 0.6814071 suggested that approximately 68.14% of the variability in HAL stock price can be explained by the number of funeral attendants in Georgia.

Fig. 1 depicts a scatterplot illustrating the striking correlation between funeral attendance and HAL stock price. The upward trend in the scatterplot is as clear as a ghost in a haunted house, providing a visual representation of the uncanny relationship uncovered in our analysis. It's as if the stock price and funeral attendance are dancing the macabre waltz of financial influence across the years, with each dip and rise in HAL's stock price seemingly mirrored by the somber ebb and flow of funeral attendance in the Peach State.

While some may find the correlation between funeral attendance and stock performance to be a bit of a grave matter, our findings suggest a lively intertwining of these seemingly divergent factors. The statistically significant p-value of less than 0.01 reinforced the strength and credibility of this unearthed relationship, affirming that this correlation is more than just a coincidence – it's a bona fide, statistically supported phenomenon.

It's worth noting that the significance of this correlation may prompt some to ponder the deeper meaning of these unexpected connections. However, we must exercise caution in attributing causation to correlation in this case. While the data point to a highly correlated relationship, we cannot conclude that funeral attendance directly impacts HAL's stock performance. As much as we're tempted to crack jokes about the stock market being a "grave" matter or the deceased having a "ghostly" influence on financial outcomes, we must acknowledge that correlation does not imply causation. Nonetheless, these findings invite further exploration and contemplation on the whimsical interplay between seemingly disparate elements in the financial realm.

In summary, the results of our analysis unveil a curiously compelling association between funeral attendance in Georgia and the stock price of Halliburton Company. This peculiar yet fascinating correlation provides a captivating glimpse into the multifaceted influences that may shape stock market performance. As we transition to the broader implications and potential mechanisms underlying this connection, we hope to inspire a lively (pun intended) exchange of ideas and a deeper appreciation for the unexpected marvels that emerge when delving into the crypts of financial data.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). 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]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

[[LITERATURE REVIEW]]
In "Smith et al.," the authors find a significant positive correlation between funeral attendance and stock market performance, hinting at the possibility of unexpected influence lurking within the solemn halls of financial analysis. Building upon this, "Doe, Jones, and Co." delve into the intriguing realm of unorthodox correlations, deliriously dancing betwixt the somber nature of funerals and the ebbs and flows of stock prices.
Expanding beyond the traditional finance literature, "The Funeral Parlor's Guide to Market Analysis" by Mortimer Grave discusses the potential impact of funerary proceedings on stock prices, offering a cryptic yet whimsically insightful take on the matter. In a similar vein, "Dust to Dust: A Financial Analysis of Mourning" by Anne Undertaker delves into the shadowy undercurrents of burial practices and their potential resonance within the labyrinthine corridors of stock market dynamics.
Transitioning into more fictitious realms, "The Haunting of Wall Street" by Eerie McCreepy and "Ghostly Gains: Paranormal Portfolios" by Spooky McBoo may not be grounded in empirical research, but their eerie titles certainly evoke the spirit of our investigation – pun completely intended.
Not to be outdone, childhood influences also play a role in shaping our perspective. From the spooky mysteries of "Scooby-Doo: Where Are You!" to the existential musings of "Courage the Cowardly Dog," our early encounters with the macabre have instilled in us a fascination with the unexplained and a readiness to embrace the unexpected, even within the realm of financial analysis.
In summary, while the connection between funeral attendance in Georgia and Halliburton's stock price may seem like a ghastly pairing on the surface, we find ourselves in a position to unravel this unconventional correlation with a mix of scholarly rigor and a dash of humor. Our exploration aims to shed light on the curiosities that lie buried within the numbers and to carve out a tombstone for the unexpected in the annals of financial research.

[[RESULTS]]
The analysis of the relationship between funeral attendance in Georgia and the stock price of Halliburton Company (HAL) yielded intriguing results. Over the period from 2003 to 2022, we found a remarkably strong correlation coefficient of 0.8254739, indicating a robust positive relationship between the two variables. The coefficient of determination (r-squared) of 0.6814071 suggested that approximately 68.14% of the variability in HAL stock price can be explained by the number of funeral attendants in Georgia.
Fig. 1 depicts a scatterplot illustrating the striking correlation between funeral attendance and HAL stock price. The upward trend in the scatterplot is as clear as a ghost in a haunted house, providing a visual representation of the uncanny relationship uncovered in our analysis. It's as if the stock price and funeral attendance are dancing the macabre waltz of financial influence across the years, with each dip and rise in HAL's stock price seemingly mirrored by the somber ebb and flow of funeral attendance in the Peach State.
While some may find the correlation between funeral attendance and stock performance to be a bit of a grave matter, our findings suggest a lively intertwining of these seemingly divergent factors. The statistically significant p-value of less than 0.01 reinforced the strength and credibility of this unearthed relationship, affirming that this correlation is more than just a coincidence – it's a bona fide, statistically supported phenomenon.
It's worth noting that the significance of this correlation may prompt some to ponder the deeper meaning of these unexpected connections. However, we must exercise caution in attributing causation to correlation in this case. While the data point to a highly correlated relationship, we cannot conclude that funeral attendance directly impacts HAL's stock performance. As much as we're tempted to crack jokes about the stock market being a "grave" matter or the deceased having a "ghostly" influence on financial outcomes, we must acknowledge that correlation does not imply causation. Nonetheless, these findings invite further exploration and contemplation on the whimsical interplay between seemingly disparate elements in the financial realm.
In summary, the results of our analysis unveil a curiously compelling association between funeral attendance in Georgia and the stock price of Halliburton Company. This peculiar yet fascinating correlation provides a captivating glimpse into the multifaceted influences that may shape stock market performance. As we transition to the broader implications and potential mechanisms underlying this connection, we hope to inspire a lively (pun intended) exchange of ideas and a deeper appreciation for the unexpected marvels that emerge when delving into the crypts of financial data.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our investigation into the relationship between funeral attendance in Georgia and the stock price of Halliburton Company (HAL) affirm and even amplify the peculiar yet compelling insights put forth in the literature review. The robust correlation coefficient of 0.8254739 serves as a reverberating echo of the unorthodox connections unearthed by previous scholars, much like an eerie howl on a moonlit night. This statistical confirmation not only validates the earlier theoretical conjectures but also adds an exclamation point to the enigmatic dance between the solemn proceedings of funerals and the spirited fluctuations of stock prices.

Our results lend empirical credence to the unanticipated influence lurking within the shadowy recesses of financial analysis, reinforcing the cryptic, yet whimsically insightful, perspectives espoused by Mortimer Grave and Anne Undertaker. Indeed, the portrayal of funeral attendance and stock price as spectral dance partners prancing across the scatterplot finds resonance with the fanciful musings of Eerie McCreepy and Spooky McBoo. It seems that, much like the beloved childhood mysteries of "Scooby-Doo: Where Are You!" and the philosophical insights of "Courage the Cowardly Dog," the unexplained and unexpected have found a haunting haven within our financial analysis.

The striking statistical significance established in our findings not only cements the standing of our investigation within the annals of financial research but also beckons us to peer deeper into the phantom mists of causation. While we are tempted to jest about the "grave" matter of stock performance and the "ghostly" influences at play, it remains imperative to uphold the tenets of scientific rigor and not hastily attribute causation to correlation. Despite the allure of crafting clever puns, we must recognize that correlation does not imply causation, even in the spookiest of financial tales.

In unraveling this curious correlation, our study paves the way for a spirited exchange of ideas and a deeper appreciation for the whimsical interplay between seemingly disparate elements in the financial realm. This curiosity-arousing insight, much like a ghostly apparition in the night, encourages us to continue to explore the unexpected marvels that emerge when delving into the crypts of financial data. As we tiptoe through these intriguing findings, we invite our colleagues to join us in shedding light on the curiosities buried within the numbers and celebrating the ever-unfolding mysteries of the financial world.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 funeral attendants in Georgia and Halliburton Company's stock price (HAL). 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]]
"Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price"

[[ABSTRACT]]
This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

[[INTRDUCTION]]
In the world of financial research, uncovering unexpected and curious correlations can lead to unique insights and even the occasional eyebrow raise. Our study delves into the enigmatic world of finance, where the macabre and the mundane collide in an unusual dance of data. Specifically, we endeavor to explore the connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL).
While on the surface, funeral attendance and stock prices may appear about as related as a giraffe and a beach ball, our preliminary analysis hints at a surprisingly close relationship. Embracing gallows humor and a spirit of inquiry, we set out to shed light on this curious link and, perhaps, unearth some buried truths.
As authors, we admit to initially approaching this topic with a mix of skepticism and morbid curiosity, pondering the likelihood of a connection that could potentially rock the financial world to its core. Nonetheless, armed with data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), we embarked on our investigation spanning nearly two decades, eager to dig into the numbers and exhume any significant findings.
In this paper, we will present the methods employed in our analysis, explore the results that have emerged from the crypt, and offer a tenuous yet tantalizing theory on how funeral attendance in the Peach State may have an unexpected influence on the performance of Halliburton's stock. While we approach our subject with the elegance and gravitas of a solemn funeral dirge, we also invite readers to join us in recognizing the quirkiness and levity that can be found in the most unexpected places within the world of financial research. After all, there's nothing wrong with a little deathly whimsy when sifting through stock market data, is there?

[[RESULTS]]
The analysis of the relationship between funeral attendance in Georgia and the stock price of Halliburton Company (HAL) yielded intriguing results. Over the period from 2003 to 2022, we found a remarkably strong correlation coefficient of 0.8254739, indicating a robust positive relationship between the two variables. The coefficient of determination (r-squared) of 0.6814071 suggested that approximately 68.14% of the variability in HAL stock price can be explained by the number of funeral attendants in Georgia.
Fig. 1 depicts a scatterplot illustrating the striking correlation between funeral attendance and HAL stock price. The upward trend in the scatterplot is as clear as a ghost in a haunted house, providing a visual representation of the uncanny relationship uncovered in our analysis. It's as if the stock price and funeral attendance are dancing the macabre waltz of financial influence across the years, with each dip and rise in HAL's stock price seemingly mirrored by the somber ebb and flow of funeral attendance in the Peach State.
While some may find the correlation between funeral attendance and stock performance to be a bit of a grave matter, our findings suggest a lively intertwining of these seemingly divergent factors. The statistically significant p-value of less than 0.01 reinforced the strength and credibility of this unearthed relationship, affirming that this correlation is more than just a coincidence – it's a bona fide, statistically supported phenomenon.
It's worth noting that the significance of this correlation may prompt some to ponder the deeper meaning of these unexpected connections. However, we must exercise caution in attributing causation to correlation in this case. While the data point to a highly correlated relationship, we cannot conclude that funeral attendance directly impacts HAL's stock performance. As much as we're tempted to crack jokes about the stock market being a "grave" matter or the deceased having a "ghostly" influence on financial outcomes, we must acknowledge that correlation does not imply causation. Nonetheless, these findings invite further exploration and contemplation on the whimsical interplay between seemingly disparate elements in the financial realm.
In summary, the results of our analysis unveil a curiously compelling association between funeral attendance in Georgia and the stock price of Halliburton Company. This peculiar yet fascinating correlation provides a captivating glimpse into the multifaceted influences that may shape stock market performance. As we transition to the broader implications and potential mechanisms underlying this connection, we hope to inspire a lively (pun intended) exchange of ideas and a deeper appreciation for the unexpected marvels that emerge when delving into the crypts of financial data.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research unearths a rather grave correlation between funeral attendance in Georgia and the stock price of Halliburton Company (HAL). The substantial correlation coefficient and statistically significant p-value point to a connection that seems more lively than funereal. It's as if the stock market and funeral attendance are engaged in a spirited tango, with each tick in HAL's stock price matched by a solemn nod from the funeral attendees in Georgia. This curious relationship piques the curiosity and begs the question, "What in the crypt is going on here?"
While the temptation to weave ghostly tales of causation is strong, we must tread carefully in attributing direct causative influence. The financial markets are a labyrinth of complexities, and our findings merely scratch the surface of the cryptic forces at play. Perhaps this correlation is merely a case of statistical séance, conjuring curious patterns out of the ether, or perhaps there exists a deeper, more fundamental link between market sentiment and the comings and goings of the dearly departed in Georgia.
As much as we'd like to crack open the coffin of definitive explanation, we must acknowledge that further research and analysis are needed to fully understand the nuances of this unearthed relationship. Nonetheless, our endeavor into this spectral world of finance has paved the way for a spirited discussion and a mirthful dance through the crypts of financial exploration.
In the end, our findings suggest a correlation that is more than just a mortal coincidence, and yet, we assert that no more research is needed in this area. After all, when it comes to perusing financial data for the afterlife of correlations, sometimes it's best to let the dead rest in stocks.


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 Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Southern Funeral Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

Society for Eccentric Social Science Research


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 Rest in Stocks: An Examination of the Relationship Between Funeral Attendance in Georgia and Halliburton Company's Stock Price with an abstract of This paper investigates the peculiar yet morbidly intriguing connection between the number of funeral attendants in Georgia and the stock price of Halliburton Company (HAL). We employed data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to conduct our analysis, spanning from the years 2003 to 2022. Our findings revealed a substantial correlation coefficient of 0.8254739 and a p-value less than 0.01, indicating a statistically significant relationship. While this correlation may seem cryptic and funeral, our results indicate a rather spirited connection that cannot be simply buried. Our research offers a lighthearted yet thought-provoking foundation for further exploration into the immeasurable influence of seemingly unrelated factors on stock performance.

ChatGPT:

funeral attendance, Georgia, Halliburton Company, stock price correlation, Bureau of Labor Statistics, LSEG Analytics, Refinitiv, correlation coefficient, p-value, stock performance, influence, unrelated factors

*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 funeral attendants in Georgia
Detailed data title: BLS estimate of funeral attendants in Georgia
Source: Bureau of Larbor Statistics
See what else correlates with The number of funeral attendants in Georgia

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

See what else correlates with Halliburton Company's stock price (HAL)

Correlation r = 0.8254739 (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.6814071 (Coefficient of determination)
This means 68.1% of the change in the one variable (i.e., Halliburton Company's stock price (HAL)) is predictable based on the change in the other (i.e., The number of funeral attendants in Georgia) over the 20 years from 2003 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 7.4E-6. 0.0000074306645677207070000000
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.83 in 0.00074% of random cases. Said differently, if you correlated 134,577 random variables You don't actually need 134 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.6, 0.93 ] 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 funeral attendants in Georgia (Funeral Attendants)10801140116013601360133012301190132015001530149013101450164016901380108012501230
Halliburton Company's stock price (HAL) (Stock price)9.5313.0119.3831.5930.938.0518.1830.7241.3533.8835.4850.4739.1733.8654.9648.9226.1124.6919.2223.14




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([1080,1140,1160,1360,1360,1330,1230,1190,1320,1500,1530,1490,1310,1450,1640,1690,1380,1080,1250,1230,])
array_2 = np.array([9.53,13.01,19.38,31.59,30.9,38.05,18.18,30.72,41.35,33.88,35.48,50.47,39.17,33.86,54.96,48.92,26.11,24.69,19.22,23.14,])
array_1_name = "The number of funeral attendants in Georgia"
array_2_name = "Halliburton Company's stock price (HAL)"

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

Bravo! Your evaluation rocks!


Correlation ID: 2008 · Black Variable ID: 6835 · Red Variable ID: 1793
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0