Package: BsplineQuantReg 0.2.6
BsplineQuantReg: 'Constrained Quantile Regression with B-Splines'
Quantile regression with B-splines under shape constraints. The initial version with cubic splines, augmented with splines of degree 1 to 4, is now able to handle all degrees (degree >= 6 without any constraint). Constraints for degrees 3 (monotone), 4 (monotone and convex) and 5 (convex) use the Karlin-Studden SOCP characterization for the sign of the polynomial (Karlin and Studden, 1966; Papp and Alizadeh, 2014), while other constraints are added as linear problems. The method for monotone constraints of cubic splines is described in Abbes (2025) <doi:10.5281/zenodo.17427913>. For quartic splines, see other references given in the README. All B-spline and polynomial functions have been rewritten for consistency. This package provides a fully independent original B-spline library for conversion between PP-form and B-spline representation, evaluation, differentiation, callable and non-callable objects, human-readable PP forms, and basis visualization, all based on De Boor's theory. It also extends to multiple knots to capture 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/>.
Authors:
BsplineQuantReg_0.2.6.tar.gz
BsplineQuantReg_0.2.6.zip(r-4.7-any)BsplineQuantReg_0.2.6.zip(r-4.6-any)BsplineQuantReg_0.2.6.zip(r-4.5-any)
BsplineQuantReg_0.2.6.tgz(r-4.6-any)BsplineQuantReg_0.2.6.tgz(r-4.5-any)
BsplineQuantReg_0.2.6.tar.gz(r-4.7-any)BsplineQuantReg_0.2.6.tar.gz(r-4.6-any)
BsplineQuantReg_0.2.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
BsplineQuantReg/json (API)
| # Install 'BsplineQuantReg' in R: |
| install.packages('BsplineQuantReg', repos = c('https://alexandreabbes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alexandreabbes/bsplinequantreg/issues
Last updated from:3f28303df5. Checks:5 WARNING, 1 ERROR, 2 FAIL, 1 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | WARNING | 223 | ||
| source / vignettes | ERROR | 389 | ||
| linux-release | WARNING | 148 | ||
| macos-release | WARNING | 128 | ||
| macos-oldrel | FAIL | 83 | ||
| windows-devel | WARNING | 187 | ||
| windows-release | WARNING | 99 | ||
| windows-oldrel | FAIL | 49 | ||
| wasm-release | OK | 121 |
Exports:bs_directBspline_baseBspline_base_derivBspline_derivbspline_to_deriv_coeffs_cubicbspline_to_deriv_coeffs_linbspline_to_deriv_coeffs_quadbspline_to_deriv_coeffs_quartBsplinetoppchange_polynomial_base_taylorevalppget_parametersmake_splinemakpppoly_evalpolyaddpolyderivpolymulquantile_splinereduce_polsetup_solvershow_polyshow_ppSpline_der_knotspline_evalSplineConstantQuantSplineConstQuantRegBs1SplineConstQuantRegBs2SplineConstQuantRegBs3SplineConstQuantRegBs4SplineCubicQuantSplineLinearQuantSplinePolynQuantSplineQuadraticQuantSplineQuarticQuanttest_karlin_simpleview_basis
Dependencies:backportscheckmateclarabelcliCVXRECOSolveRgmphighslatticeMatrixosqpRcppRcppEigenS7scsslam
