bonferroni_correction
Adjust p-values for multiple comparisons to control family-wise error rate, preventing false positives when any significant result matters.
Instructions
Adjust a batch of p-values for multiple comparisons, controlling the family-wise error rate. Conservative; use when any false positive among the batch is costly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | family-wise significance level to control; default 0.05 | |
| p_values | Yes | the batch of p-values to adjust |