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

All Samples(24)  |  Call(14)  |  Derive(0)  |  Import(10)

src/c/o/cogent-1.5.3/cogent/maths/stats/kendall.py   cogent(Download)
from numpy import floor, sqrt, array
from cogent.maths.stats.util import Freqs
from cogent.maths.stats.distribution import zprob
 
__author__ = "Gavin Huttley"
                                                        (n - 1) * (n - 2))
    if return_p:
        return tau, zprob(stat / variance**0.5)
    else:
        return tau

src/p/y/pycogent-HEAD/cogent/maths/stats/kendall.py   pycogent(Download)
from numpy import floor, sqrt, array
from cogent.maths.stats.util import Freqs
from cogent.maths.stats.distribution import zprob
 
__author__ = "Gavin Huttley"
                                                        (n - 1) * (n - 2))
    if return_p:
        return tau, zprob(stat / variance**0.5)
    else:
        return tau

src/c/o/cogent-1.5.3/cogent/maths/stats/test.py   cogent(Download)
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
        return z_low(z)
    else:
        return zprob(z)
 
def t_tailed_prob(t, df, tails):
    denominator = sqrt((prod / (total * (total-1)))*((total**3 - total - T)/12))
    z = (numerator/denominator)
    p = zprob(z)
    return U, p
 

src/p/y/pycogent-HEAD/cogent/maths/stats/test.py   pycogent(Download)
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
        return z_low(z)
    else:
        return zprob(z)
 
def t_tailed_prob(t, df, tails):
    denominator = sqrt((prod / (total * (total-1)))*((total**3 - total - T)/12))
    z = (numerator/denominator)
    p = zprob(z)
    return U, p
 

src/q/i/qiime-1.8.0/qiime/pycogent_backports/test.py   qiime(Download)
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 kendall_pval(tau, n):
    '''Calculate the p-value for the passed tau and vector length n.'''
    test_stat = tau/((2*(2*n+5))/float(9*n*(n-1)))**.5
    return zprob(test_stat)
 
        return z_low(z)
    else:
        return zprob(z)
 
def t_tailed_prob(t, df, tails):
        return U, nan
    else:
        pval = zprob(numerator/float(denominator))
        return U, pval
 
        # isn't supported.
        return nan
    return zprob(z*((n-3)**.5))
 
def inverse_fisher_z_transform(z):

src/q/i/qiime-HEAD/qiime/pycogent_backports/test.py   qiime(Download)
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 kendall_pval(tau, n):
    '''Calculate the p-value for the passed tau and vector length n.'''
    test_stat = tau / ((2 * (2 * n + 5)) / float(9 * n * (n - 1))) ** .5
    return zprob(test_stat)
 
        return z_low(z)
    else:
        return zprob(z)
 
 
        return U, nan
    else:
        pval = zprob(numerator / float(denominator))
        return U, pval
 
        # isn't supported.
        return nan
    return zprob(z * ((n - 3) ** .5))
 
 

src/c/o/cogent-1.5.3/tests/test_maths/test_stats/test_distribution.py   cogent(Download)
 
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, \

src/p/y/pycogent-HEAD/tests/test_maths/test_stats/test_distribution.py   pycogent(Download)
 
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, \

src/q/i/qiime-HEAD/tests/test_pycogent_backports/test_test.py   qiime(Download)
# cogent imports
from cogent.maths.stats import chisqprob
from cogent.maths.stats.distribution import zprob, tprob
 
__author__ = "Rob Knight"

src/q/i/qiime-1.8.0/tests/test_pycogent_backports/test_test.py   qiime(Download)
# cogent imports
from cogent.maths.stats import chisqprob
from cogent.maths.stats.distribution import zprob, tprob
 
__author__ = "Rob Knight"