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

# cogent.maths.stats.special.one_minus_exp

All Samples(14)  |  Call(8)  |  Derive(0)  |  Import(6)

```    t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low, \
ndtri
from cogent.maths.stats.special import lgam, log_one_minus, one_minus_exp,\
MACHEP
from cogent.maths.stats.ks import psmirnov2x, pkstwo
```
```        return 1 - (1-p)**n
else:
return one_minus_exp(-n * p)

def multiple_inverse(p_final, n):
```
```    numbers.
"""
return one_minus_exp(log_one_minus(p_final)/n)

def multiple_n(p_initial, p_final):
```

```    t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low, \
ndtri
from cogent.maths.stats.special import lgam, log_one_minus, one_minus_exp,\
MACHEP
from cogent.maths.stats.ks import psmirnov2x, pkstwo
```
```        return 1 - (1-p)**n
else:
return one_minus_exp(-n * p)

def multiple_inverse(p_final, n):
```
```    numbers.
"""
return one_minus_exp(log_one_minus(p_final)/n)

def multiple_n(p_initial, p_final):
```

```    t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low,
ndtri)
from cogent.maths.stats.special import (lgam, log_one_minus, one_minus_exp,
MACHEP)
from cogent.maths.stats import chisqprob
```
```        return 1 - (1-p)**n
else:
return one_minus_exp(-n * p)

def multiple_inverse(p_final, n):
```
```    numbers.
"""
return one_minus_exp(log_one_minus(p_final)/n)

def multiple_n(p_initial, p_final):
```

```                                             t_high, t_low, tprob, f_high, f_low, fprob, binomial_high, binomial_low,
ndtri)
from cogent.maths.stats.special import log_one_minus, one_minus_exp, MACHEP
from cogent.maths.stats import chisqprob
from cogent.maths.stats.ks import psmirnov2x, pkstwo
```
```        return 1 - (1 - p) ** n
else:
return one_minus_exp(-n * p)

```
```    numbers.
"""
return one_minus_exp(log_one_minus(p_final) / n)

```

```#!/usr/bin/env python
"""Unit tests for special functions used in statistics.
"""
from cogent.util.unit_test import TestCase, main
from cogent.maths.stats.special import permutations, permutations_exact, \
```

```#!/usr/bin/env python