pmatrix.msm(x, t=1, covariates="mean", ci=c("none","normal","bootstrap"), cl=0.95, B=1000)
msm
."mean"
, denoting the means of the covariates in
the data (this is the default),
the number 0
, indicating that all the"normal"
, then calculate a confidence interval for
the transition probabilities by simulating B
random vectors
from the asymptotic multivariate normal distribution implied by the
maximum likelihood estimates (and c Or if ci="normal"
or ci="bootstrap"
, pmatrix.msm
returns a list with
components estimates
and ci
, where estimates
is
the matrix of estimated transition probabilities, and ci
is a
list of two matrices containing the upper and lower confidence
limits.
For non-homogeneous processes, where covariates and hence the
transition intensity matrix are time-dependent, but are
piecewise-constant within the time interval [u,
u+t]
, the function pmatrix.piecewise.msm
can be used.
qmatrix.msm
, pmatrix.piecewise.msm
, boot.msm