### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Special functions (`scipy.special`) »

# scipy.special.logit

`scipy.special.``logit`(x[, out]) = <ufunc 'logit'>

  Logit ufunc for ndarrays.

  The logit function is defined as logit(p) = log(p/(1-p)). Note that logit(0) = -inf, logit(1) = inf, and logit(p) for p<0 or p>1 yields nan.

  Parameters : | x : ndarray The ndarray to apply logit to element-wise.
  Returns : | out : ndarray An ndarray of the same shape as x. Its entries are logit of the corresponding entry of x.

  Notes

  As a ufunc logit takes a number of optional keywork arguments. For more information see ufuncs

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Special functions (`scipy.special`) »