[R] question about chi values GLM

2014-06-14 Thread Luis Fernando GarcĂ­a
Dear all, I am making an analysis using a GLM using three explanatory variables and a response variable. I need to obtain a table similar to this one, http://postimg.org/image/5sau79wlt/r nevertheless, I have not been able to do it. I am having a hard time specially getting the chi square

Re: [R] question about chi values GLM

2014-06-14 Thread peter dalgaard
The column labeled Deviance pretty much _is_ the chi-square, specifically the likelihood ratio test statistic, which has an asymptotic chi-square distribution. (Using test=Rao gives you the alternative Rao efficient score test, which in your case doesn't make much of a difference.) Notice

Re: [R] question about chi values GLM

2014-06-14 Thread Prof Brian Ripley
On 14/06/2014 09:45, peter dalgaard wrote: The column labeled Deviance pretty much _is_ the chi-square, specifically the likelihood ratio test statistic, which has an asymptotic chi-square distribution. (Using test=Rao gives you the alternative Rao efficient score test, which in your case