Stat Multicomp Correction
stat_multicomp_correctionCorrect p-values for multiple comparisons with Holm, FDR-BH, or Bonferroni correction to control false positives when several statistical tests are reported together.
Instructions
Correct a list of p-values for multiple comparisons.
WHEN TO USE: when you have a set of p-values computed outside Pingouin, or when applying a correction across several tests reported together.
Choosing a method:
holm — controls family-wise error rate; more powerful than Bonferroni. Default.
fdr_bh — controls false discovery rate; for many comparisons or exploratory work.
bonf — most conservative; only when any false positive is unacceptable.
none — no correction; only for a single pre-registered comparison.
State the method by name in the write-up; "we corrected for multiple comparisons" without naming the method is not reproducible.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pvals": "<pvals>"
},
"name": "stat_multicomp_correction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| pvals | Yes | ||
| method | No | holm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |