This project aims to predict the closing values of the 100-index of a stock exchange on a given day. The data spans from December 31, 2009, to November 15, 2017, and we employ various statistical methods to forecast the Close values.
The main objective of this project is to explore different statistical forecasting techniques and compare their performance in predicting the closing values of the stock exchange. We focus on the following methods:
-
Moving Averages (Simple Moving Averages): We utilize the moving average approach to generate predictions.
-
EWMA (Exponentially Weighted Moving Average): We leverage the exponentially weighted moving average method to forecast the Close values.
-
Auto Regression: Auto Regression (AR) models are used to predict future values based on their past values.
-
ARIMA (AutoRegressive Integrated Moving Average): The ARIMA model combines autoregression, differencing, and moving average components to forecast time series data.
-
ARIMAX (ARIMA with Exogenous Variables): We extend the ARIMA model by incorporating exogenous variables to enhance predictions.
-
SARIMAX (Seasonal ARIMA with Exogenous Variables): The SARIMAX model accounts for seasonal patterns along with exogenous variables for more accurate forecasts.
The dataset contains historical data from five different stock exchanges, covering the period from December 31, 2009, to November 15, 2017. It includes the Close column, which represents the closing value of the 100-index on each trading day.
To run this notebook and reproduce the results, you need the following libraries:
- numpy
- pandas
- statsmodels
- matplotlib