mvksdensity- how to choose bandwidth and bandwidth comprises of how many points?
3 次查看(过去 30 天)
显示 更早的评论
Though effect of bandwidth is seen ,its unclear how many data points are covered for eg:when we use bandwidth=1.is it circular or gaussian cone when using a trivariate data?
0 个评论
回答(1 个)
Raunak Gupta
2020-8-7
Hi,
From the documentation of mvksdensity, the Bandwidth parameter can be selected using the Silverman’s rule of thumb mentioned here which takes number of data points, number of dimensions and standard deviation for a dimension into consideration while giving an effective bandwidth for a dimension. As for the number of points comprises in Bandwidth, it is essentially a smoothing parameter and applied on a dimension of data, so it covers all the data points.
For the last question, bandwidth will not set the kernel function which can be circular or gaussian cone. You may use Kernel Name-Value pair for specifying the same.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!