Package: Rlgt 0.2-3

Christoph Bergmeir

Rlgt: Bayesian Exponential Smoothing Models with Trend Modifications

An implementation of a number of Global Trend models for time series forecasting that are Bayesian generalizations and extensions of some Exponential Smoothing models. The main differences/additions include 1) nonlinear global trend, 2) Student-t error distribution, and 3) a function for the error size, so heteroscedasticity. The methods are particularly useful for short time series. When tested on the well-known M3 dataset, they are able to outperform all classical time series algorithms. The models are fitted with MCMC using the 'rstan' package.

Authors:Slawek Smyl [aut], Christoph Bergmeir [aut, cre], Erwin Wibowo [aut], To Wang Ng [aut], Xueying Long [aut], Alexander Dokumentov [aut], Daniel Schmidt [aut], Trustees of Columbia University [cph]

Rlgt_0.2-3.tar.gz
Rlgt_0.2-3.zip(r-4.7-x86_64)Rlgt_0.2-3.zip(r-4.7-arm64)Rlgt_0.2-3.zip(r-4.6-x86_64)Rlgt_0.2-3.zip(r-4.6-arm64)
Rlgt_0.2-3.tar.gz(r-4.7-arm64)Rlgt_0.2-3.tar.gz(r-4.7-x86_64)Rlgt_0.2-3.tar.gz(r-4.6-arm64)Rlgt_0.2-3.tar.gz(r-4.6-x86_64)
Rlgt_0.2-3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
Rlgt/json (API)

# Install 'Rlgt' in R:
install.packages('Rlgt', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cbergmeir/rlgt/issues

Uses libs:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:
  • iclaims.example - Weekly Initial Claims of US Unemployment Benefits & Google Trends Queries
  • umcsent.example - University of Michigan Monthly Survey of Consumer Sentiment & Google Trends Queries

On CRAN:

Conda:

onetbbcpp

2.59 score 1 stars 2.0k downloads 4 exports 68 dependencies

Last updated from:c13d2a3fe7. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK748
linux-devel-x86_64OK895
source / vignettesOK1329
linux-release-arm64OK720
linux-release-x86_64OK884
windows-devel-arm64OK805
windows-devel-x86_64OK1146
windows-release-arm64OK813
windows-release-x86_64OK686
wasm-releaseOK515

Exports:blgt.multi.forecastinitModelrlgtrlgt.control

Dependencies:abindbackportsBHcallrcheckmateclicolorspacecpp11descdistributionalfarverforecastfracdiffgenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecyclelmtestloomagrittrMASSMatrixMatrixModelsmatrixStatsmnormtnlmennetnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpsquantregQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrstanrstantoolsS7scalessnSparseMStanHeaderssurvivaltensorAtibbletimeDatetruncnormurcautf8vctrsviridisLitewithrzoo

Getting Started with Global Trend Models
Introduction | LGT (Local and Global Trend) | Fitting | Forecasting

Last update: 2022-05-17
Started: 2019-02-22

Global Trend Models - LGT, SGT, and S2GT
Introduction | LGT(Local and Global Trend) | Model formulas | Notations | Parameters | Notes on the model formulas | SGT (Seasonal, Global Trend) | Additional notations | Additional parameters | S2GT (Double Seasonal, Global Trend) | Model options | 1. "Smoothed innovation" error size function | Notes | 2. Generalized seasonality | Formulas for SGT with generalized seasonality | 3. Additonal level calculation methods | "seasAvg" - Seasonal average method | "HW_sAvg" method | Regression | Prior Distributions | Additional notes | Non-integer seasonalities

Last update: 2019-06-14
Started: 2019-02-22