PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Analytics & Experimentation/PayPal

Explain P-Value and Errors in A/B Testing

Last updated: Mar 29, 2026

Quick Overview

This interview question evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer for Explain P-Value and Errors in A/B Testing states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  • medium
  • PayPal
  • Analytics & Experimentation
  • Data Scientist

Explain P-Value and Errors in A/B Testing

Company: PayPal

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Onsite

##### Scenario You are advising on the design and analysis of an A/B test for a new feature. ##### Question Explain what a p-value represents in an experiment context. Define Type-I and Type-II errors with business examples. Describe Simpson’s Paradox and its danger in experiment readouts. How would you select primary, secondary, and guard-rail metrics? Name and briefly describe two causal-inference methods you would use if randomization were impossible. ##### Hints Cover hypothesis testing framework, practical significance, stratification, diff-in-diff, propensity scores.

Quick Answer: This interview question evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer for Explain P-Value and Errors in A/B Testing states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Related Interview Questions

  • How would you measure impact? - PayPal (medium)
  • How to evaluate a new homepage feature - PayPal (easy)
  • Design and evaluate a fraud detection strategy - PayPal (easy)
  • Design a fraud mitigation strategy under constraints - PayPal (hard)
  • Design metrics and experiment for donation feature - PayPal (easy)
|Home/Analytics & Experimentation/PayPal

Explain P-Value and Errors in A/B Testing

PayPal logo
PayPal
Aug 4, 2025, 10:55 AM
mediumData ScientistOnsiteAnalytics & Experimentation
5
0

Explain P-Value and Errors in A/B Testing

A/B Test Design and Analysis: Core Concepts

Scenario

You are advising on the design and analysis of an A/B test for a new product feature (e.g., a checkout or payments flow change). Assume standard online experimentation: users are randomly assigned to control (A) or treatment (B), and we observe conversion and risk outcomes.

Questions

  1. What does a p-value represent in the context of an experiment?
  2. Define Type-I and Type-II errors and give business-relevant examples.
  3. Describe Simpson’s Paradox and why it is dangerous in experiment readouts.
  4. How would you select primary, secondary, and guard-rail metrics for this experiment?
  5. If randomization were impossible, name and briefly describe two causal-inference methods you would use.

Constraints & Assumptions

  • Preserve the scope, facts, inputs, and requested outputs from the prompt above.
  • If the prompt leaves a detail unspecified, state a reasonable assumption before relying on it.
  • Keep the answer interview-ready: concise enough to present, but concrete enough to implement or evaluate.

Clarifying Questions to Ask

  • Clarify the business objective, unit of analysis, time window, exposure definition, and primary metric.
  • State assumptions about instrumentation, randomization, sample size, and data quality.
  • Separate descriptive analysis from causal claims.

What a Strong Answer Covers

  • A metric framework with primary, guardrail, and diagnostic metrics.
  • A credible analysis or experiment design with clear assumptions and bias checks.
  • SQL/statistical logic for segmentation, variance, confidence, and data validation where relevant.
  • An actionable recommendation that explains trade-offs and next steps.

Follow-up Questions

  • What sanity checks would you run before trusting the result?
  • How would you handle novelty effects, seasonality, or selection bias?
  • What decision would you make if metrics disagree?
Loading comments...

Browse More Questions

More Analytics & Experimentation•More PayPal•More Data Scientist•PayPal Data Scientist•PayPal Analytics & Experimentation•Data Scientist Analytics & Experimentation

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,000+ 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
  • AI Coding 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.