Skip to content

A Julia package for performing kernel density estimation

Notifications You must be signed in to change notification settings

jmert/KernelDensityEstimation.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Build Status

Kernel Density Estimation

KernelDensityEstimation.jl is a package for calculating univariate (1D) kernel density estimates from vectors of data. Its main features (and limitations) are:

  • Uses a Gaussian kernel for smoothing (truncated at ).
  • Supports closed boundaries.
  • Supports processing weighted samples.
  • Provides higher-order estimators to better capture variation in width and slope of distributions.
  • A more sophisticated bandwidth estimator than the typical Silverman rule.
  • Limited to 1D curves — does not support 2D densities.

This package largely implements the algorithms described by Lewis (2019)1 (and its corresponding Python package, GetDist).


Four-panel plot showing KDEs of simple normal, exponential, beta, and gaussian mixture-model samples

Footnotes

  1. A. Lewis. GetDist: a Python package for analysing Monte Carlo samples (2019), arXiv:1910.13970.

About

A Julia package for performing kernel density estimation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages