Learn R Programming

setartree (version 0.2.1)

SETAR-Tree - A Novel and Accurate Tree Algorithm for Global Time Series Forecasting

Description

The implementation of a forecasting-specific tree-based model that is in particular suitable for global time series forecasting, as proposed in Godahewa et al. (2022) . The model uses the concept of Self Exciting Threshold Autoregressive (SETAR) models to define the node splits and thus, the model is named SETAR-Tree. The SETAR-Tree uses some time-series-specific splitting and stopping procedures. It trains global pooled regression models in the leaves allowing the models to learn cross-series information. The depth of the tree is controlled by conducting a statistical linearity test as well as measuring the error reduction percentage at each node split. Thus, the SETAR-Tree requires minimal external hyperparameter tuning and provides competitive results under its default configuration. A forest is developed by extending the SETAR-Tree. The SETAR-Forest combines the forecasts provided by a collection of diverse SETAR-Trees during the forecasting process.

Copy Link

Version

Install

install.packages('setartree')

Monthly Downloads

221

Version

0.2.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rakshitha Godahewa

Last Published

August 24th, 2023

Functions in setartree (0.2.1)

web_traffic_test

A dataframe of test instances
forecast.setartree

Forecast method for SETAR-Tree fits
setartree

Fitting SETAR-Tree models
setarforest

Fitting SETAR-Forest models
reexports

Objects exported from other packages
web_traffic_train

A dataframe of training instances
setartree-package

Getting started with the setartree package
chaotic_logistic_series

Chaotic logistic map example time series
forecast.setarforest

Forecast method for SETAR-Forest fits