epanechnikovPDF Simple Epanechnikov kernel density estimator. Returns the uniformly spaced points from the sample range at which the density function was estimated, and the estimates at those points.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulestatistics-0.16.3.0Haskell2010
Deprecated. Use Statistics.Sample.KernelDensity instead.
Kernel density estimation code, providing non-parametric ways to estimate the probability density function of a sample.
The techniques used by functions in this module are relatively
fast, but they generally give inferior results to the KDE function
in the main Statistics.KernelDensity module (due to the
oversmoothing documented for bandwidth below).
epanechnikovPDF Simple Epanechnikov kernel density estimator. Returns the uniformly spaced points from the sample range at which the density function was estimated, and the estimates at those points.
gaussianPDF Simple Gaussian kernel density estimator. Returns the uniformly spaced points from the sample range at which the density function was estimated, and the estimates at those points.
Points from the range of a Sample.
Eq PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleData PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleRead PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleShow PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleGeneric PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleBinary PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleFromJSON PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimpleToJSON PointsDefined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.Simpletype Rep Points = D1 ('MetaData "Points"
"Statistics.Sample.KernelDensity.Simple"
"statistics-0.16.3.0-7tUzFo3BZKZH5qDjy8INI7"
'True) (C1 ('MetaCons "Points"
'PrefixI 'True) (S1 ('MetaSel ('Just "fromPoints"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Double))))Defined in statistics-0.16.3.0 · Statistics.Sample.KernelDensity.SimplechoosePoints Choose a uniform range of points at which to estimate a sample's probability density function.
If you are using a Gaussian kernel, multiply the sample's bandwidth by 3 before passing it to this function.
If this function is passed an empty vector, it returns values of positive and negative infinity.
The width of the convolution kernel used.
Compute the optimal bandwidth from the observed data for the given kernel.
This function uses an estimate based on the standard deviation of a sample (due to Deheuvels), which performs reasonably well for unimodal distributions but leads to oversmoothing for more complex ones.
Bandwidth estimator for an Epanechnikov kernel.
Bandwidth estimator for a Gaussian kernel.
The convolution kernel. Its parameters are as follows:
Scaling factor, 1/nh
Bandwidth, h
A point at which to sample the input, p
One sample value, v
Epanechnikov kernel for probability density function estimation.
Gaussian kernel for probability density function estimation.
estimatePDF Kernel density estimator, providing a non-parametric way of estimating the PDF of a random variable.
simplePDF A helper for creating a simple kernel density estimation function with automatically chosen bandwidth and estimation points.
Deheuvels, P. (1977) Estimation non paramétrique de la densité par histogrammes généralisés. Mhttp:/archive.numdam.orgarticle/RSA_1977__25_3_5_0.pdf>