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
Obtaining the Spatially Weighted Regressors Using spregressHi Everyone: I'm looking for a simple way to obtain the regressors W*X when using spregress, where …
Simple sum within the same variablehello, this may be a very simple question but is it possible to create a variable that simply sums c…
Error in mi impute chained (logit)Hello, I am trying to run an mi impute chained using (logit) and I get the following error message …
define after a certain rangeHello, I want to define a variable conditioned after a certain range of another variable. For inst…
Using GEE for repeated cross sectional, nested dataI'm conducting an impact evaluation for a school level program and interested in evaluating if there…
Subscribe to:
Post Comments (Atom)
0 Response to Sobel test or bootstrapping for testing mediation
Post a Comment