1. Pooled Two-Proportion z-Test (Default Hβ: Ξ = 0)
\[ P_1 = \frac{x_1}{n_1}, \quad P_2 = \frac{x_2}{n_2}, \quad \bar{P} = \frac{x_1 + x_2}{n_1 + n_2}, \quad z_{\text{pooled}} = \frac{P_2 - P_1}{\sqrt{\bar{P}(1 - \bar{P})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} \]
π¬ Read it in plain English: To test whether two groups share the same true conversion rate, pool total conversions over total visitors to compute PΜ. Then divide the observed rate gap (Pβ β Pβ) by the pooled standard error.
x1, x2
Observed number of successes (conversions, clicks) in Control (1) and Variant (2).
n1, n2
Total visitors or impressions assigned to Control (1) and Variant (2).
P1, P2
Sample conversion rates xβ/nβ and xβ/nβ.
PΜ
Combined conversion rate (xβ + xβ)/(nβ + nβ) assuming both groups share one rate.
zpooled
Standard-normal test statistic for Hβ: Pβ β Pβ = 0 (its square equals Pearsonβs ΟΒ²).
2. Non-Zero Benchmark z-Test (Ξβ β 0) & Unpooled Confidence Interval
\[ \Delta = P_2 - P_1, \qquad z_{\text{unpooled}} = \frac{\Delta - \Delta_0}{\sqrt{\frac{P_1(1 - P_1)}{n_1} + \frac{P_2(1 - P_2)}{n_2}}}, \qquad \text{CI}_{1-\alpha} = \Delta \pm z_{1-\alpha/2}\sqrt{\frac{P_1(1 - P_1)}{n_1} + \frac{P_2(1 - P_2)}{n_2}} \]
π¬ Read it in plain English: For confidence intervals and non-zero hurdle tests (Ξβ β 0), each group keeps its own variance P_i(1 β P_i)/n_i. That keeps the interval widths tied to the conversion rate observed in each arm.
Ξ
Difference in sample conversion rates: Pβ β Pβ.
Ξ0
Hypothesized proportion difference under Hβ (non-zero uses unpooled SE).
SEunpooled
Standard error β[Pβ(1βPβ)/nβ + Pβ(1βPβ)/nβ] used for confidence intervals and Ξβ β 0.
z1βΞ±/2
Standard-normal critical value (e.g., 1.96 for a 95% two-sided interval).