Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Update of khb on SSC

From   Ulrich Kohler <>
To   statalist <>
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

. adoupdate khb, update

Those who want to install -khb- fir the first time should use

. ssc install khb


-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.


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index