{ } Raw JSON

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 : integer

n > 0

h : integer

0 <= h <= n

Returns

p : float

The proportion of paths that pass outside the lines x-y = +/-h.

Aliases

  • scipy.stats._stats_py._compute_prob_outside_square