powered by
A/B testing
abtest(data, expr, target, sign_level = 0.05)
Plot that shows if difference is significant
A dataset
Expression, that results in a FALSE/TRUE
Target variable (must be 0/1 or FALSE/TRUE)
Significance Level (typical 0.01/0.05/0.10)
data <- create_data_buy(obs = 100) abtest(data, female_ind == 1, target = buy) abtest(data, city_ind == 1, target = buy)
Run the code above in your browser using DataLab