MyNixOS website logo
Description

Forecasting Using Multivariate Models.

Functions implementing multivariate state space models for purposes of time series analysis and forecasting. The focus of the package is on multivariate models, such as Vector Exponential Smoothing, Vector ETS (Error-Trend-Seasonal model) etc. It currently includes Vector Exponential Smoothing (VES, de Silva et al., 2010, <doi:10.1177/1471082X0901000401>), Vector ETS and simulation function for VES.

legion

CRAN_Status_Badge Downloads ko-fi

The package legion implements several multivariate models for purposes of forecasting.

Here is the list of the included functions:

  1. ves - Vector Exponential Smoothing.
  2. vets - Vector ETS with PIC taxonomy.
  3. auto.vets - Automatic selection of restrictions for VETS.
  4. sim.ves - simulates data from VES.
  5. oves - occurrence state space vector exponential smoothing model.

Available methods:

  1. AIC, BIC, AICc, BICc;
  2. coefficients;
  3. fitted;
  4. forecast;
  5. actuals;
  6. logLik;
  7. modelType - type of the estimated model;
  8. nobs;
  9. nparam - number of the estimated parameters in the model;
  10. nvariate - number of series in the model;
  11. residuals - the residuals of the model (et in case of additive and log(1+et) for the multiplicative ones);
  12. rstandard, rstudent - standardised and studentised residuals;
  13. outlierdummy - extracts outliers in the model and creates dummy variables for them;
  14. plot - produces several plots for diagnostics purposes. See the documentation for plot.legion();
  15. print;
  16. sigma;
  17. simulate;
  18. summary;

Installation

The stable version of the package is available on CRAN, so you can install it by running:

install.packages("legion")

A recent, development version, is available via github and can be installed using "remotes" in R. First, make sure that you have remotes:

if (!require("remotes")){install.packages("remotes")}

and after that run:

remotes::install_github("config-i1/legion")

Metadata

Version

0.1.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows