Did I find the right examples for you? yes no      Crawl my project      Python Jobs

# cogent.maths.stats.distribution.z_high

All Samples(13)  |  Call(6)  |  Derive(0)  |  Import(7)

```  sqrt,sum,amax,amin,where, logical_not, argmin, histogram, add
from numpy.random import normal
from cogent.maths.stats.distribution import z_high
from cogent.maths.stats.special import ndtri
```
```    #The low z represents a lower deviation from the mean,
# and so will produce the higher probability
high_prob = z_high(low_z)
low_prob = z_high(high_z)
interval_z_prob = high_prob - low_prob
```

```from __future__ import division
import warnings
from cogent.maths.stats.distribution import chi_high, z_low, z_high, zprob, \
t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low, \
ndtri
```
```def z_tailed_prob(z, tails):
"""Returns appropriate p-value for given z, depending on tails."""
if tails == 'high':
return z_high(z)
elif tails == 'low':
```

```from __future__ import division
import warnings
from cogent.maths.stats.distribution import chi_high, z_low, z_high, zprob, \
t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low, \
ndtri
```
```def z_tailed_prob(z, tails):
"""Returns appropriate p-value for given z, depending on tails."""
if tails == 'high':
return z_high(z)
elif tails == 'low':
```

```from __future__ import division
import warnings
from cogent.maths.stats.distribution import (chi_high, z_low, z_high, zprob,
t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low,
ndtri)
```
```def z_tailed_prob(z, tails):
"""Returns appropriate p-value for given z, depending on tails."""
if tails == 'high':
return z_high(z)
elif tails == 'low':
```

```from __future__ import division
import warnings
from cogent.maths.stats.distribution import (chi_high, z_low, z_high, zprob,
t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low,
ndtri)
```
```def z_tailed_prob(z, tails):
"""Returns appropriate p-value for given z, depending on tails."""
if tails == 'high':
return z_high(z)
elif tails == 'low':
```

```
from cogent.util.unit_test import TestCase, main
from cogent.maths.stats.distribution import z_low, z_high, zprob, chi_low, \
chi_high, t_low, t_high, tprob, poisson_high, poisson_low, poisson_exact, \
binomial_high, binomial_low, binomial_exact, f_low, f_high, fprob, \
```

```