Discrete Distribution.Two Tail Probability 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#
The sum of all probabilities between lowerBound and upperBound.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
DoubleThe sum of all probabilities between lowerBound and upperBound.