Thanks as always to Kit Baum, new versions of the xlink and ipwbreg packages 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 xlink and ipwbreg packages are described as below on my website. The new xlink adds a new link function robit4, specifying the robit link with 4 degrees of freedom (which might be more outlier-resistant than the existing robit7). The new ipwbreg adds 2 saved scalar results e(stabfac0) and e(stabfac1), containing the stabilization factors for the binary regression model generating the inverse-probability weights.
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: 17october2021
Stata-Version: 16
INSTALLATION FILES (click here to install)
robit4.ado
robit4.sthlp
robit7.ado
robit7.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: 09november021
Stata-Version: 16
INSTALLATION FILES (click here to install)
ipwbreg.ado
ipwbreg.sthlp
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(click here to return to the previous screen)
Related Posts with New versions of xlink and ipwbreg on SSC
True Zero ValuesHello everyone. I have panel data set of 27 manufacturing industries for T=20, Effective Tax Rate is…
Export excel decimalDear all, Could you advise how I can use export excel command with specific number of decimal? I co…
Implementation of an event study with risk effectsDear all, I am running an event study with 649 firm announcements about digital innovations. With …
How official does a Windows Python version have to be to be usable by Stata?Hello All. Thanks to Rafal Raciborski of StataCorp, I now know about the python: prefix in Stata Ver…
Finding two adjacent events in time.Dear users, I’m currently stuck in a script and would very much appreciate some help. I am using a…
Subscribe to:
Post Comments (Atom)
0 Response to New versions of xlink and ipwbreg on SSC
Post a Comment