Thanks yet again to Kit Baum, a new version of the ipwbreg package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of ipwbreg.

The ipwbreg package is described as below on my website. The new version adds a nostabfact option to specify stabilization factors of 1, instead of the weighted proportion of observations with the appropriate binary outcome value. Therefore, the nostabfact option creates inverse-propensity weights that standardize the sample to a target population with equal numbers of individuals with binary outcome 0 and 1, instead of standardizing the sample to a target population with the same proportion of individuals with a positive outcome as in the sample.

Best wishes

Roger

---------------------------------------------------------------------------
package ipwbreg from http://www.rogernewsonresources.org.uk/stata16
---------------------------------------------------------------------------

TITLE
ipwbreg: Inverse propensity weights from Bernoulli regression

DESCRIPTION/AUTHOR(S)
ipwbreg fits a Bernoulli generalized linear regression model
for a binary dependent variable in a list of independent
variables, and then outputs a list of inverse propensity
weight variables. These propensity weight variables may be
used to estimate propensity-adjusted effects of the binary
treatment on an outcome variable. ipwbreg requires the xlink
package, if it is used with the extra link functions for glm
supplied in xlink.

Author: Roger Newson
Distribution-Date: 07october021
Stata-Version: 16

INSTALLATION FILES (click here to install)
ipwbreg.ado
ipwbreg.sthlp
---------------------------------------------------------------------------
(click here to return to the previous screen)