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 bps. You want to be able to detect a true mean difference of bps, using a two-sided test at with 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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- 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 →