Dear everyone,

I am testing a mediating model and after running my multiple fixed effects regressions I would like to test for either Sobel or Bootstrapping (Preacher & Hayes, 2004) in order to assess the significant of the direct, inderect and total effects but on the web I could only find tutorials for SPSS or R.

I found an article (https://ederosia.byu.edu/using-stata...-of-mediation/) that shows this commands:
sgmediation DEP_VAR, iv(INDEP_VAR) mv(MED_VAR) bootstrap r(ind_eff), reps(5000): sgmediation DEP_VAR, iv(INDEP_VAR) mv(MED_VAR) estat bootstrap, percentile But it is not possible to download the smediation function on STATA from the UCLA website.

Does anyone have any solution for this and could kindly tell me the exact commands needed?


Any help is greatly appreciated!!

Regards,
Siham