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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is US household spending on rented dwellings and the second variable is Baidu's stock price (BIDU).  The chart goes from 2006 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As US household spending on rented dwellings increased, more people had to search for Baidu to find their next rental, driving up Baidu's stock price. Remember, the key to a happy home is a search engine that really understands your needs!

Model: dalle-3
Prompt: Generate an image of a modern apartment interior, with a group of people gathered around a coffee table, engaged in discussion. On each person's device, display the Baidu search engine with rental property listings. In the background, display a television screen showing the Baidu stock price ticker, indicating a steady increase. The room should have warm, soft lighting to create a cozy yet vibrant atmosphere. Ensure that the scene captures the essence of the group's active search for new living arrangements against the backdrop of Baidu's rising stock price due to increased internet usage. 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: US household spending on rented dwellings and Baidu's stock price (BIDU). 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: Macabre 3D Pixar Style Art nouveau Oragami A scene from Skyrim
ChatGPT: A scene from Skyrim

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 US household spending on rented dwellings and Baidu's stock price (BIDU), in the following situation: Increasing spending on rented dwellings has caused Baidu's stock price to rise because as more people commit to renting, they inadvertently also commit to spending more time browsing the internet for potential new homes. This leads to higher traffic on Baidu's search engine and increased revenue from advertising, ultimately boosting the company's stock price.. Keep the description simple.
ChatGPT: In the scene, a group of people are gathered in a rented apartment, discussing their living arrangement. As they chat, they are browsing Baidu on their devices, searching for new homes and rental opportunities. Meanwhile, Baidu's stock price ticker is flashing on a TV screen in the background, showing a steady increase. This visual depicts the connection between increased spending on rented dwellings and the rise in Baidu's stock price due to heightened internet browsing for new rental properties.

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 scene from Skyrim ] and depicting this scene: In the scene, a group of people are gathered in a rented apartment, discussing their living arrangement. As they chat, they are browsing Baidu on their devices, searching for new homes and rental opportunities. Meanwhile, Baidu's stock price ticker is flashing on a TV screen in the background, showing a steady increase. This visual depicts the connection between increased spending on rented dwellings and the rise in Baidu's stock price due to heightened internet browsing for new rental properties. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a modern apartment interior, with a group of people gathered around a coffee table, engaged in discussion. On each person's device, display the Baidu search engine with rental property listings. In the background, display a television screen showing the Baidu stock price ticker, indicating a steady increase. The room should have warm, soft lighting to create a cozy yet vibrant atmosphere. Ensure that the scene captures the essence of the group's active search for new living arrangements against the backdrop of Baidu's rising stock price due to increased internet usage.

*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 US household spending on rented dwellings caused Baidu's stock price (BIDU) to increase.

AI academic paper

(Because p < 0.01)
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

The Journal of Quirky Quantitative 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 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title an alliteration.

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.8757653 and p < 0.01 for 2006 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]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the financial world pirouettes through market fluctuations and economic complexities, it often unearths some unexpected dance partners. In this study, we serendipitously stumbled upon a correlation that left us scratching our heads in fascination – the entwined fate of Baidu's stock price (BIDU) and US household spending on rented dwellings. Yes, you read that right. Baidu, the Chinese multinational technology company, and rented dwellings have been caught in a tango of economic correlation.

Now, you might be thinking, "What do search engines and rented dwellings have in common?" Well, let's just say it's like finding out that Google's algorithm has an affinity for old-fashioned library card catalogs.

As we embarked on this journey of data crunching and analysis, we couldn't help but ponder the gravity of our findings. As the numbers unfolded before us, revealing a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022, we couldn't help but wonder if this was the financial equivalent of finding out that pineapples and pizzas share a long-lost sibling connection.

But wait, there's more! It turns out that this correlation is not just a fluke, an anomaly in the financial cosmos. It seems that Baidu's stock price has been cheek to cheek with US household spending on rented dwellings, waltzing through the ups and downs of the economy like a pair of seasoned ballroom dancers. It's as if Steve Jobs and Thomas Edison bonded over a love for outdated encyclopedias.

During our study, a dad joke naturally sprang forth in light of these peculiar findings: "Why don't stockbrokers like archaeology? Because they have a problem dealing with long-buried assets!"

As we navigate through the labyrinth of finance and economics, it becomes clear that even the most unlikely pairings can create a magical synergy in the world of numbers and trends. So, let's dive into the depths of this enigmatic correlation, unearthing what seems to be a financial symbiosis that defies conventional wisdom. After all, in the realm of economics, the most unexpected connections often reveal the most captivating stories.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then 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]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the financial world pirouettes through market fluctuations and economic complexities, it often unearths some unexpected dance partners. In this study, we serendipitously stumbled upon a correlation that left us scratching our heads in fascination – the entwined fate of Baidu's stock price (BIDU) and US household spending on rented dwellings. Yes, you read that right. Baidu, the Chinese multinational technology company, and rented dwellings have been caught in a tango of economic correlation.
Now, you might be thinking, "What do search engines and rented dwellings have in common?" Well, let's just say it's like finding out that Google's algorithm has an affinity for old-fashioned library card catalogs.
As we embarked on this journey of data crunching and analysis, we couldn't help but ponder the gravity of our findings. As the numbers unfolded before us, revealing a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022, we couldn't help but wonder if this was the financial equivalent of finding out that pineapples and pizzas share a long-lost sibling connection.
But wait, there's more! It turns out that this correlation is not just a fluke, an anomaly in the financial cosmos. It seems that Baidu's stock price has been cheek to cheek with US household spending on rented dwellings, waltzing through the ups and downs of the economy like a pair of seasoned ballroom dancers. It's as if Steve Jobs and Thomas Edison bonded over a love for outdated encyclopedias.
During our study, a dad joke naturally sprang forth in light of these peculiar findings: "Why don't stockbrokers like archaeology? Because they have a problem dealing with long-buried assets!"
As we navigate through the labyrinth of finance and economics, it becomes clear that even the most unlikely pairings can create a magical synergy in the world of numbers and trends. So, let's dive into the depths of this enigmatic correlation, unearthing what seems to be a financial symbiosis that defies conventional wisdom. After all, in the realm of economics, the most unexpected connections often reveal the most captivating stories.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Smith et al. (2010) delved into the intricacies of US household spending patterns and their impact on the broader economy, providing invaluable insights into the consumption behavior of American households. Meanwhile, Doe and Jones (2015) examined the fluctuations in Baidu's stock price and the various factors influencing its movements in the stock market. These serious scholars paved the way for our exploration into the unexpected nexus of US household spending on rented dwellings and the quirks of Baidu's stock price.

In "Economic Implications of Household Expenditure" by Brown (2019), the authors find a comprehensive analysis of the economic implications of household expenditure, offering a nuanced understanding of the interconnected web of consumer spending. As for the stock market side of the equation, "Stocks and Stones: A Journey through Financial Markets" by Grey (2018) explores the idiosyncrasies of stock prices and the often enigmatic forces that shape their trajectories.

On a more whimsical note, fictional works such as "The House on Stock Market Street" by Green (2016) and "Bull and Bear: A Tale of Finance and Dwelling" by Black (2014) present imaginative narratives that seem to mirror the uncanny dance between Baidu's stock price and US household spending on rented dwellings. These literary creations provide a lighthearted, albeit unexpected, perspective on our research topic.

In the realm of cartoons and children's shows, the enduring charm of "DuckTales" and its focus on the financial escapades of Scrooge McDuck, as well as "The Magic School Bus: Money Matters" where Ms. Frizzle explores economic principles, serve as playful reminders of the diverse influences that shape our perceptions of finance and economics. It's as if these whimsical tales are whispering to us, "Even in the most unexpected places, financial lessons await!"

As we navigate this curious domain of financial correlations, it becomes clear that the world of economics is a stage where seemingly incongruous entities can come together for an unexpected duet. Just like a stockbroker's favorite pick-up line: "Are you made of copper and tellurium? Because you're Cu-Te!" Let's now proceed to unravel the enigma of Baidu's stock price and US household spending on rented dwellings, and perhaps uncover even more surprising connections along the way.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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 2006 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]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

[[INTRODUCTION]]
As the financial world pirouettes through market fluctuations and economic complexities, it often unearths some unexpected dance partners. In this study, we serendipitously stumbled upon a correlation that left us scratching our heads in fascination – the entwined fate of Baidu's stock price (BIDU) and US household spending on rented dwellings. Yes, you read that right. Baidu, the Chinese multinational technology company, and rented dwellings have been caught in a tango of economic correlation.
Now, you might be thinking, "What do search engines and rented dwellings have in common?" Well, let's just say it's like finding out that Google's algorithm has an affinity for old-fashioned library card catalogs.
As we embarked on this journey of data crunching and analysis, we couldn't help but ponder the gravity of our findings. As the numbers unfolded before us, revealing a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022, we couldn't help but wonder if this was the financial equivalent of finding out that pineapples and pizzas share a long-lost sibling connection.
But wait, there's more! It turns out that this correlation is not just a fluke, an anomaly in the financial cosmos. It seems that Baidu's stock price has been cheek to cheek with US household spending on rented dwellings, waltzing through the ups and downs of the economy like a pair of seasoned ballroom dancers. It's as if Steve Jobs and Thomas Edison bonded over a love for outdated encyclopedias.
During our study, a dad joke naturally sprang forth in light of these peculiar findings: "Why don't stockbrokers like archaeology? Because they have a problem dealing with long-buried assets!"
As we navigate through the labyrinth of finance and economics, it becomes clear that even the most unlikely pairings can create a magical synergy in the world of numbers and trends. So, let's dive into the depths of this enigmatic correlation, unearthing what seems to be a financial symbiosis that defies conventional wisdom. After all, in the realm of economics, the most unexpected connections often reveal the most captivating stories.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the mysterious link between US household spending on rented dwellings and Baidu's stock price (BIDU), our intrepid research team embarked on a multi-faceted journey akin to Indiana Jones seeking economic treasure. Despite the lack of ancient artifacts and booby-trapped temples, our approach was nonetheless an adventure through the world of data collection and analysis that would make even Indiana Jones marvel at our audacity.

First, we utilized data sources including the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) as our treasure maps, navigating through the tumultuous sea of economic indicators and stock market fluctuations. We then employed top-notch statistical methods, including but not limited to, correlation analysis, regression models, and intricate time-series analyses to extract and scrutinize the golden nuggets of information from this vast expanse of data. If only we had a dollar for every line of code written, we might have been the ones pitting our financial prowess against BIDU.

Notably, our analysis considered data spanning from 2006 to 2022, allowing us to capture the tango between household spending on rented dwellings and Baidu's stock price over a substantial period of time. But like a fine wine maturing with age, our dataset aged like a perfectly ripe cheese, allowing us to discern the nuanced movements of these seemingly incongruous economic elements with an unparalleled level of precision.

To ensure the integrity and robustness of our findings, we employed rigorous sensitivity analyses and cross-validation techniques, maintaining a fortress of scientific rigor against potential confounding variables and spurious relationships. Like watchmen guarding the gates of correlation, we let no imposters sneak into our analysis, allowing only the true, binding connections to emerge into the spotlight.

Although our penchant for dad jokes may attest to our lighthearted demeanor, the arduous task of data collection and analysis demanded a level of unwavering dedication akin to a Jedi mastering the ways of the Force. Ultimately, our methodology stands as a testament to the diligence and rigor with which we approached the unraveling of this enigmatic correlation, holding BIDU and US household spending on rented dwellings up to the light for a dance of economic insight and inquiry. And, if you'll permit us one final dad joke: "Why did the economist bring a ladder to work? Because he heard the economy was in a recession and wanted to step up!"


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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 2006 to 2022, you found a correlation 0.8757653, r-squared of 0.7669649, and p < 0.01.

One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.

Here is the title and abstract of the paper:
[[TITLE]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the financial world pirouettes through market fluctuations and economic complexities, it often unearths some unexpected dance partners. In this study, we serendipitously stumbled upon a correlation that left us scratching our heads in fascination – the entwined fate of Baidu's stock price (BIDU) and US household spending on rented dwellings. Yes, you read that right. Baidu, the Chinese multinational technology company, and rented dwellings have been caught in a tango of economic correlation.
Now, you might be thinking, "What do search engines and rented dwellings have in common?" Well, let's just say it's like finding out that Google's algorithm has an affinity for old-fashioned library card catalogs.
As we embarked on this journey of data crunching and analysis, we couldn't help but ponder the gravity of our findings. As the numbers unfolded before us, revealing a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022, we couldn't help but wonder if this was the financial equivalent of finding out that pineapples and pizzas share a long-lost sibling connection.
But wait, there's more! It turns out that this correlation is not just a fluke, an anomaly in the financial cosmos. It seems that Baidu's stock price has been cheek to cheek with US household spending on rented dwellings, waltzing through the ups and downs of the economy like a pair of seasoned ballroom dancers. It's as if Steve Jobs and Thomas Edison bonded over a love for outdated encyclopedias.
During our study, a dad joke naturally sprang forth in light of these peculiar findings: "Why don't stockbrokers like archaeology? Because they have a problem dealing with long-buried assets!"
As we navigate through the labyrinth of finance and economics, it becomes clear that even the most unlikely pairings can create a magical synergy in the world of numbers and trends. So, let's dive into the depths of this enigmatic correlation, unearthing what seems to be a financial symbiosis that defies conventional wisdom. After all, in the realm of economics, the most unexpected connections often reveal the most captivating stories.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our analysis revealed a strong correlation between US household spending on rented dwellings and Baidu's stock price (BIDU) from 2006 to 2022. The correlation coefficient obtained was 0.8757653, with an r-squared value of 0.7669649, and a p-value less than 0.01. This significant correlation suggests a compelling association between the two variables, akin to a timeless love affair between BIDU and the rental market, reminiscent of a classic romantic comedy with an unexpected twist.

The scatterplot in Fig. 1 illustrates the striking relationship between these seemingly unrelated entities, painting a vivid picture of their mesmerizing financial romance. It's as if Fred and Ginger were back on stage, trading steps and twirls in perfect sync, showing that sometimes in the world of economics, two stars from different constellations can dance harmoniously together.

We couldn't help but ponder over the implications of this unexpected connection. As we delved deeper into the labyrinth of financial data, it became evident that Baidu's stock price and US household spending on rented dwellings have been doing the economic tango for years, like an unlikely duo that somehow steals the show.

In light of these findings, a fitting dad joke came to mind: "Why don't stockbrokers like playing hide and seek? Because good stock is always in plain sight!"

This revelatory correlation not only challenges conventional wisdom but also opens doors to new avenues of inquiry into the intricate web of financial relationships. Our study underscores the importance of exploring unconventional connections in the economic landscape, as sometimes the most astonishing unions yield the most fruitful insights.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Limit your response to 500 tokens.

Here are the title, abstract, literature review, and results sections. Please harken back to 1-2 of the goofy items in the literature review, but pretend to take them completely seriously. Discuss how your results supported the prior research.

Do not write a conclusion. I will add a conclusion after this.

[[TITLE]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

[[LITERATURE REVIEW]]
Smith et al. (2010) delved into the intricacies of US household spending patterns and their impact on the broader economy, providing invaluable insights into the consumption behavior of American households. Meanwhile, Doe and Jones (2015) examined the fluctuations in Baidu's stock price and the various factors influencing its movements in the stock market. These serious scholars paved the way for our exploration into the unexpected nexus of US household spending on rented dwellings and the quirks of Baidu's stock price.
In "Economic Implications of Household Expenditure" by Brown (2019), the authors find a comprehensive analysis of the economic implications of household expenditure, offering a nuanced understanding of the interconnected web of consumer spending. As for the stock market side of the equation, "Stocks and Stones: A Journey through Financial Markets" by Grey (2018) explores the idiosyncrasies of stock prices and the often enigmatic forces that shape their trajectories.
On a more whimsical note, fictional works such as "The House on Stock Market Street" by Green (2016) and "Bull and Bear: A Tale of Finance and Dwelling" by Black (2014) present imaginative narratives that seem to mirror the uncanny dance between Baidu's stock price and US household spending on rented dwellings. These literary creations provide a lighthearted, albeit unexpected, perspective on our research topic.
In the realm of cartoons and children's shows, the enduring charm of "DuckTales" and its focus on the financial escapades of Scrooge McDuck, as well as "The Magic School Bus: Money Matters" where Ms. Frizzle explores economic principles, serve as playful reminders of the diverse influences that shape our perceptions of finance and economics. It's as if these whimsical tales are whispering to us, "Even in the most unexpected places, financial lessons await!"
As we navigate this curious domain of financial correlations, it becomes clear that the world of economics is a stage where seemingly incongruous entities can come together for an unexpected duet. Just like a stockbroker's favorite pick-up line: "Are you made of copper and tellurium? Because you're Cu-Te!" Let's now proceed to unravel the enigma of Baidu's stock price and US household spending on rented dwellings, and perhaps uncover even more surprising connections along the way.

[[RESULTS]]
The results of our analysis revealed a strong correlation between US household spending on rented dwellings and Baidu's stock price (BIDU) from 2006 to 2022. The correlation coefficient obtained was 0.8757653, with an r-squared value of 0.7669649, and a p-value less than 0.01. This significant correlation suggests a compelling association between the two variables, akin to a timeless love affair between BIDU and the rental market, reminiscent of a classic romantic comedy with an unexpected twist.
The scatterplot in Fig. 1 illustrates the striking relationship between these seemingly unrelated entities, painting a vivid picture of their mesmerizing financial romance. It's as if Fred and Ginger were back on stage, trading steps and twirls in perfect sync, showing that sometimes in the world of economics, two stars from different constellations can dance harmoniously together.
We couldn't help but ponder over the implications of this unexpected connection. As we delved deeper into the labyrinth of financial data, it became evident that Baidu's stock price and US household spending on rented dwellings have been doing the economic tango for years, like an unlikely duo that somehow steals the show.
In light of these findings, a fitting dad joke came to mind: "Why don't stockbrokers like playing hide and seek? Because good stock is always in plain sight!"
This revelatory correlation not only challenges conventional wisdom but also opens doors to new avenues of inquiry into the intricate web of financial relationships. Our study underscores the importance of exploring unconventional connections in the economic landscape, as sometimes the most astonishing unions yield the most fruitful insights.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our study delves deep into the peculiar but significant correlation between US household spending on rented dwellings and Baidu's stock price (BIDU), revealing a compelling relationship that defies conventional economic wisdom. These findings align with the work of Smith et al. (2010) and Doe and Jones (2015), underpinning the interconnected nature of consumer spending and stock price movements. The whimsical work of Green (2016) and Black (2014) seems eerily prophetic, as our research uncovers a financial tango between housing expenditure and Baidu’s stock price that would make even the most ardent dancers blush.

The statistically strong correlation coefficient of 0.8757653 and a remarkably low p-value provide robust evidence of a synchronous cadence between these disparate elements. This symbiotic relationship hearkens back to the enduring comic charm of "DuckTales" and the educational whimsy of Ms. Frizzle’s adventures, affirming that even the unlikeliest of partners can create a harmonious duet. These results corroborate the insightful findings of Brown (2019) and Grey (2018), laying the groundwork for further exploration into the economic interplay between housing expenditures and stock market dynamics.

As we continue to unravel this financial enigma, it is clear that the market's performance is not always an obtuse mystery, but rather a dance floor where the most unexpected pairs can make a stunning impression. Our study highlights the importance of embracing unconventional connections in economic research, echoing the spirit of a stockbroker's clever quip: "I don't trust stairs because they're always up to something!"

The significance of this correlation prompts us to question traditional economic models and delve deeper into the intricate relationships that underpin market dynamics. This leads us to conclude that in the realm of financial analysis, the most entertaining and enlightening duets may not be on Broadway, but rather in the captivating twists and turns of economic data.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 US household spending on rented dwellings and Baidu's stock price (BIDU). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Limit your response to 300 tokens. At the very end, assert that no more research is needed in this area.

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings

[[ABSTRACT]]
As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.



Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.

As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"

Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

[[INTRDUCTION]]
As the financial world pirouettes through market fluctuations and economic complexities, it often unearths some unexpected dance partners. In this study, we serendipitously stumbled upon a correlation that left us scratching our heads in fascination – the entwined fate of Baidu's stock price (BIDU) and US household spending on rented dwellings. Yes, you read that right. Baidu, the Chinese multinational technology company, and rented dwellings have been caught in a tango of economic correlation.
Now, you might be thinking, "What do search engines and rented dwellings have in common?" Well, let's just say it's like finding out that Google's algorithm has an affinity for old-fashioned library card catalogs.
As we embarked on this journey of data crunching and analysis, we couldn't help but ponder the gravity of our findings. As the numbers unfolded before us, revealing a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022, we couldn't help but wonder if this was the financial equivalent of finding out that pineapples and pizzas share a long-lost sibling connection.
But wait, there's more! It turns out that this correlation is not just a fluke, an anomaly in the financial cosmos. It seems that Baidu's stock price has been cheek to cheek with US household spending on rented dwellings, waltzing through the ups and downs of the economy like a pair of seasoned ballroom dancers. It's as if Steve Jobs and Thomas Edison bonded over a love for outdated encyclopedias.
During our study, a dad joke naturally sprang forth in light of these peculiar findings: "Why don't stockbrokers like archaeology? Because they have a problem dealing with long-buried assets!"
As we navigate through the labyrinth of finance and economics, it becomes clear that even the most unlikely pairings can create a magical synergy in the world of numbers and trends. So, let's dive into the depths of this enigmatic correlation, unearthing what seems to be a financial symbiosis that defies conventional wisdom. After all, in the realm of economics, the most unexpected connections often reveal the most captivating stories.

[[RESULTS]]
The results of our analysis revealed a strong correlation between US household spending on rented dwellings and Baidu's stock price (BIDU) from 2006 to 2022. The correlation coefficient obtained was 0.8757653, with an r-squared value of 0.7669649, and a p-value less than 0.01. This significant correlation suggests a compelling association between the two variables, akin to a timeless love affair between BIDU and the rental market, reminiscent of a classic romantic comedy with an unexpected twist.
The scatterplot in Fig. 1 illustrates the striking relationship between these seemingly unrelated entities, painting a vivid picture of their mesmerizing financial romance. It's as if Fred and Ginger were back on stage, trading steps and twirls in perfect sync, showing that sometimes in the world of economics, two stars from different constellations can dance harmoniously together.
We couldn't help but ponder over the implications of this unexpected connection. As we delved deeper into the labyrinth of financial data, it became evident that Baidu's stock price and US household spending on rented dwellings have been doing the economic tango for years, like an unlikely duo that somehow steals the show.
In light of these findings, a fitting dad joke came to mind: "Why don't stockbrokers like playing hide and seek? Because good stock is always in plain sight!"
This revelatory correlation not only challenges conventional wisdom but also opens doors to new avenues of inquiry into the intricate web of financial relationships. Our study underscores the importance of exploring unconventional connections in the economic landscape, as sometimes the most astonishing unions yield the most fruitful insights.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In the grand symphony of economic relationships, our study has added a melodious duet to the score. The correlation between Baidu's stock price (BIDU) and US household spending on rented dwellings, with a correlation coefficient of 0.8757653 and a seductive p-value of less than 0.01, has twirled into the spotlight, rivaling the graceful elegance of a Broadway dance number.

As we unraveled this fascinating linkage, we couldn't help but muse upon a delightful dad joke: "Why did the economist bring a flashlight to the stock market? Because they heard it was full of bright ideas!"

The robustness of this correlation beckons us to consider the intricate interplay between seemingly unrelated entities, reminding us that in the world of economics, even the most mismatched pairs can dance beyond expectations. It's like discovering that peanut butter and jelly not only go hand in hand but also perform a stunning pas de deux.

Our findings open a Pandora's box of curiosity and urge further exploration into the realms of finance. As we sprinkle our conclusion with one more dad joke for good measure: "Why did the statistician go broke? Because they used too many significant digits!", we firmly assert that no more research is needed in this area. The couple has swayed, twirled, and serenaded us with their financial dance, leaving us awe-struck and content in their harmonious embrace.


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Quantitative Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Comparative Economic Research and Housing Analysis


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled The Baffling BIDU and Dwelling Dilemma: Bridging the Bosom of Baidu's Stock Price to US Household Spending on Rented Dwellings with an abstract of As the Baidu's stock price (BIDU) waltzes through the markets, there lies a curious connection to the seemingly mundane world of US household spending on rented dwellings. In this study, we embark on a journey to unravel the intertwined fate of these two seemingly distinct entities, akin to two peas in a pod. Our research team delved into the annals of data from Bureau of Labor Statistics and LSEG Analytics (Refinitiv) to scrutinize this enigmatic correlation.

Unveiling the connection, we discovered a substantial correlation coefficient of 0.8757653 and p < 0.01 for the period spanning from 2006 to 2022. It seems that Baidu's financial sashay may indeed be entwined with the ebb and flow of US household spending on rented dwellings, in a symbiotic dance that puts Fred Astaire and Ginger Rogers to shame.
As we pondered over these findings, a fitting dad joke dawned upon us: "Why did the stockbroker bring a ladder to work? Because he heard the market was on the rise!"
Our study not only sheds light on this intriguing relationship, but also opens the door to further explorations in the uncharted territory of unlikely correlations in the financial landscape. After all, in the realm of economics, even the most unexpected duets can create a harmonious symphony of insight.

ChatGPT:

BIDU stock price, US household spending, rented dwellings, Baidu correlation, correlation coefficient, Bureau of Labor Statistics, LSEG Analytics, Refinitiv, financial correlation, unlikely correlations, economics, stockbroker, unexpected correlations, financial landscape, symbiotic relationship

*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

US household spending on rented dwellings
Detailed data title: Annual US household spend on rented dwellings, as a percentage of total household spend
Source: Bureau of Labor Statistics
See what else correlates with US household spending on rented dwellings

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

See what else correlates with Baidu's stock price (BIDU)

Correlation r = 0.8757653 (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.7669649 (Coefficient of determination)
This means 76.7% of the change in the one variable (i.e., Baidu's stock price (BIDU)) is predictable based on the change in the other (i.e., US household spending on rented dwellings) over the 17 years from 2006 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 4.1E-6. 0.0000040968983382559440000000
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.88 in 0.00041% of random cases. Said differently, if you correlated 244,087 random variables You don't actually need 244 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 16 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 16 because we have two variables measured over a period of 17 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.68, 0.95 ] 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.
20062007200820092010201120122013201420152016201720182019202020212022
US household spending on rented dwellings (Household spend)5.351245.241955.395565.828766.027986.093956.193386.504896.787556.791957.040536.938066.940097.03097.186886.998576.83871
Baidu's stock price (BIDU) (Stock price)6.4311.839.4513.241.697.95120103.33177.49229.46181.29166.3236.49156.18129.49219.51148.91




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([5.35124,5.24195,5.39556,5.82876,6.02798,6.09395,6.19338,6.50489,6.78755,6.79195,7.04053,6.93806,6.94009,7.0309,7.18688,6.99857,6.83871,])
array_2 = np.array([6.43,11.8,39.45,13.2,41.6,97.95,120,103.33,177.49,229.46,181.29,166.3,236.49,156.18,129.49,219.51,148.91,])
array_1_name = "US household spending on rented dwellings"
array_2_name = "Baidu's stock price (BIDU)"

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

Kudos for rating!


Correlation ID: 3713 · Black Variable ID: 19966 · Red Variable ID: 1741
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0