Dear all,
I am conducting a fe panel regression in stata and want to check for a mediation
I am using the sgmediation package and I am running the following code:
sgmediation dv, iv(independent variable) mv(mediator) cv(controls) -> the variable names are in brackets
I am getting significant effects of the mediator and the IV (for the direct and indirect effect)
After that I want to bootstrap the results
bootstrap r(ind_eff) r(dir_eff), reps(5000): sgmediation dv, iv(independent variable) mv(mediator) cv(controls)
But now the indirect effect _bs_1 has a p value of 0.3 and thereby is not significant anymore
Could you please help me how I can interpret the results?
Is the model with a mediation not working for me?
when running estat bootstrap, percentile the interval value is not 0
Related Posts with Mediation using sgmediation
How to generate count/ average no. of personi want to generate count of activity/average no. person. …
Major concern about xtdidregress after checkingDear all Statalist, I am concerning the syntax for checking did released by Stata called xtdidregres…
Original data source for colon.dta in strsHello! everyone, I use "colon.dta" in strs to estimate relative survival in my job, but the difficu…
change to long formatI want to change the following dataset to long format. The data example is given below: There are th…
Dropping the whole group based on condition relating to missing variableDear all, Today I found a problem regarding dropping the whole group conditionally. This time it se…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation using sgmediation
Post a Comment