KatInterview

Design a profit comparison study for two competing retail locations

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentscausal-inferenceexperimental-designmetrics

Last updated

Plan data collection, analysis, and decision framework to reliably determine which of two side-by-side shops will be more profitable next quarter.

Two small retail shops operate next to each other at the same location, serving the same customer base during overlapping hours. You have a two-week observation window to determine which shop will generate higher profit over the coming three months, and your recommendation will guide a significant business decision.

Design a complete measurement and analysis framework that accounts for real-world complexity. Your plan should address:

  1. Metric definition: Define the exact metric you'll use to compare profitability. Explain what revenue and cost components you'll include, how you'll handle differences in operating hours, and why your metric aligns with the decision at hand.

  2. Data collection: Specify what data you need to collect, at what granularity, and why each piece is necessary. Consider both financial data and contextual factors that might affect sales.

  3. Analysis approach: Describe how you'll isolate the true profitability difference between the two shops when they face common external factors (day of week, weather, local events) but also make independent business decisions (pricing changes, promotional discounts, operating hour adjustments). Your method should remain valid even when one shop changes its pricing mid-observation period.

  4. Statistical inference: Specify the statistical model you would fit, how you'll construct confidence intervals with limited independent observations, and whether two weeks provides sufficient statistical power to detect a meaningful difference.

  5. Operational safeguards: Describe how you'll detect and handle scenarios where observed sales don't reflect true demand (inventory issues, capacity constraints), and state your explicit decision rule for making the final recommendation.

The goal is a defensible, implementable plan that acknowledges uncertainty while providing actionable guidance.

Hints

Hint 1

Both shops share the same location and time period—use this simultaneity to cancel out confounding factors rather than trying to model them all explicitly.

Hint 2

Operating hour extensions and promotional periods aren't noise to remove; they're business regimes you need to estimate separately and then project forward based on which regime will persist.

Hint 3

With only 14 days, you have roughly 14 independent observations (daily aggregates), not hundreds of hourly ones—your inference approach must account for within-day correlation.