PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Statistics & Math/Capital One

Perform and justify t-tests

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in statistical inference for comparing group means, including pooled and Welch two-sample t-tests, confidence interval estimation, effect size calculation (Cohen’s d and Hedges’ g), and assessment of distributional assumptions.

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

Perform and justify t-tests

Company: Capital One

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Take-home Project

Two independent samples of per-user daily watch_time (seconds) from an A/B test yield: A: nA=500, meanA=75, sdA=18; B: nB=520, meanB=78, sdB=19. (a) Compute the pooled-variance and Welch two-sample t-statistics and corresponding p-values. (b) Decide whether a one-tailed or two-tailed test is appropriate if the product goal is “increase watch_time”; justify rigorously. (c) Construct a 95% CI for the mean difference using Welch’s method. (d) Compute Cohen’s d and Hedges’ g. (e) If normality is questionable but sample sizes are large, explain why the t-test is still valid; if heavy tails are suspected, propose a robust alternative and discuss trade-offs.

Quick Answer: This question evaluates proficiency in statistical inference for comparing group means, including pooled and Welch two-sample t-tests, confidence interval estimation, effect size calculation (Cohen’s d and Hedges’ g), and assessment of distributional assumptions.

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: Compare Mean Watch Time Between Variants A and B

Context: You ran an A/B test measuring per-user daily watch_time (in seconds). You obtained two independent samples:

  • Variant A: n_A = 500, mean_A = 75, sd_A = 18
  • Variant B: n_B = 520, mean_B = 78, sd_B = 19

Assume independence and randomization; test for a difference in population means (B vs A).

Tasks:

  1. Compute the pooled-variance (equal-variance) and Welch (unequal-variance) two-sample t-statistics and corresponding p-values.
  2. If the product goal is "increase watch_time," decide whether a one-tailed or two-tailed test is appropriate and justify rigorously.
  3. Construct a 95% confidence interval for the mean difference using Welch’s method.
  4. Compute Cohen’s d and Hedges’ g effect sizes.
  5. If normality is questionable but sample sizes are large, explain why the t-test is still valid; if heavy tails are suspected, propose a robust alternative and discuss trade-offs.

Solution

Show

Comments (0)

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