residuals.cgarch.estimate | R Documentation |
Extract the residuals of the estimated model.
## S3 method for class 'cgarch.estimate'
residuals(object, standardize = FALSE, type = "standard", ...)
## S3 method for class 'dcc.estimate'
residuals(object, standardize = FALSE, type = "standard", ...)
## S3 method for class 'gogarch.estimate'
residuals(object, standardize = FALSE, type = "standard", ...)
object |
an object of class “cgarch.estimate”, “dcc.estimate” or “gogarch.estimate” |
standardize |
logical. Whether to standardize the residuals by the conditional volatility (only valid for the “standard” type). |
type |
a choice of “standard” (default), “model”, or “whitened” residuals. The first choice is the default and represents the residuals from the first stage univariate GARCH models. The second choice is only useful for the copula model and represents the residuals from the copula after the transformation. In the case of the DCC model this will return the standard type residuals (since they are the same). The last choice represents the whitened (ZCA based) residuals which are the standard residuals multiplied by the inverse of the square root of the conditional covariance matrix. |
... |
not currently used. |
An xts matrix.
In the case of the GOGARCH model, the residuals are calculated as
\varepsilon A
, where A is the mixing matrix applied
to the independent component residuals. These will be equal to the residuals
of the original series only if there is no dimensionality reduction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.