Re: [R] question about poisson regression

2013-05-14 Thread meng
Many thanks. Another question: model<- glm(count ~ drug*result, family = poisson) > anova(model,test="Chisq") Df Deviance Resid. Df Resid. Dev Pr(>Chi) NULL3 47.522 drug 10.032 2 47.491 0.85858 result

Re: [R] question about poisson regression

2013-05-14 Thread Achim Zeileis
On Tue, 14 May 2013, meng wrote: Many thanks. Another question: model<- glm(count ~ drug*result, family = poisson) > anova(model,test="Chisq")          Df Deviance Resid. Df Resid. Dev  Pr(>Chi)     NULL                            3     47.522               drug         1    0.032         2    

Re: [R] question about poisson regression

2013-05-13 Thread Achim Zeileis
On Mon, 13 May 2013, meng wrote: Hi all: I have a question about poisson regression. My data: drug result count 1 1 8 1 254 2 1 20 2 2 44 My model: model<- glm(count ~ drug*result, family = poisson) My result: summary(model) Coefficients:

[R] question about poisson regression

2013-05-13 Thread meng
Hi all: I have a question about poisson regression. My data: drug result count 1 1 8 1 254 2 1 20 2 2 44 My model: model<- glm(count ~ drug*result, family = poisson) My result: summary(model) Coefficients: Estimate Std. Error z