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

# cogent.maths.stats.kendall.kendalls_tau

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

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

```
```            working.append(row)

tau = kendalls_tau(x, y, False)
q = round((tau+1)*num*(num-1) / 4)
if alt in two:
```
```            p = pkendall(q, num, Gamma(num+1), working)
else:
tau, p = kendalls_tau(x, y, True)
if alt in hi:
p /= 2
```

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

```
```            working.append(row)

tau = kendalls_tau(x, y, False)
q = round((tau+1)*num*(num-1) / 4)
if alt in two:
```
```            p = pkendall(q, num, Gamma(num+1), working)
else:
tau, p = kendalls_tau(x, y, True)
if alt in hi:
p /= 2
```