中级农民
- 积分
- 146
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2019-10-29
- 最后登录
- 1970-1-1
|
被莫名加了隐藏,这是隐藏内容
Q1 - SQL: Inactive User Analysis
Count users with zero rides in the 7-day window ending July 7, 2024.
Tables: rides(ride_id, ride_date, ride_rating, user_id), users(user_id, city).
Must handle users who signed up but never took a ride.. Waral dи,
Q2 - SQL: Monthly Ride Aggregation. 1point 3 acres
Compute total rides and average rating per month, rounded to 2 decimals, sorted by month descending.
Tables: rides(ride_id, ride_date, ride_rating, user_id), users(user_id, city).
. 1point3acres.com
Q3 - SQL: Low Frequency Users
Count unique users who have taken 0 or 1 total rides, grouped by city.
Tables: rides(ride_id, ride_date, ride_rating, user_id), users(user_id, city).
Must include users who never took a ride.
Q4 - SQL: Retention Rating Analysis
Compute average ride rating for the 1st and 3rd "active month" of usage, grouped by city.
Active month = Nth distinct calendar month a user had rides (skipping inactive months).
Average is across all rides (not average-of-averages).
Tables: rides(ride_id, ride_date, ride_rating, user_id), users(user_id, city).
Q5 - Python: Average Function
Write average(table) that returns the mean of a list of numbers, or 0 if empty.
. .и
Q6 - Case Study: "Smart Wait" Launch
Waymo launched "Smart Wait" to improve ETA accuracy, showing more conservative (longer) wait times.
Results: conversion rate dropped 5%, actual TTP decreased 25%.
(1) A PM says fleet efficiency improved. Do you agree? Why or why not?
(2) Alternative hypotheses for the TTP decrease and how they relate to the conversion drop?
Q7 - Python: A/B Test P-Value
A/B test in SF, July 2024 for a new routing algorithm to reduce TTP.
Given df_users(user_id, variant) and df_rides(ride_id, user_id, ride_date, city, time_to_pickup).
Filter to SF + July 2024, join with variants, run Welch's t-test on TTP, return p-value..--
Q8 - Statistics: Experiment Validity (follow-up to Q7)
(1) Based on the p-value from Q7, are results statistically significant?.google и
(2) Is this conclusive proof the new algorithm is better? If not, describe a better experiment design. |
|