How to stabilize the edge effects in a cubic B-spline?
Show older comments
I have been attempting to model a dataset using a P-spline in MATLAB and despite changing the knot placings, and smoothness parameters, the spline has sudden shifts near the edges due to limited data in those regions. I am plotting metabolite values across age and early and old age groups have the least data. I tried repeated knot positioning as well and it doesn't appear to work very well. Is there any way to stabilize the edge effects better?
Accepted Answer
More Answers (1)
Matt J
on 5 Jan 2025
1 vote
This FEX file allows you to specify extrapolation conditions on the B-spline coefficients,
but it only permits equi-spaced knots.
Categories
Find more on Splines in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

