Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Goodness of fit


From   mikkelbrabrand <[email protected]>
To   [email protected]
Subject   st: Goodness of fit
Date   Tue, 3 May 2011 05:02:58 -0700 (PDT)

I have developed a risk scoring system that I'm trying to validate. It was
originally developed in one cohort, and I am now validating it in a new,
independent, cohort. However, I am unsure how to test for goodness-of-fit
using Hosmer-Lemeshow's test.

First question: When validating my score, is it not correct that I should
use
the observed mortality (my endpoint) from the development cohort to estimate
the expected mortality in my validation cohort?

Second question: When calculating the Chi-square between the observed and
expected mortality, should my formula not be: (observed-expected)^2/
(expected*1-expected/N (in this stratum))?

Third question: How many degrees of freedome should I use? When I read the
book by Hosmer and Lemeshow (Applied logistic regression), in the section on
validation in an external cohort, I understand that the number of groups
equal the degrees of freedom, which in different from the ordinary method in
which the degrees of freedom is groups-2. Is this correct?

Thanks!
Mikkel 

--
View this message in context: http://statalist.1588530.n2.nabble.com/Goodness-of-fit-tp6327041p6327041.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index