In [2]:
import numpy as np

In [ ]:
# experiment: 
# hypothesis: 
# changing color of sign up button from blue to green 
# will increase the number of sign ups

In [ ]:
# metric: 
# number_of_clicks/number_of_page_views = click_through_rate (ctr)

# unique_visitors_who_click/unique_vistors_to_page = click_through_probability

In [1]:
# updated hypothesis: 
# changing color of sign up button from blue to green 
# will increase the click_through_probability of the button

In [4]:
unique_visitors = 1000
unique_clicks = 100

click_through_probability = np.true_divide(unique_clicks,unique_visitors)

In [ ]:
# binomial distribution