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