Time Series Analysis Project
Time Series Analysis Project
PROJECT
NAME-DEEPAK KUMAR
ROLL N0.-220123013
BRANCH-MATHEMATICS and COMPUTING
METHODOLOGY
Objective: selecting a profitable and stable stock portfolio using
time series forecasting and statistical analysis.
Data: Data source is yfinance API, time span is 2020-01-01 to
2024-12-31, and the data is sampled daily.
Decomposition: We use seasonal_decomposition function for each
stock to analyze trend, seasonality and residuals.
Forecasting Model:
Models tried are ARIMA,SARIMA,FBProphet and Exponential
Smoothening.
The orders for models are selected based on the ACF and PACF
plots of different stocks
Metrics of Comparison: Analyze models based on the mean RMSE,
MAPE and directional accuracy. We will select model with low RMSE
and low MAPE and high directional accuracy.
Stock Selection
Volatility-based sizing: lower forecasted volatility = higher
weight. It reduces the risk in our approach. The volatility is
forecasted using GARCH(1,1).
Correlation filtering: Explain your diversification approach
using Pearson correlation threshold for selecting independent
stocks.
FORECASTED RESULTS
The final model used for forecasting is SARIMA.
PORTFOLIO COMPOSITION
MODEL ACCURACY
The following are the metrics for comparison of stock price for
2 days. We can conclude that OFSS and KPRMILL did not
perform according to my model.