Qm

Sample size to compare two execution algos

You want to compare the mean execution cost of two routing algos, A and B, by splitting order flow between them. Each algo's per-trade cost has a standard deviation of about σ=5\sigma = 5 bps. You want to be able to detect a true mean difference of Δ=2\Delta = 2 bps, using a two-sided test at α=0.05\alpha = 0.05 with 80%80\% power.

Roughly how many trades per arm do you need?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

How big does the A/B test need to be?Minimum detectable lift for a fixed A/B testMinimum detectable lift from a low baselineMinimum detectable lift at 90% powerMinimum detectable lift for a one-sided test
All questions →