Transformed Kernel Density Estimate.To Piecewise Distribution Method
Creates a normalized finite-grid piecewise approximation in original coordinates.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A piecewise distribution normalized over the evaluation interval; tails outside it are omitted.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public PiecewiseDistribution ToPiecewiseDistribution(
KernelDensityGridOptions? options = null
)Parameters
- options KernelDensityGridOptions (Optional)
- Direct grid settings, or null for the default inverse-transformed bounds and 512 points. At least three output points are required.
Return Value
PiecewiseDistributionA piecewise distribution normalized over the evaluation interval; tails outside it are omitted.
Exceptions
| Not | FFT controls are supplied. |
| Argument | The grid is invalid or has fewer than three points, or sampled densities are not finite, nonnegative and nonzero. |