kedd: Kernel Estimator and Bandwidth Selection for Density and Its Derivatives

Kernel estimation of a univariate probability density and of its derivatives of any order r, with data-driven bandwidth selection. Provides the kernel estimator of the derivative of order r, the kernels, their derivatives and convolutions, and eight bandwidth selectors: the asymptotic MISE rule (AMISE), and unbiased (UCV), biased (BCV1, BCV2), complete (CCV), modified (MCV), trimmed (TCV), smoothed (SCV) and maximum-likelihood (MLCV) cross-validation. Supports ten named kernels (Gaussian, Epanechnikov, uniform, triangular, biweight, triweight, tricube, cosine, Silverman, logistic) and the power family Pow(s,t), c(1-|x|^s)^t on [-1,1]. Results are S4 objects with 'ggplot2' graphics; the O(n^2) criteria are computed in C++ ('Rcpp') with 'OpenMP' parallelism. Includes five example samples from Marron and Wand (1992) normal mixtures, a vignette and demos. Companion to Guidoum (2020) <doi:10.48550/arXiv.2012.06102>.

Version: 2.0.0
Depends: R (≥ 3.5.0)
Imports: Rcpp (≥ 1.0.0), methods, stats, graphics, ggplot2 (≥ 3.4.0), tools, utils
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, testthat, covr
Published: 2026-11-02
DOI: 10.32614/CRAN.package.kedd
Author: Arsalane Chouaib Guidoum ORCID iD [aut, cre], Amel Henider [aut], Iago Giné-Vázquez ORCID iD [ctb]
Maintainer: Arsalane Chouaib Guidoum <acguidoum at univ-tam.dz>
BugReports: https://github.com/ac-guidoum/kedd/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/ac-guidoum/kedd, https://arxiv.org/abs/2012.06102
NeedsCompilation: yes
Citation: kedd citation info
Materials: README, NEWS
CRAN checks: kedd results

Documentation:

Reference manual: kedd.html , kedd.pdf
Vignettes: kedd: kernel estimation of a density and its derivatives (source, R code)

Downloads:

Package source: kedd_2.0.0.tar.gz
Windows binaries: r-devel: kedd_1.0.4.zip, r-release: kedd_1.0.4.zip, r-oldrel: kedd_1.0.4.zip
macOS binaries: r-release (arm64): kedd_1.0.4.tgz, r-oldrel (arm64): kedd_2.0.0.tgz, r-release (x86_64): kedd_1.0.4.tgz, r-oldrel (x86_64): kedd_2.0.0.tgz
Old sources: kedd archive

Reverse dependencies:

Reverse imports: baggingbwsel, ROCModels

Linking:

Please use the canonical form https://CRAN.R-project.org/package=kedd to link to this page.