In example 8.6 we showed how to change the reference category. This is the natural first thought analysts have when their primary comparisons aren’t represented in the default output. But our interest might center on a number of comparisons which don…
Tag: Design package
Example 8.7: Hosmer and Lemeshow goodness-of-fit
The Hosmer and Lemeshow goodness of fit (GOF) test is a way to assess whether there is evidence for lack of fit in a logistic regression model. Simply put, the test compares the expected and observed number of events in bins defined by the predicted p…