qmatrix.msm(x, covariates="mean", sojourn=FALSE,
ci=c("delta","normal","bootstrap","none"), cl=0.95,
B=1000, cores=NULL)
msm
."mean"
, denoting the means of the covariates in
the data (this is the default),
the number 0
, indicating that all the covariat"delta"
(the default) then confidence intervals are
calculated by the delta method, or by simple transformation of the
Hessian in the very simplest cases. Normality on the log scale
is assumed. If "normal"
, t
boot.msm
for more details.ci="none"
, then qmatrix.msm
just returns the
estimated transition intensity matrix. If sojourn
is TRUE
, extra components called
sojourn
, sojournSE
, sojournL
and sojournU
are included, containing the
estimates, standard errors and confidence limits, respectively, of the
mean sojourn times in each transient state.
The default print method for objects returned by
qmatrix.msm
presents estimates and confidence limits. To
present estimates and standard errors, do something like
qmatrix.msm(x)[c("estimates","SE")]
msm
. A covariance matrix is estimated from the
Hessian of the maximised log-likelihood.A more practically meaningful parameterisation of a continuous-time Markov model with transition intensities $q_{rs}$ is in terms of the mean sojourn times $-1 / q_{rr}$ in each state $r$ and the probabilities that the next move of the process when in state $r$ is to state $s$, $-q_{rs} / q_{rr}$.
pmatrix.msm
, sojourn.msm
,
deltamethod
, ematrix.msm