Skip to content

Statistical decision

Do two variants have different failure proportions?

Start with failures and the number of specimens tested in each variant. Under comparable conditions, a chi-square test examines a difference using an approximation; Fisher’s exact test is an option for small expected counts. The decision also needs the size and uncertainty of the observed difference.

Use comparable conditions and observation horizons, with one known binary endpoint per independent specimen. Aborted or unknown outcomes cannot count as passes.

Worked example

Fatigue-test setup for implant components: 20 specimens independently sampled from each variant population, common test setup, 20 °C, cyclic force 0 to 100 N. Endpoint: fracture or 200,000 fracture-free cycles; all outcomes known. Prespecified: two-sided Fisher test at α = 0.05 and a 95% interval using Newcombe method 11.

Variant A
20 tested: 1 failure, 19 without failure; failure proportion 5%
Variant B
20 tested: 6 failures, 14 without failure; failure proportion 30%
Comparison B − A
+25 percentage points; two-sided Fisher p-value ≈ 0.0915
95% confidence interval B − A
−2.9 to +49.8 percentage points; Newcombe/Wilson with continuity correction

Result: Fisher does not reject equal failure probabilities at α = 0.05. The wide interval includes zero and large increases for B. These data do not establish equivalence; whether such differences are acceptable needs an engineering criterion defined beforehand.[2][3]

Start with the 2×2 table

For each variant, enter failure and no failure by the agreed endpoint. Give the denominator with every percentage. The chi-square approximation depends on expected cell counts under the null hypothesis. Fisher avoids that approximation, while batch dependence or repeated observations of one specimen still need an appropriate model.[1][2]

Put a size and an interval on the difference

Report the proportions, their difference and suitable uncertainty alongside the test. Set the question, sidedness and significance level before analysis. With few specimens, even a large observed difference can remain uncertain. A non-significant result does not establish equivalence; batch or condition differences can also limit attributing the effect to the variant.

For the decision

Keep counts, denominators and endpoints visible. Base the decision on the difference and its uncertainty, accounting for dependence in the model.

The specimen summary counts known specimens and separates failures, runouts and aborted records. It supports data preparation; it does not calculate chi-square or Fisher tests.

Organise specimens and endpoints
Assumptions and calculation method

Expected count = row total × column total / grand total. Under equal failure probabilities, the example expects 3.5 failures and 16.5 non-failures per variant. Fisher’s test conditions on the table margins.

The two-sided Fisher p-value sums table probabilities no greater than the observed probability. For δ = p̂B − p̂A, Newcombe 11 combines continuity-corrected 95% Wilson limits: lower δ − √[(p̂B − LB)² + (UA − p̂A)²], upper δ + √[(UB − p̂B)² + (p̂A − LA)²]; z = 1.959964. This interval does not invert the conditional Fisher test; other interval conventions can differ near zero.

Sources and scope

NIST explains tables and Fisher tests; Newcombe describes the difference interval. Populations, conditions and numbers form our synthetic worked example.