← Back to Portfolio

Project 5 · Experimentation

E-commerce A/B Testing and Statistical Analysis

One-tailed two-proportion z-test analysis assessing whether a new landing page improves conversion versus the existing control page.

PythonstatsmodelsHypothesis TestingConfidence Intervals

Business Problem & Objective

  • Determine if the treatment landing page increases conversion above the control page.
  • Quantify effect size and confidence interval before launch decisions.
  • Provide decision-ready recommendation with statistical interpretation.

Dataset

  • Raw file: ab_test_raw.csv with 294,478 rows and 5 columns.
  • After removing mismatched group/page assignments: 290,585 valid records.
  • Control: 145,274 users (12.04% conversion); Treatment: 145,311 users (11.88% conversion).

Methodology

  • Data QA and mismatch filtering for assignment integrity.
  • One-tailed z-test for two proportions at α = 0.05.
  • 95% confidence intervals for each group and treatment-control difference.
  • Business interpretation of non-significant uplift outcome.

Statistical Findings

  • Z-statistic: -1.3116; one-tailed p-value: 0.9052.
  • Estimated difference (treatment - control): -0.158 percentage points.
  • 95% CI for difference: [-0.394 pp, +0.078 pp].
  • Conclusion: fail to reject H₀; no evidence of conversion improvement.

Visual Evidence

Control and treatment conversion rates chart
Conversion comparison between control and treatment groups.
Confidence interval chart for conversion rate difference
95% CI plot for treatment-control difference, including the zero-effect reference.