gradient | R Documentation |
Computes the gradient of the residuals of an ARMA model.
gradient(ar = NULL, ma = NULL, y)
ar |
Vector of |
ma |
Vector of |
y |
Univariate time series. |
A list containing:
der.eps
Matrix of the gradient.
esp
Vector of residuals.
est<-estimation(p = 1, q = 1, y = CAC40return.sq) gradient(ar = est$ar, ma = est$ma, y = CAC40return.sq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.