I am running a mediation path analysis with a binary outcome using the gsem command, but I do not get any standard errors. I have pasted syntax below. I am trying to move to STATA for SEM, and would appreciate responses from this group.
gsem (vsse <- peersup p2f age_r ld eatq1 eatq2 totrisk_c) (coe <- peersup p2f age_r ld eatq1 eatq2 totrisk_c) (wrkexp1_3 <- wrkexp1_1 peersup coe vsse age_r d_white latina ld eatq1 eatq2 p2f totrisk_c, family(binomial) link(logit)), vce (cluster school)
(Std. Err. adjusted for 26 clusters in school)
------------------------------------------------------------------------------
| Robust
| Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
wrkexp1_3 <- |
peersup | 82766.66 . . . . .
coe | -70096.19 . . . . .
vsse | 2052.884 . . . . .
age_r | -1073.121 . . . . .
d_white | 16488.45 . . . . .
latina | -1514.38 . . . . .
ld | -17496.24 . . . . .
eatq1 | 29162.35 . . . . .
eatq2 | 28899.56 . . . . .
p2f | -1912.811 . . . . .
totrisk_c | -23702.7 . . . . .
_cons | 6.56e+07 . . . . .
------------------------------------------------------------------------------
gsem (vsse <- peersup p2f age_r ld eatq1 eatq2 totrisk_c) (coe <- peersup p2f age_r ld eatq1 eatq2 totrisk_c) (wrkexp1_3 <- wrkexp1_1 peersup coe vsse age_r d_white latina ld eatq1 eatq2 p2f totrisk_c, family(binomial) link(logit)), vce (cluster school)
(Std. Err. adjusted for 26 clusters in school)
------------------------------------------------------------------------------
| Robust
| Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
wrkexp1_3 <- |
peersup | 82766.66 . . . . .
coe | -70096.19 . . . . .
vsse | 2052.884 . . . . .
age_r | -1073.121 . . . . .
d_white | 16488.45 . . . . .
latina | -1514.38 . . . . .
ld | -17496.24 . . . . .
eatq1 | 29162.35 . . . . .
eatq2 | 28899.56 . . . . .
p2f | -1912.811 . . . . .
totrisk_c | -23702.7 . . . . .
_cons | 6.56e+07 . . . . .
------------------------------------------------------------------------------
Comment