IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v2y2002i4p378-390.html
   My bibliography  Save this article

Programmable GLM: Two user-defined links

Author

Listed:
  • Weihua Guan

    (Stata Corporation)

  • Roberto G. Gutierrez

    (Stata Corporation)

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.

Suggested Citation

  • Weihua Guan & Roberto G. Gutierrez, 2002. "Programmable GLM: Two user-defined links," Stata Journal, StataCorp LP, vol. 2(4), pages 378-390, November.
  • Handle: RePEc:tsj:stataj:v:2:y:2002:i:4:p:378-390
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/software/sj2-4/st0027/
    Download Restriction: no

    File URL: http://www.stata-journal.com/sjpdf.html?articlenum=st0027
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Joseph Hilbe, 1993. "Generalized linear models," Stata Technical Bulletin, StataCorp LP, vol. 2(11).
    2. T. Hakulinen & L. Tenkanen, 1987. "Regression Analysis of Relative Survival Rates," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 36(3), pages 309-317, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Trottmann, Maria & Zweifel, Peter & Beck, Konstantin, 2012. "Supply-side and demand-side cost sharing in deregulated social health insurance: Which is more effective?," Journal of Health Economics, Elsevier, vol. 31(1), pages 231-242.
    2. Aysit Tansel & H. Mehmet Taşçı, 2010. "Hazard Analysis of Unemployment Duration by Gender in a Developing Country: The Case of Turkey," LABOUR, CEIS, vol. 24(4), pages 501-530, December.
    3. Lu Tang & Ling Zhou & Peter X. K. Song, 2019. "Fusion learning algorithm to combine partially heterogeneous Cox models," Computational Statistics, Springer, vol. 34(1), pages 395-414, March.
    4. Anabela Botelho & Aida Sá & José Fraga & Márcia Quaresma & Margarida Costa, 2011. "The temporal pattern and the overall effect of ozone exposure on pediatric respiratory morbidity," NIMA Working Papers 41, Núcleo de Investigação em Microeconomia Aplicada (NIMA), Universidade do Minho.
    5. Lo, Chi Ho & Fung, Wing Kam & Zhu, Zhong Yi, 2006. "Generalized estimating equations for variance and covariance parameters in regression credibility models," Insurance: Mathematics and Economics, Elsevier, vol. 39(1), pages 99-113, August.
    6. Aysit TANSEL & H. Mehmet TASCI, 2001. "Determinants of Unemployment Duration for Men and Women in Turkey," Middle East and North Africa 330400055, EcoMod.
    7. Choe, Chung & Flores-Lagunes, Alfonso & Lee, Sang-Jun, 2011. "Do Dropouts Benefit from Training Programs? Korean Evidence Employing Methods for Continuous Treatments," IZA Discussion Papers 6064, Institute of Labor Economics (IZA).
    8. James W. Hardin & Henrik Schmeidiche & Raymond J. Carroll, 2003. "Instrumental variables, bootstrapping, and generalized linear models," Stata Journal, StataCorp LP, vol. 3(4), pages 351-360, December.
    9. Helmut Fryges & Joachim Wagner, 2021. "Exports and Productivity Growth — First Evidence from a Continuous Treatment Approach," World Scientific Book Chapters, in: Joachim Wagner (ed.), MICROECONOMETRIC STUDIES OF FIRMS’ IMPORTS AND EXPORTS Advanced Methods of Analysis and Evidence from German Enterprises, chapter 6, pages 57-86, World Scientific Publishing Co. Pte. Ltd..
    10. Kamila Cygan-Rehm, 2014. "Immigrant Fertility in Germany: The Role of Culture," Schmollers Jahrbuch : Journal of Applied Social Science Studies / Zeitschrift für Wirtschafts- und Sozialwissenschaften, Duncker & Humblot, Berlin, vol. 134(3), pages 305-340.
    11. Antoni, Manfred, 2011. "Lifelong learning inequality? The relevance of family background for on-the-job training," IAB-Discussion Paper 201109, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    12. Joachim Wagner, 2008. "Exports and Firm Characteristics – First Evidence from Fractional Probit Panel Estimates," Working Paper Series in Economics 97, University of Lüneburg, Institute of Economics.
    13. Christian K.M. Kingombe, 2012. "Regional Analysis of Eastern Province Feeder Road Project - District level estimation of the Poverty Alleviation Effects of Rural Roads Improvements in Zambia’s Eastern Province," IHEID Working Papers 10-2012, Economics Section, The Graduate Institute of International Studies.
    14. Lutz Bellmann & Hans-Dieter Gerner & Christian Hohendanner, 2014. "Fixed-term contracts and dismissal protection. Evidence from a policy reform in Germany," Working Paper Series in Economics 320, University of Lüneburg, Institute of Economics.
    15. Celeste, Roger Keller & Nadanovsky, Paulo, 2010. "How much of the income inequality effect can be explained by public policy? Evidence from oral health in Brazil," Health Policy, Elsevier, vol. 97(2-3), pages 250-258, October.
    16. Carmichael, F. & Charles, S. & Hulme, C., 2010. "Who will care? Employment participation and willingness to supply informal care," Journal of Health Economics, Elsevier, vol. 29(1), pages 182-190, January.
    17. Joachim Wagner, 2003. "Unobserved firm heterogeneity and the size-exports nexus: Evidence from German panel data," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 139(1), pages 161-172, March.
    18. Aysit TANSEL & H. Mehmet TASCI, "undated". "Determinants of Unemployment Duration for Men and Women in Turkey," Middle East and North Africa 330400055, EcoMod.
    19. Caballero, Julián, 2012. "Banking Crises and Financial Integration," IDB Publications (Working Papers) 4198, Inter-American Development Bank.
    20. Flores-Lagunes, Alfonso & Gonzalez, Arturo & Neumann, Todd C., 2007. "Estimating the Effects of Length of Exposure to a Training Program: The Case of Job Corps," IZA Discussion Papers 2846, Institute of Labor Economics (IZA).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:2:y:2002:i:4:p:378-390. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.