Re: [Rd] F statistic in add1.lm vs add1.glm

2013-06-25 Thread Steven McKinney
Molecular Oncology and Breast Cancer Program British Columbia Cancer Research Centre From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] On Behalf Of William Dunlap [wdun...@tibco.com] Sent: June 25, 2013 12:01 PM To: r-devel@r-project.org Subject

[Rd] F statistic in add1.lm vs add1.glm

2013-06-25 Thread William Dunlap
Should the F statistic be the same when using add1() on models created by lm and glm(family=gaussian)? They are in the single-degree-of-freedom case but not in the multiple-degree-of-freedom case. MASS:addterm shows the same discrepancy. It looks like the deviance (==residual sum of squares) ge