Statistical Thinking in Python (Part 2)
Justin Bois
Lecturer at the California Institute of Technology
np.mean(perm_sample_PA) - np.mean(perm_sample_OH)
1.122220149253728
np.mean(dem_share_PA) - np.mean(dem_share_OH) # orig. data
1.1582360922659518
Statistical Thinking in Python (Part 2)