Fit Kernel Distribution to Data with Boundary Condition
Show older comments
I need to fit a distribution to a data set I created and decided on a kernel density distribution. For this I use
fitdist(data,'Kernel','Kernel','epanechnikov');
My data set has only values greater than zero. Unfortunately, my current implementation of the kernel fit ignores that boundary condition. From literature and also this great youtube video I know that it is possible to create a kernel distribution that respects such a boundary condition by using a mirroring method.
Is there a possibility within the fitdist function or by some other method to easily implement this boundary condition?
Accepted Answer
More Answers (0)
Categories
Find more on Kernel Distribution 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!