repl.txt (825B)
1 2 {{alias}}( a, b, p, q ) 3 Computes the inverse of the lower incomplete beta function. 4 5 Probabilities `p` and `q` must satisfy `p = 1 - q`. 6 7 Parameters 8 ---------- 9 a: number 10 First function parameter (a positive number). 11 12 b: number 13 Second function parameter (a positive number). 14 15 p: number 16 Probability. 17 18 q: number 19 Probability equal to `1-p`. 20 21 Returns 22 ------- 23 out: Array 24 Two-element array holding function value `y` and `1-y`. 25 26 Examples 27 -------- 28 > var y = {{alias}}( 3.0, 3.0, 0.2, 0.8 ) 29 [ ~0.327, ~0.673 ] 30 > y = {{alias}}( 3.0, 3.0, 0.4, 0.6 ) 31 [ ~0.446, ~0.554 ] 32 > y = {{alias}}( 1.0, 6.0, 0.4, 0.6 ) 33 [ ~0.082, ~0.918 ] 34 > y = {{alias}}( 1.0, 6.0, 0.8, 0.2 ) 35 [ ~0.235, ~0.765 ] 36 37 See Also 38 -------- 39