Hello,
I would like to run a mediation analysis with a logit model using a binary independent variable, a binary mediator, and a binary dependent variable.
I have been searching for ways to do it in Stata and have come across several possible options. The most promising option is the user-written program -khb-, created by Ulrich Kohler, Kristian Bernt Karlson, and Anders Holm, and detailed in the following article:
Kohler, U., K.B. Karlson, and A. Holm. 2011. "Comparing Coefficients of Nested Nonlinear Probability Models." Stata Journal, 11(3): 420-38.
My biggest question at this time relates to the way in which the standard errors and confidence intervals are calculated using -khb-. Kohler, Karlson, and Holm indicate that their program can be used with various types of IVs, mediators, and DVs, including dichotomous ones. But they indicate that the standard errors are calculated using Sobel's (1982) method, which assumes a normal distribution. Since dichotomous variables cannot be assumed to be normally distributed, Hayes (2009) and Preacher and Hayes (2004) argue that Sobel's method cannot be used and that instead you need to bootstrap the standard errors when working with dichotomous variables.
But I notice that the -vce- option in -khb- does not allow use of the command -bootstrap-, but rather only -cluster- and -robust-.
Have there been any further changes made to -khb- of which I am unaware that allow the use of bootstrapping standard errors? Or am I misunderstanding the capabilities of the -khb- command with regard to use of the bootstrap? If not, my guess is that I may have to look to other options for running my desired mediation analysis.
Thanks in advance for any insight,
--David
I would like to run a mediation analysis with a logit model using a binary independent variable, a binary mediator, and a binary dependent variable.
I have been searching for ways to do it in Stata and have come across several possible options. The most promising option is the user-written program -khb-, created by Ulrich Kohler, Kristian Bernt Karlson, and Anders Holm, and detailed in the following article:
Kohler, U., K.B. Karlson, and A. Holm. 2011. "Comparing Coefficients of Nested Nonlinear Probability Models." Stata Journal, 11(3): 420-38.
My biggest question at this time relates to the way in which the standard errors and confidence intervals are calculated using -khb-. Kohler, Karlson, and Holm indicate that their program can be used with various types of IVs, mediators, and DVs, including dichotomous ones. But they indicate that the standard errors are calculated using Sobel's (1982) method, which assumes a normal distribution. Since dichotomous variables cannot be assumed to be normally distributed, Hayes (2009) and Preacher and Hayes (2004) argue that Sobel's method cannot be used and that instead you need to bootstrap the standard errors when working with dichotomous variables.
But I notice that the -vce- option in -khb- does not allow use of the command -bootstrap-, but rather only -cluster- and -robust-.
Have there been any further changes made to -khb- of which I am unaware that allow the use of bootstrapping standard errors? Or am I misunderstanding the capabilities of the -khb- command with regard to use of the bootstrap? If not, my guess is that I may have to look to other options for running my desired mediation analysis.
Thanks in advance for any insight,
--David
Comment