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

gen_generic_sarima

Generate Generic Seasonal Autoregressive Order P - Moving Average Order Q (SARMA(p,q)x(P,Q)) Model


Description

Generate an ARMA(P,Q) process with supplied vector of Autoregressive Coefficients (φ), Moving Average Coefficients (θ), and σ^2.

Usage

gen_generic_sarima(N, theta_values, objdesc, sigma2 = 1.5,
  n_start = 0L)

Arguments

N

An integer for signal length.

theta_values

A vec containing the parameters for (S)AR and (S)MA.

objdesc

A vec that contains the +.ts.model's obj.desc field.

sigma2

A double that contains process variance.

n_start

An unsigned int that indicates the amount of observations to be used for the burn in period.

s

An integer that contains a seasonal id.

Details

The innovations are generated from a normal distribution. The σ^2 parameter is indeed a variance parameter. This differs from R's use of the standard deviation, σ.

Value

A vec that contains the generated observations.


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.