Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: quantile sort fivenum

Quantlet: median
Description: Computes the empirical medians of a given array.

Usage: med = median (x)
Input:
x array
Output:
med for each column in x the empirical medians

Note:

Example:

library("xplore")

randomize (0)

x = normal (200, 2, 2)

median (x)

Result:



Contents of med

[,,1,1,1,1,1,1]

[1,] -0.063414 -0.040036 

[,,2,1,1,1,1,1]

[1,]  0.062863  0.19609


Library: xplore
See also: quantile sort fivenum

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Marlene Mueller, 980424
(C) MD*TECH Method and Data Technologies, 21.9.2000