Package: Rlgt 0.2-3

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)Rlgt_0.2-3.zip(r-4.6)Rlgt_0.2-3.zip(r-4.5)
Rlgt_0.2-3.tgz(r-4.6-x86_64)Rlgt_0.2-3.tgz(r-4.6-arm64)Rlgt_0.2-3.tgz(r-4.5-x86_64)Rlgt_0.2-3.tgz(r-4.5-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)
manual.pdf |manual.html
card.svg |card.png
Rlgt/json (API)

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

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

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

6.65 score 23 stars 32 scripts 632 downloads 4 exports 67 dependencies

Last updated from:43f466cd73. Checks:11 WARNING, 1 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING772
linux-devel-x86_64WARNING752
source / vignettesOK1202
linux-release-arm64WARNING777
linux-release-x86_64WARNING743
macos-release-arm64WARNING802
macos-release-x86_64WARNING1493
macos-oldrel-arm64WARNING737
macos-oldrel-x86_64WARNING1289
windows-develWARNING930
windows-releaseWARNING1011
windows-oldrelWARNING1066
wasm-releaseFAIL175

Exports:blgt.multi.forecastinitModelrlgtrlgt.control

Dependencies:abindbackportsBHcallrcheckmateclicolorspacecpp11descdistributionalfarverforecastfracdiffgenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecyclelmtestloomagrittrMASSMatrixMatrixModelsmatrixStatsmnormtnlmennetnumDerivpillarpkgbuildpkgconfigposteriorprocessxpsquantregQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrstanrstantoolsS7scalessnSparseMStanHeaderssurvivaltensorAtibbletimeDatetruncnormurcautf8vctrsviridisLitewithrzoo

Getting Started with Global Trend Models

Rendered fromgettingStarted.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2019-07-29
Started: 2018-11-19

Global Trend Models - LGT, SGT, and S2GT

Rendered fromGT_models.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2019-04-24
Started: 2018-10-29