The crs Package: Nonparametric Regression Splines for Continuous and Categorical Predictors
Zhenghua Nie and Jeffrey S. Racine
, The R Journal (2012) 4:2, pages 48-56.
Abstract A new package crs is introduced for computing nonparametric regression (and quantile) splines in the presence of both continuous and categorical predictors. B-splines are employed in the regression model for the continuous predictors and kernel weighting is employed for the categorical predictors. We also develop a simple R interface to NOMAD, which is a mixed integer optimization solver used to compute optimal regression spline solutions.
@article{RJ-2012-012, author = {Zhenghua Nie and Jeffrey S. Racine}, title = {{The crs Package: Nonparametric Regression Splines for Continuous and Categorical Predictors}}, year = {2012}, journal = {{The R Journal}}, doi = {10.32614/RJ-2012-012}, url = {https://doi.org/10.32614/RJ-2012-012}, pages = {48--56}, volume = {4}, number = {2} }