PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Analytics & Experimentation/Google

Analyze time series and design validation experiment

Last updated: Mar 29, 2026

Quick Overview

This question evaluates competency in time series analysis, change-point detection, count-based forecasting, causal inference and experiment design, along with skills in handling missing observations, multiplicative weekly seasonality, outliers, structural breaks, effect sizing, and concise executive communication.

  • hard
  • Google
  • Analytics & Experimentation
  • Data Scientist

Analyze time series and design validation experiment

Company: Google

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: hard

Interview Round: Onsite

You are given a daily time series Y_t representing the count of user reports of policy-violating content over the last 365 days for a single market. There are missing days, weekly seasonality, occasional outlier spikes due to takedown sweeps, and a suspected structural break around 2025-06-10 when a new detection rule launched. Tasks: 1) Characterize the series quickly: describe exactly how you would impute missing days, robustly estimate trend and weekly seasonality (e.g., STL with robust weights), and identify outliers that should be down-weighted rather than removed. 2) Test for a structural break near 2025-06-10: specify the exact change-point method (e.g., PELT with a piecewise-constant mean cost, or Bayesian Online Change Point Detection), your penalty/priors, and the decision rule for accepting a break (include thresholds you would tune and why). 3) Quantify the effect size: estimate the level shift (absolute and percent) attributable to the break after removing seasonality; report a 95% interval and explain the uncertainty source. 4) Forecast the next 14 days with 80% prediction intervals using a model appropriate for count data (e.g., Poisson or Negative Binomial with log link + seasonal dummies/prophet-like components). Explain how you would check calibration of intervals. 5) Causality follow-up: propose a lightweight validation design to attribute the change to the rule launch (e.g., geographic or traffic-channel holdout, phased rollout, or synthetic control). Specify the unit of analysis, pre-period length, primary metric, and the exact statistical test you would run. Include how you would guard against interference and seasonality biases. 6) Communicate results: provide the two most decision-relevant plots/tables you would include and the single-sentence takeaway you would give an exec if the break is real but beneficial.

Quick Answer: This question evaluates competency in time series analysis, change-point detection, count-based forecasting, causal inference and experiment design, along with skills in handling missing observations, multiplicative weekly seasonality, outliers, structural breaks, effect sizing, and concise executive communication.

Related Interview Questions

  • Design an A/B test for search ranking - Google (easy)
  • Design an Unbiased Upgrade Experiment - Google (hard)
  • Design a Causal Upgrade Experiment - Google (hard)
  • Design an experiment to measure latency impact - Google (medium)
  • How would you use propensity score matching here - Google (medium)
Google logo
Google
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Analytics & Experimentation
5
0
Loading...

Daily Policy-Violation Reports: Robust Decomposition, Break Detection, Effect Sizing, Forecasting, and Causality

You are given a daily time series Y_t (counts of user reports of policy-violating content) over the last 365 days for a single market. The series has:

  • Missing days
  • Weekly seasonality (7-day)
  • Occasional outlier spikes tied to takedown sweeps
  • A suspected structural break near 2025-06-10 due to a new detection rule launch

Assume counts can be zero on some days and that weekly seasonality is multiplicative in nature.

Tasks

  1. Characterize the series quickly: describe exactly how you would impute missing days, robustly estimate trend and weekly seasonality (e.g., STL with robust weights), and identify outliers that should be down-weighted rather than removed.
  2. Test for a structural break near 2025-06-10: specify the exact change-point method (e.g., PELT with a piecewise-constant mean cost, or Bayesian Online Change Point Detection), your penalty/priors, and the decision rule for accepting a break (include thresholds you would tune and why).
  3. Quantify the effect size: estimate the level shift (absolute and percent) attributable to the break after removing seasonality; report a 95% interval and explain the uncertainty source.
  4. Forecast the next 14 days with 80% prediction intervals using a model appropriate for count data (e.g., Poisson or Negative Binomial with log link + seasonal dummies/prophet-like components). Explain how you would check calibration of intervals.
  5. Causality follow-up: propose a lightweight validation design to attribute the change to the rule launch (e.g., geographic or traffic-channel holdout, phased rollout, or synthetic control). Specify the unit of analysis, pre-period length, primary metric, and the exact statistical test you would run. Include how you would guard against interference and seasonality biases.
  6. Communicate results: provide the two most decision-relevant plots/tables you would include and the single-sentence takeaway you would give an exec if the break is real but beneficial.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

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