Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Ulrich Kohler <kohler@wzb.eu> |
To | statalist <statalist@hsphsun2.harvard.edu> |
Subject | st: Update of khb on SSC |
Date | Thu, 10 Feb 2011 09:30:04 +0100 |
<> Courtesy of Kit Baum, an update of the user written program -khb- is available on SSC. Users of the program can update their installation with . adoupdate khb, update Those who want to install -khb- fir the first time should use . ssc install khb instead. -khb- implements the Karlson/Holm/Breen method for decomposing coefficients from non-linear probability models (logit, probit, ...) into direct and indirect effects. The update is an added a -bootstrap-/-permute- compatibility mode to solve a problem that recently came up on Statalist. It is now possible to do something like this: . sysuse auto . bootstrap _b[indirect], reps(50): khb regress mpg length || weight . permute mpg _b[indirect], reps(50): khb regress mpg length || weight The update also fixes a bug with that appeared if options -xstandard-/-zstandard- are requeseted toghether with weights. Uli * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/