I have the results of an A/B split test of a web page.
Page Impressions Clicks CTR
A 56,000 10 0.018%
B 78,000 21 0.027%
I'd like to test the ctr for statistically significant difference. Null hypothesis – there is no difference in CTR between pages A & B.
How would I go about doing this on a more theoretical level? As in what should be rows, column, setting expected values?
Best Answer
Here's one way to lay out the chi-squared test -- you don't necessarily need all this detail. The test doesn't care which way around you have rows and columns, so I'll do it your way around.
(Entries in the body of the Expected table are row.total*column.total/overall.total)
Contribution to chi-square = (Observed - Expected)^2/Expected
(You need tables or a program to find the p-value.)