Re: [R] Chi-square values in GLM model comparison

2013-09-11 Thread Rune Haubo
d coefficients: > 0|1 > 1.642 > > > > > > > > On 11 September 2013 18:03, Jose Iparraguirre < > jose.iparragui...@ageuk.org.uk> wrote: > >> Hi Eiko, >> >> How about this? >> >> > anova (m1, m2, test="Chisq") >> >

Re: [R] Chi-square values in GLM model comparison

2013-09-11 Thread Marc Schwartz
t this? >> >>> anova (m1, m2, test="Chisq") >> >> See: ?anova.glm >> >> Regards, >> José >> >> >> Prof. José Iparraguirre >> Chief Economist >> Age UK >> >> >> >> -Original Message---

[R] Chi-square values in GLM model comparison

2013-09-11 Thread Torvon
Hello -- I am comparing two GLMs (binomial dependent variable) , the results are the following: > m1<-glm(symptoms ~ phq_index, data=data2) > m2<-glm(symptoms ~ 1, data=data2) Trying to compare these models using > anova (m1, m2) I do not obtain chi-square values or a chi-square difference test; i

Re: [R] Chi-square values in GLM model comparison

2013-09-11 Thread Jose Iparraguirre
3 16:48 To: r-help@r-project.org Subject: [R] Chi-square values in GLM model comparison Hello -- I am comparing two GLMs (binomial dependent variable) , the results are the following: > m1<-glm(symptoms ~ phq_index, data=data2) m2<-glm(symptoms ~ 1, > data=data2) Trying to compare t

Re: [R] Chi-square values in GLM model comparison

2013-09-11 Thread Torvon
t; > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Torvon > Sent: 11 September 2013 16:48 > To: r-help@r-project.org > Subject: [R] Chi-square values in GLM model comparison > > Hello -- > I am compari