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

Generalized power calculations for generalized linear models and more

Author

Listed:
  • Roger Newson

    (King's College London)

Abstract

The powercal command can compute any one of the five quantities involved in power calculations from the other four. These quantities are power, significance level, detectable difference, sample number, and the standard deviation (SD) of the influence function, which is equal to the standard error multiplied by the square root of the sample number. powercal can take arbitrary expressions (involving constants, scalars, or variables) as input and calculate the output as a new variable. The user can therefore plot input variables against output variables, and this often communicates the tradeoffs involved better than a point calculation as output by the sampsi command. General formulas are given for calculating the SD of the influence function when the detectable difference is a linear combination of link functions of subpopulation means for an outcome variable distributed according to a generalized linear model (GLM). This general case includes a very broad range of special cases, where the parameters to be estimated are differences between subpopulation proportions, arithmetic means and algebraic means, or ratios between subpopulation proportions, arithmetic means, geometric means, and odds. However, powercal is not limited to GLMsand can even be used with rank methods. Copyright 2004 by StataCorp LP.

Suggested Citation

  • Roger Newson, 2004. "Generalized power calculations for generalized linear models and more," Stata Journal, StataCorp LP, vol. 4(4), pages 379-401, December.
  • Handle: RePEc:tsj:stataj:v:4:y:2004:i:4:p:379-401
    Note: Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Roger Newson, 2001. "somersd-Confidence intervals for nonparametric statistics and their differences," Stata Technical Bulletin, StataCorp LP, vol. 10(55).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Dick M. Carpenter & Sarah J. Kaka & Jennifer A. Tygret & Katy Cathcart, 2018. "Testing the Efficacy of a Scholarship Program for Single Parent, Post-Freshmen, Full Time Undergraduates," Research in Higher Education, Springer;Association for Institutional Research, vol. 59(1), pages 108-131, February.
    2. Jones, Mark & Dobson, Annette & Onslow, Mark & Carey, Brenda, 2009. "Negative binomial mixed models for analysis of stuttering rates," Computational Statistics & Data Analysis, Elsevier, vol. 53(12), pages 4590-4600, October.
    3. Efstathios Magerakis & Konstantinos Gkillas & Athanasios Tsagkanos & Costas Siriopoulos, 2020. "Firm Size Does Matter: New Evidence on the Determinants of Cash Holdings," JRFM, MDPI, vol. 13(8), pages 1-35, July.
    4. Mourelatos, Evangelos & Zervas, Panagiotis & Lagios, Dimitris & Tzimas, Giannis, 2024. "Can AI Bridge the Gender Gap in Competitiveness?," GLO Discussion Paper Series 1404, Global Labor Organization (GLO).

    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. Loyalka, Prashant & Song, Yingquan & Wei, Jianguo, 2012. "The distribution of financial aid in China: Is aid reaching poor students?," China Economic Review, Elsevier, vol. 23(4), pages 898-917.
    2. Roger Newson, 2006. "Confidence intervals for rank statistics: Somers' D and extensions," Stata Journal, StataCorp LP, vol. 6(3), pages 309-334, September.

    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:4:y:2004:i:4:p:379-401. 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.