Navigation :
intLeft
intLeft, function
def pure intLeft(r: ranvar, b: number): number
Returns the probability mass of r over $(-\infty, b]$.
r: ranvar to integrate.
b: right bound.
Examples
r = poisson(3)
table T = with
[| as B |]
[| 0 |]
[| 2 |]
T.Sum = intLeft(r, T.B)
show table "Left integral" with
T.B
T.Sum
This produces the following table:
| B |
Sum |
| 0 |
0.04978787 |
| 2 |
0.4231969 |
intLeft(r, b) is equivalent to int(r, support.min(r), b).