Abstract
With the release of Stata 7, the glm command for fitting generalized linear models underwent a substantial overhaul. Stata 7 glm contains an expanded array of variance estimators, regression diagnostics, and other enhancements. The overhaul took place to coincide with the release of Hardin and Hilbe (2001). With the new glm came a modular design that enables users to program customized link functions, variance functions, and weight functions to be used if Newey–West covariance estimates are desired. Because cases requiring customized link functions are the more prevalent in the literature, only those are considered here. We give two examples where a nonstandard link function is required: the relative survival model of Hakulinen and Tenkanen (1987)and a logistic model that accounts for natural response as described in Collett (2003). The relative ease (over previous versions of Stata) with which these alternate links can be programmed into glm is demonstrated.
Cite
CITATION STYLE
Guan, W., & Gutierrez, R. G. (2002). Programmable GLM: Two User-defined Links. The Stata Journal: Promoting Communications on Statistics and Stata, 2(4), 378–390. https://doi.org/10.1177/1536867x0200200404
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.