Challenge: A/B Test Metrics
Taak
Swipe to start coding
Write a SQL query to calculate the average value of the 'purchase' event for each A/B group, and determine which group performed better.
- Join the
usersandeventstables using theuser_idfield. - Filter the events to include only those where
event_typeis 'purchase'. - Group the results by the
ab_groupfield. - Calculate the average
valuefor each group. - Order the results by the average value in descending order.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Geweldig!
Completion tarief verbeterd naar 4.17
Challenge: A/B Test Metrics
Veeg om het menu te tonen
Taak
Swipe to start coding
Write a SQL query to calculate the average value of the 'purchase' event for each A/B group, and determine which group performed better.
- Join the
usersandeventstables using theuser_idfield. - Filter the events to include only those where
event_typeis 'purchase'. - Group the results by the
ab_groupfield. - Calculate the average
valuefor each group. - Order the results by the average value in descending order.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 2
single