msm, using the
maximum likelihood estimates as parameters, and the
same observation times as in the original data.simfitted.msm(x, drop.absorb=TRUE, drop.pci.imp=TRUE)msm.TRUE to avoid warnings when using the
simulated dataset for further msm fits. Or set to
FALSEsimmulti.msm.simmulti.msm,
and only simulates panel-observed data. To generate datasets with
the exact times of transition, use the lower-level
sim.msm. Markov models with misclassified states fitted through the
ematrix option to msm are supported, but not
general hidden Markov models with hmodel. For
misclassification models, this function includes misclassification in
the simulated states.
This function is used for parametric bootstrapping to estimate the
null distribution of the test statistic in pearson.msm.
simmulti.msm, sim.msm, pearson.msm, msm.