def getLinearModel_rValue(x_values, y_values): gradient, intercept, r_value, p_value, std_err = stats.linregress(x_values,y_values) return r_value