verify_subset_win
Correct raw p-values for look-elsewhere bias when claiming a win on a subset, metric, or checkpoint, using the number of comparisons tested.
Instructions
A 'we lead on subset/metric/checkpoint X' claim, corrected for how many you could have picked it from (look-elsewhere / multiple comparisons). Pass the raw p-value and the number of comparisons tested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes | Raw (uncorrected) p-value of the observed win. | |
| api_key | Yes | Your metering key — any stable string identifying you; it tracks your free-tier calls and prepaid credit balance. | |
| n_tests | Yes | Number of subsets/metrics/checkpoints it could have been picked from (the look-elsewhere count). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_p | No | ||
| method | No | ||
| verdict | No | ||
| survives | No | ||
| corrected_p | No | Multiple-comparisons-corrected p-value. |