EconPapers    
Economics at your fingertips  
 

Spline Regression in the Presence of Categorical Predictors

Shujie Ma, Jeffrey Racine and Lijian Yang

Department of Economics Working Papers from McMaster University

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 nite-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 nite-sample behavior, and two illustrative applications are provided. An implementation in R (R Core Team (2012)) is available; see the R package 'crs' for details (Racine & Nie (2012)).

Pages: 32 pages
Date: 2012-08
New Economics Papers: this item is included in nep-ecm
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (6)

Downloads: (external link)
http://socserv.mcmaster.ca/econ/rsrch/papers/archive/2012-06.pdf (application/pdf)

Related works:
Journal Article: Spline Regression in the Presence of Categorical Predictors (2015) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:mcm:deptwp:2012-06

Access Statistics for this paper

More papers in Department of Economics Working Papers from McMaster University Contact information at EDIRC.
Bibliographic data for series maintained by ().

 
Page updated 2025-03-30
Handle: RePEc:mcm:deptwp:2012-06