Skip to contents

This function computes (pseudo-) residuals of an fHMM_model object.

Usage

compute_residuals(x, verbose = TRUE)

Arguments

x

An object of class fHMM_model.

verbose

Set to TRUE (default) to print progress messages.

Value

An object of class fHMM_model with residuals included.

Examples

compute_residuals(dax_model_3t)
#> Computed residuals
#> fHMM fitted model:
#> * total estimation time: 3 mins 
#> * accepted runs: 100 of 100 
#> * log-likelihood: 17650.02 
summary(residuals(dax_model_3t))
#>      Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
#> -3.517900 -0.664018  0.012170 -0.003262  0.673180  3.693568