powered by
Computes the gradient of the residuals of an ARMA model.
gradient(ar = NULL, ma = NULL, y)
Vector of ar coefficients.
ar
Vector of ma coefficients.
ma
Univariate time series.
A list containing:
der.eps
Matrix of the gradient.
esp
Vector of residuals.
# NOT RUN { est<-estimation(p = 1, q = 1, y = CAC40return.sq) gradient(ar = est$ar, ma = est$ma, y = CAC40return.sq) # }
Run the code above in your browser using DataLab