pmatrix.msm(x, t=1, t1=0, covariates="mean",
ci=c("none","normal","bootstrap"), cl=0.95, B=1000, cores=NULL,
...)
msm
.x
with piecewise-constant intensities fitted
using the pci
option to msm
. The probabilities will be computed on the interval [t1,"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 cboot.msm
for more details.MatrixExp
to
control the method of computing the matrix exponential. 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 $Q$ are piecewise-constant in time,
the transition probability matrix is calculated as
a product of matrices over a series of intervals, as explained in
pmatrix.piecewise.msm
.
The pmatrix.piecewise.msm
function is only necessary for models fitted using a
time-dependent covariate in the covariates
argument to
msm
. For time-inhomogeneous models fitted using "pci",
pmatrix.msm
can be used, with arguments t
and t1
,
to calculate transition probabilities over any time period.
qmatrix.msm
, pmatrix.piecewise.msm
, boot.msm