You are here


Primary tabs

Wiki home pagePlease 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:

<table border="1"><tr><td>base</td><td>comparison</td><td>ep</td><td>minus2LL</td><td>df</td><td>AIC</td><td>diffLL</td><td>diffdf</td><td>p</td></tr>

Name of the base model Name of the comparison model Estimated parameters of the comparison model Minus 2log-likelihood of the comparison model Degrees in freedom of the comparison model Akaike's Information Criterion for the comparison model Change in minus 2log-likelihood Change in degrees of freedom Significance level of the change in fitness function