Goodness-of-fit evaluation of a parametric regression model is often done through hypothesis testing, where the fit of the model of interest is compared statistically to that obtained under a broader class of models. Nonparametric regression models are frequently used as the latter type of model, because of their flexibility and wide applicability. To date, this type of tests has generally been performed globally, by comparing the parametric and nonparametric fits over the whole range of the data. However, in some instances it might be of interest to test for deviations from the parametric model that are localized to a subset of the data. In this case, a global test will have low power and hence can miss important local deviations. Alternatively, a naive testing approach that discards all observations outside the local interval will suffer from reduced sample size and potential overfitting. We therefore propose a new local goodness-of-fit test for parametric regression models that can be applied to a subset of the data but relies on global model fits, and propose a bootstrap-based approach for obtaining the distribution of the test statistic. We compare the new approach with the global and the naive tests, both theoretically and through simulations, and illustrate its practical behavior in an application. We find that the local test has a better ability to detect local deviations than the other two tests.
Cramér-von Mises test Wild bootstrap Local polynomial regression
This is a preview of subscription content, log in to check access.
Alcalá JT, Cristobal JA and González-Manteiga W (1999). Goodness-of-fit test for linear models based on local polynomials. Stat Probab Lett 42: 39–46
Bjerve S, Doksum KA and Yandell BS (1985). Uniform confidence bounds for regression based on a simple moving average. Scand J Stat 12: 159–169
Cox D, Koh E, Wahba G and Yandell BS (1988). Testing the (parametric) null model hypothesis in (semiparametric) partial and generalized spline models. Ann Stat 16: 113–119
Härdle W and Mammen E (1993). Comparing nonparametric versus parametric regression fits. Ann Stat 21: 1926–1947
Hart JD (1997). Nonparametric smoothing and lack-of-fit tests. Springer, New York
Horowitz JL and Spokoiny VG (2001). An adaptive, rate-optimal test of a parametric mean-regression model against a nonparametric alternative. Econometrica 69(3): 599–631