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

# cogent.maths.stats.ks.psmirnov2x

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)

```from cogent.maths.stats.special import lgam, log_one_minus, one_minus_exp,\
MACHEP
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.kendall import pkendall, kendalls_tau
from cogent.maths.stats.special import Gamma
```
```            raise RuntimeError, "Unknown alt: %s" % alt
if exact and alt in two and not ties:
Pval = 1 - psmirnov2x(stat, num_x, num_y)
else:
raise NotImplementedError
```

```from cogent.maths.stats.special import lgam, log_one_minus, one_minus_exp,\
MACHEP
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.kendall import pkendall, kendalls_tau
from cogent.maths.stats.special import Gamma
```
```            raise RuntimeError, "Unknown alt: %s" % alt
if exact and alt in two and not ties:
Pval = 1 - psmirnov2x(stat, num_x, num_y)
else:
raise NotImplementedError
```

```    MACHEP)
from cogent.maths.stats import chisqprob
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.special import Gamma

```
```            raise RuntimeError, "Unknown alt: %s" % alt
if exact and alt in two and not ties:
Pval = 1 - psmirnov2x(stat, num_x, num_y)
else:
raise NotImplementedError
```

```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
from cogent.maths.stats.special import Gamma

```
```            raise RuntimeError("Unknown alt: %s" % alt)
if exact and alt in two and not ties:
Pval = 1 - psmirnov2x(stat, num_x, num_y)
else:
raise NotImplementedError
```

```#!/usr/bin/env python
from cogent.util.unit_test import TestCase, main
from cogent.maths.stats.ks import pkolmogorov1x, pkolmogorov2x, pkstwo,\
psmirnov2x
from cogent.maths.stats.test import ks_test, ks_boot
```

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