Multiple Testing.Adjust PValues Method
Adjusts p-values using the specified adjustment method.
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> AdjustPValues(
Vector<double> pValues,
PValueAdjustmentMethod method
)
Parameters
- pValues Vector<Double>
- A vector of raw p-values.
- method PValueAdjustmentMethod
- The adjustment method to apply.
Return Value
Vector<Double>A vector of adjusted p-values.
Remarks
This method applies the chosen adjustment method to control error rates in multiple hypothesis testing. Ensure the method is appropriate for the data and test dependencies. See PValueAdjustmentMethod for details.
Exceptions
Argument | pValues is null. |
Argument | method is not a valid adjustment method. |