mvksdensity- how to choose bandwidth and bandwidth comprises of how many points?

조회 수: 10 (최근 30일)
ammu v
ammu v . 2020년 7월 30일
댓글: ammu v . 2020년 8월 7일
Though effect of bandwidth is seen ,its unclear how many data points are covered for eg:when we use it circular or gaussian cone when using a trivariate data?

답변 (1개)

Raunak Gupta
Raunak Gupta 2020년 8월 7일
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.
  댓글 수: 1
ammu v
ammu v 2020년 8월 7일
but in mvksdensity, opimal bandwidth is given by the function only for one dimension.In other cases user specifies bandwith for other dimensions

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by