Statistical Methods
Separate Boschloo\u2019s Test Statistic from Its Final P Value
Define the research task
Boschloo’s exact test uses a Fisher-test p value as its statistic, then obtains a different unconditional p value. Confusing these fields can change the reported inference. Use it only with a design appropriate to two independent binomial samples and a prespecified alternative.
Work through the check
- Label success/failure rows and group columns.
- Validate counts and preserve both group totals.
- Record the alternative, numerical sampling setting and software version.
- Export fields with distinct names: Fisher-based statistic and Boschloo p value.
- Document the two-sided convention instead of assuming it matches every Fisher implementation.
An exact-test label does not remove the need to inspect study design, effect magnitude or numerical settings. Avoid choosing the method only because it gives the smallest p value.
Hypothetical example and reporting
For the hypothetical table [[3,1],[2,4]], the column totals are both 5 and there are four successes overall. Under a fixed-margin hypergeometric calculation, P(first-column successes ≥ 3) = [C(5,3)C(5,1) + C(5,4)C(5,0)]/C(10,4) = 55/210 ≈ 0.261905. This is the one-sided Fisher-based quantity, not a calculation of the final Boschloo p value. Label it accordingly.
Source and verification
Method checked 26 November 2026 against SciPy primary documentation: stats.boschloo_exact. Examples are synthetic; this page does not assert human expert approval.