Foundations of Inference in Python
Paul Savala
Assistant Professor of Mathematics
Compares medians from two paired measurements
Likely not normally distributed
s, p_value, m, table = stats.median_test(df['thew_score'], df['arw_score'])
print(p_value < 0.05)
TRUE
tau, p_value = stats.kendalltau( df['thew_rank'], df['arw_rank'])
print(tau, p_value < 0.05)
0.651, TRUE
Foundations of Inference in Python