intRight

intRight, function

def pure intRight(r: ranvar, a: number): number

Returns the probability mass of r over `[a, \infty)$.

Examples

r = poisson(3)

table T = with
  [| as A |]
  [| 0 |]
  [| 2 |]

T.Sum = intRight(r, T.A)

show table "Right integral" with
  T.A
  T.Sum

This produces the following table:

A Sum
0 1
2 0.8008485

Remarks

intRight(r, a) is equivalent to int(r, a, support.max(r)).

User Contributed Notes
0 notes + add a note