Skip to contents

This RLDM (Rational Linear Dynamic Models) R package provides models for stationary processes with a rational spectral density and methods for their estimation. We will refer to them as rational models. It builds heavily on its sister R package rationalmatrices, see https://bfunovits.github.io/rationalmatrices/.

Installation

You can install the latest version of the code using the remotes R package.

remotes::install_github("bfunovits/RLDM")

Content

The package provides the following sets of functions whose documentation can be found in the reference page https://bfunovits.github.io/RLDM/reference of the website https://bfunovits.github.io/RLDM/ (created with https://pkgdown.r-lib.org/):

  • Classes for the construction of rational models (consisting of an input covariance matrix and a rational matrix function from the rationalmatrices package):
    • VARMA models armamod()
    • State space models stspmod()
    • Right matrix fraction description (RMFD) models rmfdmod() (which is experimental)
  • Templates for filling the linear parameters with deep parameters through an affine mapping. Consists of
    • a matrix H where the number of rows is the number of linear parameters in a given model and the number of columns is the number of deep parameters in a given model
    • a column vector h of appropriate dimension

See help("model structures") and help("local model structures") for more details.

Usage

See the case study vignette("d_casestudy2") for a detailed example of how to use the package.