PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Analytics & Experimentation/Airbnb

Analyze A/B Test Results to Inform Stakeholder Decisions

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in transforming raw event logs into user-level datasets, computing core experiment metrics such as conversion and revenue, applying statistical inference, and conveying findings through visualization and business interpretation.

  • medium
  • Airbnb
  • Analytics & Experimentation
  • Data Scientist

Analyze A/B Test Results to Inform Stakeholder Decisions

Company: Airbnb

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Technical Screen

##### Scenario You receive raw log-level data from an A/B test and must convince stakeholders of the result. ##### Question Clean the data in Python, compute primary metrics (e.g., conversion, lift, p-value), produce at least one visualization that supports your conclusion, and clearly interpret the outcome for the business. ##### Hints Use pandas for ETL, seaborn/matplotlib for plots, and a two-sample t-test or proportion z-test for significance.

Quick Answer: This question evaluates proficiency in transforming raw event logs into user-level datasets, computing core experiment metrics such as conversion and revenue, applying statistical inference, and conveying findings through visualization and business interpretation.

Related Interview Questions

  • Design and Analyze Airbnb Locker Experiment - Airbnb (medium)
  • Design a network-aware Wi‑Fi badge experiment - Airbnb (Medium)
  • Design an A/B test with causal inference - Airbnb (hard)
  • Design robust primary and guardrail metrics - Airbnb (hard)
  • Analyze A/B test with rigorous diagnostics - Airbnb (hard)
Airbnb logo
Airbnb
Jul 12, 2025, 6:59 PM
Data Scientist
Technical Screen
Analytics & Experimentation
18
0

A/B Test: Clean, Analyze, Visualize, and Interpret Raw Log-Level Data

Scenario

You receive raw, log-level event data for an A/B test on a consumer booking funnel. Your goal is to clean the data, compute the primary experiment metrics, visualize the outcome, and provide a clear business interpretation.

Assumed Data Context

  • Each row is an event generated by a user during the experiment window.
  • Columns (typical):
    • user_id: unique user identifier
    • variant: 'control' or 'treatment' (also called 'test')
    • event: event name, e.g., 'exposure', 'view', 'click', 'convert'
    • ts: event timestamp
    • revenue: purchase revenue if a conversion occurs (0/NaN otherwise)
    • bot: boolean or 0/1 flag for suspected bot traffic
    • Optional covariates: device, country, etc.
  • If there is no explicit 'exposure' event, assume the user's first event marks exposure.

Task

  1. Clean and transform the raw logs into a user-level analysis table.
  2. Compute primary metrics:
    • Conversion rate (CR) per variant
    • Absolute difference and relative lift
    • Statistical significance (two-proportion z-test) and 95% confidence interval
    • (Optional) Revenue per user and Welch’s t-test
  3. Produce at least one visualization that supports the conclusion (e.g., CR bar chart with 95% CI or cumulative CR over time).
  4. Clearly interpret the result for a business audience.

Hints

  • Use pandas for ETL, seaborn/matplotlib for plots.
  • Use a two-sample proportion z-test for CR and Welch’s t-test for revenue.
  • Include a sanity check for sample ratio mismatch (SRM).

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

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