Skip to main content

Module kde

Module kde 

Source
Expand description

Gaussian kernel density estimation, used to shape violin plots.

Structs§

KdeCurve
An evaluated kernel density estimate: paired x positions and density values, plus the bandwidth that produced them.

Functions§

kde_curve
Evaluate a Gaussian KDE of data on a uniform grid.
silverman_bandwidth
Silverman’s rule-of-thumb bandwidth: h = 0.9 * min(std, IQR/1.34) * n^(-1/5).