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

# cogent.maths.stats.distribution.poisson_high

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

```from cogent.core.bitvector import PackedBases
from cogent.maths.stats.test import combinations, multiple_comparisons
from cogent.maths.stats.distribution import poisson_high
from numpy import array, fromstring

```
```
#Strict P value from poisson_high
strict_p_value = poisson_high(len(module)-1,strict_mean)
#Correct P value for multiple comparisons
strict_p_corrected = \
```
```            (aln_len + num_seqs*(1-module_len))*(module_p)
#Loose P value from poisson_high
loose_p_value = poisson_high(len(module)-1,loose_mean)
#Correct P value for multiple comparisons
loose_p_corrected = \
```

```from cogent.core.bitvector import PackedBases
from cogent.maths.stats.test import combinations, multiple_comparisons
from cogent.maths.stats.distribution import poisson_high
from numpy import array, fromstring

```
```
#Strict P value from poisson_high
strict_p_value = poisson_high(len(module)-1,strict_mean)
#Correct P value for multiple comparisons
strict_p_corrected = \
```
```            (aln_len + num_seqs*(1-module_len))*(module_p)
#Loose P value from poisson_high
loose_p_value = poisson_high(len(module)-1,loose_mean)
#Correct P value for multiple comparisons
loose_p_corrected = \
```

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

```