How to Kernel Density Estimation with 2D data

9 Ansichten (letzte 30 Tage)
Sam Tong
Sam Tong am 13 Sep. 2016
Bearbeitet: Sam Tong am 13 Sep. 2016
Hi there, I am trying to create a pdf with my 2D data so that i could do kernel density estimation. Like calculating p(x|f=1) using my pdf.
It's sort of similar to the question here https://au.mathworks.com/matlabcentral/answers/195596-use-kernel-density-estimation-to-get-the-probability-of-a-new-observation, other than that i have 2D data.
I don't know whether its easier to use fitdist or ksdensity. This question here https://au.mathworks.com/matlabcentral/answers/18365-kernel-density-for-2d-data seems to be like i want but they didn't use the pdf to compute probability p(x|f=1).

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by