Obtaining bootstrap CIs around goodness of fit measures when performing SEM using STATA (fun extra) @mikecrowson2462
Obtaining bootstrap CIs around goodness of fit measures when performing SEM using STATA (fun extra)  @mikecrowson2462
Uploaded May 2021 | Updated September 2026, 2 weeks ago
This video is mainly for Stata nerds like myself (who for some reason) really like syntax :)

I provide a walkthrough of a strategy for obtaining bootstrap confidence intervals around goodness of fit measures when you are performing SEM using Stata Version 17. The example involves a path analysis model. In the video I talk through a do-file where I go over code I wrote for the model I was running; however, you can also generate the code necessary for bootstrapping by using graphical user interface (GUI). Simply take the code from the output (with any remaining modifications to make sure the syntax is laid out correctly) and plug it into the do-file.

You can download a copy of the data here:
drive.google.com/file/d/1YisZj7IqObhPExjFxQ1XJLqZcPh1ylSA/view

You can obtain a copy of the referenced do-file here:
drive.google.com/file/d/1zsQyL65fFbCSDAZShya-ewaXhu8oJ6wy/view

A little side note: It is possible for TLI to be negative or greater than 1 (see e.g. Shi et al. (2018); journals.sagepub.com/doi/pdf/10.1177/0013164418783530). As such, it is possible that you could end up with a lower bound for your confidence interval that is negative or upper bound greater than 1.

*Shi, D., L.A., Lee, & Maydeu-Olivares, A. (2018). Understanding the model effect size on SEM fit indices. Educational and Psychological Measurement, 79, 310-334.
Obtaining bootstrap CIs around goodness of fit measures when performing SEM using STATA (fun extra)Multilevel binary logistic regression using Stata drop-down menus March 2020)Forward, backward, and stepwise multiple regression options in SPSS (July 2020)Process Model 58  (moderated mediation) using Process macro in RStudioMultilevel path analysis using lavaan and RStudio (video 3 in series)Installing Huangs (2020) SPSS macro for cluster robust standard errorsMultilevel path analysis using lavaan in RStudio (video2; 1-1-1 mediation model)Multiple indictor-Multiple Cause (MIMIC) models using AMOS (Jan 2021)Testing moderated mediation (with parallel mediators) in SPSS with Process Models 7 and 8How to obtain Standardized root mean square residual during SEM with AMOSIndependent samples t-test using SPSS (short demo; April 2020)Moderated mediation in SPSS using Hayes Process Macro (Model 7)
Mike Crowson |

Obtaining bootstrap CI's around goodness of fit measures when performing SEM using STATA (fun extra)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER