Ab Testing Problems
Ab Testing Problems
Problem 1:
A social media platform wants to test a new algorithm for displaying posts to users in their news
feed. They randomly select two groups of users: Group A sees posts in chronological order, while
Group B sees posts using the new algorithm. After a week of testing, the platform collects the
following data:
Group A:
Group B:
Calculate the like rate (percentage of impressions that resulted in likes) for both groups and
determine which approach is more effective.
Answer:
= 8%
= 10%
Conclusion:
The like rate for the new algorithm (Group B) is 10%, which is higher than the like rate for the
chronological order (Group A) at 8%. This suggests that the new algorithm is more effective in
generating likes on posts.
Problem 2:
An online education platform is considering changes to its user interface to increase user
engagement. They randomly select two groups of users: Group A experiences the current interface,
and Group B experiences the updated interface. After two weeks of testing, the platform collects
the following data:
Group A:
Group B:
Calculate the enrollment rate (percentage of active users who enrolled in a course) for both groups
and determine if the updated interface has a significant impact.
Answer:
= 50%
= 61.11%
Conclusion:
The enrollment rate for the updated interface (Group B) is 61.11%, which is higher than the
enrollment rate for the current interface (Group A) at 50%. This suggests that the updated interface
has a positive impact on user engagement and course enrollments.
---
Problem 3:
A food delivery app wants to test the effectiveness of a new discount coupon on increasing order
sizes. They randomly select two groups of customers: Group A receives no coupon, and Group B
receives a 20% discount coupon. After a week of testing, the app collects the following data:
Group A:
Group B:
Calculate the average order amount for both groups and determine whether the discount coupon
leads to larger order sizes.
Answer:
= $10,000 / 500
= $20
= $12,500 / 600
= $20.83
Conclusion:
The average order amount for the group that received the discount coupon (Group B) is $20.83,
which is slightly higher than the average order amount for the group with no coupon (Group A) at
$20. This suggests that the discount coupon may lead to slightly larger order sizes.
Problem 4:
A fitness app wants to compare the effectiveness of two different workout routines on calorie
burning. They randomly assign users to two groups: Group A follows Routine X, and Group B
follows Routine Y. After a month of testing, the app collects the following data:
Group A:
Group B:
Calculate the average calories burned per user for both groups and determine which workout
routine is more effective.
Answer:
Average Calories Burned per User for Group A:
Average Calories Burned per User = Total Calories Burned / Number of Users
= 15,000 / 200
= 75
Average Calories Burned per User = Total Calories Burned / Number of Users
= 16,500 / 180
= 91.67
Conclusion:
The average calories burned per user for Group B (Routine Y) is 91.67, which is higher than the
average calories burned per user for Group A (Routine X) at 75. This suggests that Routine Y is more
effective in terms of calorie burning.