Skip to content

density estimate

2 messages · Edna Bell, Dieter Menne

#
Hi R Gurus:

I have a tiny data set:
[1] 0.7 2.8 0.1 1.9 0.0 1.4 0.2 2.3 0.3 0.2
and generate the density function for it.

I would like to replicate this.  Is there a straightforward way to do
this, please?

According to the help file, the FFT is used.

How does this compare to Silverman's version from his page 15 Equation
2.2a, please?

Thanks,
Edna Bell
#
Edna Bell <edna.bell01 <at> gmail.com> writes:
See chapter 5 in MASS and the examples in library/MASS/scripts/ch05.R
Too bad, I have 3500 help files in my installation.
I checked Sarah Silverman's (http://en.wikipedia.org/wiki/Sarah_Silverman) 
Great Schlepp and could not find Equation 2.2a there.

Dieter