How can I estimate confidence bands for kernel density estimation?
20 views (last 30 days)
Show older comments
Hi everyone
I have a series of residuals that are supposed to be standard normally distributed. By using the ksdensity function, I obtain a smooth curve that indeed looks like a Gaussian. However, I want to construct confidence intervals (95%) around this density plot. Is there a built-in way how to achieve that? I also tried the Distribution fitting tool, which yielded a density plot but no confidence intervals.
Thank you in advance!
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!