How can I get the mode of a kernel estimator?
1 view (last 30 days)
Show older comments
Given some realizations A of a continuous random variable I can use:
dist=fitdist(A,'Kernel')
to calculate an approximate Kernel function - now the mode should be just the maximum of that kernel function - however I don't know how to extract it here; I would need a result like dist.mode where it just returns the maximum value of the estimated kernel;
Anyone knows how to do that?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!