Difficulty: Easy Tags: Probability & Statistics
A search-ads team reports today's click-through rate to stakeholders every morning, and a bare point estimate without an uncertainty band has burned them before on low-traffic days.
p_hat = clicks / n
SE = sqrt( p_hat * (1 - p_hat) / n )
interval = p_hat +- z * SE, z = 1.959964 (95% interval)
n clicks
p_hat lower upper, 6 decimals.
1 <= clicks <= n <= 10^9Input
1000 45
Output
0.045000 0.032151 0.057849
No results yet
Run your code to check it against the examples, or submit to run every test.