acf.gamma_m | R Documentation |
Computes empirical autocovariances and autocorrelations function for an ARMA process for lag max given.
acf.gamma_m(ar = NULL, ma = NULL, y, h, e = NULL)
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 |
A list with :
gamma_m
Vector of the autocovariances.
rho_m
Vector of the autocorrelations.
acf.univ
for autocorrelation and autocovariance for only one given lag h.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.