Header menu logo FSharp.Stats

MultipleTesting Module

This module contains functions to adjust for multiple testing errors in statistical tests.

Nested modules

Modules Description

Qvalues

Estimate the q-values for a given set of p-values. The q-value of a test measures the proportion of false positives incurred (called the false discovery rate) when that particular test is called significant.

Functions and values

Function or value Description

benjaminiHochbergFDR rawPValues

Full Usage: benjaminiHochbergFDR rawPValues

Parameters:
    rawPValues : float seq

Returns: float seq

Benjamini-Hochberg Correction (BH) This function applies the Benjamini-Hochberg multiple testing correcture and returns all False Discovery Rates to which the given p-values are still significant.

rawPValues : float seq
Returns: float seq

benjaminiHochbergFDRBy projection rawP

Full Usage: benjaminiHochbergFDRBy projection rawP

Parameters:
    projection : 'a -> 'b * float
    rawP : 'a seq

Returns: ('b * float) list
Modifiers: inline
Type parameters: 'a, 'b

Benjamini-Hochberg Correction (BH) 'projection' should return a tuple of any identifier and the pValues as float, when applied to 'rawP' This function applies the Benjamini-Hochberg multiple testing correcture and returns all False Discovery Rates to which the given p-values are still significant. Note: corrected pValues are not sorted in original order!

projection : 'a -> 'b * float
rawP : 'a seq
Returns: ('b * float) list

hochbergFWER p

Full Usage: hochbergFWER p

Parameters:
    p : float[]

Returns: float[]
Modifiers: inline

Hochberg (step-up) FWER adjustment (NaN-safe) NaN p-values are ignored in the computation and preserved at their original indices.

p : float[]
Returns: float[]

holmFWER p

Full Usage: holmFWER p

Parameters:
    p : float[]

Returns: float[]
Modifiers: inline

Holm–Bonferroni (step-down) FWER adjustment (NaN-safe) NaN p-values are ignored in the computation and preserved at their original indices.

p : float[]
Returns: float[]

Type something to start searching.