Parameters of fitted two-phase models, in mixture model parameterisation.
phasemeans.msm(
x,
covariates = "mean",
ci = c("none", "normal", "bootstrap"),
cl = 0.95,
B = 1000,
cores = NULL
)
Matrix with one row for each state that has a two-phase
distribution, and three columns: the short-stay mean, long-stay mean and
long-stay probability. These are functions of the transition intensities of
the expanded hidden Markov model, defined in d2phase
.
A fitted multi-state model, as returned by msm
.
Covariate values, see qmatrix.msm
.
If "none"
(the default) no confidence intervals are
calculated. Otherwise "normal"
, or "boot"
as described by
qmatrix.msm
.
Width of the symmetric confidence interval, relative to 1.
Number of bootstrap replicates, or number of normal simulations from the distribution of the MLEs.
Number of cores to use for bootstrapping using parallel
processing. See boot.msm
for more details.
C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk
d2phase
.