Wiki home page
Please add material here as you learn...
If you have questions not answered, 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:
base | comparison | ep | minus2LL | df | AIC | diffLL | diffdf | |
---|---|---|---|---|---|---|---|---|
Name of the base model | Name of the comparison model | Estimated parameters of the comparison model | Minus 2*log-likelihood of the comparison model | Degrees in freedom of the comparison model | Akaike's Information Criterion for the comparison model | Change in minus 2*log-likelihood | Change in degrees of freedom | Significance level of the change in fitness function |