Simulate a dataset from a Markov model fitted using
msm, using the
maximum likelihood estimates as parameters, and the
same observation times as in the original data.
A fitted multi-state model object as returned by
Should repeated observations in an absorbing state
be omitted. Use the default of
In time-inhomogeneous models fitted using the
This function is a wrapper around
and only simulates panel-observed data. To generate datasets with
the exact times of transition, use the lower-level
Markov models with misclassified states fitted through the
ematrix option to
msm are supported, but not
general hidden Markov models with
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
A dataset with variables as described in
C. H. Jackson [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.