EconPapers    
Economics at your fingertips  
 

Programmable GLM: Two user-defined links

Weihua Guan and Roberto G. Gutierrez
Additional contact information
Weihua Guan: Stata Corporation
Roberto G. Gutierrez: Stata Corporation

Stata Journal, 2002, vol. 2, issue 4, 378-390

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. Copyright 2002 by Stata Corporation.

Keywords: GLM; survival analysis; Cox regression; programming (search for similar items in EconPapers)
Date: 2002
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/software/sj2-4/st0027/ (text/html)
http://www.stata-journal.com/sjpdf.html?articlenum=st0027 (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:2:y:2002:i:4:p:378-390

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:2:y:2002:i:4:p:378-390