Computes the normal reference bandwidth (R's bw.nrd0) for kernel density estimation.
Namespace: Altaxo.Calc.ProbabilityAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double Nrd0(
IReadOnlyList<double> x
)
Parameters
- x IReadOnlyListDouble
- The sample values.
Return Value
DoubleThe selected bandwidth.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown when fewer than 2 data points are provided. |
See Also