Practicing Statistics Interview Questions in Python
Conor Dewey
Data Scientist, Squarespace
from statsmodels.sandbox.stats.multicomp import multipletests
p_adjusted = multipletests(pvals, alpha=.05, method='bonferroni')
print(p_adjusted[0])
print(p_adjusted[1])
[ True False False False False]
[0.05 0.25 0.5 1. 1. ]
Practicing Statistics Interview Questions in Python