Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: New package -xglm- for SSC

From   Roger Newson <>
To   "" <>
Subject   st: New package -xglm- for SSC
Date   Fri, 17 Jun 2011 14:00:30 +0100

Hello Kit

During yor absence from Boston, I uploaded a new package -xglm-, which is described as below on my website, and which I would like to submit for distribution at SSC. It is currently downloadable from the Imperial College FileExchange temporary URL

and will be deleted on 24/06/2011 13:38:33.

The -xglm- package currently adds one extra estimation result to -glm-, namely the scalar -e(depvarsum)-, giving the sum of the dependent variable in the estimation sample. This result is useful if I do a logistic regression and want to output the results to a -parmby- resultsset complete with the numbers of observations and events. The minimum of the number of events and the number of non-events can be useful as a diagnostic, especially if divided by the number of parameters (calculated from -e(df_m)-) to produce a number of events per parameter, and to warn the user if this ratio is less than 5 (in which case the Central Limit Theorem may not look after the user very well).

Best wishes (and thanks in advance, and hoping you had a nice time away form Boston)


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

package xglm from

      xglm: Extended version of glm

      xglm is an extended version of glm, designed mostly for use
      with the parmby option of the parmest package, downloadable
      from SSC.

      Author: Roger Newson
      Distribution-Date: 30may2011
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
(click here to return to the previous screen)

On 22/05/2011 23:23, Christopher Baum wrote:
Updates to the SSC Archive may be delayed during my absence from Boston from today through 18 June. New or updated materials sent during that time will be installed as time and connectivity permit.

Kit Baum

Research Papers in Economics (RePEc)

*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index