Learn R Programming

demoKde (version 1.0.1)

Kernel Density Estimation for Demonstration Purposes

Description

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) . 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.

Copy Link

Version

Install

install.packages('demoKde')

Monthly Downloads

675

Version

1.0.1

License

GPL-2

Maintainer

Last Published

August 20th, 2023

Functions in demoKde (1.0.1)

kernelBiweight

Kernel functions for use with kde
kde

Univariate kernel density estimation directly in R code.
demoKde-package

Kernel density estimation demonstration and exploration