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

Tehtävä

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 4. Luku 2
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: A/B Test Metrics

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 4. Luku 2
single

single

some-alt