pub fn multipletests(
pvalues: &[f64],
alpha: f64,
method: &str,
) -> StatsResult<MultipleCorrectionResult>Expand description
Applies a multiple testing correction by method name.
This is a convenience function that dispatches to the appropriate correction method based on the given name string.
§Arguments
pvalues- Slice of raw p-valuesalpha- Significance levelmethod- Method name: “bonferroni”, “holm”, “hochberg”, “fdr_bh”, “fdr_by”, “sidak”
§Returns
A MultipleCorrectionResult with adjusted p-values and rejection decisions.