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

bookChallenge: A/B Test Metrics

Aufgabe

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.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: A/B Test Metrics

Swipe um das Menü anzuzeigen

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 2
single

single

some-alt