def lttest_ind (a, b, printit=0, name1='Samp1', name2='Samp2', writemode='a'):
    x1 = mean(a)
    x2 = mean(b)
    v1 = stdev(a)**2
    v2 = stdev(b)**2
    n1 = len(a)
    n2 = len(b)
    df = n1+n2-2
    svar = ((n1-1)*v1+(n2-1)*v2)/float(df)
    t = (x1-x2)/math.sqrt(svar*(1.0/n1 + 1.0/n2))
    prob = betai(0.5*df,0.5,df/(df+t*t))

    if printit <> 0:
        statname = 'Independent samples T-test.'
        outputpairedstats(printit,writemode,
                          name1,n1,x1,v1,min(a),max(a),
                          name2,n2,x2,v2,min(b),max(b),
                          statname,t,prob)
    return t,prob
search a folder in the filesystem
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/lttest_ind--crossover with--dataset/ETHPy150Open cournape/Bento/bento/core/node.py/Node.find_dir