DiscreteDistribution.TwoTailProbability Method

Gets the probability of obtaining a sample in either of two tails.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public double TwoTailProbability(
	int lowerBound,
	int upperBound,
	bool inclusive
)

Parameters

lowerBound  Int32
The upper bound of the left tail.
upperBound  Int32
The lower bound of the right tail.
inclusive  Boolean
Specifies whether the lower and upper bounds should be included in the total probability.

Return Value

Double
The probability of the union of the left and right tails. Overlapping tails have total probability one.

See Also