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
Generating new variables using macros and loopsHello, I am trying to generate new variables with the use of macros and having issues with the synta…
How to generate the Strong Parallel Trend Assumption presented in Callaway, Goodman-Bacon & Sant'Anna 2021I'm running a DID model with multiple timer periods and continuous treatment. I currently run the tr…
Labeling interaction terms in coefplotHi, I am trying to create a coefficient plot using just an interaction term that interacts a dummy …
Statistical inferenceThe country is Japan, the period is 1972-2020, and the data is annual information. The current accou…
Help with clock() functionDear all, I had a time variable in string format. I use clock() function to change it to Stata read…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation using sgmediation
Post a Comment