[R] Joint density kde2d works improperly?

Karl Ove Hufthammer karl at huftis.org
Wed Dec 2 14:14:12 CET 2009


On Wed, 2 Dec 2009 11:14:14 +0100 Trafim <rdapamoga at gmail.com> wrote:
> As far as I understood from Help kde2d returns matrix elements of which are
> values of joint probability mass function Pr(X=x,Y=y) therefore, sum of its
> elements should sum to 1.

No, they're values of a joint *density* function, which should usually 
*not* sum to 1.

-- 
Karl Ove Hufthammer




More information about the R-help mailing list