Sets up the necessary backend for the ARMA process.
ARMA(ar = 1, ma = 1, sigma2 = 1)
A vector
or integer
containing either the coefficients for \(\phi\)'s or the process number \(p\) for the Autoregressive (AR) term.
A vector
or integer
containing either the coefficients for \(\theta\)'s or the process number \(q\) for the Moving Average (MA) term.
A double
value for the standard deviation, \(\sigma\), of the ARMA process.
An S3 object with called ts.model with the following structure:
\(AR*p\), \(MA*q\)
\(\sigma\)
Number of Parameters
String containing simplified model
y desc replicated x times
Depth of Parameters e.g. list(c(length(ar),length(ma),1) )
Guess Starting values? TRUE or FALSE (e.g. specified value)
A variance is required since the model generation statements utilize randomization functions expecting a variance instead of a standard deviation like R.
We consider the following model: $$X_t = \sum_{j = 1}^p \phi_j X_{t-j} + \sum_{j = 1}^q \theta_j \varepsilon_{t-j} + \varepsilon_t$$, where \(\varepsilon_t\) is iid from a zero mean normal distribution with variance \(\sigma^2\).