Re: [R] Hosmer Lemeshow test

2013-04-23 Thread Frank Harrell
The H-L test is now considered to be obsolete by many. One replacement is the Hosmer - le Cessie test as implemented in the rms package residuals.lrm function. This is a one degree of freedom test. One problem with H-L is its use of arbitrary binning and suboptimal power. The new test requires

Re: [R] Hosmer Lemeshow test

2013-04-23 Thread David Carlson
The warning is commented out or it would have been printed: # warning("Some expected counts are less than 5. Use smaller number of groups") For 23 data points, the default of 10 bins is too many since one of the bins is 0. Eight bins gives the warning, but prints results. You didn't indicate

Re: [R] Hosmer-Lemeshow test for Cox model

2012-07-05 Thread Frank Harrell
Any method that requires binning is problematic. Instead, take a look at the calibrate function in the rms package. There is a new option for continuous calibration curves for survival models. Frank jane.wong wrote > > Dear list, > > Usually we use Hosmer-Lemeshow test to test the goodness of

Re: [R] Hosmer- Lemeshow test

2008-09-17 Thread Frank E Harrell Jr
- On *Tue, 16/9/08, Frank E Harrell Jr /<[EMAIL PROTECTED]>/* wrote: From: Frank E Harrell Jr <[EMAIL PROTECTED]> Subject: Re: [R] Hosmer- Lemeshow test To: [EMAIL PROTECTED] Cc: "R list" <[EMAIL PROTECTED]> Date: Tuesday, 16 September, 2008,

Re: [R] Hosmer- Lemeshow test

2008-09-16 Thread saggak
g you in adavance   With regards   Saggak   --- On Tue, 16/9/08, Frank E Harrell Jr <[EMAIL PROTECTED]> wrote: From: Frank E Harrell Jr <[EMAIL PROTECTED]> Subject: Re: [R] Hosmer- Lemeshow test To: [EMAIL PROTECTED] Cc: "R list" <[EMAIL PROTECTED]> Date: Tue