BsplineQuantReg: 'Constrained Quantile Regression with B-Splines'

Quantile regression with B-splines under shape constraints. The initial version with cubic splines is now augmented with splines of degree 1 to 4. Constraints for degrees 3 (monotone) and 4 (monotone and convex) use the Karlin-Studden SOCP characterization for the sign of the polynomial, while other constraints applied at the knots are added as linear problems. The method for cubic splines is described in Abbes (2026) <doi:10.5281/zenodo.17427913>. Other formulations are simple consequences of the other given references. This R implementation is intended for demonstration and prototyping. All B-spline and polynomial functions have been rewritten for consistency. An equivalent Python package is available at <https://pypi.org/project/BsplineQuantRegpy/>.

Version: 0.2.0
Depends: R (≥ 3.5.0)
Imports: CVXR
Suggests: cobs, quantreg
Published: 2026-07-21
DOI: 10.32614/CRAN.package.BsplineQuantReg
Author: Alexandre Abbes [aut, cre]
Maintainer: Alexandre Abbes <alexandre.abbes at proton.me>
BugReports: https://github.com/alexandreabbes/BsplineQuantReg/issues
License: GPL-3
URL: https://github.com/alexandreabbes/BsplineQuantReg, https://doi.org/10.5281/zenodo.17427913
NeedsCompilation: no
Citation: BsplineQuantReg citation info
Materials: README, NEWS
CRAN checks: BsplineQuantReg results

Documentation:

Reference manual: BsplineQuantReg.html , BsplineQuantReg.pdf

Downloads:

Package source: BsplineQuantReg_0.2.0.tar.gz
Windows binaries: r-devel: BsplineQuantReg_0.1.0.zip, r-release: BsplineQuantReg_0.1.0.zip, r-oldrel: BsplineQuantReg_0.1.0.zip
macOS binaries: r-release (arm64): BsplineQuantReg_0.1.0.tgz, r-oldrel (arm64): BsplineQuantReg_0.1.0.tgz, r-release (x86_64): BsplineQuantReg_0.1.0.tgz, r-oldrel (x86_64): BsplineQuantReg_0.1.0.tgz
Old sources: BsplineQuantReg archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BsplineQuantReg to link to this page.