Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer 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

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 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.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 4. Hoofdstuk 2
single

single

Vraag AI

expand

Vraag AI

ChatGPT

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?

close

bookChallenge: 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 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.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 4. Hoofdstuk 2
single

single

some-alt