Professional Documents
Culture Documents
Multiplicity Test
Multiplicity Test
-----------------------------------------------------------------------------------
--------------------------
import pandas as pd
from statsmodels.stats.multitest import multipletests
# Add the corrected p-values and hypothesis test results to the dataframe
df["pval_corrected"] = pvals_corrected
df["reject"] = reject