Skip to main content

Overview

An experiment answers one question: did the change we made cause this, or would it have happened anyway? Say you turn on a promotion and sales go up. They might have gone up because of the promotion, or because it was payday week, the weather was good, or a competitor closed. Looking at sales before and after the change cannot tell these apart. Oxygen can, because it compares places where the change was made against places where it was not, over the same days. Anything that hit every place on those days, such as the season, a holiday or a national ad campaign, affects both groups equally and cancels out. What is left is the effect of the change. Experiments live in the IDE under Experiments (the flask icon in the rail). Each experiment has one page, and what that page shows depends on how far along the experiment is.
Experiments are built on the semantic model and on automations. The thing you measure is a measure you already have, and the change itself is made by an automation you already wrote. Oxygen supplies the design, the schedule, the checks and the statistics around them.

What the platform does for you

Running a fair experiment by hand is hard to do well, and it is easy to fool yourself without meaning to. Oxygen takes over the parts where people usually go wrong.
  1. It checks the design before anything moves. Before you commit, Oxygen tests the design against your own history and tells you the smallest effect it could detect. If the design cannot work at all, it says so and explains why. This is called pricing the design.
  2. It decides who gets the change. Oxygen picks the places that get the change by a recorded random draw, so nobody can, even by accident, give it to the places that were going to do well anyway.
  3. It locks the plan. When you Register, the design can no longer be edited. The report is then judged against the plan that was written before any results existed, so nobody can choose a convenient answer afterwards.
  4. It makes the change on schedule. On each switch date, or at any whole hour when the experiment is measured hour by hour, Oxygen runs your automation for the right places, then checks in your data that the change actually happened.
  5. It watches for harm. Safety limits you set, called guardrails, are checked every hour while the change is live. If one trips, the experiment stops and the change is turned off.
  6. It keeps the answer sealed until the end. The registered result is computed once, when the run is over. While it runs you can peek at an interim reading, clearly badged Interim, not final, but it never becomes the result and never changes the run. Checking early and stopping when the number looks good is one of the most common ways experiments produce false results.
  7. It writes an honest report. At the end you get the effect with its uncertainty, plus the checks that tell you how far to trust it: whether the change really landed, whether the groups behaved alike before the change, and whether the gain was taken from a neighbouring product.
  8. It can teach the World Model. When the experiment measured how strongly one measure drives another, Oxygen can propose that number as a change to your semantic model, for a person to review and merge.

The life of an experiment

Measuring per hour, week or month instead of per day, and switching at any hour, are on Hours, days, weeks and months. How the numbers are calculated, in plain words first and with the formulas folded away, is on How the statistics work. Reading designs whose dates are already past, and designs for very few places, are covered in Past data and few-unit designs. Worked examples walks through real runs from start to finish.

Three rules behind every decision

Most of what Oxygen does, and most of what it refuses to do, follows from three rules.
An effect is only measurable if some places did not get the change on the same days. If every store switches on the same morning, the change and the calendar are the same thing, and no analysis can pull them apart afterwards. Oxygen therefore refuses a design where every unit switches on one date. It suggests a staggered rollout or a switchback instead, which are the honest ways to roll a change out everywhere.
What counts as a fair result depends on what you said you would test before you looked. The design, the measure, the windows and the significance level are all locked at registration, and the report is graded against them. A design written after its data existed can still be analysed, but its report says, every time, that it is exploratory and not pre-registered.
When a design cannot answer the question, the most useful thing Oxygen can do is say so before you spend weeks running it. A refusal names what was tested and why it failed. It is the main content of the page, not an error. The same applies in the report: an interval that cannot be bounded is reported as unbounded, never invented.

Glossary

The words below appear throughout these pages and in the product.