Shopify Checkout experiments record one binary result per visitor: 1 for a completed purchase and 0 otherwise. Given control and treatment result vectors, analyze the experiment and determine whether the treatment conversion rate is significantly different at a 5% significance level.
Implement analyze_ab_test(control, treatment).
0 or 1.significant field.None for relative lift.z_score = 0.0 and p_value = 1.0.def analyze_ab_test(control, treatment):