Skip to content
tsSelect R Package - Select the best forecast among several models. The package is implemented in
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.Rproj.user/4C91E261
R
data
man
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
README.md
tsSelect.Rproj

README.md

Build Status

"tsSelect Package - Pick the best time series model"

This package has as input a Time Series object.

The first step fits a series of models:

  • Mean model

  • Naive model (all forecasts = last observation)

  • Seasonal Naive model (each forecast is equal to the last observed value from the same season)

  • 'drift' model (adds a "trend" over time to the naive method)

  • tslm_1 (linear-regression by 'trend')

  • tslm_2 (linear-regression by 'trend' and 'season')

  • Exponential smoothing models (with several variations)

  • ARIMA (with and without stepwise selection)

The second step picks the model with lowest error measures, either by a specific measure or by majority vote, among all possible error measures.

The different error measures are: ME, RMSE, MAE, MPE ,MAPE, MASE, ACF1

Execution example:

library(tsSelect)

run_models(ts_object)

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.