Get Started with Geotests
This guide walks you through creating a Geotest experiment using Statsig. The steps include:
- Define your Geo Types
- Configure your Metric Source
- Create and Configure
- Evaluate Design Options
- Run Analysis
Define your Geo Types
First decide on one more geo types relevant to your business. Some of the most common are Postal Codes and DMAs (Designated Market Areas), but Statsig allows you to define any arbitrary geo type you'd like.
Configure your Metric Source
Assuming you've already added a metric source to Statsig, you can next indicate which column(s) represent the geo type(s) you've created.
Create and Configure
- Navigate to your Experiments page.
- Click the + Create button.
- In the modal, select Analyze to analyze existing experiment data in your warehouse.
- Enter a name and description for your experiment.
- Choose Geotest as the experiment type from the dropdown. Note: You do not need to specify an experiment source.
In the Setup tab:
- Define your hypothesis (optional).
- Set the Geo Type (e.g., country_id).
- Choose your Primary Metrics.
Configure:
- Treatment Start/End Dates
- Desired Effect Size % (this is the MDE you're hoping to measure; smaller MDEs will make finding a valid design harder)
- Type of Test: 1-sided or 2-sided (click on your metric's name to see these options)
- Alpha level (desired type I error rate, inverse of Confidence)
- Optionally enable Budgeting or Holdouts
When you're happy with your initial settings, click "Use Experiment Designer" to begin to design process.
Here you can control:
- Allowed Geo IDS: Apply a global filter for any geos allowed for control or treatment. Leave blank to use all geos found in your data source.
- (Test) Inclusion List: Force some geos to be in your treatment cell. Leave blank to allow GeoLift to search for the most optimal set of geos without limits.
- (Test) Exclusion List: Block some geos from being in your control cell. Leave blank to allow GeoLift to search for the most optimal set of geos without limits.
When ready, click "Run Analysis" to generate a new Design Option Set based on your desired rules.
Evaluate Design Options
Once a Design Option Set has been created (usually takes a few minutes), it will be shown in your Experiment Designer tab. All design option sets generated are shown here, enabling you to look through prior design iterations as needed.
Click into a completed design set (e.g. “Design Set 3”).
- Compare Power, Cost, and Control/Test Allocation
- Click View Cell Details to expand and see geo assignments
- Select your desired design using the radio button, and clicking Save Design to Experiment.