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 delegate to poolr when installed and fall back to inline math otherwise. storey_q / estimate_pi0 delegate to qvalue when installed.