The R Journal: article published in 2012, volume 4:2

The crs Package: Nonparametric Regression Splines for Continuous and Categorical Predictors PDF download
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.


CRAN packages: crs, SemiPar, mgcv, gss, gam, MASS, rgl
CRAN Task Views implied by cited CRAN packages: SocialSciences, Econometrics, Environmetrics, Multivariate, Bayesian, Distributions, Graphics, NumericalMathematics, Optimization, Pharmacokinetics, Psychometrics, Robust, SpatioTemporal, Survival


CC BY 4.0
This article is licensed under a Creative Commons Attribution 3.0 Unported license .

@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}
}