Skip to contents

R port of morie.multiple_testing. Provides p-value adjustment methods controlling the family-wise error rate (FWER) and the false discovery rate (FDR), simultaneous-inference helpers, p-value combination procedures, and gatekeeping / hierarchical testing.

Details

Every adjustment routine returns a morie_rich_result list carrying original, adjusted, rejected, method, alpha, n_rejected, n_tests, and an interpretation paragraph. P-value combination procedures return a list with the test statistic, combined p-value, and interpretation.

FWER and FDR methods delegate to stats::p.adjust for the textbook procedures (Bonferroni, Holm, Hochberg, Hommel, Benjamini-Hochberg, Benjamini-Yekutieli). Combined-p tests, the effective number of tests, Storey q-values and the pi0 estimators are native closed forms (cross-validated against poolr and qvalue in the test suite; neither package is used at run time).