Visual inspection of the plot of a density() function vs a normal with
the same mean and variance suggests the area under the density curve is
bigger than under the normal curve.  The two curves are very close over
most of the domain.  Assuming the normal curve does integrate to 1, this
implies the area under density() is > 1.

Is there any assurance that the density kernel smoother produces
something that integrates to 1?  Or am I seeing things?

I suppose an additional complexity is that density() produces discrete
output, but then I'm looking at the continuous curve plot produced.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to