residuals.varstan {bayesforecast} | R Documentation |
Generic function and method for extract the residual of a varstan
object
Description
The function returns the posterior estimate of the residuals
of a varstan
model, similar to the residual functions of other
packages.
Usage
## S3 method for class 'varstan'
residuals(object, robust = FALSE, ...)
Arguments
object |
a |
robust |
a bool value, if its |
... |
Further arguments passed to |
Details
This function only extracts the point-wise estimate of the time series residuals
for extracting all the data use extract_stan()
or posterior_intervals
function
Value
An array with the posterior estimate of the residuals of the time series model,
Author(s)
Asael Alonzo Matamoros
[Package bayesforecast version 1.0.5 Index]