SARIMA-Informed Random Forest for Time Series Forecasting

Trains a Random Forest on a target blended with the forecasts of a seasonal autoregressive integrated moving average (SARIMA) model, which acts as a teacher. For squared error, the composite loss (1 - lambda) * MSE(f, y) + lambda * MSE(f, y_SARIMA), where MSE is the mean squared error, is minimised exactly by fitting the forest to the blended target z = (1 - lambda) * y + lambda * y_SARIMA. The SARIMA model is chosen automatically by the Akaike information criterion (AIC) or specified manually; the forest hyperparameters are set manually, by grid search, or by Bayesian optimisation. The best lambda is chosen on a chronological validation period. Functions for out-of-sample forecasting, accuracy measures and plots are provided. The methodology is motivated by hybrid forecasting framework proposed by Yeasin and Paul (2024) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("SARIMAInfoRF")

0.1.0 by Ranjit Kumar Paul, 10 hours ago


Browse source code at https://github.com/cran/SARIMAInfoRF


Authors: Ranjit Kumar Paul [aut, cre] , Pushkar Bora [aut] , Md Yeasin [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ranger, forecast, ggplot2, cli, stats, utils

Suggests testthat


See at CRAN