Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/d/e/denigma-HEAD/denigma/apps/stats/ttest.py   denigma(Download)
"""Harbours varios flavors of t-tests."""#http://telliott99.blogspot.com/2010/11/students-t-test-again-5.html
from __future__ import division
import numpy as np
from scipy.special import stdtr
from utils import unbiased_var as var
    nb = len(B)
    df = na + nb - 2
    sum_sq = (var(A)*(na-1) + var(B)*(nb-1))
    f = (1/na + 1/nb)/df
    t = diff/np.sqrt(sum_sq*f)