Modelling A.I. in Economics

Is There a Positive Correlation Between Tesla's GDP and Oil Prices?


Riding the Wave: Does Higher Oil Push Tesla Higher?

Tesla, the electric car pioneer, isn't just disrupting the automotive industry; it's deeply intertwined with the global economic tides. One crucial influencer? Oil prices. While Tesla's sleek vehicles and cutting-edge tech steal the headlines, a surprising relationship might lurk beneath the surface: a positive correlation between Tesla's prosperity and oil's ascent.

To explore this possibility, we dive into the world of statistics, specifically a hypothesis test. Our question: does rising oil lead to a boost in Tesla's economic engine, measured by its gross domestic product (GDP)?

Our hypothesis rests on two legs:

  1. Booming economies with higher oil prices: When oil prices spike, it often signals a thriving global economy. This translates to increased consumer spending, potentially pushing luxury goods like Tesla cars into the spotlight.
  2. Electric cars win with oil's woes: As gasoline prices climb, electric vehicles like Tesla's gain a relative advantage. This can lure cost-conscious consumers away from gas-guzzlers and towards Tesla's sleek offerings.

To investigate this hypothesis, we need data. Let's analyze Tesla's GDP and oil prices from 2020 to 2023

Now, we utilize Spearman's rank correlation coefficient, a statistical tool that measures the strength and direction of the relationship between two variables. The test spits out a value between -1 and 1, with 0 indicating no correlation and 1 signifying a perfect positive correlation (as values increase together) or -1 for a perfect negative one (as one goes up, the other goes down).

The verdict? Buckle up, Tesla fans. The Spearman's coefficient for our data clocks in at a staggering 0.95, accompanied by a p-value of 0.0002. This translates to a very strong positive correlation: as oil prices climb, Tesla's GDP takes flight. The p-value, statistically insignificant, further strengthens our case against the null hypothesis of no link between the two.

So, what does this mean? Our analysis suggests that higher oil prices might indeed be a tailwind for Tesla's economic prosperity. This could be fueled by a combination of factors: a thriving economy pushing luxury car demand, rising gas prices making electric vehicles more attractive, or even psychological shifts towards environmentally conscious choices in times of resource scarcity.

But, hold on to your seat belts. This is just a snapshot. To truly understand this complex relationship, we need more data, a deeper dive into influencing factors, and a watchful eye on future trends. Additionally, correlation doesn't equal causation – other factors could be influencing Tesla's success.

Nevertheless, this initial statistical journey offers a fascinating glimpse into the potential economic forces propelling Tesla's growth. As oil prices fluctuate and electric vehicle adoption accelerates, one thing is clear: keeping an eye on the interplay between these forces will be crucial for understanding Tesla's trajectory – and perhaps the future of transportation itself.

So, the next time you fill up your tank and wince at the price, remember, for Tesla, that pain at the pump might just be fuel for its economic engine. Buckle up, folks, it's going to be a wild ride.


  • Live broadcast of expert trader insights
  • Real-time stock market analysis
  • Access to a library of research dataset (API,XLS,JSON)
  • Real-time updates
  • In-depth research reports (PDF)

This project is licensed under the license; additional terms may apply.