Challenge: A/B Test Metrics
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 2
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 4.17
Challenge: A/B Test Metrics
Sveip for å vise menyen
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 2
single