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: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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