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 2.

FIGURE 2

Sample size calculated to detect a mean 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 correlation (ρ) between the weighting variable Xi and the outcome Yi is varied on the x-axis. The probability of the outcome being observed at each xi value and intervention group is as displayed for PRi=1Xi=xi,Zi=1=expitβ01+β11xi and PRi=1Xi=xi,Zi=0=expitβ00+β10xi. nIPRW is approximated by Gauss-Hermite quadrature with 100 quadrature points.