[R] problem with glm(family=binomial) when some levels have only 0 proportion values

2011-03-02 Thread Jürg Schulze
Hello everybody I want to compare the proportions of germinated seeds (seed batches of size 10) of three plant types (1,2,3) with a glm with binomial data (following the method in Crawley: Statistics,an introduction using R, p.247). The problem seems to be that in two plant types (2,3) all

Re: [R] problem with glm(family=binomial) when some levels have only 0 proportion values

2011-03-02 Thread Robert A LaBudde
The algorithm is not converging. Your iterations are at the maximum. It won't do any good to add a fractional number to all data, as the result will depend on the number added (try 1.0, 0.5 and 0.1 to see this). The root problem is that your data are degenerate. Firstly, your types '2' and

Re: [R] problem with glm(family=binomial) when some levels have only 0 proportion values

2011-03-02 Thread csrabak
Em 2/3/2011 08:01, Jürg Schulze escreveu: Hello everybody This is not a R related problem, but rather more theoretic one, anyway: I want to compare the proportions of germinated seeds (seed batches of size 10) of three plant types (1,2,3) with a glm with binomial data (following the method