Hi,
The 1d version of the kernel estimator also provides cdf values at the representative points. I would like to use these for 2d too. I don't have a strong background on this and I was not able to compute it.
Does anyone know how to compute cdf for 2d kernel?
Hi. For the 1-dimensional estimation you've fixed the "fzero at 293:The function values at the interval endpoints must" error with a try-catch block using :
t_star=.28*N^(-2/5);
What is the correct expression for kde2d?
I'm guessing the power is (-1/3), but what is the coefficient (any where is it coming from)?
I am having the same problem as Gil Tidhar. When using the WAFO kde function, the minimum is 0 (which is what I expected), but your function returns negative values.
test code:
>> [temp, pab] = kde2d(rand(10000, 2),...
>> 2^4, [-3, -3], [5, 5]);
>> min(min(pab))
returns -0.0026
Comment only