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
Related Posts with Sobel test or bootstrapping for testing mediation
Difference-in-Difference - collinearityDear Statalisters, I am relatively new to Stata, so please bear with me. Also, I am aware that thi…
Two way clustering at Sector and Year level with two fixed effects at Firm and YearHi all, I have a panel dataset for 477 firms in one Country for 2007 to 2017. The following is the …
Loop, preserve, save, merge, restoreDear Stata Users I need to change the data layout for 1164 daily files. The names of the files corr…
Choosing the highest value of a variable in each category corresponding to another variableHello all, I have Var1, which is postal codes, and Var2, dissemination area codes, for which there a…
putdocxfreqtable updated: decimals percentages, value labels not truncatedThe package putdocxfreqtable has been updated after user input. 1. The number of decimals in percen…
Subscribe to:
Post Comments (Atom)
0 Response to Sobel test or bootstrapping for testing mediation
Post a Comment