[R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread spime
I haven't find any helpful thread. How can i calculate BIC and Hosmer-Lemeshow statistic for a logistic regression model. I have used glm for logistic fit. -- View this message in context: http://www.nabble.com/BIC-and-Hosmer-Lemeshow-statistic-for-logistic-regression-tf3945943.html#a11193273

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread Frank E Harrell Jr
spime wrote: I haven't find any helpful thread. How can i calculate BIC and Hosmer-Lemeshow statistic for a logistic regression model. I have used glm for logistic fit. See the Design package's lrm function and residuals.lrm for a better GOF test. -- Frank E Harrell Jr Professor and

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread Gavin Simpson
On Tue, 2007-06-19 at 04:59 -0700, spime wrote: I haven't find any helpful thread. How can i calculate BIC and Hosmer-Lemeshow statistic for a logistic regression model. I have used glm for logistic fit. Not sure about the Hosmer-Lemeshow, but AIC() with argument k = log(n), where n is

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread spime
Is there any windows version of Design package??? Frank E Harrell Jr wrote: spime wrote: I haven't find any helpful thread. How can i calculate BIC and Hosmer-Lemeshow statistic for a logistic regression model. I have used glm for logistic fit. See the Design package's lrm

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread Thomas Lumley
On Tue, 19 Jun 2007, spime wrote: Is there any windows version of Design package??? Not at the moment. It is being updated for changes in R 2.5.0. [This would be a FAQ except that it should stop being asked soon] -thomas Frank E Harrell Jr wrote: spime wrote: I haven't

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread Henrique Dallazuanna
For Hosmer-Lemeshow statistic look: http://people.ufpr.br/~giolo/CE073/CodigosR/gof_bino.txt -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 Ohttp://maps.google.com/maps?f=qhl=enq=Curitiba,+Brazillayer=ie=UTF8z=18ll=-25.448315,-49.276916spn=0.002054,0.005407t=kom=1 On

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread Prof Brian Ripley
On Tue, 19 Jun 2007, spime wrote: Is there any windows version of Design package??? Yes, the version put up this morning works on 2.5.x (at last). You should be able to get a Windows build now: it is showing for me on CRANextras (where I put it an hour or so ago: it will reach CRAN mirrors in

Re: [R] BIC and Hosmer-Lemeshow statistic for logistic regression

2007-06-19 Thread Frank E Harrell Jr
spime wrote: Is there any windows version of Design package??? Soon the new version will will make its way to Windows, probably in a day or two. Frank Frank E Harrell Jr wrote: spime wrote: I haven't find any helpful thread. How can i calculate BIC and Hosmer-Lemeshow