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: 7 mins 
#> * accepted runs: 100 of 100 
#> * log-likelihood: 17650.02 
summary(residuals(dax_model_3t))
#>      Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
#> -3.517897 -0.664017  0.012171 -0.003261  0.673180  3.693577