Overview
Pricing answers the question to ask before running anything: if the change works, would this design be able to tell? Every design has a minimum detectable effect (MDE), the smallest effect it can reliably pick up. If you expect a promo to add about $5 per store per day and the design can only see $20, running it would most likely end in “no clear effect”, even if the promo works. Pricing tells you that in advance, using your own data, so you can change the design (a smaller outcome measure, longer windows, more units, groups, pairs, a switchback) or drop the idea. Sometimes the answer is that a design cannot work at all, for example because every unit switches on the same day. Pricing then refuses it and says why. A refusal is the most valuable thing pricing can tell you: no analysis afterwards can rescue a design like that.Pricing a draft
On a draft, the pricing panel lets you describe up to six candidate designs and price them in one go. Each candidate is either:- Staggered waves, with Wave sizes, First switch date, Spacing between waves (days), optional Blocks, optional Assign by a dimension (groups), or Match in pairs instead of wave sizes; or
- Switchback, with First period starts, Period length (days) and the number of Pairs.
What pricing reads
Pricing reads the outcome measure for every unit and every finished period of history before today, at the draft’s grain, from the workspace’s promoted model (never an unsaved working copy), at the access level of a workspace viewer. In the same pass it reads what it needs for its warnings: how late each confirm and guardrail measure’s data arrives, each condition guardrail’s average per unit, and, when the draft names a driver, the slope your World Model holds for it. Before reading anything, it checks that both lever automations exist, are unambiguous, and read the units they are sent. A design whose lever cannot move, or would move the whole fleet at every switch, is not worth pricing.How the minimum detectable effect is found
Oxygen does not use a textbook formula. It replays the experiment on your own history, many times, where nothing was changed.Pick a fake switch date in the past
Draw a fake treated group
Run the real analysis
Add a pretend effect and see if it is caught
A placebo power curve on a simulated panel shaped like the example shoppers: 40 shoppers, 16 treated and 24 controls, 28-day windows. With nothing added, 4% of replays raise a false alarm (the 5% budget). An effect of about $14.50 is caught 80% of the time, which makes it the minimum detectable effect. The staggered promo in the worked examples was priced at $14.74.
Why replay instead of a formula?
Why replay instead of a formula?
- No assumptions about the shape of your data. The placebo uses the real distribution, skew and outliers included.
- Day-to-day correlation is already handled. A store’s Tuesday looks like its Monday. The analysis averages each unit’s days into one number per window, so there is no correlation parameter to estimate and get wrong.
- It doubles as a false-alarm check. With no effect added, the replay shows how often the design would cry wolf on your data.
- It prices the test that will actually run. An earlier approximation priced a slightly different statistic and promised 80% power where the real test delivered about 75%. Each draw now runs the final decision rule itself.
How many replays, and how independent are they?
How many replays, and how independent are they?
The maths, for the curious
The maths, for the curious
se, then asks whether an effect τ would be declared:
|t + τ / se| ≥ t_crit(df, α, family), using that replay’s own Welch
degrees of freedom and the registered number of outcomes. Power at τ is
the share of replays that clear the bar. For staggered and switchback
designs the effect is added to the data itself and the full
randomisation test is run on each replay. The MDE is then found by
doubling τ from the noise level until power is reached and bisecting
back down.Example: reading three candidates side by side
Example: reading three candidates side by side
Ranking candidates
Candidates are ranked by their MDE in dollars per unit-day (or whatever the outcome’s unit is; per unit-week, unit-month or unit-hour at those grains), lowest first. Two adjustments put different shapes on one scale:- A group design’s own MDE is per group-day. For the ranking it is divided by the average group size, which assumes the effect spreads evenly over a group’s members. The panel says so next to it.
- A switchback’s MDE is already an average per unit-day across the fleet.
Directional experiments
“It only needs to be roughly right” has an honest version and a dishonest one.- Dishonest: run at 0.05, get a result that is not significant, and read its sign as a finding anyway. The false-alarm rate is then whatever the reader wants it to be.
- Honest: decide before the switch to accept a higher false-alarm rate, typically 0.2 (one in five). In exchange, the same data can see an effect about a quarter smaller.
Where 'about a quarter smaller' comes from
Where 'about a quarter smaller' comes from
z(1 − α/2) + z(power). At 80% power that is 1.28 + 0.84 at α 0.2 against
1.96 + 0.84 at α 0.05, a ratio of about 0.76.