You are here


Primary tabs

Wiki home page

Please add material here as you learn...

If you have questions not answers, then add those here: That's how a wiki works.

Usage: mxCompare(base, comparison, digits = 3)
base: An MxModel object or list of MxModel objects.
comparison: A MxModel object or list of MxModel objects.
digits: A numeric setting table decimal precision.

Comparing two or more models

This function is provided to allow the user to compare the fit of one or more models to a base model.
The output is a table with one row per model comparison as follows:

Name of the base modelName of the comparison modelEstimated parameters of the comparison modelMinus 2*log-likelihood of the comparison modelDegrees in freedom of the comparison modelAkaike's Information Criterion for the comparison modelChange in minus 2*log-likelihoodChange in degrees of freedomSignificance level of the change in fitness function