Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GM

Create a Gauss-Markov (GM) Process


Description

Sets up the necessary backend for the GM process.

Usage

GM(beta = NULL, sigma2_gm = 1)

Arguments

beta

A double value for the beta of an GM process (see Note for details).

sigma2_gm

A double value for the variance, sigma^2[gm], of a GM process (see Note for details).

Details

When supplying values for beta and sigma^2[gm], these parameters should be of a GM process and NOT of an AR1. That is, do not supply AR1 parameters such as phi, sigma^2.

Internally, GM parameters are converted to AR1 using the 'freq' supplied when creating data objects (gts) or specifying a 'freq' parameter in simts or simts.imu.

The 'freq' of a data object takes precedence over the 'freq' set when modeling.

Value

An S3 object with called ts.model with the following structure:

process.desc

Used in summary: "BETA","SIGMA2"

theta

beta, sigma^2[gm]

plength

Number of parameters

print

String containing simplified model

desc

"GM"

obj.desc

Depth of parameters e.g. list(1,1)

starting

Guess starting values? TRUE or FALSE (e.g. specified value)

Note

We consider the following model:

X_t = e^{(-β)} X_{t-1} + \varepsilon_t

, where \varepsilon_t is iid from a zero mean normal distribution with variance σ^2(1-e^{2β}).

Author(s)

James Balamuta

Examples

GM()
GM(beta=.32, sigma2_gm=1.3)

simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.