[Rd] print.glm() signif digits (PR#7765)

prathouz at health.bsd.uchicago.edu prathouz at health.bsd.uchicago.edu
Sat Apr 2 06:27:42 CEST 2005


Hi -- I have found that by default the function print.glm() uses 3
significant figures when printing out null and model deviances and the
aic.  Of course, this is not wrong.  But if a person fitted two nested
models and compared the resulting deviances obtained from print.glm(), the
resulting hypothesis test could indeed be wrong because of this rounding.
The function summary() applied to a glm object gives a more precise
printout and I think that print.glm() ought to as well by default.  Thanks
much.  -- pr

==========================================================================
Paul Rathouz, Assoc. Professor       ph   773-834-1970
Dept. of Health Studies, Rm. W-264   fax  773-702-1979
University of Chicago                prathouz at health.bsd.uchicago.edu
5841 S. Maryland Ave. MC 2007
Chicago, IL  60637



More information about the R-devel mailing list