Skip to main content

    Method document

    Achieved power for a rate difference

    Calculates the power of the Wald test of a difference between two Poisson rates, from the two rates, the follow-up time, and the group sizes.

    Engine version 1.0.0 · Reviewed 3 October 2026

    https://statwisely.com/methods/power-rate-difference/

    When to use it

    • Assess the sensitivity of a comparison of event rates when the absolute difference, events avoided per unit of time, is the effect of interest.

    Not for

    • Over-dispersed counts need the quasi-Poisson or negative-binomial tab.

    Notation

    n1n_1
    Group 1 size; group 2 has r n₁.
    λ1,λ2\lambda_1, \lambda_2
    Event rates per unit of time in groups 1 and 2.
    tt
    Follow-up time per participant, in the rates’ unit.
    rr
    Allocation ratio n₂/n₁.

    Formulas

    Standardized rate difference

    z=∣λ1−λ2∣n1tλ1+λ2/rz=|\lambda_1-\lambda_2|\sqrt{\frac{n_1 t}{\lambda_1+\lambda_2/r}}

    Over follow-up t the rates are expected counts per participant, so the statistic gains a factor √t [1].

    Power from the normal rejection region

    Power=Φ(z−z1−α/tails)+Itails=2Φ(−z−z1−α/tails)\text{Power}=\Phi(z-z_{1-\alpha/\text{tails}})+I_{\text{tails}=2}\Phi(-z-z_{1-\alpha/\text{tails}})

    z₁₋α/tails is the standard-normal critical value.

    Parameters

    Group 1 sizen1n_1

    Values: Integer, at least 2

    Participants available in group 1; group 2 follows from the allocation ratio.

    Allocation ratiorrOptional

    Values: Positive; 1 for equal groups

    Group 2 has n₂ = ⌈r n₁⌉ participants.

    Rate in group 1λ1\lambda_1

    Values: Positive

    Expected events per unit of time.

    Rate in group 2λ2\lambda_2

    Values: Positive, not equal to λ₁

    Expected events per unit of time in the comparator.

    Follow-up per participanttt

    Values: Positive

    In the same time unit as the rates; doubling it buys about as much as doubling the participants.

    Significance levelα\alpha

    Values: Between 0 and 1

    The type I error rate for the specified test.

    Test directionss

    Values: 1 or 2

    One-sided tests use the upper rejection tail. Two-sided tests split α equally between both tails.

    Assumptions

    • Events in each participant follow a Poisson process with the stated rate, independently of other participants.
    • One-sided tests use the upper rejection tail. Two-sided tests split α equally between both tails.

    Worked examples

    A worked input set

    With 40 per group followed for 2 years, rates of 0.8 and 1.2 per year at α = 0.05: z = 0.4 × √(80/2.0) = 2.53.

    Needed for analysis: 40 · To approach: 80

    Open this example in the calculator

    Validation

    • At the size the rate-difference calculator returns, this power reaches that calculator’s target, and one fewer falls short; it is checked against an independent calculation in R.

    How to cite

    StatWisely. Achieved power for a rate difference. Method document, engine version 1.0.0, reviewed 2026-10-03. https://statwisely.com/methods/power-rate-difference/

    Cite the original references for the formulas your design uses as well.

    References

    1. 1.Gu K, Ng HKT, Tang ML, Schucany WR. Testing the ratio of two Poisson rates. Biometrical Journal. 2008;50(2):283–298.