Thanks as always to Kit Baum, new versions of the packages xlink and ipwbreg are now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have old versions of these packages.
The packages xlink and ipwbreg are described as below on my website. The new version of xlink adds new extra link functions robit1, robit2, robit3, robit5, robit6, and robit8. The new version of ipwbreg only fixes a few typos and inaccuracies in the output and in the online help.
Best wishes
Roger
----------------------------------------------------------------------------
package xlink from http://www.rogernewsonresources.org.uk/stata16
----------------------------------------------------------------------------
TITLE
xlink: Extra link functions for use with glm
DESCRIPTION/AUTHOR(S)
xlink is a library of extra link functions for use with glm.
A user-defined link function for glm is implemented as an ado
file, with the same name as the link function, taking 4
arguments containing, respectively, a to-do indicator, the
name of the variable containing the link functions of the
predicted means, the name of the variable containing the
predicted means, and the name of the variable containing the
first or second derivatives of the means with respect to the
link functions. The to-do indicator is an integer argument,
with values from -1 to 3, indicating whether the ado-file is
being asked to set global macros, link functions, predicted
means, first derivatives of predicted means, and second
derivatives of predicted means, respectively.
Author: Roger Newson
Distribution-Date: 20december2021
Stata-Version: 16
INSTALLATION FILES (click here to install)
robit1.ado
robit2.ado
robit3.ado
robit4.ado
robit5.ado
robit6.ado
robit7.ado
robit8.ado
robit1.sthlp
robit2.sthlp
robit3.sthlp
robit4.sthlp
robit5.sthlp
robit6.sthlp
robit7.sthlp
robit8.sthlp
xlink.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
----------------------------------------------------------------------------
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: 21december2021
Stata-Version: 16
INSTALLATION FILES (click here to install)
ipwbreg.ado
ipwbreg.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
The packages xlink and ipwbreg are described as below on my website. The new version of xlink adds new extra link functions robit1, robit2, robit3, robit5, robit6, and robit8. The new version of ipwbreg only fixes a few typos and inaccuracies in the output and in the online help.
Best wishes
Roger
----------------------------------------------------------------------------
package xlink from http://www.rogernewsonresources.org.uk/stata16
----------------------------------------------------------------------------
TITLE
xlink: Extra link functions for use with glm
DESCRIPTION/AUTHOR(S)
xlink is a library of extra link functions for use with glm.
A user-defined link function for glm is implemented as an ado
file, with the same name as the link function, taking 4
arguments containing, respectively, a to-do indicator, the
name of the variable containing the link functions of the
predicted means, the name of the variable containing the
predicted means, and the name of the variable containing the
first or second derivatives of the means with respect to the
link functions. The to-do indicator is an integer argument,
with values from -1 to 3, indicating whether the ado-file is
being asked to set global macros, link functions, predicted
means, first derivatives of predicted means, and second
derivatives of predicted means, respectively.
Author: Roger Newson
Distribution-Date: 20december2021
Stata-Version: 16
INSTALLATION FILES (click here to install)
robit1.ado
robit2.ado
robit3.ado
robit4.ado
robit5.ado
robit6.ado
robit7.ado
robit8.ado
robit1.sthlp
robit2.sthlp
robit3.sthlp
robit4.sthlp
robit5.sthlp
robit6.sthlp
robit7.sthlp
robit8.sthlp
xlink.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
----------------------------------------------------------------------------
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: 21december2021
Stata-Version: 16
INSTALLATION FILES (click here to install)
ipwbreg.ado
ipwbreg.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)