KernelDensityEstimate.ToDistribution Method

Creates the direct probability distribution represented by this Gaussian KDE.

Definition

Namespace: Numerics.NET.Statistics.KernelDensityEstimation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public KernelDensityDistribution ToDistribution()

Return Value

KernelDensityDistribution
A distribution sharing this immutable fitted estimate, preserving its boundary correction.

Remarks

No finite grid or tail truncation is used. Moment availability depends on the fit and is reported by DistributionCapabilities. Sampling preserves the fitting family's sampling algorithm.

Exceptions

NotSupportedExceptionThe fit does not use the built-in Gaussian kernel.

See Also