View source: R/omxConstrainThresholds.R
omxConstrainMLThresholds | R Documentation |
Add constraint to ML model to keep thresholds in order
omxConstrainMLThresholds(model, dist = 0.1)
model |
the MxModel to which constraints should be added |
dist |
unused |
This function adds a nonlinear constraint to an ML model. The constraint keeps the thresholds in order. Constraints often slow model estimation, however, keeping the thresholds in increasing order helps ensure the likelihood function is well-defined. If you're having problems with ordinal data, this is one of the things to try.
a new MxModel object with the constraints added
demo("omxConstrainMLThresholds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.