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
Kurtosis of three values always equals 1.5Dear Statalist, I got stuck with a surprising issue today when analyzing a dataset. I wanted to com…
Using tabstat with macro?I am using BWGHT.DTA with a macro created as: local bwghtvars bwght cigs faminc fatheduc motheduc p…
Combine two datasets and estimate values in relation to datesHello, I am doing an event study and posted a question a few days ago, and was able to solve the pr…
Generating new variable based on the maximum value of a group of variables by countryDear all, I am currently working with a country-level religion adherence dataset which looks as fol…
sgmediationDoes anyone know how I can get this package? Everything I see when I search is no longer available. …
Subscribe to:
Post Comments (Atom)
0 Response to Mediation using sgmediation
Post a Comment