Descriptive Statisticshard
0:00.0

Let {x1,x2,,xn}\{x_1, x_2, \dots, x_n\} be a dataset of real numbers. Consider the function f(c)=i=1nxicpf(c) = \sum_{i=1}^n |x_i - c|^p for p1p \ge 1. For which value of pp is the minimizer of f(c)f(c) always guaranteed to be the sample median (or one of the medians if nn is even)?