Spline Regression in the Presence of Categorical Predictors

Publisher: John Wiley & Sons Inc

E-ISSN: 1099-1255|30|5|705-717

ISSN: 0883-7252

Source: JOURNAL OF APPLIED ECONOMETRICS, Vol.30, Iss.5, 2015-08, pp. : 705-717

Disclaimer: Any content in publications that violate the sovereignty, the constitution or regulations of the PRC is not accepted or approved by CNPIEC.

Previous Menu Next

Abstract

SummaryWe consider the problem of estimating a relationship nonparametrically using regression splines when there exist both continuous and categorical predictors. We combine the global properties of regression splines with the local properties of categorical kernel functions to handle the presence of categorical predictors rather than resorting to sample splitting as is typically done to accommodate their presence. The resulting estimator possesses substantially better finite‐sample performance than either its frequency‐based peer or cross‐validated local linear kernel regression or even additive regression splines (when additivity does not hold). Theoretical underpinnings are provided and Monte Carlo simulations are undertaken to assess finite‐sample behavior; and two illustrative applications are provided. An implementation in R is available; see the R package ‘crs’ for details. Copyright © 2014 John Wiley & Sons, Ltd.