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
Fixed effects and Control function approachHello Expert, I am trying to apply the fixed effects estimator and control function approach in cont…
"insufficient memory" errorHi guys, When I run an OLS regression I have the following error: "insufficient memory r(950)". The…
RD Regression with multiple thresholdsHello all, I currently try to set up an RD-regression with 10 thresholds. For a single threshold the…
Panel Data EstimationHello Everyone. I wanted to ask this . I am looking at firm level data and ROA as dependent variable…
Does Stata create observations when mergingIs there a situation where Stata creates new observations when you merge? I ran a model on a master …
Subscribe to:
Post Comments (Atom)
0 Response to Sobel test or bootstrapping for testing mediation
Post a Comment