• image06

    Model Comparison

  • image03

    ARIMA, LSTM, Random Forest

    ETS, FB Prophet

  • image06

    MAE

  • image01

    MSE

  • image02

    RMSE

  • image03

    MAPE

  • image04

    Hyperparameter Tuning

Evaluating Five Time Series Methods to Predict Stock Prices

The goal was to predict next-day stock prices using historical stock data, with the project assessing how each model could handle stock price fluctuations, trends, seasonality, and market events.

Models

  • 1. ARIMA (AutoRegressive Integrated Moving Average)
  • 2. ETS (Exponential Smoothing)
  • 3. LSTM (Long Short-Term Memory Networks)
  • 4. Facebook Prophet
  • 5. Random Forest Regression
  • Model Details

    ARIMA: A classical statistical model effective for univariate time series data exhibiting stationarity or trends. ARIMA is well-suited for modeling linear relationships and capturing short-term dependencies in stock prices.

    ETS: A smoothing technique that models level, trend, and seasonality in data. It is particularly useful when the data exhibits consistent seasonal patterns, providing robust predictions for time series with cyclical or irregular fluctuations.

    LSTM: A type of recurrent neural network (RNN) that excels in capturing long-term dependencies in sequential data. LSTM is ideal for modeling stock prices with complex, nonlinear relationships and can identify temporal patterns that traditional methods might miss.

    Prophet: A forecasting tool developed by Facebook, designed for time series data with strong seasonal effects and holidays. Prophet is highly flexible and can accommodate non-linear trends and external factors, making it a good choice for stock prices influenced by market events or seasonal patterns.

    Random Forest: An ensemble learning method based on decision trees, Random Forest can be adapted for time series forecasting by using lagged features and external variables as inputs. It is particularly useful for modeling non-linear relationships and capturing interactions between different predictors, providing robust forecasts even with noisy data.

    Research Process