---
title: Experiment Groups and Parameters
description: "Learn how to define a Statsig experiment's variant groups and the parameter values your code reads, and understand which parts of the group structure you can change after the experiment starts."
product: general
lang: en
token_estimate: 922
---
# Experiment Groups and Parameters

Groups are the variant labels in the console, such as `Control` or `Test`. Parameters are the values your code reads to change the product or feature's behavior. Configure your parameters before your groups on the experiment's _Setup_ tab. For why your code should read parameters rather than check group names, go to [Read parameters, not group names](https://docs.statsig.com/experiments/implementation/getting-group).

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

## Add groups and set parameter values

Define the parameters first. In the _Groups and Parameters_ section of the _Setup_ tab, select **Add Parameter**, give the parameter a name such as `button_label` or `image_size`, choose its type, then select **Add**. Each group gets a field for that parameter's value.

To add a group, select the **+** (_Add Variant_) control to the right of the existing groups. Statsig adjusts the user allocation automatically as you add groups.

In the _Groups and Parameters_ section, you can also name, describe, and add variant images for each group. Group names and descriptions are labels that help you identify and compare variants in the Statsig console. Your code reads parameter values through the SDK and never reads group names, so renaming a group doesn't require a code change or change what users see. Settle on group names before you start the experiment: the _Group Name_ field locks once the experiment starts, and group names act as join keys if you forward exposures to a warehouse. Descriptions and variant images stay editable while the experiment runs.

## Warehouse exposure forwarding

If you use Statsig exposure forwarding, the daily export excludes groups at 0% or 100% traffic share by default. This is the split between groups, not the experiment's overall allocation. An experiment at 100% overall allocation with a 50/50 group split passes this percentage check. Other forwarding requirements still apply.

If you need exposures from experiment groups at 0% or 100%, contact Statsig Support. For details, go to [Forwarded Data](https://docs.statsig.com/statsig-warehouse-native/connecting-your-warehouse/forwarded-data).

## What you can change after the experiment starts

Set the group structure before you start the experiment. After an experiment starts, you can't add or delete groups, rename them, or change their percentage splits.

| Change | After the experiment starts |
| --- | --- |
| Add or delete a group | Not available |
| Change a group's percentage split | Not available |
| Rename a group | Not available |
| Change a group's description | Available |
| Change which group is the control | Available until you ship with holdback |
| Replace a group's variant images | Available |
| Stop one group from serving its values | Available through [Disable a Group](https://docs.statsig.com/experiments/implementation/disable-group) |
| Edit a group's parameter values | Available |
| Add a parameter | Available |
| Rename, retype, or delete a parameter | Available |

To change the group structure of a running experiment, [reset it](https://docs.statsig.com/experiments/ending/reset) or create a new experiment. Both options re-randomize assignments and end the current analysis window.

> **Warning:**
>
> Adding a parameter or editing parameter values during a run can mix materially different treatments into a single scorecard. Parameters define the values the SDK returns. They aren't a result dimension or a version label. If the treatment's meaning changed, start a new iteration instead.

