public interface KernelDensityFunction
Modifier and Type | Method and Description |
---|---|
double |
canonicalBandwidth()
Get the canonical bandwidth for this kernel.
|
double |
density(double delta)
Density contribution of a point at the given relative distance
delta >= 0 . |
double |
getR()
Get the R integral of the kernel, \int K^2(x) dx
TODO: any better name for this?
|
double |
standardDeviation()
Get the standard deviation of the kernel function.
|
double density(double delta)
delta >= 0
.
Note that for delta < 0
, in particular for delta < 1
, the
results may become invalid. So usually, you will want to invoke this as:
kernel.density(Math.abs(delta))
delta
- Relative distance@Reference(authors="J.S. Marron, D. Nolan", title="Canonical kernels for density estimation", booktitle="Statistics & Probability Letters, Volume 7, Issue 3", url="http://dx.doi.org/10.1016/0167-7152(88)90050-8") double canonicalBandwidth()
double standardDeviation()
double getR()