I knew the answer was the median but fumbled the actual derivation under pressure.
Recognize that minimizing the sum of absolute errors leads to the median of the observed values. Derive this by considering the subgradient of the objective function and showing that any median minimizes it. Discuss uniqueness by analyzing cases where the number of observations is odd or even, and whether the median is unique.
Pro tip: Emphasize that the median is robust to outliers, which is often why it's preferred over the mean in certain applications. Also, mention that for even-sized samples, any value between the two middle observations is a minimizer, so the solution is not unique.
Let the observed values be x1, x2, ..., xn. We want to find a constant c that minimizes f(c) = Σ |xi - c|.
Compute the subgradient of f(c): it is the sum of signs of (xi - c). Set it to zero to find critical points. Show that any median of the data satisfies this condition.
If n is odd, the median is unique. If n is even, any value between the two middle observations minimizes the sum, so the solution is not unique.
Mention that the median is a robust estimator, less sensitive to outliers than the mean, and that non-uniqueness in the even case means any median is acceptable.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.