Now, we can calculate the p-value and compare with the confidence level chosen by the users.
We usually take the confidence level equal to 5 %.
Z_score <- (p2 - p1) / Se
p_value <- pnorm(Z_score,lower.tail = F)*100
- If p-value < 5 %, we reject the null hypothesis that both web pages give similar conversion rate. It is time to move to the Test web page :-))
- If p-value > 5 %, we fail to reject the null hypothesis, so the difference in conversion rate is not statistical significant, so we should keep working with the old web page :-(
Here, the value of p-value is 4.5689413%, so we recommend that it is time to change to the new web page.