Thanks as always to Kit Baum, a new version of the xlink package (described as below on my website) 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 xlink.
The new version adds a new module robit9, specifying a robit link with 9 degrees of freedom. Users are encouraged to suggest additional link functions, especially non-robit link functions.
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: 06january2022
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
robit9.ado
robit1.sthlp
robit2.sthlp
robit3.sthlp
robit4.sthlp
robit5.sthlp
robit6.sthlp
robit7.sthlp
robit8.sthlp
robit9.sthlp
xlink.sthlp
-----------------------------------------------------------------------------
(click here to return to the previous screen)
The new version adds a new module robit9, specifying a robit link with 9 degrees of freedom. Users are encouraged to suggest additional link functions, especially non-robit link functions.
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: 06january2022
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
robit9.ado
robit1.sthlp
robit2.sthlp
robit3.sthlp
robit4.sthlp
robit5.sthlp
robit6.sthlp
robit7.sthlp
robit8.sthlp
robit9.sthlp
xlink.sthlp
-----------------------------------------------------------------------------
(click here to return to the previous screen)