Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get other goodness-of-fit index (such as GFI, NFI) in -SEM-

    Hello, I am using -sem- to do a CFA.

    But I noticed that the command -estat gof, stats(all)- only provide a few goodness-of-fit indices such as RMSEA, X^2, and AIC.

    I would like to know other fitness indices, such as GFI and NFI. Does anyone know how to get them in stata?

  • #2
    Did you find it out by now? And do you maybe know how to get ChiSq/df?

    Comment


    • #3
      Figured it out. In case someone wonders or finds this post in the future: Stata does not compute other fit statistics than you get with estat gof, stats(all)

      If you want other fit statistics (e.g., GFI), you have to calculate them yourself. Formulas can be found all over the web and relevant values can be displayed by using:
      . estat gof, stats(all)
      . return list

      In a next step you can just generate the fit statistics that you want by using the formula and the values from above (e.g., GFI):
      . gen gfi = 1-r(chi2_ms)/r(chi2_bs)
      . display gfi
      Last edited by Ted Nelson; 18 Mar 2020, 10:54.

      Comment


      • #4
        Thanks for your reply. But i find it hard to look for another formula such as for NFI, RMR, RFI

        Comment

        Working...
        X