Developer documentation: misclassification model structure object
Description
A list giving information about the misclassifications assumed in a
multistate 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
nstates 
Number of states (same as 
npars 
Number of allowed misclassifications, equal to 
imatrix 
Indicator 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. 
ematrix 
Matrix of initial values for the misclassification probabilities, supplied as the 
inits 
Vector of these initial values, reading across rows of

constr 
Indicators for equality constraints on baseline misclassification
probabilities, taken from the 
ndpars 
Number of distinct misclassification probabilities, after applying equality constraints. 
nipars 
Number of initial state occupancy probabilities being
estimated. This is zero if 
initprobs 
Initial state occupancy probabilities, as supplied to

est.initprobs 
Are initial state occupancy probabilities
estimated ( 
See Also
msm.object
,qmodel.object
, hmodel.object
.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.