The default bandwidth of the kernel smoothing window.
5 views (last 30 days)
Show older comments
Dear all,
I use [f,xi,bw] = ksdensity(x) to return a probability density estimate. I let the type of kernel smoother to use is default. Then I have the plot of pdf and the default (optimal) bandwidth bw.
Would you please show me what equation does Matlab use to calculate this optimal bandwidth?
This optimal bandwidth is different from the result from the equation h≈1.06σn^(-1/5).
Thank you very much.
1 Comment
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!