Bio.codonalign.chisq module¶
Python implementation of chisqprob, to avoid SciPy dependency.
Adapted from SciPy: scipy/special/cephes/{chdtr,igam}.
-
Bio.codonalign.chisq.
chisqprob
(x, df)¶ Probability value (1-tail) for the Chi^2 probability distribution.
Broadcasting rules apply.
- Parameters
- xarray_like or float > 0
- dfarray_like or float, probably int >= 1
- Returns
- chisqprobndarray
The area from
chisq
to infinity under the Chi^2 probability distribution with degrees of freedomdf
.