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

# cogent.maths.stats.distribution.t_high

All Samples(12)  |  Call(5)  |  Derive(0)  |  Import(7)

```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 t_tailed_prob(t, df, tails):
"""Return appropriate p-value for given t and df, depending on tails."""
if tails == 'high':
return t_high(t, df)
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 t_tailed_prob(t, df, tails):
"""Return appropriate p-value for given t and df, depending on tails."""
if tails == 'high':
return t_high(t, df)
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 t_tailed_prob(t, df, tails):
"""Return appropriate p-value for given t and df, depending on tails."""
if tails == 'high':
return t_high(t, df)
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 t_tailed_prob(t, df, tails):
"""Return appropriate p-value for given t and df, depending on tails."""
if tails == 'high':
return t_high(t, df)
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, \
```

```
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, \
```

```from copy import copy
from cogent.maths.stats.test import correlation,spearman,correlation_test
from cogent.maths.stats.distribution import tprob,t_high
from biom.table import table_factory,DenseOTUTable

```
```        prob = tprob(t,n-2)
elif tails == 'high':
prob = t_high(t,n-2)
elif tails == 'low':
prob = t_low(t,n-2)
```