I have *not* tracked this bug very far because I hope someone who is more familiar with the glm/anova code will jump in. If one fits a glm model with an offset, the NULL deviance is incorrectly calculated (it is calculated without the offset). The means one can get examples where the model deviance is greater than the NULL deviance. Here is some example output, (without the data).> mymod <-glm(cens ~ group, family=poisson,offset=log(time)) > anova(mymod)Analysis of Deviance Table Model: poisson, link: log Response: cens Terms added sequentially (first to last) Df Deviance Resid. Df Resid. Dev NULL 41 20.19 group 1 -17.83 40 38.02>Mike Meyer, Department of Statistics, Carnegie Mellon University -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Developers, today I installed R-snapshot (June 2) on my Redhat Sparc/Linux 4.2, with no problems, but obviously this version of R was compiled without 'readline' (I also have R-0.61.3, which works as expected with readline). Output from './configure', related to readline: ... checking for rl_callback_read_char in -lreadline... (cached) no ... checking for readline/history.h... (cached) yes ... I have 'readline-2.0-10' according to 'rpm ...'. Does 0.62 need a more recent version of readline than 0.61? Or is the problem somewhere else? Goran --------------------------------------------------------- Goran Brostrom Department of Statistics tel: +46 90 786-5223 Umea University fax: +46 90 786-6614 S-90187 Umea, Sweden e-mail: gb@stat.umu.se ---------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._