maverick280857
- 1,774
- 5
Hi,
How can I rigorously prove that the quantity
S = \sum_{i=1}^{n}|X_{i} - a|
(where X_{1},\ldots,X_{n} is a random sample and a is some real number) is minimum when a is the median of the X_{i}'s?
Thanks.
How can I rigorously prove that the quantity
S = \sum_{i=1}^{n}|X_{i} - a|
(where X_{1},\ldots,X_{n} is a random sample and a is some real number) is minimum when a is the median of the X_{i}'s?
Thanks.
Last edited: