PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Analytics & Experimentation/Roku

Analyze Profit Decline: Data Collection and Hypothesis Testing

Last updated: Mar 29, 2026

Quick Overview

Evaluates diagnostic analytics for a coffee shop profit decline. Strong answers collect transaction, cost, labor, channel, inventory, and external data, decompose profit into traffic, conversion, AOV, margin, and cost drivers, test hypotheses, and recommend targeted actions.

  • medium
  • Roku
  • Analytics & Experimentation
  • Data Scientist

Analyze Profit Decline: Data Collection and Hypothesis Testing

Company: Roku

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Technical Screen

##### Scenario You manage a coffee shop whose profits have recently declined. ##### Question How would you systematically analyze the reasons behind the drop in profit? What data would you collect, what metrics would you calculate, and what hypotheses would you test? ##### Hints Think funnel (traffic → conversion → ticket size), cost changes, seasonality, competitors, and external factors.

Quick Answer: Evaluates diagnostic analytics for a coffee shop profit decline. Strong answers collect transaction, cost, labor, channel, inventory, and external data, decompose profit into traffic, conversion, AOV, margin, and cost drivers, test hypotheses, and recommend targeted actions.

Related Interview Questions

  • Measure speaker impact without A/B testing - Roku (Medium)
  • Diagnose coffee-shop profit decline - Roku (Medium)
  • Measure Speaker's Impact Using Propensity Score Matching - Roku (medium)
|Home/Analytics & Experimentation/Roku

Analyze Profit Decline: Data Collection and Hypothesis Testing

Roku logo
Roku
Jul 12, 2025, 6:59 PM
mediumData ScientistTechnical ScreenAnalytics & Experimentation
13
0

Analyze Profit Decline: Data Collection and Hypothesis Testing

You manage a coffee shop whose profits have recently declined. You need to diagnose the causes systematically and recommend next steps.

Constraints & Assumptions

  • Compare the recent period to prior comparable periods and year-over-year to control for seasonality.
  • Profit equals revenue minus COGS, labor, operating costs, fees, discounts, waste, and refunds.
  • Consider in-store, mobile order-ahead, and delivery channels if available.
  • Use a funnel view: traffic, conversion, average order value, margin, and cost.

Clarifying Questions to Ask

  • When did the profit decline start, and is it one store or multiple stores?
  • Did prices, menu, hours, staffing, suppliers, promotions, or local competition change?
  • Are revenue, cost, labor, and channel data reliable and complete?
  • Is the issue gross profit, operating profit, or cash flow?

Part 1 - Data Collection

What internal and external data would you collect?

What This Part Should Cover

  • POS transactions, menu items, prices, costs, discounts, refunds, waste, labor schedules, hours, traffic, channel, loyalty, inventory, and supplier costs.
  • Weather, holidays, local events, competitor openings, reviews, and macro conditions.

Part 2 - Metrics and Decomposition

What metrics and decompositions would you calculate?

What This Part Should Cover

  • Revenue, orders, traffic, conversion, AOV, item mix, gross margin, labor cost per hour, waste, delivery fees, discount rate, and profit by channel.
  • Contribution analysis to identify which factor explains the decline.

Part 3 - Hypotheses and Tests

What hypotheses would you test, and how would you test them?

What This Part Should Cover

  • Demand decline, price/mix shift, cost increase, labor inefficiency, promo changes, delivery fee changes, supplier cost increase, competition, or seasonality.
  • Statistical comparisons, regression, DiD if a change affected some stores or channels, and time-series analysis.

Part 4 - Validate and Act

How would you validate findings and propose next steps?

What This Part Should Cover

  • Robustness checks, triangulation, small pilots, owner interviews, and operational audits.
  • Action recommendations tied to the diagnosed driver.

What a Strong Answer Covers

A strong answer decomposes profit into revenue and cost drivers, gathers both internal and external data, tests concrete hypotheses, and recommends actions based on measured contribution.

Follow-up Questions

  • What if revenue is flat but profit falls?
  • How would you distinguish lower foot traffic from lower conversion?
  • What would you test first if labor cost increased sharply?
Loading comments...

Browse More Questions

More Analytics & Experimentation•More Roku•More Data Scientist•Roku Data Scientist•Roku Analytics & Experimentation•Data Scientist Analytics & Experimentation

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
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
  • AI Coding 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.