Median

Computes the median of an ordered sample X={x1,...,xn},

{leftxk,  if  n=2k-1xk+xk+12,  if  n=2k

Syntax

median(Statistics_data)

Description

Given a statistics data, returns its median.

statistics.median.calc.png