NA for test statistics and fit indices

Posted on
No user picture. Yonghao Joined: 03/08/2011

Hi,

I ran a piecewise latent growth model with 9 timepoints and the knot at the 6th timepoint. The model converged normally but the chi-square, p and rmsea were all NA. Is there any reason this should be the case or am i missing something?

Regards,
Yonghao

Replied on Wed, 03/09/2011 - 10:19
Picture of user. Ryne Joined: Jul 31, 2009

This is intentional, assuming you're using raw data. Those statistics depend on comparison to a saturated model, which in SEM is most commonly a model with totally free means and covariance matrices. When you input a covariance matrix or covariance matrix and means as data, then that saturated model is easy (read: so quick you don't notice that we do it) to do automatically, so we do it for you. When you have raw data with missingness, then it can take some time to estimate the saturated model under FIML. We don't do it for you so your model won't take longer. This also means that you can run the saturated model once, then run all of the comparison models you want without redoing any work.

You can specify the saturated model yourself and add it to the summary of your fitted model. The summary function has an argument for SaturatedLikelihood; just supply the fitted saturated model to that argument and fit stats like RMSEA and the chi-square will be populated.

Replied on Wed, 03/09/2011 - 10:30
No user picture. Yonghao Joined: Mar 08, 2011

In reply to by Ryne

Dear Ryne,

Thank you for your reply. I have also just gotten the answer by searching through the forum and reading earlier posts. Should have done my homework before i post my question. I do not have any missing data so i guessed inputting the covariance matrix and mean vector would be much more convenient.

Once again, thanks a lot.

Regards

Replied on Mon, 02/06/2012 - 14:24
Picture of user. Ryne Joined: Jul 31, 2009

In reply to by brauer

This is still the case, and is an intentional feature of OpenMx. If you want fit stats for raw data models, you'll have to provide the saturated model you want your model compared to. We intentionally don't make assumptions about your models, leaving you to specify exactly what models you want to compare.

If you have complete data (i.e., no missingness), you'll get fit stats automatically when you analyze a covariance matrix (and means). We've also added support for users to add their own specified independence models for stats like CFI (independenceLikelihood and independenceDoF arguments in the summary function).

Replied on Fri, 10/18/2019 - 11:03
Picture of user. tbrick Joined: Jul 31, 2009

This is an old comment thread, but someone found it on google and asked me about it, so I thought I'd update this for future finders. The mxRefModels() function will generate and fit sensible reference models for many standard model types if you want fit statistics. Also, see the help on mxSummary() for some additional details.