Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: A/B Test Metrics | A/B Test Analysis and Window Functions
SQL for Product Analysts

bookChallenge: A/B Test Metrics

Compito

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 users and events tables using the user_id field.
  • Filter the events to include only those where event_type is 'purchase'.
  • Group the results by the ab_group field.
  • Calculate the average value for each group.
  • Order the results by the average value in descending order.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 4. Capitolo 2
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

bookChallenge: A/B Test Metrics

Scorri per mostrare il menu

Compito

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 users and events tables using the user_id field.
  • Filter the events to include only those where event_type is 'purchase'.
  • Group the results by the ab_group field.
  • Calculate the average value for each group.
  • Order the results by the average value in descending order.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 4. Capitolo 2
single

single

some-alt