Spline regression in the presence of categorical predictors

Citation
Ma, Shujie et al., Spline regression in the presence of categorical predictors, Journal of applied econometrics , 30(5), 2015, pp. 705-717
ISSN journal
08837252
Volume
30
Issue
5
Year of publication
2015
Pages
705 - 717
Database
ACNP
SICI code
Abstract
We 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.