p-values from summary and mxCompare do not match
Posted on
JWiley
Joined: 03/25/2011
Attachment | Size |
---|---|
pvalExample.R | 1.82 KB |
Forums
Specifically, I fit a model as well as a saturated model. When calling summary, I pass the -2LL and DF from the saturated model, with mxCompare, I compare my model with the saturated. Here are the results, everything else is as expected. Am I missing something?
from summary():
chi-square: 5.35
p: 1
from summary():
chi-square: 5.35
p: 1
from mxCompare():
minus2LL df AIC diffLL diffdf p
1 5318 742 3834 NA NA NA
2 5323 744 3835 5.35 2 0.0691
A reproducible example is provided in the attached script. I am using r57586 on Windows x64 with OpenMx_999.0.0-1661.
mxCompare() invokes the
Whether or not mxCompare() should be passing optional arguments to the summary() function is a question for the other people on the development team.
Log in or register to post comments
In reply to mxCompare() invokes the by mspiegel
support mxCompare(numbs, numStats, SaturatedLikelihood, indep)
Log in or register to post comments