emodel.object: Developer documentation: misclassification model structure object
Description
A list giving information about the misclassifications assumed in a
multi-state model fitted with the ematrix
argument of
msm
. Returned in a fitted msm
model object.
This information is converted internally to a hmodel
object (see hmodel.object
) for use in likelihood computations.Value
- nstatesNumber of states (same as
qmodel$nstates
). - nparsNumber of allowed misclassifications, equal to
sum(imatrix)
. - imatrixIndicator matrix for allowed misclassifications. This has
$(r,s)$ entry 1 if misclassification of true state $r$ as
observed state $s$ is possible.
diagonal entries are arbitrarily set to 0.
- ematrixMatrix of initial values for the misclassification probabilities, supplied as the
ematrix
argument of msm
. - initsVector of these initial values, reading across rows of
qmatrix
and excluding the diagonal and disallowed transitions. - constrIndicators for equality constraints on baseline misclassification
probabilities, taken from the
econstraint
argument to
msm
, and mapped if necessary to the set (1,2,3,...) - ndparsNumber of distinct misclassification probabilities, after applying
equality constraints.
- niparsNumber of initial state occupancy probabilities being
estimated. This is zero if
est.initprobs=FALSE
, otherwise equal to
the number of states. - initprobsInitial state occupancy probabilities, as supplied to
msm
(initial values before estimation, if est.initprobs=TRUE
.) - est.initprobsAre initial state occupancy probabilities
estimated (
TRUE
or FALSE
), as supplied in the
est.initprobs
argument of msm
.