theo_acf {simts} | R Documentation |
Theoretical Autocorrelation (ACF) of an ARMA process
Description
This function computes the theoretical Autocorrelation (ACF) of an ARMA process.
Usage
theo_acf(ar, ma = NULL, lagmax = 20)
Arguments
ar |
A |
ma |
A |
lagmax |
An |
Author(s)
Yuming Zhang
Examples
# Compute the theoretical ACF for an ARMA(1,0) (i.e. a first-order autoregressive model: AR(1))
theo_acf(ar = -0.25, ma = NULL)
# Computes the theoretical ACF for an ARMA(2, 1)
theo_acf(ar = c(.50, -0.25), ma = 0.20, lagmax = 10)
[Package simts version 0.2.2 Index]