Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ecmodel.object

Developer documentation: model for covariates on misclassification probabilities


Description

A list representing the model for covariates on misclassification probabilities.

Value

npars

Number of covariate effect parameters. This is defined as the number of covariates on misclassification (with factors expanded as contrasts) multiplied by the number of allowed misclassifications in the model.

ndpars

Number of distinct covariate effect parameters, as npars, but after any equality constraints have been applied.

ncovs

Number of covariates on misclassification, with factors expanded as contrasts.

constr

List of equality constraints on these covariate effects, as supplied in the miscconstraint argument to msm.

covlabels

Names / labels of these covariates in the model matrix (see model.matrix.msm).

inits

Initial values for these covariate effects, as a vector formed from the misccovinits list supplied to msm.

covmeans

Means of these covariates in the data (excluding data not required to fit the model, such as observations with missing data in other elements or subjects' last observations). This includes means of 0/1 factor contrasts as well as continuous covariates (for historic reasons, which may not be sensible).

See Also


msm

Multi-State Markov and Hidden Markov Models in Continuous Time

v1.6.8
GPL (>= 2)
Authors
Christopher Jackson <chris.jackson@mrc-bsu.cam.ac.uk>
Initial release
2019-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.