KatInterview

Mean vs. Median: Picking the Right Profit Summary Stat

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsstatisticsprobabilitytrading

Last updated

Decide which central tendency metric best captures per-trade profitability in a live trading system, and justify the choice given skew, outliers, and stream constraints.

Context

You are building a real-time performance dashboard for an automated trading system that executes a large number of trades every hour across multiple instruments. Each completed trade produces a profit-and-loss (PnL) value. You need to surface a single "typical profit per trade" figure that strategy developers can act on without being misled.

Two colleagues disagree on how to compute it:

  • Colleague A argues for the arithmetic mean, because it connects directly to total PnL and is easy to aggregate.
  • Colleague B argues for the median, because extreme trades — large winners or sudden losses — distort the mean and make it hard to read the day-to-day behavior of the strategy.

What you are asked to do

  1. Compare mean and median as estimators of "typical profit per trade." Address both their statistical properties and their practical meaning in a trading context.

  2. Analyze a specific asymmetry. The system has a hard floor on losses — each trade is exited automatically once it hits a fixed maximum loss — but winning trades are allowed to run indefinitely. Describe what this does to the shape of the profit distribution, and explain how that shape change affects the usefulness of each metric.

  3. Propose a concrete metric set for the dashboard. Rather than picking one number, recommend a small set of statistics that together give developers an honest, actionable picture. Address how each metric would be computed efficiently on a continuous data stream.

Assumptions and constraints

  • The profit distribution is not assumed to be normal or even symmetric.
  • The system processes a high volume of trades; computational cost and latency matter.
  • Treat unusual trades as potentially real signals, not automatically as errors to discard.
  • Focus on the properties that matter for both understanding typical behavior and detecting problems quickly.

Hints

Hint 1

Think about which statistic has a direct algebraic relationship to total PnL. Can you recover total PnL from the median? What about from the mean?

Hint 2

With a hard cap on losses but uncapped upside, sketch what the profit distribution looks like. Is it symmetric? What happens to the mean vs. median when 90% of trades hit the stop and 10% are large winners?

Hint 3

A single number can be honest about the center while hiding the shape. What two or three cheap additional statistics would reveal skew, tail risk, and data quality without adding much computation?