Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gusgitmath/toptech_sp500_forecasting

Forecasting the stock market is difficult. I sought to observe the relationship between Apple's stock price and others in the S&P500. In doing this, I was able to conclude that stocks in the tech industry can help predict a trend in Apple's Percent change.
https://github.com/gusgitmath/toptech_sp500_forecasting

arima-forecasting linear-regression python3 vector-autoregression

Last synced: about 2 months ago
JSON representation

Forecasting the stock market is difficult. I sought to observe the relationship between Apple's stock price and others in the S&P500. In doing this, I was able to conclude that stocks in the tech industry can help predict a trend in Apple's Percent change.

Awesome Lists containing this project

README

        

# Top Tech S&P 500 Forecasting

**Date:** November 2022

## Overview

Forecasting the stock market is inherently challenging. This project explores the relationship between Apple's stock price and other stocks in the S&P 500, particularly those in the technology sector. Through this analysis, I discovered that tech industry stocks can help predict trends in Apple's percentage price changes.

To model this relationship, I implemented a Vector Autoregression (VAR) model to forecast Apple's stock price for the next quarter. I then compared the performance of the VAR model against an ARIMA model to assess whether incorporating related stocks significantly improves forecasting accuracy.

## Data

Please note that the dataset provided here is a cleaned version, containing only the top ten tech stocks in the S&P 500 based on average trading volume. The original dataset, which includes a broader range of stocks, can be accessed through the following link:

[Original S&P 500 Stocks Dataset](https://www.kaggle.com/datasets/andrewmvd/sp-500-stocks?select=sp500_stocks.csv)

## Further Reading

A comprehensive analysis of the data and modeling process was documented in a twenty-five-page paper. If you are interested in reading the full analysis, please feel free to contact me.

**Math & Physics Fun with Gus!**