KernelDensityOptions Class

Specifies the kernel and bandwidth selection for a reusable kernel density estimate.

Definition

Namespace: Numerics.NET.Statistics.KernelDensityEstimation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public sealed class KernelDensityOptions
Inheritance
Object  →  KernelDensityOptions

Remarks

Instances are immutable. Use Automatic(KernelDensityBandwidthEstimator, Kernel, Double) to select a bandwidth from the observations, or Fixed(Double, Kernel, Double) to supply one. Grid coordinates are specified separately through EvaluateGrid(Int32, Nullable<Double>, Nullable<Double>, Double). With FitTransformed(Vector<Double>, KernelDensityTransformation, KernelDensityOptions, Vector<Double>), all bandwidth values and search bounds use transformed coordinates.

Properties

BandwidthGets the supplied bandwidth before adjustment, or null for automatic selection.
BandwidthAdjustmentGets the positive factor applied to the supplied or selected bandwidth.
BandwidthEstimatorGets the bandwidth selection rule, or Custom for a fixed bandwidth.
DefaultGets Gaussian normal-reference options with bandwidth adjustment 1.
KernelGets the kernel used for estimation.
MaximumBandwidthGets the explicit upper bandwidth-search bound before adjustment, or null for default bounds or another method.
MinimumBandwidthGets the explicit lower bandwidth-search bound before adjustment, or null for default bounds or a method without a search.

Methods

AutomaticCreates options that select a bandwidth from the observations.
CrossValidatedCreates Gaussian least-squares cross-validation options with explicit bandwidth bounds.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FixedCreates options with a supplied bandwidth.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
SheatherJonesCreates Gaussian Sheather-Jones solve-the-equation options with an explicit root bracket.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also