acf.gamma_m {weakARMA} | R Documentation |
Computation of autocovariance and autocorrelation for an ARMA residuals.
Description
Computes empirical autocovariances and autocorrelations function for an ARMA process for lag max given.
Usage
acf.gamma_m(ar = NULL, ma = NULL, y, h, e = NULL)
Arguments
ar |
Vector of AR coefficients. If |
ma |
Vector of MA coefficients. If |
y |
Univariate time series. |
h |
Computes autocovariances and autocorrelations from lag 1 to lag h with h an integer. |
e |
Vector of residuals. If |
Value
A list with :
gamma_m
Vector of the autocovariances.
rho_m
Vector of the autocorrelations.
See Also
acf.univ
for autocorrelation and autocovariance for only one given lag h.
Examples
param.estim <- estimation(p = 1, q = 1, y = CAC40return.sq)
acf.gamma_m(ar = param.estim$ar, ma = param.estim$ma, y = CAC40return.sq, h = 20)
[Package weakARMA version 1.0.3 Index]