ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:1505.010] COBS: COnstrained B-Splines

COBS (COnstrained B-Splines), written in R, creates constrained regression smoothing splines via linear programming and sparse matrices. The method has two important features: the number and location of knots for the spline fit are established using the likelihood-based Akaike Information Criterion (rather than a heuristic procedure); and fits can be made for quantiles (e.g. 25% and 75% as well as the usual 50%) in the response variable, which is valuable when the scatter is asymmetrical or non-Gaussian. This code is useful for, for example, estimating cluster ages when there is a wide spread in stellar ages at a chosen absorption, as a standard regression line does not give an effective measure of this relationship.

Code site:
https://cran.r-project.org/web/packages/cobs/index.html
Used in:
https://ui.adsabs.harvard.edu/abs/2014ApJ...787..108G
Described in:
https://doi.org/10.1177%2F1471082X0700700403
Bibcode:
2015ascl.soft05010N
Preferred citation method:

Please see citation information here: https://cran.r-project.org/web/packages/cobs/citation.html


Views: 4026

ascl:1505.010
Add this shield to your page
Copy the above HTML to add this shield to your code's website.