Description Usage Arguments Value
Calculate model averaged estimates of state-specific means from a PSBP iHMM fit using the psbpHMM package
1 | modelAveMu(fit, zbest1, ymatrix)
|
fit |
object of type "ihmm" |
zbest1 |
a list of optimal clustering of hidden states |
ymatrix |
matrix of exposure data for all time series, with n*T rows and p columns |
a list with components
mu_ma: posterior mean of model-averaged state-specific means
mu_lwr: .025 quantile of posterior distribution of model-averaged state-specific means
mu_upr: .975 quantile of posterior distribution of model-averaged state-specific means
exp_lwr: minimum empirical data for each exposure within each state
exp_upr: maximum empirical data for each exposure within each state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.