PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Statistics & Math/CVS Health

Compute A/B significance, CI, and power

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in statistical inference for A/B testing—specifically two-proportion z-tests, construction of confidence intervals with unpooled standard errors, sample-size and power calculations, and multiple-comparison correction via Bonferroni.

  • Medium
  • CVS Health
  • Statistics & Math
  • Data Scientist

Compute A/B significance, CI, and power

Company: CVS Health

Role: Data Scientist

Category: Statistics & Math

Difficulty: Medium

Interview Round: Take-home Project

You run an A/B test for 7 days. Control A: 520 conversions out of 10,000 sessions. Variant B: 630 conversions out of 11,500 sessions. Use a calculator as needed. Assume independent Bernoulli trials. a) Two-proportion z-test for H0: pB − pA = 0 vs two-sided alternative. Compute the pooled-proportion z statistic and the two-sided p-value. b) Compute a 95% confidence interval for (pB − pA) using the unpooled standard error. c) Sample-size planning: with baseline p0 = pA, what equal per-arm sample size n (sessions) is required to detect an absolute lift of 0.7 percentage points (i.e., p1 = p0, p2 = p0 + 0.007) at two-sided α = 0.05 and 80% power using the normal approximation? Use z0.975 = 1.96 and z0.80 = 0.84; report the formula you use and the numeric n rounded up. d) If you were instead running 12 independent metrics, what Bonferroni-corrected per-metric α would you use to maintain family-wise αFWER = 0.05?

Quick Answer: This question evaluates proficiency in statistical inference for A/B testing—specifically two-proportion z-tests, construction of confidence intervals with unpooled standard errors, sample-size and power calculations, and multiple-comparison correction via Bonferroni.

Related Interview Questions

  • Explain p-value and choose correct test - CVS Health (medium)
  • Test payment-accuracy lift with p-value and power - CVS Health (medium)
  • Calculate CI and Test Correlation Under Normality - CVS Health (easy)
CVS Health logo
CVS Health
Oct 13, 2025, 9:49 PM
Data Scientist
Take-home Project
Statistics & Math
6
0

You run an A/B test for 7 days. Control A: 520 conversions out of 10,000 sessions. Variant B: 630 conversions out of 11,500 sessions. Use a calculator as needed. Assume independent Bernoulli trials. a) Two-proportion z-test for H0: pB − pA = 0 vs two-sided alternative. Compute the pooled-proportion z statistic and the two-sided p-value. b) Compute a 95% confidence interval for (pB − pA) using the unpooled standard error. c) Sample-size planning: with baseline p0 = pA, what equal per-arm sample size n (sessions) is required to detect an absolute lift of 0.7 percentage points (i.e., p1 = p0, p2 = p0 + 0.007) at two-sided α = 0.05 and 80% power using the normal approximation? Use z0.975 = 1.96 and z0.80 = 0.84; report the formula you use and the numeric n rounded up. d) If you were instead running 12 independent metrics, what Bonferroni-corrected per-metric α would you use to maintain family-wise αFWER = 0.05?

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More CVS Health•More Data Scientist•CVS Health Data Scientist•CVS Health Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.