Multiple Testing.Adjust Sidak 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#
A vector of adjusted p-values.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
public static Vector<double> AdjustSidak(
Vector<double> pValues
)
Parameters
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.
Exceptions
Argument | pValues is null. |