def getTripletScore(X,q):
    i,j,k = q

    return dot(X[j],X[j]) -2*dot(X[j],X[k]) + 2*dot(X[i],X[k]) - dot(X[i],X[i])
This computes the sample size for needed power to compare two groups under a Cox
dataset/ETHPy150Open nextml/NEXT/next/apps/PoolBasedTripletMDS/algs/RandomSampling/utilsMDS.py/getTripletScore--crossover with--dataset/ETHPy150Open CamDavidsonPilon/lifelines/lifelines/statistics.py/sample_size_necessary_under_cph