Stats 0.4.0 multiplecomparisons - CyrilB1531/lodestar GitHub Wiki

Lodestar.Stats 0.4.0. This page is frozen at that release. Read the current documentation for what main says now. A link to a decision or a migration page follows main, and leaves the archive.

MultipleComparisons

Adjusting a family of p-values for the number of tests in it.

Twenty tests at the five-percent level produce one significant result by chance alone. These three rules answer that, and they answer different questions: Bonferroni controls the chance of any false positive, while the Benjamini rules control the expected proportion of false positives among the results called significant.

Each returns adjusted p-values in the input's own order, so an adjusted value can be compared against the level the caller already had in mind.

Members

Member What it does
MultipleComparisons.Bonferroni Multiplies each p-value by the family size, clamped at one.
MultipleComparisons.BenjaminiHochberg The Benjamini-Hochberg step-up procedure.
MultipleComparisons.BenjaminiYekutieli The Benjamini-Yekutieli procedure, valid under any dependence.