View source: R/add_residuals.R
add_residuals.mvgam | R Documentation |
Calculate randomized quantile residuals for mvgam objects
add_residuals(object, ...)
## S3 method for class 'mvgam'
add_residuals(object, ...)
object |
|
... |
unused |
For each series, randomized quantile (i.e. Dunn-Smyth) residuals are calculated for inspecting model diagnostics If the fitted model is appropriate then Dunn-Smyth residuals will be standard normal in distribution and no autocorrelation will be evident. When a particular observation is missing, the residual is calculated by comparing independent draws from the model's posterior distribution
A list object of class mvgam
with residuals included in the 'resids'
slot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.