PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Statistics & Math/TikTok

Decide if subgroup increases imply overall increase

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of aggregation effects (Simpson's paradox), weighted averages, subgroup composition, and the ability to reason about statistical inference and diagnostic checks across strata.

  • medium
  • TikTok
  • Statistics & Math
  • Data Scientist

Decide if subgroup increases imply overall increase

Company: TikTok

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Technical Screen

If the average daily time spent on TikTok increases within each gender subgroup (male and female), must the overall average increase as well? Provide: (1) a formal statement and proof or counterexample (Simpson’s paradox) with concrete numbers; (2) necessary and sufficient conditions in terms of subgroup means and population weights under which the overall average is guaranteed to increase; (3) how composition shifts (e.g., male share changing) affect the conclusion; (4) a diagnostic you would run on real data to avoid incorrect inferences.

Quick Answer: This question evaluates understanding of aggregation effects (Simpson's paradox), weighted averages, subgroup composition, and the ability to reason about statistical inference and diagnostic checks across strata.

Related Interview Questions

  • Explain Type I/II errors vs precision/recall - TikTok (easy)
  • Compute cluster-aware significance and sequential corrections - TikTok (medium)
  • Model overdispersed counts; estimate treatment lift - TikTok (Medium)
  • Control confounding in observational ad lift - TikTok (hard)
  • Act when A/B result is not significant - TikTok (hard)
TikTok logo
TikTok
Oct 13, 2025, 9:49 PM
Data Scientist
Technical Screen
Statistics & Math
2
0

TikTok Time: Subgroup Increases vs Overall Average (Simpson's Paradox)

You are analyzing average daily time spent on TikTok by gender (male, female) across two periods (baseline t0 and follow-up t1). For each gender, the within-group average time increases from t0 to t1.

Answer the following:

  1. Formal statement and proof or counterexample
  • State whether the overall average must increase when each subgroup's average increases.
  • Provide either a proof or a concrete counterexample (Simpson's paradox) with numbers.
  1. Necessary and sufficient conditions
  • Express conditions, in terms of subgroup means and population weights, under which the overall average is guaranteed to increase.
  1. Impact of composition shifts
  • Explain how changes in group shares (e.g., male share changing) affect the conclusion.
  1. Diagnostic on real data
  • Describe a diagnostic you would run on real data to avoid incorrect inferences caused by composition changes.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More TikTok•More Data Scientist•TikTok Data Scientist•TikTok 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.