DiscreteDistribution.TwoTailProbability Method

Gets the probability of obtaining a sample that is less than or less than or equal to the specified upper bound.

Definition

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

Parameters

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

Return Value

Double
The sum of all probabilities between lowerBound and upperBound.

See Also