Re: [R] glm binomial with no successes

2008-02-27 Thread Gavin Simpson
[Following up for my own personal education so a bit OT!] Naively, I would have thought that package multcomp would be of use here. So I tried, for my own comprehension and education, to answer the OP's question using multcomp. Here's what I got: ## make this reproducible (I hope) set.seed(1234)

Re: [R] glm binomial with no successes

2008-02-27 Thread juli pausas
Thank you very much for your reply. Then I understand that would not be correct to perform the test in summary for testing the significance of the different levels of a factor in relation to the first level, including when there are more than 2 levels, as in my real case; at least for binomial regr

Re: [R] glm binomial with no successes

2008-02-27 Thread Prof Brian Ripley
On Wed, 27 Feb 2008, juli pausas wrote: > Dear all, > I have a question on glm, family binomial. I do not see significant > differences between the levels of a factor (treatment) if all data for > a level is 0; and replacing a 0 for a 1 (in fact reducing the > difference), then I detect the signif

[R] glm binomial with no successes

2008-02-27 Thread juli pausas
Dear all, I have a question on glm, family binomial. I do not see significant differences between the levels of a factor (treatment) if all data for a level is 0; and replacing a 0 for a 1 (in fact reducing the difference), then I detect the significant difference that I expected. Is there a way to