How do I test for statistical significance?

For two conversion rates, such as wishlists per visit, use a two-proportion z-test. The p-value is the chance of a difference at least this large if there is no real difference. Below 0.05, call it significant at 95% confidence.

Fix the sample size first. Evan Miller gives the rule of thumb n = 16 x variance / effect squared per group, where the variance of a rate p is p x (1 - p) and the effect is the smallest difference you care about.

Sources: Evan Miller, How Not To Run an A/B Test (18 April 2010).

What does a worked example look like?

Example: Glyphica had wishlist rates of 27% and 30% on two Reddit ad groups, from 148 and 134 tracked visits. The p-value is about 0.51, by our arithmetic, so the difference is not significant.

To detect a 5 point difference from a 27% rate, n = 16 x 0.27 x 0.73 / 0.05 squared, which is about 1,261 tracked visits per group, by our arithmetic. Two ad groups with about 140 visits each could only detect a much larger gap.

Sources: Squeaky Wheel (21 June 2024); Evan Miller, How Not To Run an A/B Test (18 April 2010).

Why does statistical significance matter for indie PC and web games?

Because small samples produce big random swings, and dashboards make it tempting to stop a test on a lucky day. Evan Miller simulated stopping a test as soon as it looks significant: with no real difference, 26.1% of such tests declare a winner, not 5%.

If you must look 10 times during a test, he notes, a reported 1.0% significance level is what gives a real 5%.

Sources: Evan Miller, How Not To Run an A/B Test (18 April 2010).

How do I check significance with Manalens data?

Filter a funnel or retention report by your variant property to get players and conversions per group, or read tracked visits and wishlists per tagged link from the Steam UTM report import. Enter both pairs in the significance calculator, which gives a two-proportion z-test p-value, an interval and the sample size per variant.

Sources: Manalens funnels, retention and filters documentation.

Frequently asked questions

What p-value counts as significant?

By convention, below 0.05, which means 95% confidence. It is a convention, not a law. A stricter 0.01 cuts false winners but needs more data. Whatever you choose, choose it before the test, together with the sample size, and do not change it after you see the result.

Why should I not peek at a running test?

Because each look is another chance for noise to cross the threshold. Evan Miller found that stopping at the first significant result gives false winners 26.1% of the time in his worst case. Fix the sample size, look only at the end, or use a sequential method built for repeated looks.

Is a significant result always worth acting on?

No. With a lot of data, a tiny difference can be significant and still not matter. Look at the size of the effect and its interval as well. Act when the likely effect is big enough to pay for the change, and when the change costs little to keep.

Sources and implementation