TriaLab Power Studio · Method
Two negative binomial rates, ratio (Zhu & Lakkis)
Sizes a two-group trial whose outcome is an over-dispersed event count — exacerbations, hospital admissions — analysed by negative binomial regression, for the Wald test of the rate ratio with a common dispersion and mean exposure. Four null variances; a margin is entered as a rate ratio.
Also known as: negative binomial, overdispersion, exacerbation rate, hospitalisation rate, rate ratio, count outcome, COPD, asthma, Zhu Lakkis, dispersion.
Maturity
Validated: 54 published examples from 2 independent publications (Machin, Campbell, Tan & Tan 2018; PASS) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — A confidence-interval width for a negative binomial rate ratio is not sized here: the PASS chapters on disk give the tests only.
- Assurance: not offered — Switch on the assurance modifier: a prior on the effect turns the power into an expected power over the prior, and the size can then be solved for a target assurance (O’Hagan, Stevens & Campbell 2005).
- Duration: not offered — The follow-up is entered as the exposure per subject, so calendar time is an input here rather than a quantity to solve for; lengthen the exposure and read the size.
Size axes:
- Subjects in group 1 (control); group 2 follows the allocation (
participants_per_group), Count
Inputs
Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.
Common to every method
- Significance level (alpha) (
alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention. - Target power (
power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.
The method’s own
- Control-group rate λ₁ (
rate_control): a number, above 0; default 1; typically 0.1 to 5 (events per unit of exposure) The anticipated event rate per unit of exposure in the control group — about one exacerbation per patient-year in COPD. - Rate ratio (treatment / control) (
rate_ratio): a number, above 0; default 0.85; typically 0.5 to 2 (a halving to a doubling) The ratio of the treatment group’s event rate to the control group’s. Below 1 the treatment has fewer events. - Log rate ratio (
log_rate_ratio): a number, any finite number; default -0.162519 The natural logarithm of the rate ratio. - Treatment-group rate (
rate_treatment): a number, above 0; default 0.85 The anticipated event rate in the treatment group, per unit of exposure. - Dispersion κ (
dispersion): a number, at least 0; default 0.7; typically 0.4 to 1.5 (Zhu & Lakkis’s range) The negative binomial dispersion: the variance is μ + κμ², so 0 is the Poisson and 0.4–1.5 is typical of exacerbation counts. From a previous Poisson analysis with over-dispersion factor φ at rate λ, κ = (φ − 1)/λ (Zhu & Lakkis). - Mean exposure per subject μ_t (
mean_exposure): a number, above 0; default 0.75 The average follow-up a subject contributes, in the units the rates are per — 0.75 years in a one-year study with discontinuations. - Null variance (
null_variance): a choice; defaultpooled_rateHow the variance of the log rate ratio under the null is estimated. Zhu & Lakkis found the pooled rate and the anticipated rates accurate and the control rate alone not; Zhu found the restricted-maximum-likelihood form closest to the target power.pooled_ratePooled rate under the null (default): The maximum-likelihood rate common to both groups under the null ratio — Zhu & Lakkis’s method 3, Zhu’s fixed-marginal method.true_ratesAnticipated rates: The same variance under the null and the alternative — Zhu & Lakkis’s method 2, Machin’s Equation 6.5.restricted_mleRestricted maximum likelihood (Zhu 2017): The pooled rate from Zhu’s quadratic; the same as the pooled rate when the null ratio is one.control_rateControl rate alone: Both groups at the control rate — Zhu & Lakkis’s method 1, kept for checking published sizes.
- Sidedness of the equality test (
tails): a choice; defaulttwo_sidedTwo-sided is Zhu & Lakkis’s default; a one-sided test spends alpha on the anticipated direction.two_sidedTwo-sided: Either direction rejects.one_sidedOne-sided: Only the anticipated direction rejects; alpha is spent on that tail.
Sizes entered when another axis is solved for
- Subjects in group 1 (control); group 2 follows the allocation (
participants_per_group): a whole number, at least 1 Subjects in group 1 (control); group 2 follows the allocation. Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Effect size — The treatment’s event rate relative to the control’s, as a ratio, as its logarithm, or as the treatment rate itself.
- Rate ratio, the form’s default: The clinical quantity, treatment over control; a margin is entered on this scale too. (fields
rate_ratio) - Log rate ratio: The canonical scale, on which the test is a z-test and the two equivalence limits are one number either side of zero. (fields
log_rate_ratio) - Treatment rate: Enter the treatment group’s rate; the ratio is derived. (fields
rate_treatment)
Modifiers admitted
posterior_error: Bayesian error rates (posterior error approach)frame: Hypothesis framemultiplicity: Multiplicity (a family of tests)fdr: False-discovery rate (many features tested at once)allocation: Allocationdropout: Dropoutassurance: Assurance (prior on the design)
Published examples it reproduces (54)
Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).
| Source | Example | Solves for | Inputs | Published |
|---|---|---|---|---|
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 0.85, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1311 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1311 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 0.85, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1490 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1490 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 0.85, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1668 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1668 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 0.85, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1965 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1965 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 1.15, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1570 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1570 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 1.15, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1811 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1811 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 1.15, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 2052 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 2052 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 0.8, rate ratio 1.15, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 2454 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 0.8; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 2454 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 0.85, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1097 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1097 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 0.85, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1275 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1275 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 0.85, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1453 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1453 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 0.85, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1750 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1750 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 1.15, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1320 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1320 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 1.15, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1561 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1561 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 1.15, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1802 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1802 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1, rate ratio 1.15, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 2204 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 2204 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 0.85, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 954 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 954 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 0.85, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1132 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1132 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 0.85, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1310 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1310 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 0.85, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1607 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1607 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 1.15, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1154 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1154 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 1.15, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1395 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1395 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 1.15, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1636 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1636 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.2, rate ratio 1.15, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 2038 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.2; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 2038 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 0.85, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 851 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 851 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 0.85, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1030 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1030 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 0.85, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1208 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1208 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 0.85, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1505 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 0.85; effect expressed as rate_ratio |
participants_per_group = 1505 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 1.15, dispersion 0.4, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1035 per group | Sample size | alpha = 0.05; dispersion = 0.4; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1035 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 1.15, dispersion 0.7, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1276 per group | Sample size | alpha = 0.05; dispersion = 0.7; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1276 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 1.15, dispersion 1, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1517 per group | Sample size | alpha = 0.05; dispersion = 1; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1517 ± 0 |
| PASS chapter 438, Example 1, Zhu & Lakkis 2014 Table I (printed p. 438-8) | Control rate 1.4, rate ratio 1.15, dispersion 1.5, exposure 0.75, pooled-rate null variance, two-sided 0.05, 80% power => 1919 per group | Sample size | alpha = 0.05; dispersion = 1.5; mean_exposure = 0.75; null_variance = pooled_rate; power_target = 0.8; rate_control = 1.4; rate_ratio = 1.15; effect expressed as rate_ratio |
participants_per_group = 1919 ± 0 |
| PASS chapter 438, Example 2, validating Zhu & Lakkis 2014 pp. 382-384 (printed p. 438-16) | Placebo rate 0.66, rate ratio 0.8, dispersion 0.8, exposure 0.9, pooled_rate null variance, two-sided 0.05, 90% power => 1131 per group | Sample size | alpha = 0.05; dispersion = 0.8; mean_exposure = 0.9; null_variance = pooled_rate; power_target = 0.9; rate_control = 0.66; rate_ratio = 0.8; effect expressed as rate_ratio |
participants_per_group = 1131 ± 0 |
| Machin, Campbell, Tan & Tan 2018, Example 6.3 (printed p. 89) | Placebo rate 0.66, rate ratio 0.8, dispersion 0.8, exposure 0.9, true_rates null variance, two-sided 0.05, 90% power => 1137 per group | Sample size | alpha = 0.05; dispersion = 0.8; mean_exposure = 0.9; null_variance = true_rates; power_target = 0.9; rate_control = 0.66; rate_ratio = 0.8; effect expressed as rate_ratio |
participants_per_group = 1137 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 1.8, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 58 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.818182; effect expressed as rate_ratio (with frame) |
participants_per_group = 58 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 1.9, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 77 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.863636; effect expressed as rate_ratio (with frame) |
participants_per_group = 77 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 107 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.909091; effect expressed as rate_ratio (with frame) |
participants_per_group = 107 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.1, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 155 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.954545; effect expressed as rate_ratio (with frame) |
participants_per_group = 155 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.2, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 242 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 1; effect expressed as rate_ratio (with frame) |
participants_per_group = 242 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.3, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 418 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 1.045455; effect expressed as rate_ratio (with frame) |
participants_per_group = 418 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.4, dispersion 0.2, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 866 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.2; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 1.090909; effect expressed as rate_ratio (with frame) |
participants_per_group = 866 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 1.8, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 65 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.818182; effect expressed as rate_ratio (with frame) |
participants_per_group = 65 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 1.9, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 87 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.863636; effect expressed as rate_ratio (with frame) |
participants_per_group = 87 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 121 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.909091; effect expressed as rate_ratio (with frame) |
participants_per_group = 121 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.1, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 176 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.954545; effect expressed as rate_ratio (with frame) |
participants_per_group = 176 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.2, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 273 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 1; effect expressed as rate_ratio (with frame) |
participants_per_group = 273 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.3, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 474 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 1.045455; effect expressed as rate_ratio (with frame) |
participants_per_group = 474 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | Non-inferiority ratio 1.2 (higher rates worse), control 2.2, treatment 2.4, dispersion 0.25, exposure 2.5, anticipated-rate variance, one-sided 0.025, 90% power => 982 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.25; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 1.090909; effect expressed as rate_ratio (with frame) |
participants_per_group = 982 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | The same at dispersion 0.30, treatment 1.8 => 72 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.3; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.818182; effect expressed as rate_ratio (with frame) |
participants_per_group = 72 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | The same at dispersion 0.30, treatment 1.9 => 97 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.3; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.863636; effect expressed as rate_ratio (with frame) |
participants_per_group = 97 ± 0 |
| PASS chapter 458, Example 1 (printed p. 458-5) | The same at dispersion 0.30, treatment 2 => 134 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.3; frame = non_inferiority; margin = 1.2; mean_exposure = 2.5; null_variance = true_rates; power_target = 0.9; rate_control = 2.2; rate_ratio = 0.909091; effect expressed as rate_ratio (with frame) |
participants_per_group = 134 ± 0 |
| PASS chapter 458, Example 2, validating Zhu 2017 (printed pp. 458-10 to 458-11) | Zhu’s example: equal rates 1.5, dispersion 0.24, exposure 0.85, non-inferiority ratio 1.1, one-sided 0.025, 90% power, true_rates null variance => 2370 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.24; frame = non_inferiority; margin = 1.1; mean_exposure = 0.85; null_variance = true_rates; power_target = 0.9; rate_control = 1.5; rate_ratio = 1; effect expressed as rate_ratio (with frame) |
participants_per_group = 2370 ± 0 |
| PASS chapter 458, Example 2, validating Zhu 2017 (printed pp. 458-10 to 458-11) | Zhu’s example: equal rates 1.5, dispersion 0.24, exposure 0.85, non-inferiority ratio 1.1, one-sided 0.025, 90% power, pooled_rate null variance => 2373 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.24; frame = non_inferiority; margin = 1.1; mean_exposure = 0.85; null_variance = pooled_rate; power_target = 0.9; rate_control = 1.5; rate_ratio = 1; effect expressed as rate_ratio (with frame) |
participants_per_group = 2373 ± 0 |
| PASS chapter 458, Example 2, validating Zhu 2017 (printed pp. 458-10 to 458-11) | Zhu’s example: equal rates 1.5, dispersion 0.24, exposure 0.85, non-inferiority ratio 1.1, one-sided 0.025, 90% power, restricted_mle null variance => 2372 per group | Sample size | alpha = 0.025; direction = lower_better; dispersion = 0.24; frame = non_inferiority; margin = 1.1; mean_exposure = 0.85; null_variance = restricted_mle; power_target = 0.9; rate_control = 1.5; rate_ratio = 1; effect expressed as rate_ratio (with frame) |
participants_per_group = 2372 ± 0 |
Sources
- Zhu H, Lakkis H. Sample size calculation for comparing two negative binomial rates. Stat Med. 2014;33(3):376-387.
- Zhu H. Sample size calculation for comparing two Poisson or negative binomial rates in non-inferiority or equivalence trials. Stat Biopharm Res. 2017;9(1):107-115.
- NCSS. PASS 2026 documentation, chapters 438 and 458: Tests (and Non-Inferiority Tests) for the Ratio of Two Negative Binomial Rates.
- Machin D, Campbell MJ, Tan SB, Tan SH. Sample Sizes for Clinical, Laboratory and Epidemiology Studies. 4th ed. Chichester: Wiley; 2018. §6.2, Equations 6.4-6.5.
This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →