Generate a boxplot of all fitted parameters, generated by fitting an autoregressive HMM to data. Includes a comparison to the true value. Currently only works for a simulation containing one gamma distributed and one von Mises distributed variable.
Usage
boxplot_sim_params(
gamma_mu,
gamma_sigma,
vm_mu,
vm_kappa,
gamma_auto = 0,
vm_auto = 0,
true_values,
nstates = 2,
vm_head_pos = 0
)
Arguments
- gamma_mu
Fitted values of the parameter mu of the gamma distribution.
- gamma_sigma
Fitted values of the parameter sigma of the gamma distribution.
- vm_mu
Fitted values of the parameter mu of the von Mises distribution.
- vm_kappa
Fitted values of the parameter kappa of the von Mises distribution.
- gamma_auto
Fitted values of the autoregression parameters of the gamma distribution. 0 if no autoregression was fitted.
- vm_auto
Fitted values of the autoregression parameters of the von Mises distribution. 0 if no autoregression was fitted.
- true_values
True parameter values, order: [gamma_mu, gamma_sigma, vm_mu, vm_kappa, gamma_auto, vm_auto]
- nstates
Number of states fitted (default: 2). Works only for 2 states!
- vm_head_pos
optional, determines position of heading of von Mises distribution. Only gets used for fitted models without autoregression