PValue adjust
Test and adjust (correct) p-value for multiple tests
Test and adjust (correct) p-value for multiple tests
Input: a table containing lists of p-values.
Output: a table containing lists of corrected p-values.
Config Parameters:
alpha (float between 0 and 1): FWER, family-wise error rate, e.g. 0.1. Except for
fdr_twostage
, the p-value correction is independent of thealpha
specified as argumentmethods: Method used for testing and adjustment of pvalues. Can be either the full name or initial letters. Available methods are:
bonferroni
: one-step correctionfdr_bh
: Benjamini/Hochberg (non-negative)fdr_by
: Benjamini/Yekutieli (negative)fdr_tsbh
: two stage fdr correction (non-negative)fdr_tsbky
: two stage fdr correction (non-negative)sidak
: one-step correctionholm-sidak
: step down method using Sidak adjustmentsholm
: step-down method using Bonferroni adjustmentssimes-hochberg
: step-up method (independent)hommel
: closed method based on Simes tests (non-negative)
For more details, see https://www.statsmodels.org/dev/generated/statsmodels.stats.multitest.multipletests.html
Input
Output
Configuration
pval_column_name
The name of the column containing p-values. If not given, the columns with values between 0 and 1 are supposed to contain p-values.
string
method
The method used to adjust (correct) p-values
string
bonferroni
fdr_bh
fdr_by
fdr_tsbh
fdr_tsbky
sidak
holm-sidak
holm
simes-hochberg
hommel
bonferroni
alpha
FWER, family-wise error rate
float
0.05