예제 #1
0
def _frank(dependency, alpha):
    if(dependency=='kendall'):
        r = 1 + 4 * (debye(alpha,1)-1) / alpha
    elif(dependency=='spearman'):
        r = 1 + 12 * (debye(alpha,2) - debye(alpha,1)) / alpha
    
    return r
def _frank(dependency, alpha):
    if dependency == "kendall":
        r = 1 + 4 * (debye(alpha, 1) - 1) / alpha
    elif dependency == "spearman":
        r = 1 + 12 * (debye(alpha, 2) - debye(alpha, 1)) / alpha

    return r
예제 #3
0
def _frank_kendall_fopt(alpha, tau):
    return 4 * (debye(alpha, 1) - 1) / alpha + 1 - tau
def _frank_kendall_fopt(alpha, tau):
    return 4*( debye(alpha,1) - 1 )/alpha + 1 - tau