Confidence intervals estimates for cubic smoothing spline (csaps)
조회 수: 8 (최근 30일)
이전 댓글 표시
Is there a built in function that will return the confidence bands for csaps (or the output from ppval)? Extra information that might be useful:
- I have data that is smoothed both with and without weights.
- I estimated the smoothing parameter using cross-validation using both k-fold and leave-one-out. Aside: why doesn't MATLAB do this automatically?
I found a paper, Smoothing Noisy Data with Spline Functions by M. F. Hutchinson and F. R. De Hoog that describes a method for estimating the confidence intervals, but I'd rather not code it myself if a script already exists.
Edit: The title was poorly worded and it doesn't seem I can change it now. I meant confidence bands, not confidence interval.
댓글 수: 0
채택된 답변
추가 답변 (1개)
David Ding
2017년 5월 26일
Hi Mark,
Unfortunately the output of "csaps" function requires further processing to obtain the confidence bands. The following detailed explanations on the Curving Fitting Toolbox might be useful:
Thanks,
David
참고 항목
카테고리
Help Center 및 File Exchange에서 Smoothing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!