|
From: Philipp K. J. <ja...@ie...> - 2008-05-25 23:41:33
|
On Saturday 24 May 2008 00:11, you wrote: > On Sat, 24 May 2008 01:15:37 +0200, Philipp K. Janert <ja...@ie...> > > wrote: > > I just submitted a patch (1970923) which > > draws a smooth histogram-like curve > > for a random collection of points, using > > a Gaussian kernel density estimation > > algorithm. > > Demos are found here: > > www.philipp-janert.com/kdensity > > very interesting. > > My initial impression on looking at your top left example is that there is > a phase shift of +half a box in x most visible in the 0.01 and 0.05 plots. > The edge effect is actually in the histogram, not in the kernel density (yet another advantage of k-densities over histograms: the annoying bin-placement problem goes away). The code does what all current gnuplot smoothing algos do: they stop at the min and max data point in the sample. I think this is reasonable. Best, Ph. |