Testing goodness of fit in regression: a general approach for specified alternatives |
| |
Authors: | Aldo Solari Saskia le Cessie Jelle J. Goeman |
| |
Affiliation: | 1. Department of Statistics, University of Milano‐Bicocca, , 20126 Milan, Italy;2. Department of Clinical Epidemiology, Leiden University Medical Center, , 2300 RC, Leiden, The Netherlands;3. Department of Medical Statistics and Bioinformatics, Leiden University Medical Center, , 2300 RC, Leiden, The Netherlands |
| |
Abstract: | When fitting generalized linear models or the Cox proportional hazards model, it is important to have tools to test for lack of fit. Because lack of fit comes in all shapes and sizes, distinguishing among different types of lack of fit is of practical importance. We argue that an adequate diagnosis of lack of fit requires a specified alternative model. Such specification identifies the type of lack of fit the test is directed against so that if we reject the null hypothesis, we know the direction of the departure from the model. The goodness‐of‐fit approach of this paper allows to treat different types of lack of fit within a unified general framework and to consider many existing tests as special cases. Connections with penalized likelihood and random effects are discussed, and the application of the proposed approach is illustrated with medical examples. Tailored functions for goodness‐of‐fit testing have been implemented in the R package globaltest . Copyright © 2012 John Wiley & Sons, Ltd. |
| |
Keywords: | goodness of fit logistic regression generalized linear models Cox proportional hazards model |
|
|