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