Bell Statistics

What is a treatment group?

A treatment group is the set of users who receive the change being tested. Its outcome is compared against the control group's, and the difference between them is the effect — provided every user assigned to it is counted whether or not they actually experienced the change.

Also called
variant group, variant, test group, treatment arm, experimental group
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

The treatment group receives the change; the control group does not; the difference in their outcomes is the effect. "Variant" is the same thing in platform vocabulary, and multi-arm tests simply have several — variant A, variant B — each compared against the same control. Nothing about the word choice changes the statistics.

The rule that does the real work is who gets counted. Every user assigned to the treatment group belongs in the analysis, including those who never reached the changed surface, never opened the app, or bounced immediately. This is analysis by intent to treat, and it is what preserves the randomisation: the groups were formed at random, so they are comparable, and dropping people from one arm on the basis of their behaviour destroys exactly that property.

The temptation to drop them is strong because they dilute the effect. If a change touches only the 15% of users who reach a particular page, then 85% of the treatment group is identical to control and the measured effect is roughly a seventh of the real one. That looks like waste, and the naive fix — analyse only those who saw it — is invalid, because reaching the page may itself be influenced by the treatment, so the two arms would be filtered on different populations.

The valid version is triggered analysis, and the distinction is precise: the trigger must be an event that occurs *before* the treatment could influence it, and it must be recorded identically in both arms. "Reached the checkout page" is usually a valid trigger, because the change happens on that page. "Clicked the new button" is never valid, because the button does not exist in control. Getting this wrong is one of the more common ways an experiment produces a large, confident and completely spurious effect.

The other counting question is what happens when a treatment user cannot receive the change — a feature flag fails, an old client version cannot render it, a request errors. They stay in the treatment group. Removing them selects on something that may correlate with the outcome, and if failures are more common on slow devices then removing them quietly compares fast-device treatment against all-device control.

The formula

Two estimators, and the relationship between them. The dilution factor is what makes triggering attractive and the exclusion restriction is what makes it legitimate.

Intent to treat
ITT = E[ Y | assigned treatment ] − E[ Y | assigned control ]

Counts everyone as assigned. Always unbiased, because it compares the groups randomisation created.

Dilution
ITT = effect_on_exposed × exposure rate

A change touching 15% of users shows about a seventh of its true effect when measured across everyone.

Valid triggered analysis
restrict both arms on an event the treatment cannot influence

Reaching a page is usually fine. Interacting with the new element never is, since control has no equivalent.

The sensitivity gain
n_triggered ≈ n_all × exposure rate

Triggering on a 15% surface cuts the required traffic by roughly the same factor — see the sample size calculator.

Worked example

A change to the returns policy page is tested on 240,000 assigned users per arm. Only 9% of users ever visit that page. Three analyses are compared: everyone assigned, everyone who visited the page, and everyone who clicked the new explanatory link.

Assigned per arm
240,000
Visited the returns page
21,600 control, 21,480 treatment (9.0%)
All assigned: effect on purchase rate
+0.04 pp, p = 0.62
Triggered on page visit
+0.46 pp, p = 0.008
Clicked the new link (treatment only)
6,140 users
Click-based comparison
+3.90 pp, p < 0.001

The first two analyses are the same finding at different dilutions. The third is not a finding at all.

All-assigned and triggered agree once dilution is accounted for: 0.46 × 0.09 = 0.041, which is the 0.04 the full-population analysis reports. That consistency is the check worth running, and it confirms the triggered analysis is measuring the same effect with less noise rather than a different one. The click-based comparison is the trap. Its +3.90 pp is enormous and meaningless, because the 6,140 people who clicked a new link are self-selected — they were more engaged with returns policy before they clicked anything, and control contains no equivalent group to compare them against. There is no way to construct one after the fact. Note also that page visits were near-identical between arms, 21,600 against 21,480, which is what makes the trigger valid here: had the treatment changed who reached the page, even the triggered analysis would have been comparing different populations.

Common misconceptions

Users who never saw the change should be excluded — they only add noise.
They add noise and preserve validity, and the second matters more. Excluding on the basis of behaviour breaks the randomisation, because whether someone reached the surface may itself depend on the treatment. Triggering on a pre-treatment event is the legitimate route to the same sensitivity.
Comparing users who engaged with the new feature against control shows its impact.
It compares self-selected engaged users against an unselected group, which measures engagement rather than the feature. Control contains no equivalent set because the feature does not exist there, so no matching is possible even in principle. This comparison reliably produces large effects that do not survive a proper test.
If the feature failed to load for some treatment users, they should be dropped.
Keep them. Failures correlate with device, connection and client version, all of which relate to the outcome — so dropping them compares a healthier treatment group against an unfiltered control. Investigate the failure rate separately; it is a finding about the implementation, not a data-quality exclusion.

Frequently asked questions

When is triggered analysis valid?
When the trigger is an event the treatment could not have influenced and is recorded identically in both arms. Reaching a page whose content is what changed is usually valid; interacting with the new element never is. The practical check is whether the trigger fires at the same rate in both arms — if it does not, the treatment is affecting who qualifies and the comparison is no longer randomised.
Is a variant the same as a treatment group?
Yes. Variant is the term most experimentation platforms use, treatment comes from the clinical and statistical literature, and they name the same thing — the arm receiving the change. Multi-arm tests usually speak of variant A and variant B against a control. No statistical distinction rides on the choice of word.
How much does dilution cost when few users see the change?
The measured effect shrinks in proportion to the exposure rate, so a change touching 10% of users shows a tenth of its true size across the full population — and since required sample scales with the square of the effect, that is roughly a hundredfold increase in traffic needed. Triggering on a valid pre-treatment event recovers almost all of it, which is why exposure instrumentation is worth building.

Related terms

  • Control group

    The counterfactual, made concrete — and the reason a before-and-after comparison is not an experiment.

  • Feature flag

    The switch experiments run on — and the reason a flag that changes mid-test quietly invalidates the result.

  • Global holdout

    The only measurement that can tell you whether a year of wins added up — and it usually says they did not.

  • Holdout group

    A control that outlives the experiment — the only way to see what a change did after month one.

  • Exposure point

    Assigned is not the same as exposed — and the gap between them is where most of your effect size goes.

Calculate it

  • A/B test sample size

    Size a two-proportion experiment before you launch, then read the lift and its interval once it lands.

  • Two-sample t-test

    Compare the average of two independent groups — plan the sample size, then test the result.

Knowing the term is the easy part

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.

References