Skip to content
Prev 32584 / 398530 Next

Kernel density

On Wed, 28 May 2003, Christian Hennig wrote:

            
It's not designed to do that.  And why use a linear-binning method for
just one point?

gridsize has to be at least 6, it seems.
Do read and debug the code, but also consider if this is a useful 
thing to do compared to, say,
Call:
        density(x = q, bw = 0.11, n = 1, from = 0, to = 0)

Data: q (100 obs.);     Bandwidth 'bw' = 0.11

       x                y
 Min.   :0        Min.   :0.3202
 1st Qu.:0        1st Qu.:0.3202
 Median :0        Median :0.3202
 Mean   :0        Mean   :0.3202
 3rd Qu.:0        3rd Qu.:0.3202
 Max.   :0        Max.   :0.3202