The click-through rate for the blue button was 52% versus 72% for the green, but the sample
Question:
The click-through rate for the blue button was 52% versus 72% for the green, but the sample size is not given. Assume that there’s a total of 25 people who reached each web page. Hence, 0.52*25 = 13 people clicked through for the blue button, while 0.72*25 = 18 people clicked through for the green button. This can be summarised by a 2-by-2 table of counts.
Clicked button | Didn’t click button | |
Blue button | 13 | 12 |
Green button | 18 | 7 |
Using chip 2_contingency() and fisher_exact() from scipy stats, perform a test of independence for this table. Is there evidence that the green button has a statistically significantly higher click-through rate?
B. Redo the above analysis by assuming that 100 people reached the blue-button web page with 52% clicking, and 100 reached the green-button version with 72% clicking. Now is there evidence that the green button has a statistically significantly higher click-through rate?
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill