intLeft

intLeft, function

def pure intLeft(r: ranvar, b: number): number

Returns the probability mass of r over $(-\infty, b]$.

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

Remarks

intLeft(r, b) is equivalent to int(r, support.min(r), b).

User Contributed Notes
0 notes + add a note