Dear Stata Users,I used a mediation analysis through KHB method for a linear regression with the following specification:
Code:
. khb reg futrj ib1.nssec3 || i.mfamily314 Decomposition using Linear Probability Models Model-Type: regress Number of obs = 11083 Variables of Interest: ib1.nssec3 R-squared = 0.03 Z-variable(s): i.mfamily314 futrj Coef. Std. Err. z P>z [95% Conf. Interval] 0.nssec3 Reduced 6.695983 .5852068 11.44 0.000 5.548998 7.842967 Full 7.826557 .5912519 13.24 0.000 6.667724 8.985389 Diff -1.130574 .112541 -10.05 0.000 -1.351151 -.9099979 1.nssec3 (base outcome)
I want to check whether I was able to find the same results through the Baron and Kenny method via GSEM. You can find the path diagram below







Since mfamily314 (mediator) is a binary variable, I am not sure whether I need to specify a Gaussian link or a Multinomial link (in that case the specification would be 1.family314).From my results, the specification that gives the same results as the KHB method is the one with a Gaussian link.
However, I was wondering whether this specification is theoretically correct due to the categorical nature of the mediator.
Thank you very much and best regards,
Lydia

Comment