I’m trying to run a simple single-factor model with four continuous indicators. Even though the four indicators have very higher (>.9) intercorrelations, the fit indices in Stata are not good and also it's showing df = 6 rather than 2.
Specifically, in Stata
Chi-square = 1261.533
RMSEA=.768
CFI=.787
TLI=.646
df=6
The sample size is 356.
If I run the same analysis in MPlus
Chi-square = 4.956
RMSEA = .064
CFI = .999
TLI=.997
df=2
For some reason MPlus shows a sample size of 357, so I think it’s including one value with some missing data. Stata is excluding that.
I’m using Stata SE version 16.1 and I have installed all the updates. Here’s the code I’m using . Note that I’m running MPlus from Stata using the runmplus command.
Has anyone had similar problems with Stata?
Chris
Specifically, in Stata
Chi-square = 1261.533
RMSEA=.768
CFI=.787
TLI=.646
df=6
The sample size is 356.
If I run the same analysis in MPlus
Chi-square = 4.956
RMSEA = .064
CFI = .999
TLI=.997
df=2
For some reason MPlus shows a sample size of 357, so I think it’s including one value with some missing data. Stata is excluding that.
I’m using Stata SE version 16.1 and I have installed all the updates. Here’s the code I’m using . Note that I’m running MPlus from Stata using the runmplus command.
Code:
sem (PPR -> PPR1 PPR2 PPR3 PPR4), method(ml) nocapslatent estat gof, stats(all) runmplus PPR1 PPR2 PPR3 PPR4, model(PPR by PPR1-PPR4;)
Chris
Comment