demoKde: Kernel Density Estimation for Demonstration Purposes

Demonstration code showing how (univariate) kernel density estimates are computed, at least conceptually, and allowing users to experiment with different kernels, should they so wish. The method used follows directly the definition, but gains efficiency by replacing the observations by frequencies in a very fine grid covering the sample range. A canonical reference is B. W. Silverman, (1998) <doi:10.1201/9781315140919>. NOTE: the density function in the stats package uses a more sophisticated method based on the fast Fourier transform and that function should be used if computational efficiency is a prime consideration.

Version: 1.0.1
Imports: stats
Suggests: MASS, graphics
Published: 2023-08-20
DOI: 10.32614/CRAN.package.demoKde
Author: Bill Venables
Maintainer: Bill Venables <Bill.Venables at>
License: GPL-2
NeedsCompilation: no
CRAN checks: demoKde results


Reference manual: demoKde.pdf


Package source: demoKde_1.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): demoKde_1.0.1.tgz, r-oldrel (arm64): demoKde_1.0.1.tgz, r-release (x86_64): demoKde_1.0.1.tgz, r-oldrel (x86_64): demoKde_1.0.1.tgz
Old sources: demoKde archive

Reverse dependencies:

Reverse imports: MASSExtra


Please use the canonical form to link to this page.