Skip to main content
. Author manuscript; available in PMC: 2024 May 20.
Published in final edited form as: Stat Med. 2023 Mar 6;42(11):1802–1821. doi: 10.1002/sim.9700

FIGURE 1.

FIGURE 1

Sample size calculated to detect a risk difference of μ1-μ0=0.375-0.275 with 90% power at a two-sided 5% significance level using the nIPRW, nknown, napprox and nstandard formulas. The within-category prevalence of the outcome in the intervention group (μ11 and μ21=2μ1-μ11) is varied on the x-axis, and within-category prevalence of the outcome in the control group is held fixed at the displayed values of μ10 and μ20=2μ0-μ10. The probability of the outcome being observed in each category and intervention group is as displayed for PRi=1Xi=1,Zi=1=expitβ11, PRi=1Xi=2,Zi=1=expitβ21, PRi=1Xi=1,Zi=0=expitβ10 and PRi=1Xi=2,Zi=0=expitβ20.