MultipleTesting.AdjustSidak Method

Adjusts p-values using the Sidak correction.

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
C#
public static Vector<double> AdjustSidak(
	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 adjusts p-values to control the family-wise error rate under the assumption of independent tests. The correction is computed as 1-(1-p)^n where n is the number of tests.

The Sidak correction is less conservative than the Bonferroni correction, providing slightly better statistical power while still controlling the family-wise error rate at the desired level.

  Important

This method requires independence between tests. If your tests are not independent, the actual family-wise error rate may exceed the expected level. For dependent tests, consider using methods specifically designed for dependent data.

Exceptions

ArgumentNullException

pValues is null.

See Also