bundles / scipy latest / scipy / stats / _stats_py / _compute_prob_outside_square
function
scipy.stats._stats_py:_compute_prob_outside_square
source: /scipy/stats/_stats_py.py :7615
Signature
def _compute_prob_outside_square ( n , h ) Summary
Compute the proportion of paths that pass outside the two diagonal lines.
Parameters
n: integern > 0
h: integer0 <= h <= n
Returns
p: floatThe proportion of paths that pass outside the lines x-y = +/-h.
Aliases
-
scipy.stats._stats_py._compute_prob_outside_square