Calculate randomized quantile residuals for mvgam objects
Source:R/add_residuals.R
add_residuals.mvgam.Rd
Calculate randomized quantile residuals for mvgam objects
Arguments
- object
list
object returned frommvgam
. Seemvgam()
- ...
unused
Details
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