GDECOMP: Stata module to compute decomposition of outcome differentials after nonlinear models
gdecomp implements a generalized Blinder-Oaxaca decomposition which applies to categorical and count outcomes (and parallel to this, to nonlinear regression models). First, the estimation_command is estimated in the two groups of a groupvar. Then the observed difference in the dependent variable of estimation_command between the groups defined by groupvar is decomposed into three parts: (1) a part due to differences in endowments (labeled by E), (2) a part due to differences in marginal effects and finally (3) a part due to difference in baseline predictions or constants (labeled by U). The margeff package (also available from SSC) is required.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.