Re: [R] drop1() seems to give unexpected results compare to anova()

2008-08-03 Thread Thomas P C Chu
Thanks to Mr Dalgaard for his advice and everyone else who has contributed. Inclusion of an error term at the end of sim.set$y = ... line did cure my problems with drop1() and step(). I suppose it is my own inexperience in carrying out simulations caused such gaffe. Thomas

Re: [R] drop1() seems to give unexpected results compare to anova()

2008-08-02 Thread Thomas P C Chu
from these two functions, but not ones that were so far apart! Now I can use glm() as a workaround, but I just want to make sure there are no bugs in drop1(). Hopefully more people can give their opinions whether there is a bug. Thomas P C Chu

[R] drop1() seems to give unexpected results compare to anova()

2008-08-01 Thread Thomas P C Chu
running R 2.7.1 on Ubuntu Linux, with all components up to date. Thank you in advance for all your thoughts and replies. Yours sincerely, Thomas P C Chu University of Leicester LE1 7RH UK AOL Email goes Mobile! You can now

Re: [R] drop1() seems to give unexpected results compare to anova()

2008-08-01 Thread Thomas P C Chu
the suspicion that there could be a bug in drop1() and step(), which I think uses add1() and drop1() repeatedly. Thomas P C Chu AOL Email goes Mobile! You can now read your AOL Emails whilst on the move. Sign up for a free AOL