(base, perturbed, x_delta)
return np.mean(dfdx), np.std(dfdx)
Calculate v_i mean and std.

    v_i sensitivity measure following Sobol and Kucherenko (2009)
    For comparison, Morris mu* < sqrt(v_i)

    Same as calc_vi_mean but returns standard deviation as well.
Calculate v_i mean and std.
Calculate v_i mean and std .
def calc_vi_stats(base, perturbed, x_delta):
    """Calculate v_i mean and std.

    v_i sensitivity measure following Sobol and Kucherenko (2009)
    For comparison, Morris mu* < sqrt(v_i)

    Same as calc_vi_mean but returns standard deviation as well.
    """
    dfdx = ((perturbed - base) / x_delta)**2
    return np.mean(dfdx), np.std(dfdx)
def calc_vi_stats ( base , perturbed , x_delta ) : dfdx = ( ( perturbed - base ) / x_delta ) ** 2 return np . mean ( dfdx ) , np . std ( dfdx )