33/38
Part 5 of 6 · Evaluation and the online testLearn and do

Win power back, run long enough, and count the agents

Two refinements buy power back.

  1. Block the randomization by agent tenure: group agents by how long they've done the job, and randomize within each group. Tenure matters here. The field study found that less experienced and lower-skilled workers improved both the speed and quality of their output, while the most experienced and highest-skilled saw small gains in speed and small declines in quality.
  2. Use each agent's handle time from before the test as a covariate. This is the idea behind CUPED: take out the part of each agent's result that last month already predicts. The better last month predicts this month, the more variance it removes.

Run long enough to see agents learn. Report the effect week by week. The first week is mostly novelty and onboarding. The steady state is what you're launching.

Airbnb's exploratory study described its design in one sentence. Agents and cases were randomly assigned to control and treatment groups, and each group managed over 5,000 case assignments to ensure sufficient statistical power.

Ask any design like that the question the design effect raises: how many agents carry those cases? That's what sets the power.

In the editor, write cuped(y, x): each agent's handle time, with the part that last month predicts taken out. mean and var are written for you, and the example prints the variance before and after.