qmatrix.msm(x, covariates="mean", sojourn=FALSE, cl=0.95)
msm
"mean"
, denoting the means of the covariates in
the data (this is the default),
the number 0
, indicating that all the covariasojourn
is TRUE
, extra components called
sojourn
and sojournSE
are included, containing the
estimate and standard errors, 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. The delta method is used to
obtain from these the standard error of the intensities on the natural
scale at arbitrary covariate values. Confidence limits are calculated
by assuming normality on the log scale.pmatrix.msm
, sojourn.msm
,
deltamethod
, ematrix.msm