# How to use AI to read A/B tests in your game

> Use AI to plan and read A/B tests in your game: fix the sample size first, ask for the result once, and avoid the repeated peeks that inflate false positives.

By Yos Riady. Updated 2026-12-17. Published 2026-12-17. Canonical URL: https://manalens.dev/blog/ai-game-ab-test-analysis

Use AI to plan an A/B test and to read it once, at the sample size you fixed in advance. Asking every day whether a test has won is the trap: Evan Miller showed that stopping as soon as a result looks significant can turn a 5% significance level into 26.1%. Write the plan into the prompt.

## Key takeaways

- Write the metric, the sample per group and the threshold into the prompt before the test starts.
- Tell the AI to answer not yet until both groups reach the planned sample.
- Check every p-value the AI gives with a significance calculator, and ask it to show its code.

## What can AI do for A/B tests in a game?

Plan the test, compute the sample and run the test math. It can turn "is the new tutorial better?" into one metric, such as the share of new players who finish level 1 in the first session. It can compute the sample you need and run a two-proportion test on the result, with the code shown.

The risk is in how you ask, not in the math. A chat makes it easy to ask "has B won yet?" every morning, and each look is another chance to see a win that is only noise.

- [A/B testing in games: when is a result real?](https://manalens.dev/blog/ab-testing-games-statistical-significance)

Sources: Evan Miller, How Not To Run an A/B Test; our practice.

## Why is asking AI every day a problem?

Because repeated looks turn noise into wins. Evan Miller describes a test that is stopped as soon as it reaches 5% significance, or after 150 observations. In that worst case, with a check after every observation, the real significance level is 26.1%, "more than five times what you probably thought". A significance test is only valid at the sample size you fixed before you started.

So put the plan in the prompt. Tell the AI the metric, the sample per group and the threshold, and tell it to answer "not yet" until both groups reach the sample.

*Prompt template: an A/B test plan the AI must follow (made-up numbers)*

```
We are running an A/B test in our game. Use only the plan below.

Metric: share of new players who complete level 1 in their first session.
Current rate: 40%. Smallest change worth shipping: 44%.
Groups: A (old tutorial) and B (new tutorial), split at random by player ID.
Threshold: p < 0.05, two-sided. Power: 80%.

1. Compute the sample size per group, and show the formula.
2. Until both groups reach that sample, answer only "not yet", whatever the data shows.
3. When both groups reach it, run a two-proportion test on the counts I paste,
   and show the p-value and the code you ran.
```

Sources: Evan Miller (18 April 2010); our practice.

## How do you pick the metric?

Pick one that a player either does or does not do, close to the change. For a new tutorial, that is finishing level 1 in the first session, not D30 retention, which takes a month and moves for many reasons. Know the base rate: in GameAnalytics data for October 2026, the median PC game kept 6.54% of installs on day 1. A metric with a low base rate needs a large sample to show a small change.

*Game changes and the metric to test each one on. Our practice.*

| Change | Metric | Read it after |
| --- | --- | --- |
| New tutorial | Share of new players who finish level 1 in the first session | The planned sample of new players |
| Easier level 4 | Share of players who start level 5 after starting level 4 | The planned sample of level 4 starts |
| New title screen | Share of launches that reach the first level | The planned sample of launches |
| New store bundle | Share of shop visits that end in a purchase | The planned sample of shop visits |

Sources: GameAnalytics Benchmarks Hub (October 2026 data); our practice.

## How do you check the AI's statistics?

Recompute the key number with a tool you trust. Paste the group sizes and conversions into a significance calculator and compare the p-value. Ask the AI to show its formula and code, so a wrong test is easy to spot, such as a t-test on a yes or no metric, or a one-sided test you did not plan.

- [A/B test significance calculator](https://manalens.dev/tools/ab-test-significance-calculator)

Sources: our practice.

## Can you A/B test a Steam store page with AI?

Only as a before and after comparison, because Steam shows one page to everyone. Compare tagged traffic in the Steam UTM report before and after a change. Valve counts a wishlist, purchase or activation as a conversion when it happens within 72 hours of the tagged click, and tracks visits by players who are logged in. Tell the AI the groups are periods, not a random split, so it does not report a p-value as if they were.

- [How to A/B test a Steam store page with UTM links](https://manalens.dev/blog/ab-test-steam-store-page)

Sources: Steamworks UTM Analytics documentation; our practice.

## Is this workflow available as an agent skill?

Not as a skill. None of the free, open-source game marketing skills runs a significance test, so keep the test steps in this guide.

The Manalens Agent can help with the counts. Ask it for the daily count of the event you test, or for a chart of it by variant, and it answers from your game's own events. You still pick the winner with the test above.

- [Open-source game marketing skills](https://manalens.dev/skills)
- [Manalens Agent](https://manalens.dev/features/agent)
- [Game marketing skills (docs)](https://docs.manalens.dev/guides/game-marketing-skills)

Sources: game-marketing-skills README; Manalens Agent documentation.

## How to measure the result

Manalens is the analytics and growth engine built for games. Send the test group as a property on your events, then ask the Agent for the metric split by group, or let an agent run the query through the MCP server. Any report can filter on an event property, so one chart reads both groups.

- [Manalens Agent](https://manalens.dev/features/agent)
- [MCP server](https://manalens.dev/features/mcp-server)

Sources: Manalens Agent and MCP server documentation.

## Frequently asked questions

### Can AI tell me if my A/B test is significant?

Yes, if you ask once, at the sample size you fixed in advance. It can run a two-proportion test and show the p-value and code. Check the number with a significance calculator. Do not ask every day: Evan Miller showed that stopping at the first significant look can turn a 5% level into 26.1%.

### How many players do I need for an A/B test?

It depends on the current rate and the smallest change worth shipping. A small change on a rare event needs many players per group. Ask the AI for the sample size at a 0.05 threshold and 80% power, with the formula shown, and check it with a sample size calculator before the test starts.

### Which metric should a game A/B test use?

One that a player either does or does not do, close to the change you made. For a new tutorial, use the share of new players who finish level 1 in the first session. D30 retention takes a month and moves for many reasons, so it is a poor first metric.

### Can I A/B test my Steam capsule?

Not with a random split, because Steam shows one store page to everyone. Compare tagged traffic before and after the change in the Steam UTM report, which counts conversions within 72 hours of a tagged click. Treat it as a before and after comparison, and avoid weeks with sales, festivals or updates.

### Is ChatGPT or Claude better for A/B test math?

Either works when it runs code instead of doing math in its head. Ask the tool to compute the sample size and the p-value with code, and to show both the formula and the code it ran. Then check the result with a significance calculator. The plan you write matters more than the tool.

## Sources

- [Evan Miller: How Not To Run an A/B Test (18 April 2010, read 26 November 2026)](https://www.evanmiller.org/how-not-to-run-an-ab-test.html)
- [GameAnalytics Benchmarks Hub: PC benchmarks (October 2026 data, read 26 November 2026)](https://www.gameanalytics.com/benchmarks-hub)
- [Steamworks documentation: UTM Analytics (Valve, read 26 November 2026)](https://partner.steamgames.com/doc/marketing/utm_analytics)

## Related guides

- [AI guides for game developers](https://manalens.dev/blog/topic/ai-for-game-developers)
- [Player analytics guides](https://manalens.dev/blog/topic/player-analytics)
- [A/B testing in games: when is a result real?](https://manalens.dev/blog/ab-testing-games-statistical-significance)
- [How to A/B test a Steam store page with UTM links](https://manalens.dev/blog/ab-test-steam-store-page)
- [How to use AI to balance your game](https://manalens.dev/blog/ai-game-balancing)
- [A/B test significance calculator](https://manalens.dev/tools/ab-test-significance-calculator)
- [How to use AI to write a weekly metrics report for your game](https://manalens.dev/blog/ai-weekly-game-metrics-report)
- [How to move from GameAnalytics to Manalens](https://manalens.dev/blog/migrate-from-gameanalytics)
- [What events to track first in your game](https://manalens.dev/blog/game-tracking-plan-first-events)
- [Player segmentation for small studios](https://manalens.dev/blog/player-segmentation-small-studios)
