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
Problem grouping hierarchical data into subset of the dataHello I am new to Stata and I am struggling to find the best command /code to the below data. I am …
Recode helpHi, I am trying to get three variables only i.e. England, Wales and Scotland. I want to recode 'n…
cnsreg using i.variables produces different results from self generated dummiesI have a dependent variable y, and the regressors are age, year and cohort (birth year). birth year …
Getting rid of na observablesHi, How do I get rid of na and scotsup,ms observables please? Array …
Panel data logistic regression (xtlogit): Choosing between fixed effects and random effectsHI Helpful List, I have panel data on ~2000 companies between 2005 and 2010. Of these 2000 companie…
Subscribe to:
Post Comments (Atom)
0 Response to Sobel test or bootstrapping for testing mediation
Post a Comment