Copyright © 2007-2016 The OpenMx Project

Published on *OpenMx* (http://openmx.ssri.psu.edu)

Wiki home page [1]

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.

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:

basecomparisonepminus2LLdfAICdiffLLdiffdfp

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

**Links**

[1] http://openmx.psyc.virginia.edu/wiki/main-page