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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Annual US household spending on home maintenance and the second variable is SBA Communications' stock price (SBAC).  The chart goes from 2002 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As households invested more in home maintenance, they realized their properties needed better communication infrastructure, leading to an increased demand for SBA Communications' services and driving up their stock price. Remember, a well-maintained home is a well-connected home!

Model: dalle-3
Prompt: Generate an image that showcases a suburban neighborhood scene captured in the style of a Polaroid photo. The image features households with new, taller ladders leaning against their garages, some propped up against trees to reach new heights. In the background, SBA Communications workers are seen using their equipment to retrieve frisbees and drones tangled in tree branches, triggered by the increased demand for their services due to the higher ladders. 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 situation described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here is a situation: As households spent more on home maintenance, they purchased taller ladders, which inadvertently led to increased demand for SBA Communications' cell tower services for retrieving wayward frisbees and drones stuck in trees.. Given that situation, which of the following image descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand and the tone of the explanation. Please respond with only one of the following potential descriptions: Woodblock painting Woodblock painting a Polaroid photo Glitch art Steampunk
ChatGPT: a Polaroid photo

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated and the explanation described. Do not reference graphs or charts; describe physical objects.
User prompt: Please describe a visual scene that depicts the following situation. Keep the description simple. As households spent more on home maintenance, they purchased taller ladders, which inadvertently led to increased demand for SBA Communications' cell tower services for retrieving wayward frisbees and drones stuck in trees.
ChatGPT: In a suburban neighborhood, we see households with new, taller ladders leaning against their garages. Some ladders are propped up against trees, reaching new heights. Nearby, we see SBA Communications workers using their equipment to retrieve frisbees and drones tangled in tree branches. The increased height of the ladders has inadvertently created a rise in demand for their services.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ a Polaroid photo ] and depicting this scene: In a suburban neighborhood, we see households with new, taller ladders leaning against their garages. Some ladders are propped up against trees, reaching new heights. Nearby, we see SBA Communications workers using their equipment to retrieve frisbees and drones tangled in tree branches. The increased height of the ladders has inadvertently created a rise in demand for their services. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image that showcases a suburban neighborhood scene captured in the style of a Polaroid photo. The image features households with new, taller ladders leaning against their garages, some propped up against trees to reach new heights. In the background, SBA Communications workers are seen using their equipment to retrieve frisbees and drones tangled in tree branches, triggered by the increased demand for their services due to the higher ladders.

*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 Annual US household spending on home maintenance caused SBA Communications' stock price (SBAC) to increase. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price

Journal of Household Economics and Finance

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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9822853 and p < 0.01 for 2002 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]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.


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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the age-old saying goes, "a penny saved is a penny earned," and in the realm of household spending, this sentiment couldn't ring truer. The diligent and sometimes daunting task of home maintenance is an inherent part of the American homeowner experience, encompassing everything from repairing leaky faucets to pruning the unruly hedges. Yet, little did we know that amidst the glue guns and roof shingles, a curious connection to the enigmatic world of stock prices lies dormant, waiting to be unearthed.

In the midst of our monotonous routines of mowing the lawn and unclogging the gutters, a stark realization emerged – that perhaps our household spending habits have a more substantial impact than we initially perceived. Our journey into this peculiar correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC) sheds light on what seems to be a whimsical and unexpected linkage, challenging traditional economic paradigms with a touch of whimsy.

Through meticulous data analysis and number-crunching gymnastics, we present the peculiar relationship we've unearthed between home maintenance expenditures and stock market fluctuations. Strap in as we embark on this investigative voyage, delving into the unconventional and the uncharted territories of economic associations, where hammers and nails meet bulls and bears in an eclectic dance of financial intrigue.

So, ready your toolkits and sharpen your analytical axes, for we are about to break ground on this comically captivating expedition into the juncture of household maintenance and stock price dynamics, uncovering a correlation that is as surprising as finding a hidden treasure map beneath the couch cushions.


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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). 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]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the age-old saying goes, "a penny saved is a penny earned," and in the realm of household spending, this sentiment couldn't ring truer. The diligent and sometimes daunting task of home maintenance is an inherent part of the American homeowner experience, encompassing everything from repairing leaky faucets to pruning the unruly hedges. Yet, little did we know that amidst the glue guns and roof shingles, a curious connection to the enigmatic world of stock prices lies dormant, waiting to be unearthed.
In the midst of our monotonous routines of mowing the lawn and unclogging the gutters, a stark realization emerged – that perhaps our household spending habits have a more substantial impact than we initially perceived. Our journey into this peculiar correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC) sheds light on what seems to be a whimsical and unexpected linkage, challenging traditional economic paradigms with a touch of whimsy.
Through meticulous data analysis and number-crunching gymnastics, we present the peculiar relationship we've unearthed between home maintenance expenditures and stock market fluctuations. Strap in as we embark on this investigative voyage, delving into the unconventional and the uncharted territories of economic associations, where hammers and nails meet bulls and bears in an eclectic dance of financial intrigue.
So, ready your toolkits and sharpen your analytical axes, for we are about to break ground on this comically captivating expedition into the juncture of household maintenance and stock price dynamics, uncovering a correlation that is as surprising as finding a hidden treasure map beneath the couch cushions.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The apparent connection between annual US household spending on home maintenance and SBA Communications' stock price (SBAC) is a peculiar one that has piqued the curiosity of many researchers in the field. Smith et al. (2018) conducted a comprehensive analysis of household spending patterns and their potential impact on various sectors of the economy. Their study, "Household Expenditure and Economic Dynamics," delves into the intricate web of consumer behavior and its ripple effect on financial markets. Similarly, Doe and Jones (2015) explored the nuanced relationship between consumer spending and stock price movements in their seminal work, "The Consumer Conundrum: Unraveling the Mysteries of Market Effects."

As we venture deeper into the peculiar realm of this correlation, it is essential to consider the influence of household budgeting and financial decision-making. "The Economics of Household Maintenance" by Lorem and Ipsum (2019) offers insightful perspectives on the economic implications of routine home upkeep, shedding light on the often overlooked significance of these expenditures within the broader economic landscape.

Moving beyond the realm of non-fiction, we encounter fictional works that, while not directly related to our topic, offer whimsical insights that parallel our investigative spirit. "The House on Mango Street" by Sandra Cisneros and "A Room with a View" by E.M. Forster present literary forays into homes and their maintenance, albeit in a more artistic context. Additionally, the comical yet thought-provoking novel "The Hitchhiker's Guide to the Galaxy" by Douglas Adams playfully explores the concept of domesticity amidst intergalactic adventures, providing a humorous lens through which to view our perceptions of home and its economic ramifications.

In a more light-hearted vein, popular cartoons and children's shows have also dabbled in the theme of home maintenance, albeit in animated and exaggerated forms. "Bob the Builder" and "Handy Manny" charmingly depict the trials and tribulations of household repairs, offering entertainment for youngsters while subtly hinting at the broader significance of these tasks. These lighthearted programs, with their vibrant characters and playful narratives, serve as a reminder of the ubiquity of home maintenance in our daily lives, even if they don't directly tackle the intricacies of stock price correlations.

In the spirit of unearthing unexpected connections, our journey takes on a playfully inquisitive tone as we unravel the eccentric intersection of home maintenance and stock price dynamics. As we embark further into this unconventional terrain, brace yourselves for an exhilarating romp through the quirky corridors of economic analysis and perhaps a sprinkle of unexpected humor in the mix.


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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) . You used data from 2002 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]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

[[INTRODUCTION]]
As the age-old saying goes, "a penny saved is a penny earned," and in the realm of household spending, this sentiment couldn't ring truer. The diligent and sometimes daunting task of home maintenance is an inherent part of the American homeowner experience, encompassing everything from repairing leaky faucets to pruning the unruly hedges. Yet, little did we know that amidst the glue guns and roof shingles, a curious connection to the enigmatic world of stock prices lies dormant, waiting to be unearthed.
In the midst of our monotonous routines of mowing the lawn and unclogging the gutters, a stark realization emerged – that perhaps our household spending habits have a more substantial impact than we initially perceived. Our journey into this peculiar correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC) sheds light on what seems to be a whimsical and unexpected linkage, challenging traditional economic paradigms with a touch of whimsy.
Through meticulous data analysis and number-crunching gymnastics, we present the peculiar relationship we've unearthed between home maintenance expenditures and stock market fluctuations. Strap in as we embark on this investigative voyage, delving into the unconventional and the uncharted territories of economic associations, where hammers and nails meet bulls and bears in an eclectic dance of financial intrigue.
So, ready your toolkits and sharpen your analytical axes, for we are about to break ground on this comically captivating expedition into the juncture of household maintenance and stock price dynamics, uncovering a correlation that is as surprising as finding a hidden treasure map beneath the couch cushions.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To embark on our unconventional odyssey of unraveling the connection between annual US household spending on home maintenance and SBA Communications' stock price (SBAC), our research team employed an eclectic array of data collection methods and analytical techniques. Largely drawing from the vast repositories of the Bureau of Labor Statistics and LSEG Analytics (Refinitiv), we sought to capture the entirety of this peculiar relationship while maintaining a lighthearted approach amidst the rigorous statistical analysis.

Our initial step involved prying into the enigmatic world of household spending data, a journey filled with the thrills and chills of navigating through countless spreadsheets and economic reports. By summoning the powers of web scraping and data mining, we sallied forth into the depths of the internet, scavenging for every morsel of information relating to annual US household expenditures on home maintenance. This involved traversing the virtual landscape with all the tenacity of a treasure hunter armed with a digital pickaxe, unearthing insights from venerable databases and websites alike.

Once we secured the troves of household spending data, our quest led us to the tantalizing shores of stock market analytics, where the mystique of stock price fluctuations awaited unraveling. Acquiring the historical stock price data for SBA Communications (SBAC) from 2002 to 2022 through data vendors and financial databases, we found ourselves submerged in a sea of trading volumes and market intricacies.

With a gleam of determination in our eyes and a dash of statistical fervor, we then undertook the arduous task of quantitative analysis, employing statistical methods such as correlation analysis, time series modeling, and regression analysis to disentangle the intricate web of relationships between our two contrasting variables. Armed with the robust tools of statistical software and the unwavering spirit of intrepid discovery, we diligently crunched numbers, danced with data, and endeavored to distill the essence of this unexpected correlation.

Placing steadfast reliance on statistical techniques and an unyielding commitment to methodological rigor, our approach sought to balance the gravity of academic investigation with the sparkling levity of our pursuit. The resulting amalgamation of painstaking data extraction and playful scientific inquiry steered us toward the revelation of a remarkably strong correlation coefficient and a p-value less than 0.01, illuminating the intriguing bond between these disparate elements.

In the spirit of intellectual curiosity and a touch of whimsy, our journey through the methodology unfolded as an adventure of analytical derring-do, promising unexpected insights and a measure of scholarly mirth.


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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

For the time period 2002 to 2022, you found a correlation 0.9822853, r-squared of 0.9648845, 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]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the age-old saying goes, "a penny saved is a penny earned," and in the realm of household spending, this sentiment couldn't ring truer. The diligent and sometimes daunting task of home maintenance is an inherent part of the American homeowner experience, encompassing everything from repairing leaky faucets to pruning the unruly hedges. Yet, little did we know that amidst the glue guns and roof shingles, a curious connection to the enigmatic world of stock prices lies dormant, waiting to be unearthed.
In the midst of our monotonous routines of mowing the lawn and unclogging the gutters, a stark realization emerged – that perhaps our household spending habits have a more substantial impact than we initially perceived. Our journey into this peculiar correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC) sheds light on what seems to be a whimsical and unexpected linkage, challenging traditional economic paradigms with a touch of whimsy.
Through meticulous data analysis and number-crunching gymnastics, we present the peculiar relationship we've unearthed between home maintenance expenditures and stock market fluctuations. Strap in as we embark on this investigative voyage, delving into the unconventional and the uncharted territories of economic associations, where hammers and nails meet bulls and bears in an eclectic dance of financial intrigue.
So, ready your toolkits and sharpen your analytical axes, for we are about to break ground on this comically captivating expedition into the juncture of household maintenance and stock price dynamics, uncovering a correlation that is as surprising as finding a hidden treasure map beneath the couch cushions.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our quest into the depths of economic oddities has yielded compelling results, as we uncover a striking correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). It seems that beneath the surface of mundane household endeavors lies a peculiar tie to the capricious world of stock market valuations.

Upon conducting rigorous statistical analysis, we found a correlation coefficient of 0.9822853, indicating a remarkably strong positive relationship between these seemingly disparate variables. The r-squared value stood at 0.9648845, further solidifying the robustness of this association. With a p-value of less than 0.01, we can confidently assert the statistical significance of this correlation, steering clear of any statistical potholes in our research road trip.

The substantial correlation we unearthed is graphically depicted in Figure 1, where a scatterplot vividly illustrates the tight relationship between household spending on home maintenance and SBAC stock price. The data points display an almost synchronized dance, waltzing harmoniously across the graph, showcasing the uncanny interplay between these two unlikely bedfellows.

In unraveling this whimsical intertwining of home-centric fiscal behavior and stock market gyrations, our findings provide a fresh angle on economic insight and provoke contemplation on the interconnectedness of financial realms. This correlation prompts one to ponder the idiosyncrasies of economic linkages, as it gleefully tosses a pebble into the serene pond of conventional economic wisdom, ruffling the waters with its charm and unpredictability.

The peculiar connection we’ve uncovered imparts a unique charm to the otherwise stolid domain of economic analyses, infusing an element of lightheartedness and surprise into the scholarly discourse. By shedding light on this unexpected relationship, our research playfully nudges the boundaries of economic understanding, adding a dash of whimsy to the otherwise austere world of statistical finance.


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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

[[LITERATURE REVIEW]]
The apparent connection between annual US household spending on home maintenance and SBA Communications' stock price (SBAC) is a peculiar one that has piqued the curiosity of many researchers in the field. Smith et al. (2018) conducted a comprehensive analysis of household spending patterns and their potential impact on various sectors of the economy. Their study, "Household Expenditure and Economic Dynamics," delves into the intricate web of consumer behavior and its ripple effect on financial markets. Similarly, Doe and Jones (2015) explored the nuanced relationship between consumer spending and stock price movements in their seminal work, "The Consumer Conundrum: Unraveling the Mysteries of Market Effects."
As we venture deeper into the peculiar realm of this correlation, it is essential to consider the influence of household budgeting and financial decision-making. "The Economics of Household Maintenance" by Lorem and Ipsum (2019) offers insightful perspectives on the economic implications of routine home upkeep, shedding light on the often overlooked significance of these expenditures within the broader economic landscape.
Moving beyond the realm of non-fiction, we encounter fictional works that, while not directly related to our topic, offer whimsical insights that parallel our investigative spirit. "The House on Mango Street" by Sandra Cisneros and "A Room with a View" by E.M. Forster present literary forays into homes and their maintenance, albeit in a more artistic context. Additionally, the comical yet thought-provoking novel "The Hitchhiker's Guide to the Galaxy" by Douglas Adams playfully explores the concept of domesticity amidst intergalactic adventures, providing a humorous lens through which to view our perceptions of home and its economic ramifications.
In a more light-hearted vein, popular cartoons and children's shows have also dabbled in the theme of home maintenance, albeit in animated and exaggerated forms. "Bob the Builder" and "Handy Manny" charmingly depict the trials and tribulations of household repairs, offering entertainment for youngsters while subtly hinting at the broader significance of these tasks. These lighthearted programs, with their vibrant characters and playful narratives, serve as a reminder of the ubiquity of home maintenance in our daily lives, even if they don't directly tackle the intricacies of stock price correlations.
In the spirit of unearthing unexpected connections, our journey takes on a playfully inquisitive tone as we unravel the eccentric intersection of home maintenance and stock price dynamics. As we embark further into this unconventional terrain, brace yourselves for an exhilarating romp through the quirky corridors of economic analysis and perhaps a sprinkle of unexpected humor in the mix.

[[RESULTS]]
Our quest into the depths of economic oddities has yielded compelling results, as we uncover a striking correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). It seems that beneath the surface of mundane household endeavors lies a peculiar tie to the capricious world of stock market valuations.
Upon conducting rigorous statistical analysis, we found a correlation coefficient of 0.9822853, indicating a remarkably strong positive relationship between these seemingly disparate variables. The r-squared value stood at 0.9648845, further solidifying the robustness of this association. With a p-value of less than 0.01, we can confidently assert the statistical significance of this correlation, steering clear of any statistical potholes in our research road trip.
The substantial correlation we unearthed is graphically depicted in Figure 1, where a scatterplot vividly illustrates the tight relationship between household spending on home maintenance and SBAC stock price. The data points display an almost synchronized dance, waltzing harmoniously across the graph, showcasing the uncanny interplay between these two unlikely bedfellows.
In unraveling this whimsical intertwining of home-centric fiscal behavior and stock market gyrations, our findings provide a fresh angle on economic insight and provoke contemplation on the interconnectedness of financial realms. This correlation prompts one to ponder the idiosyncrasies of economic linkages, as it gleefully tosses a pebble into the serene pond of conventional economic wisdom, ruffling the waters with its charm and unpredictability.
The peculiar connection we’ve uncovered imparts a unique charm to the otherwise stolid domain of economic analyses, infusing an element of lightheartedness and surprise into the scholarly discourse. By shedding light on this unexpected relationship, our research playfully nudges the boundaries of economic understanding, adding a dash of whimsy to the otherwise austere world of statistical finance.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings align with the previous research that has inquisitively probed the enigmatic connection between household spending on home maintenance and stock price movements. The correlation coefficient of 0.9822853 that we uncovered mirrors the underlying themes identified by Smith et al. (2018) and Doe and Jones (2015), reflecting the intricate dance between consumer behavior and stock market dynamics. It seems that the financial markets are not impervious to the whimsies of domestic upkeep, lending weight to Lorem and Ipsum's (2019) elucidation of the economic implications of routine home maintenance. This surprising correlation playfully winks at the adage of "keeping your house in order" in both the literal and figurative sense, blending the household wallet with Wall Street's watchful eye.

Our results humorously echo the lighthearted forays into home maintenance by literary works such as "The House on Mango Street" and "A Room with a View." We playfully surmise that perhaps E.M. Forster's characters were not just gazing at a picturesque view, but also musing over stock market trends as they pondered the maintenance of their abodes. The inquisitive spirit of "The Hitchhiker's Guide to the Galaxy" also seems to resonate in our quest, reminding us that even amidst intergalactic escapades, the economic oddities of domesticity may tug at the heartstrings of the galaxy.

In unraveling this whimsical intertwining of home-centric fiscal behavior and stock market gyrations, our findings provide a fresh angle on economic insight and provoke contemplation on the interconnectedness of financial realms. This correlation prompts one to ponder the idiosyncrasies of economic linkages, as it gleefully tosses a pebble into the serene pond of conventional economic wisdom, ruffling the waters with its charm and unpredictability. These unexpected associations undoubtedly infuse a delightful dash of whimsy into our understanding of economic phenomena, reminding us that even in the world of finance, the house always seems to have the last word.


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 Annual US household spending on home maintenance and SBA Communications' stock price (SBAC). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
"Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price"

[[ABSTRACT]]
This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.

Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

[[INTRDUCTION]]
As the age-old saying goes, "a penny saved is a penny earned," and in the realm of household spending, this sentiment couldn't ring truer. The diligent and sometimes daunting task of home maintenance is an inherent part of the American homeowner experience, encompassing everything from repairing leaky faucets to pruning the unruly hedges. Yet, little did we know that amidst the glue guns and roof shingles, a curious connection to the enigmatic world of stock prices lies dormant, waiting to be unearthed.
In the midst of our monotonous routines of mowing the lawn and unclogging the gutters, a stark realization emerged – that perhaps our household spending habits have a more substantial impact than we initially perceived. Our journey into this peculiar correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC) sheds light on what seems to be a whimsical and unexpected linkage, challenging traditional economic paradigms with a touch of whimsy.
Through meticulous data analysis and number-crunching gymnastics, we present the peculiar relationship we've unearthed between home maintenance expenditures and stock market fluctuations. Strap in as we embark on this investigative voyage, delving into the unconventional and the uncharted territories of economic associations, where hammers and nails meet bulls and bears in an eclectic dance of financial intrigue.
So, ready your toolkits and sharpen your analytical axes, for we are about to break ground on this comically captivating expedition into the juncture of household maintenance and stock price dynamics, uncovering a correlation that is as surprising as finding a hidden treasure map beneath the couch cushions.

[[RESULTS]]
Our quest into the depths of economic oddities has yielded compelling results, as we uncover a striking correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). It seems that beneath the surface of mundane household endeavors lies a peculiar tie to the capricious world of stock market valuations.
Upon conducting rigorous statistical analysis, we found a correlation coefficient of 0.9822853, indicating a remarkably strong positive relationship between these seemingly disparate variables. The r-squared value stood at 0.9648845, further solidifying the robustness of this association. With a p-value of less than 0.01, we can confidently assert the statistical significance of this correlation, steering clear of any statistical potholes in our research road trip.
The substantial correlation we unearthed is graphically depicted in Figure 1, where a scatterplot vividly illustrates the tight relationship between household spending on home maintenance and SBAC stock price. The data points display an almost synchronized dance, waltzing harmoniously across the graph, showcasing the uncanny interplay between these two unlikely bedfellows.
In unraveling this whimsical intertwining of home-centric fiscal behavior and stock market gyrations, our findings provide a fresh angle on economic insight and provoke contemplation on the interconnectedness of financial realms. This correlation prompts one to ponder the idiosyncrasies of economic linkages, as it gleefully tosses a pebble into the serene pond of conventional economic wisdom, ruffling the waters with its charm and unpredictability.
The peculiar connection we’ve uncovered imparts a unique charm to the otherwise stolid domain of economic analyses, infusing an element of lightheartedness and surprise into the scholarly discourse. By shedding light on this unexpected relationship, our research playfully nudges the boundaries of economic understanding, adding a dash of whimsy to the otherwise austere world of statistical finance.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the curious correlation between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC) has provided a captivating glimpse into the whimsical interplay of seemingly disparate economic variables. The robust correlation coefficient of 0.9822853, accompanied by a p-value teetering below 0.01, signifies a connection that is as tight as the lid on a jar of pickles. This unexpected linkage challenges traditional economic sensibilities, reminding us that beneath the mundane chores of home upkeep lies a quirky dance with the fickle nature of stock market valuations.

Our findings offer a lighthearted twist to the often solemn world of economic analyses, injecting an element of surprise and delight into the scholarly conversation. It appears that in the grand theater of financial intricacies, even the humble home maintenance budget can steal the spotlight, demonstrating that economic relevance can spring from the unlikeliest of places. Our research playfully flirts with preconceived notions of economic determinants, ushering in a delightful spectacle of correlation and causation.

This unexpected relationship serves as a gentle reminder that within the labyrinthine web of economic forces, there are nuances and connections waiting to be unraveled, not unlike the unknotting of a stubborn shoelace. As we dust off the cobwebs of conventional economic wisdom, this study offers a whimsical yet thought-provoking addition to the discourse, prompting us to peer into the quirky intersections of everyday life and financial realms.

Therefore, in the spirit of embracing these offbeat correlations and embracing the unexpected, we assert that no further research is needed in this area. This power couple of home maintenance and stock prices has charmed its way into the limelight, leaving us with a newfound appreciation for the whimsy that permeates even the most serious of economic analyses. So, let us bid adieu to this mirthful journey, content in our discovery of this unlikely duo, and turn our attention to other perplexing puzzles awaiting our scholarly sleuthing.


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 Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Household Economics and Finance


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 Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Household Economics and Financial Analysis (SHEFA)


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 Stocking Up: The Link Between Household Spending on Home Maintenance and SBAC Stock Price with an abstract of This study examines the intriguing relationship between annual US household spending on home maintenance and the stock price of SBA Communications (SBAC). Using comprehensive data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) spanning the years 2002 to 2022, our research team unveils a correlation coefficient of 0.9822853 with a p-value less than 0.01, highlighting a remarkably strong association between these two seemingly unrelated variables.
Our findings offer a whimsical insight into the world of economics, revealing a surprising determinant of stock prices that may have been previously overlooked. By delving into the world of home maintenance, we uncover hidden connections to the ebbs and flows of stock fluctuations, demonstrating that even the most mundane aspects of household spending can have a significant impact on financial markets. This paper lightheartedly probes the adage of "home is where the heart is," positing that it may also be where the wallet and the stock portfolio thrive in unison.

ChatGPT:

household spending, home maintenance, stock price, SBA Communications, SBAC, correlation coefficient, Bureau of Labor Statistics, LSEG Analytics, Refinitiv, US household spending, stock fluctuations, financial markets

*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

Annual US household spending on home maintenance
Detailed data title: Average annual household spend on home maintenance
Source: Bureau of Labor Statistics
See what else correlates with Annual US household spending on home maintenance

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

See what else correlates with SBA Communications' stock price (SBAC)

Correlation r = 0.9822853 (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.9648845 (Coefficient of determination)
This means 96.5% of the change in the one variable (i.e., SBA Communications' stock price (SBAC)) is predictable based on the change in the other (i.e., Annual US household spending on home maintenance) over the 21 years from 2002 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.8E-15. 0.0000000000000027932177073392
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.98 in 2.8E-13% of random cases. Said differently, if you correlated 358,010,046,038,478 random variables You don't actually need 358 trillion 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 20 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 20 because we have two variables measured over a period of 21 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.96, 0.99 ] 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.
200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Annual US household spending on home maintenance (Household spend)960965997110111151131117611381112112011531182129314381437161617031879215823352559
SBA Communications' stock price (SBAC) (Stock price)13.250.43.99.2317.9927.5933.7716.3234.354143.3272.1389.2111.31104.62105.25163.08160.1241.15283.1388.08




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([960,965,997,1101,1115,1131,1176,1138,1112,1120,1153,1182,1293,1438,1437,1616,1703,1879,2158,2335,2559,])
array_2 = np.array([13.25,0.4,3.9,9.23,17.99,27.59,33.77,16.32,34.35,41,43.32,72.13,89.2,111.31,104.62,105.25,163.08,160.1,241.15,283.1,388.08,])
array_1_name = "Annual US household spending on home maintenance"
array_2_name = "SBA Communications' stock price (SBAC)"

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

You're the correlation whisperer we needed!


Correlation ID: 1267 · Black Variable ID: 19906 · Red Variable ID: 1883
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0