Package: BsplineQuantReg
Type: Package
Title: 'Constrained Quantile Regression with B-Splines'
Version: 0.2.6
Date: 2026-07-26
Authors@R: person("Alexandre", "Abbes", email = "alexandre.abbes@proton.me", role = c("aut", "cre"))
Description: 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 (2025)' <doi:10.5281/zenodo.17427913>.
        Other formulations are simple consequences of the other given
        references. All B-spline and polynomial functions have been
        rewritten for consistency. This package provides an original
        B-spline library for conversion between PP-form and B-spline
        representation, evaluation, differentiation, callable and
        non-callable objects, print human readable pp forms, view
        basis, all based on "De Boor\'s" theory. It also extends to
        multiple knots to catch up singularities. This feature is
        robust in the package including for constrained regression.
        This R implementation is intended for demonstration and
        prototyping. An equivalent Python package is available at
        <https://pypi.org/project/BsplineQuantRegpy/>.
License: GPL-3
URL: https://github.com/alexandreabbes/BsplineQuantReg
BugReports: https://github.com/alexandreabbes/BsplineQuantReg/issues
Depends: R (>= 3.5.0)
Imports: CVXR, ECOSolveR, utils
Suggests: clarabel, cobs, quantreg, knitr, rmarkdown, testthat
VignetteBuilder: knitr
Encoding: UTF-8
Config/roxygen2/version: 8.1.0
Config/pak/sysreqs: cmake libgmp3-dev make pkg-config libclang-dev
Repository: https://alexandreabbes.r-universe.dev
Date/Publication: 2026-10-10 19:14:59 UTC
RemoteUrl: https://github.com/alexandreabbes/bsplinequantreg
RemoteRef: HEAD
RemoteSha: 3e6d51b50facd364ec17be37aebf951f9e26d7bc
NeedsCompilation: no
Packaged: 2026-10-10 19:21:24 UTC; root
Author: Alexandre Abbes [aut, cre]
Maintainer: Alexandre Abbes <alexandre.abbes@proton.me>
