MultipleTesting.AdjustBenjaminiHochberg Method

Adjusts p-values using the Benjamini-Hochberg procedure.

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
C#
public static Vector<double> AdjustBenjaminiHochberg(
	Vector<double> pValues
)

Parameters

pValues  Vector<Double>
A vector of raw p-values.

Return Value

Vector<Double>
A vector of adjusted p-values.

Remarks

This method applies the Benjamini-Hochberg procedure to control the false discovery rate (FDR), which is the expected proportion of false positives among the rejected hypotheses.

The procedure works by ordering p-values from largest to smallest, then computing adjusted p-values based on this ranking.

The Benjamini-Hochberg procedure is less conservative than family-wise error rate controlling procedures, making it appropriate for exploratory analyses and high-dimensional testing scenarios where a small proportion of false discoveries can be tolerated.

Exceptions

ArgumentNullException

pValues is null.

See Also