It is known that function bkde2D (package "KernSmooth") returns a matrix of
density estimates over the mesh induced by x1 and x2. In Details it is
written that "... heights of the kernel, scaled by the bandwidths, at each
datapoint are summed. This sum, after a normalization, is the corresponding
fhat value in the output". 
There are several questions:
1) How to calculate amount (sum) of datapoints from this fhat value? Is it a
non-normalized matrix of fhat values?
2) Values in fhat matrix are greater than 1 sometimes, why? Values of
density are normalized and hence must be less than 1, isn't it?

--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-translate-the-2D-density-matrix-the-output-of-bkde2D-function-into-matrix-of-datapoints-amoun-tp3801482p3801482.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to