Hello everyone,
I am new to SEM. My model has a count mediator and a continuous outcome, so I am using GSEM command to run the mixed model of two equations. One is to predict the count mediator, and the other is to predict the continuous outcome including the mediator and three control variables (x4, x5, x6). x1, x2, x3 are independent variables of interest. My purpose is to test indirect effects using structural equation model.
The code is like:
gsem (mediator<-x1, x2, x3, nbreg) (outcome<-x1, x2, x3, x4, x5, x6)
My questions are :
1) what is the difference between GSEM and the situation that I run two models separately. It seems that GSEM just puts two equations in one command. The results are the same as separate models of a nbreg (negative binomial regression) and a linear regression.
2) how to evaluate the results of GSEM? Can GSEM produce goodness of fit tests like sem, so that the model can be evaluated, modified and compared. I do a lot of research, but I cannot find helpful information about that. Any relevant literature recommended?
I appreciate your help in advance.
Related Posts with how to evaluate goodness of fit of GSEM?
xtscc for T>NHi Dear, Can we apply xtscc when we have a long panel i.e. T>N? I know that it is for N>T, b…
MICE with ordinal categorical variablesHello, I'm doing multiple imputation using chained equations (MICE) on a set of ordinal variables: …
Convert xy coordinate in meters to degrees in StataDear Statalisters, I am trying to convert coordinates in meters to xy latitude and longitude in Sta…
Using probability weights given by datasetI am currently trying to carry out the Mundlak approach to NELS:88-92 dataset. I was wondering if so…
Which analysis is proper xtgls or xtreg,fe vce(robust)?Hi, I have panel dataset for 85countires. The time period is for 40 years(1978 to 2017), but the ma…
Subscribe to:
Post Comments (Atom)
0 Response to how to evaluate goodness of fit of GSEM?
Post a Comment