Discrete Distribution.Two Tail Probability 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#
The probability of the union of the left and right tails. Overlapping tails have total probability one.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
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
DoubleThe probability of the union of the left and right tails. Overlapping tails have total probability one.