Skip to content

Debugging residuals

Clemens Kreutz edited this page May 12, 2022 · 2 revisions

Quick info (detailed page has to be created)

Useful functions:

arPlotResiduals

arCollectRes(true,true): Then look at ar.resinfo

arDebugResidual

ar.res_type==1 indicates standard residuals data-model/SD, i.e. conicides with ar.model.data.res

ar.res_type==2 indicates 1/sqrt(2*sigma) residuals, i.e. conicides with ar.model.data.reserr

ar.res_type==3 indicates residuals originating from parameter priors

ar.res_type==4 indicates residuals from random effects

Clone this wiki locally