PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Capital One

Choose and compute correct t-test

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competency in statistical inference for experimentation, including hypothesis formulation and directionality, selection and computation of Welch's t-test for independent samples, confidence interval estimation, effect size (Cohen's d) calculation, and power/sample-size computations.

  • medium
  • Capital One
  • Statistics & Math
  • Data Scientist

Choose and compute correct t-test

Company: Capital One

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Take-home Project

Two independent samples from an ads experiment measure watch time per impression (seconds): - Group A: n_A = 1200, mean_A = 62, sd_A = 30 - Group B: n_B = 1180, mean_B = 65, sd_B = 31 Assume non-normality is mild and sample sizes are large. Tasks: 1) State H0 and H1 formally and whether you should use a one-tailed or two-tailed test if the product goal is to detect an increase; justify the choice. 2) Compute the Welch t-statistic, approximate degrees of freedom, the p-value, and the 95% CI for (mean_B − mean_A). Show formulas and numeric results to 3 decimals. 3) Report Cohen’s d (using the unbiased pooled SD) and interpret the effect size. 4) If you pre-registered a one-tailed test for increase, recompute the p-value accordingly and discuss risks of one-tailed mis-specification. 5) Power/MDE: at alpha=0.05 (two-sided) and power=0.8, what per-group sample size would you need to detect a 2-second difference assuming common SD ≈ 30.5? Show the formula used and the numeric answer.

Quick Answer: This question evaluates a candidate's competency in statistical inference for experimentation, including hypothesis formulation and directionality, selection and computation of Welch's t-test for independent samples, confidence interval estimation, effect size (Cohen's d) calculation, and power/sample-size computations.

Related Interview Questions

  • Compute Optimal Die Re-roll Strategy - Capital One (easy)
  • How do you compute expected return for two projects? - Capital One (easy)
  • Compute gala vs online break-even donors - Capital One (Medium)
  • Model network-service unit economics and breakeven - Capital One (Medium)
  • Compute credit-card portfolio profit and breakeven - Capital One (Medium)
Capital One logo
Capital One
Oct 13, 2025, 9:49 PM
Data Scientist
Take-home Project
Statistics & Math
1
0

A/B Test: Watch Time per Impression (seconds)

You ran an experiment with two independent groups and want to assess whether the new experience increases watch time per impression.

Data:

  • Group A: n_A = 1200, mean_A = 62, sd_A = 30
  • Group B: n_B = 1180, mean_B = 65, sd_B = 31

Assume independence, mild non-normality, and large sample sizes (Welch's t-test is appropriate).

Tasks:

  1. State H0 and H1 formally and choose one-tailed vs two-tailed given the goal is to detect an increase; justify.
  2. Compute the Welch t-statistic, approximate degrees of freedom, the p-value, and the 95% CI for (mean_B − mean_A). Show formulas and numeric results to 3 decimals.
  3. Report Cohen’s d (using the unbiased pooled SD) and interpret the effect size.
  4. If you pre-registered a one-tailed test for increase, recompute the p-value and discuss risks of one-tailed mis-specification.
  5. Power/MDE: At α = 0.05 (two-sided) and power = 0.8, what per-group sample size is needed to detect a 2-second difference assuming common SD ≈ 30.5? Show the formula and the numeric answer.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Capital One•More Data Scientist•Capital One Data Scientist•Capital One Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 8,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.