IntHout 2014 - Simulation Results and Error Rates

Summary

HKSJ error rates are closer to the nominal 5% than DL in every simulated scenario. With heterogeneity () and 5 trials, DL’s error rate runs 5.7% to 14.7% (equal vs unequal sizes) versus HKSJ 4.7% to 9.9%; with 2 trials DL reaches 30.9% to 33.7% versus HKSJ at most 10.2%. HKSJ error “at most doubled” (one large trial), DL “could be over 30%“. With , DL is conservative (about 3-4%) and HKSJ about 5%.

Overview

All results concern the true overall effect equal to zero, nominal , 10,000 series per cell. Figure 1 plots continuous-outcome error rates against for four size configurations (A equal; B one small trial 1/10; C 50-50 small and large, ratio 1:10; D one large trial 10 times larger), with bars for the min and max over group sizes and lines connecting means. Additional files give the RR (Fig. S1) and OR (Fig. S2) analogues.

Main Content

Empirical finding 1: DL inflation (continuous outcomes)

With unequal-sized trials, DL Type I error is substantially inflated even at minimal heterogeneity; with equal sizes, minimal or modest heterogeneity does not inflate much. For DL rates are too large even for series of 20 trials. At DL is too low (about 3-4%). For DL ranges from 5.7% (equal sizes) to 14.7% (mixtures). Group sizes themselves do not matter.

Empirical finding 2: HKSJ is nearly nominal

HKSJ always outperformed DL; its error rate is usually roughly 5%. For equal sizes it is very appropriate; with one small trial it is about right for more than five studies, higher for fewer; it also degrades when the share of small trials rises (config C); with one large trial it can approach double (10%), especially at moderate heterogeneity. With it stays about 5%.

Table 1: minimum-maximum error rates (%) by trial-size mixture

Ranges are over (or over to 20 for ) and over group sizes (event rates for binary outcomes).

OutcomeEqual: DLEqual: HKSJOne small: DLOne small: HKSJ50-50: DL50-50: HKSJOne large: DLOne large: HKSJ
Continuous02-203.4-4.64.5-63.4-4.54.7-5.43.3-4.14.6-5.43.2-4.44.5-5.7
.25-.926-254.7-5.413.8-30.96.5-9.213.8-30.96.5-9.213.8-30.96.5-9.2
35.9-17.54.7-5.610.8-21.76-810.2-20.85.9-7.713.7-22.17.1-10.7
45.6-14.24.5-5.59-16.85.6-711.9-18.46.6-9.612.6-17.35.9-10.5
55.7-12.74.7-5.58.2-13.65.5-6.79.9-14.75.6-7.911.6-14.55.3-9.9
105.6-8.84.8-5.66.4-8.85-5.69-10.35.4-7.28.5-105.3-8.8
205.6-6.64.6-5.35.8-7.14.8-5.57.1-7.85-6.46.9-7.84.9-7.2
Risk ratio02-200.9-4.22.1-6.92.8-4.12.7-6.53.0-4.12.7-6.82.7-4.32.7-5.5
.25-.922.5-26.32.8-6.714.3-33.76-10.214.3-33.76-10.214.3-33.76-10.2
52.5-12.93.9-5.77.9-155.5-7.29.8-15.75.2-7.911.4-14.25.2-10.6
102.6-8.92.7-5.46-9.73.8-5.78.6-114.8-9.17.3-10.13.6-8.7
Odds ratio02-201.3-4.32.7-6.13-43-6.73-43-6.72.9-4.13-5.4
.25-.922.9-25.33.2-5.913.7-33.56.1-9.613.7-33.56.1-9.613.7-33.56.1-9.6
53-12.73.9-5.37.9-14.45.4-6.99.9-15.85.3-8.111.6-14.25.2-10.5
102.9-8.83.2-5.35.7-9.63.9-5.78.4-11.74.8-9.37.4-10.13.8-8.8

Binary outcomes

For RR, results are like the continuous ones but with more variation, depending on group sizes and risks (0.1 to 0.9). At : DL 2.2-15.5%, HKSJ 2.8-10.6%. At : DL 6.4-33.7%, HKSJ 2.7-10.2%. At : DL 0.9-4.3%, HKSJ 2.1-6.9%. Odds ratios behave similarly (Table 1).

Reading the table

  • The worst DL cells are to 3 with any unequal sizes: 14 to 34%, i.e. two to seven times the nominal rate.
  • HKSJ’s worst cell is “one large trial” with moderate heterogeneity at small : 10 to 11% for to 5 (continuous), 10.6% (RR, ).
  • HKSJ can be mildly anti-conservative or conservative at for binary outcomes (2.1-6.9% RR), because estimated variances and continuity corrections matter.

Examples

Reading off a decision rule

A portfolio of 5 lift tests, one 10x larger than the rest, with moderate heterogeneity ( about 0.5): Table 1 says a nominal 5% DL test is really a 12 to 14% test (continuous, one-large row) and HKSJ is a 5 to 10% test. A “significant” pooled lift at under DL is thus weak evidence; the HKSJ -value is the one to report (IntHout 2014 - Converting DL Results to HKSJ Worked Examples).

# Recompute a Table-1-style cell (continuous outcome) with the generator from the Simulation Design note
import numpy as np
cell = np.mean([one_series([100]*4 + [1000], 0.5) for _ in range(10000)], axis=0)   # -> about (0.15, 0.10)

Connections

See Also