Skip to content

Instantly share code, notes, and snippets.

@jonadsimon
Created June 12, 2018 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonadsimon/8150679ddc73a0b955db365da37cc610 to your computer and use it in GitHub Desktop.
Save jonadsimon/8150679ddc73a0b955db365da37cc610 to your computer and use it in GitHub Desktop.
Perform the Benjamini-Hochberg Procedure in Python
from statsmodels.sandbox.stats.multicomp import multipletests
reject, pvals_corrected, alphacSidak, alphacBonf = multipletests(p_values, alpha=0.2, method='fdr_bh')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment