Discrete Distribution.Right 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: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The sum of all probabilities for values greater than and, if inclusive is true equal to, lowerBound.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public double RightTailProbability(
int lowerBound,
bool inclusive
)
Parameters
- lowerBound Int32
- The lower bound.
- inclusive Boolean
- Specifies whether the lower bound should be included in the total probability.
Return Value
DoubleThe sum of all probabilities for values greater than and, if inclusive is true equal to, lowerBound.