Challenge: A/B Test Metrics
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 2
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.17
Challenge: A/B Test Metrics
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 2
single