PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/TikTok

Explain Type I/II errors vs precision/recall

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of statistical hypothesis testing (Type I and Type II errors) and their relationship to binary classification metrics such as precision and recall, situated in the Statistics & Math domain and the binary classification/machine learning category, testing both conceptual understanding and practical application.

  • easy
  • TikTok
  • Statistics & Math
  • Data Scientist

Explain Type I/II errors vs precision/recall

Company: TikTok

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Technical Screen

## Questions 1. Define **Type I error** and **Type II error** in hypothesis testing, and map them to **false positives** and **false negatives**. 2. Explain how Type I/II errors relate (or don’t directly relate) to **precision** and **recall** in binary classification. 3. Give concrete examples of when **Type I error is worse** vs when **Type II error is worse**. 4. Given a scenario (e.g., medical test, fraud detection, spam filter, moderation), identify which outcome is Type I vs Type II and which metric you would prioritize.

Quick Answer: This question evaluates understanding of statistical hypothesis testing (Type I and Type II errors) and their relationship to binary classification metrics such as precision and recall, situated in the Statistics & Math domain and the binary classification/machine learning category, testing both conceptual understanding and practical application.

Related Interview Questions

  • Compute cluster-aware significance and sequential corrections - TikTok (medium)
  • Model overdispersed counts; estimate treatment lift - TikTok (Medium)
  • Decide if subgroup increases imply overall increase - TikTok (medium)
  • Control confounding in observational ad lift - TikTok (hard)
  • Act when A/B result is not significant - TikTok (hard)
TikTok logo
TikTok
Nov 8, 2025, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
2
0
Loading...

Questions

  1. Define Type I error and Type II error in hypothesis testing, and map them to false positives and false negatives .
  2. Explain how Type I/II errors relate (or don’t directly relate) to precision and recall in binary classification.
  3. Give concrete examples of when Type I error is worse vs when Type II error is worse .
  4. Given a scenario (e.g., medical test, fraud detection, spam filter, moderation), identify which outcome is Type I vs Type II and which metric you would prioritize.

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.