Announcement

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

  • What are the commands to compare two Chi-square fits of two SEM models?

    What are the commands to compare two Chi-square fits of two SEM models? Thanks!

  • #2
    You probably want to use lrtest. Something like

    sem ...
    estimates store m1
    sem ...
    estimates store m2
    lrtest m1 m2, stats

    You can use lrtest for all sorts of things like this, e.g. compare two logit models. The assumption is that the models are nested. Also, the model has to generate a LR chi-square. If, say, you were using the svy: prefix, you would get Wald chi-squares which cannot be compared in this way.
    -------------------------------------------
    Richard Williams, Notre Dame Dept of Sociology
    StataNow Version: 19.5 MP (2 processor)

    EMAIL: [email protected]
    WWW: https://www3.nd.edu/~rwilliam

    Comment

    Working...
    X