KernelDensityOptions.SheatherJones Method

Creates Gaussian Sheather-Jones solve-the-equation options with an explicit root bracket.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public static KernelDensityOptions SheatherJones(
	double minimumBandwidth,
	double maximumBandwidth,
	double bandwidthAdjustment = 1
)

Parameters

minimumBandwidth  Double
The finite positive lower bandwidth bound before adjustment.
maximumBandwidth  Double
The finite positive upper bandwidth bound, strictly above the lower bound.
bandwidthAdjustment  Double  (Optional)
A finite positive multiplier applied after root selection. The default is 1.

Return Value

KernelDensityOptions
Immutable options for a bracketed Sheather-Jones solve.

Remarks

Bounds use fitting-coordinate units. The bracket must contain a root; it is not expanded. Use Automatic(KernelDensityBandwidthEstimator, Kernel, Double) with SheatherJones for automatic bracketing. This selector uses exact Gaussian pair sums, effective sample size and relative observation masses.

Exceptions

ArgumentOutOfRangeExceptionA bound or adjustment is invalid or the bounds are not ordered.

See Also