PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Analytics & Experimentation/TikTok

Investigating Correlation Between Ad Visits and Reports

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's competency in operational analytics, including defining and aggregating metrics in SQL and applying causal reasoning to interpret correlations between ad exposures and user reports.

  • medium
  • TikTok
  • Analytics & Experimentation
  • Data Scientist

Investigating Correlation Between Ad Visits and Reports

Company: TikTok

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Technical Screen

##### Scenario You are part of the analytics team at a social media platform. Recently, it has been observed that there is a positive correlation between the number of page visits to an advertisement and the reports labeling it as bad content. An investigation is warranted to understand this phenomenon better. ##### Question Define what constitutes a 'top bad advertiser' using SQL. What metrics and conditions would you apply to identify advertisers with high incidents of reported ads? Propose a method to investigate the positive correlation between ad page visits and the frequency of reports. Develop a hypothesis and outline the steps you would take to validate or refute it. ##### Hints Consider the appropriateness of correlation vs. causation. Analyze potential factors contributing to higher report rates, including ad content, engagement types, and user demographics. Describe the data fields and SQL queries you might use to break down and assess these patterns.

Quick Answer: This question evaluates a data scientist's competency in operational analytics, including defining and aggregating metrics in SQL and applying causal reasoning to interpret correlations between ad exposures and user reports.

Related Interview Questions

  • Define Ultra success metrics and detect suspicious transactions - TikTok (easy)
  • Plan DS approach for biker delivery project - TikTok (easy)
  • Define and critique a user activity metric - TikTok (easy)
  • Design and decompose Trust & Safety risk metrics - TikTok (easy)
  • Analyze promo anomaly and design risk guardrails - TikTok (Medium)
TikTok logo
TikTok
Jun 22, 2025, 9:05 PM
Data Scientist
Technical Screen
Analytics & Experimentation
5
0

Scenario

You are on the analytics team at a large social media platform. A positive correlation has been observed between the number of page visits to an advertisement and the number of user reports labeling it as bad content. An investigation is needed to understand what drives this pattern and to define how to flag top bad advertisers.

Task 1: Define 'top bad advertiser' in SQL

  • Propose clear metrics and conditions to identify advertisers with high incidents of reported ads.
  • Include rate-based metrics (not just counts), minimum volume thresholds, deduplication rules, and any severity weighting.
  • Provide example SQL that aggregates events and ranks advertisers accordingly.

Task 2: Investigate the visit–report correlation

  • Propose a hypothesis for why ad page visits are positively correlated with reports.
  • Outline a plan to validate or refute the hypothesis, calling out correlation vs. causation.
  • Describe the data fields and breakdowns you would use (e.g., ad content, engagement types, user demographics, placement, time).
  • Include example SQL to compute and analyze these patterns.

Hints

  • Do not conflate correlation with causation; control for exposure and composition of traffic.
  • Consider confounders: ad category, creative type, placement, region, device, time, and user segments.
  • Think about unique reporters vs. total reports, verification by moderation, and report timing relative to visits.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Analytics & Experimentation•More TikTok•More Data Scientist•TikTok Data Scientist•TikTok Analytics & Experimentation•Data Scientist Analytics & Experimentation
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.