PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Meta

Compute p-values, power, and adjust errors

Last updated: Mar 29, 2026

Quick Overview

This question evaluates statistical reasoning and applied inference skills including hypothesis testing for proportions with sequential monitoring, multiple-testing control (Benjamini–Hochberg vs Bonferroni), Bayesian posterior estimation for classification flags, and robust AOV estimation and transformation techniques.

  • hard
  • Meta
  • Statistics & Math
  • Data Scientist

Compute p-values, power, and adjust errors

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Onsite

Answer the following statistics questions precisely, showing calculations and interpretation: (a) After 5 interim looks, you observe Control: 12,000 users, 1,380 conversions; Treatment: 12,200 users, 1,512 conversions. Compute the two-sided p-value and a 95% CI for the difference in proportions. Then adjust for sequential monitoring using an O’Brien–Fleming alpha-spending approach (describe whether the result would still be significant without fully recomputing spending functions if you lack the exact schedule). (b) You track 5 metrics with sorted p-values {0.001, 0.012, 0.019, 0.070, 0.300}. Apply Benjamini–Hochberg at FDR q=0.05 and state which metrics are discoveries. Compare to Bonferroni at familywise α=0.05. (c) Bot detection: prevalence is 5%. Your model flags a user as a bot with FPR=2% and FNR=10%. If a user is flagged, what is the posterior probability they are truly a bot? Show Bayes’ theorem numerically. (d) Average Order Value (AOV) is right-skewed (mean=32, sd=15, heavy tail). Propose a robust approach for outlier handling and inference: compare IQR rule, z-scores, and MAD/Huber M-estimators; recommend a log-transform with delta and explain how to report effects back on the original scale with a smearing estimator.

Quick Answer: This question evaluates statistical reasoning and applied inference skills including hypothesis testing for proportions with sequential monitoring, multiple-testing control (Benjamini–Hochberg vs Bonferroni), Bayesian posterior estimation for classification flags, and robust AOV estimation and transformation techniques.

Related Interview Questions

  • Compute probability an account is fake - Meta (easy)
  • Compute Bayes probability for fake accounts - Meta (easy)
  • Compute probabilities for chatbot response quality - Meta (easy)
  • Compute posterior fake probability using Bayes' rule - Meta (medium)
  • Estimate bots and CI from DAU spike - Meta (medium)
Meta logo
Meta
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Statistics & Math
4
0

Statistics Interview Task (Onsite)

You are evaluating a product experiment and related analytics questions. Answer precisely, showing calculations and interpretation.

(a) Experiment after 5 interim looks

  • Control: n_c = 12,000 users, x_c = 1,380 conversions
  • Treatment: n_t = 12,200 users, x_t = 1,512 conversions

Tasks:

  1. Compute the two-sided p-value for equality of proportions and a 95% confidence interval (CI) for the difference in proportions p_t − p_c.
  2. Adjust your inference for sequential monitoring using an O’Brien–Fleming (OBF) alpha-spending approach. If you don’t have the exact spending schedule, explain whether the result would still be significant and why.

(b) Multiple testing You track 5 metrics with sorted p-values {0.001, 0.012, 0.019, 0.070, 0.300}. Apply Benjamini–Hochberg (BH) at FDR q = 0.05. State which metrics are discoveries, and compare to Bonferroni at familywise α = 0.05.

(c) Bot detection (Bayes) Prevalence of bots is 5%. A model flags a user as a bot with false positive rate (FPR) = 2% and false negative rate (FNR) = 10%. If a user is flagged, what is the posterior probability they are truly a bot?

(d) Robust AOV analysis Average Order Value (AOV) is right-skewed (mean = 32, sd = 15, heavy tail). Propose a robust approach for outlier handling and inference:

  • Compare IQR rule, z-scores, and MAD/Huber M-estimators.
  • Recommend a log-transform with a small delta and explain how to report effects back on the original scale using a smearing estimator.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Meta•More Data Scientist•Meta Data Scientist•Meta Statistics & Math•Data Scientist Statistics & Math
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
  • Compare Platforms
  • Discord Community

Support

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

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.