Holdouts

Learn how holdouts measure the cumulative impact of multiple features, which features a holdout covers, and what the SDK returns to held-out users.

A holdout withholds a small percentage of users, typically between 1% and 2%, from a set of new features. This lets you measure the features' combined effect over months. An experiment measures one feature. Use a holdout when you want to know what effect all your combined launches had on a metric. Statsig compares the held-out group (control) against an equal-sized sample of users who received the feature through the normal rollout or experiment behavior (test).

Which features a holdout covers

A holdout applies only to experiments and feature gates that use the same randomization unit as the holdout. If your team runs experiments on both userID and stableID, create two holdouts to evaluate the cumulative impact of each type.

Each holdout is either global or selected:

  • Global holdout: Captures the aggregate impact of all features developed after the holdout began. Statsig automatically enforces it on new gates, experiments, and layers with the same unit type, and you can opt individual features out.
  • Selected holdout: Captures the aggregate impact of a specific set of features that you list on the holdout.

A holdout can also target a subset of users with a targeting gate, such as an iOS-only holdout. For how to set these options, refer to Create and manage holdouts.

Best practices

  • Size: Statsig recommends a low single-digit holdout percentage, such as 1% to 2%, to limit the number of users who don't see new features. Pick the holdout percentage before you start, because changing it later starts a new Results period.
  • Duration: Statsig recommends running a holdout for three to six months, then releasing it. A longer holdout increases software complexity, because you must maintain a functioning product with no new features for a longer period.
  • Back testing: Occasionally you may want to turn off a set of already-released features to measure their effectiveness. Statsig doesn't recommend this approach because it turns off features that users already use. However, when a back measurement is critical, you can use a holdout to turn off a set of features and automatically compute their impact.

How holdouts affect SDK results

Users in a holdout don't see the features the holdout covers. The SDK returns these values to held-out users.

Feature gates

For users in the holdout, gates always return False.

Experiments

  • If the experiment isn't in a layer, calls to get experiment parameters for users in the holdout return the default value passed in code.
  • If the experiment is in a layer, calls to get experiment parameters for users in the holdout return the values defined in the layer defaults in the Statsig console.

When you ship an experiment in a layer, Statsig normally updates the layer defaults. Users in the holdout don't see those updated defaults. Instead, the layer keeps a separate set of parameter values for held-out users. Statsig copies the layer's current default values into this set when you add the layer to the holdout.

To see these values, open the layer's Setup tab. In the parameters list, the Holdouts column shows how many holdouts override each parameter's default value. Hover over the count to see each holdout's percentage and value.

Set up and read a holdout

To run a holdout, work through these pages in order:

  1. Create and manage holdouts: create a holdout, configure its population and percentage, change its salt, and end it.
  2. Read holdout results: learn how Statsig compares the holdout group against a balanced sample of other users, and how to read the results.

Was this helpful?

For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

On this page