This project examined the performance of top AI companies in comparison to the S&P 500 and Dow Jones indices over the last five years (2019-2024). We analyzed daily and cumulative returns, as well as volatility (risk), to evaluate profitability and risk associated with each investment option.
- Top 10 AI companies Kaggle dataset (1990 through present) as selected by Forbes
- S&P 500 and Dow Jones index ETF funds gathered through alphavantage.co API
Does the growth of AI stocks over the last 5 years indicate a more profitable and safer investment compared to the S&P 500 and Dow Jones indices?
- Null Hypothesis (H0): There is no significant difference between the returns of AI stocks and market indices from 2019 to 2024.
- Alternative Hypothesis (H1): AI stocks show a significant difference in returns compared to the market indices during the same period.
We acknowledge that stock analysis is a multifaceted field influenced by various factors. This project focuses on average stock prices, daily and cumulative returns, and volatility (standard deviation) to assess stock performance. We categorized risk based on volatility as follows:
- Low Risk: Volatility less than 10%
- Medium Risk: Volatility between 10% and 20%
- High Risk: Volatility greater than 20%
- Bar and Line Graphs: Displayed the average cumulative and daily returns for AI companies and indices.
- Volatility Analysis: Showed daily returns with error bars indicating volatility.
- Violin Plots: Illustrated the distribution of returns to support ANOVA results.


