Skip to content

My research as a Data Science student: Analysing the relationship between Tesla stock price and Elon Musk’s Tweets

, My research as a Data Science student: Analysing the relationship between Tesla stock price and Elon Musk’s Tweets, CARDIFF MET BLOGS
, My research as a Data Science student: Analysing the relationship between Tesla stock price and Elon Musk’s Tweets, CARDIFF MET BLOGS

I am Affan Bin Hasan, currently pursuing my MSc in Data Sciences from Cardiff Met University and also working here as a Research Assistant.

My passion for data sciences and analytics has been unwavering from the beginning and my research work in Natural Language Processing was also recently published in IEEE Xplore.  However, during my studies in the Social Media Analytics for Business module, a spark ignited within me. I realized the tremendous potential of connecting my knowledge in data science to real-world problems.

, My research as a Data Science student: Analysing the relationship between Tesla stock price and Elon Musk’s Tweets, CARDIFF MET BLOGS

Affan working in CST Nexus area at Cardiff met

Motivated by this newfound clarity, I embarked on a research journey exploring the effects of social media on various businesses. As I delved deeper into the subject, a strong connection between these two domains emerged. It became evident that social media possesses a remarkable influence on the dynamics of businesses.

By applying advanced data science techniques, such as sentiment analysis and machine learning, I aim to uncover invaluable insights into the impact of social media on different sectors. In my recent project, I uncovered the Power of Tweets: Analysing Elon Musk’s Impact on Tesla Stock Prices.

The study adopts a meticulous methodology to examine the correlation between Elon Musk’s tweets and the price of Tesla stocks. It begins by extracting the stock prices of Tesla and Elon Musk’s tweets from Twitter. Natural language processing techniques are then employed to analyse the sentiment of each tweet. Additionally, the study utilizes the Pearson correlation coefficient, autoregressive integrated moving average (ARIMA), and multiple regression to identify patterns and forecast future stock prices. Finally, the findings are consolidated and presented through intuitive visualizations using Tableau.

The finalized dashboard can be seen through this Dashboard.

, My research as a Data Science student: Analysing the relationship between Tesla stock price and Elon Musk’s Tweets, CARDIFF MET BLOGS

Glimpse of Tableau Dashboard of Tesla 

The study’s findings provide compelling evidence of a direct relationship between Elon Musk’s tweets and the stock price of Tesla. It reveals that tweets with a high reach and positive sentiment tend to have a positive effect on the stock price, while tweets with a negative sentiment can have a negative impact. By analysing the sentiment and engagement metrics of Musk’s tweets, such as retweet count and reply count, the study uncovers the intensity of each tweet with its respective sentiment label.

Furthermore, the implementation of a multiple regression model yields promising results, accurately predicting stock prices with an R-squared value of 0.59. This demonstrates the potential for utilizing Musk’s tweets as a valuable indicator for forecasting stock market trends.

Elon Musk’s tweets have proven to be a force to be reckoned with in the realm of finance. This study has shed light on the direct relationship between Musk’s tweets and Tesla’s stock prices, providing evidence of their influence. As social media continues to shape the business landscape, it is crucial for analysts and investors to pay attention to these digital signals. By harnessing the power of sentiment analysis and integrating it with financial data, businesses can navigate the dynamic world of stock markets more effectively and make data-driven decisions.

The research showcased the potential of combining social media analytics, natural language processing, and data visualization to gain valuable insights into market trends. As social media’s influence continues to grow, it is clear that understanding the impact of tweets, posts, and other digital content on financial markets will be vital for businesses looking to stay ahead in the digital age.

In the future, I am determined to further expand my research in this domain while continuing my journey at Cardiff Metropolitan University. This esteemed institution provides an ideal environment and invaluable support for conducting such ground-breaking research. The university’s commitment to fostering innovation and providing resources will undoubtedly propel my research endeavours to new heights.