Interview practice question
Analysing an A/B test in Python
Data Analyst · Python and Pandas · Intermediate
You have a DataFrame with user ID, variant and converted flag. How would you analyse the experiment in Python?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check SRM (counts vs expected, chisquare).
- Conversion rate per variant.
- Two-proportion z-test (statsmodels proportions_ztest).
- Confidence interval for difference.
- Visualise and report lift.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.