I have created an SEM latent growth mediation model using FIML (Stata 14). I need to get bootstrap standard errors (SE) and confidence intervals for various path in these models. As far as I can tell, using the "estat teffects” Stata command after the SEM model only gives me the Sobel SE. I need bootstrap SE and confidence intervals, as this is the publication standard in most journals these days.
If you have suggestions or syntax for obtaining the bootstrap SE and confidence intervals for the direct, indirect, and total path for an SEM mediation model in Stata, I would be very grateful.
Thank you!
In case it is helpful, here is the syntax for the SEM model.
sem (Outcome1<-I@1 S@0 _cons@0) ///
(Outcome2<-I@1 S@1 _cons@0) ///
(Outcome4<-I@1 S@2 _cons@0) ///
(Outcome6<-I@1 S@3 _cons@0) ///
(Mediator1 <- IV1 control1 control2 _cons) ///
(Mediator1 <- IV2 control1 control2 _cons) ///
(Mediator2 <- IV1 control1 control2 _cons) ///
(Mediator2 <- IV2 control1 control2 _cons) ///
(Mediator3 <- IV1 control1 control2 _cons) ///
(Mediator3 <- IV2 control1 control2 _cons) ///
(I <- IV1 IV2 control1 control2 _cons) ///
(S <- IV1 IV2 control1 control2 _cons), ///
latent(I S) ///
var(e.Outcome1@var e.Outcome2@var e.Outcome4@var e.Outcome6@var) ///
method(mlmv) vce(cluster schoolvar)
estat teffects
If you have suggestions or syntax for obtaining the bootstrap SE and confidence intervals for the direct, indirect, and total path for an SEM mediation model in Stata, I would be very grateful.
Thank you!
In case it is helpful, here is the syntax for the SEM model.
sem (Outcome1<-I@1 S@0 _cons@0) ///
(Outcome2<-I@1 S@1 _cons@0) ///
(Outcome4<-I@1 S@2 _cons@0) ///
(Outcome6<-I@1 S@3 _cons@0) ///
(Mediator1 <- IV1 control1 control2 _cons) ///
(Mediator1 <- IV2 control1 control2 _cons) ///
(Mediator2 <- IV1 control1 control2 _cons) ///
(Mediator2 <- IV2 control1 control2 _cons) ///
(Mediator3 <- IV1 control1 control2 _cons) ///
(Mediator3 <- IV2 control1 control2 _cons) ///
(I <- IV1 IV2 control1 control2 _cons) ///
(S <- IV1 IV2 control1 control2 _cons), ///
latent(I S) ///
var(e.Outcome1@var e.Outcome2@var e.Outcome4@var e.Outcome6@var) ///
method(mlmv) vce(cluster schoolvar)
estat teffects
Comment