Kernel Density.Normal Reference Bandwidth Method
Returns the bandwidth for kernel density estimation based
on Silverman's rule.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The corresponding bandwidth.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static double NormalReferenceBandwidth(
Vector<double> input,
Kernel kernel
)
Parameters
- input Vector<Double>
- The data on which the estimate is based.
- kernel Kernel
- The kernel to be used for estimation.
Return Value
DoubleThe corresponding bandwidth.
Remarks
The bandwidth returned by this function minimizes the integrated square error if the data is normally distributed.
Exceptions
Argument | input is null. -or- kernel is null. |