Qm

Sample size for a latency test at 90% power

You want to compare the mean response latency of two servers. Each server's per-request latency has a standard deviation of about σ=10\sigma = 10 ms. You want to detect a true mean difference of Δ=5\Delta = 5 ms, using a two-sided test at α=0.05\alpha = 0.05, but this time with 90%90\% power.

Roughly how many requests per server 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

Sample size to compare two execution algosSample size to compare two portfolios' returnsSample size for a one-sided strategy comparisonSample size for an A/B test on order sizeHow big does the A/B test need to be?
All questions →