For games and apps

How to run an A/B test: sample size, significance, and rollouts

Short answer

To run an A/B test, write a hypothesis, pick one primary metric and a few guardrail metrics, randomly split users between a control and one or more variants, and run the test until each group has enough users to detect the change you care about. Then compare the groups with a confidence interval: ship the variant only if the difference is significant and the guardrails held.

Before you start

  • Hypothesis: “Shortening the tutorial from 5 steps to 3 will raise D1 retention.” One change, one expected effect.
  • Primary metric: the one number that decides the test, chosen before you look at results.
  • Guardrails: metrics that must not get worse, such as revenue, crash rate, or support tickets.
  • Unit: per user for most changes; per server or room when everyone in it must see the same thing.

Run it fairly

  • Assign users randomly and keep them in their group (sticky assignment), so a user doesn't flip between versions.
  • Keep tests that touch the same thing apart, so one test doesn't contaminate another.
  • Start risky changes on a small share of users and ramp up, keeping the split between groups the same as you go.
  • Decide the duration up front and run whole weeks, so weekday and weekend behavior are both included. Stopping the moment the result looks good inflates false positives.

Read the result

Look at the lift (the difference between variant and control) with its confidence interval, not just the point estimate. If the interval includes zero, the test hasn't shown a difference. Check that the groups are the size you expected: a big imbalance often means something went wrong with assignment.

How to do it in Gamebeast

Gamebeast experiments run on remote config values, per user or per server, with targeting, sticky assignment, exclusive experiments, and gradual rollouts that keep the comparison fair as they ramp. Break any metric down by experiment group.

Ask the AI agent how an experiment is doing and it compares each group with the control: the lift, a 95% confidence interval, whether the difference is significant, and a warning if the groups are unevenly sized.

ExperimentsRemote configurationsThe AI assistant

Questions

How long should an A/B test run?

Until each group has enough users to detect the smallest change you care about, and for at least one full week so every day of the week is included. Decide this before starting.

Can I test more than two versions?

Yes, but each extra variant splits your users further, so each group fills more slowly and the test needs longer.

Put an agent on your product