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: stats
See also: quantile

Macro: fivenum
Description: computes the five number summary consisting of the minimum and maximum, the quartiles and the median.

Usage: five = fivenum (x)
Input:
x array
xvars optional, p x 1 string vector, variable names. Note, that only up to 15 characters are used.
Output:
five string output, containing five number summary.

Example:
library("stats")
setenv("outputstringformat", "%s") 
randomize (0)
x = normal (200)
fivenum (x)
Result:
Contents of five
[ 1,] 
[ 2,] ================================================== 
[ 3,]  Five number summary 
[ 4,] -------------------------------------------------- 
[ 5,]    Minimum            -2.7801947 
[ 6,]    25% Quartile      -0.59753362 
[ 7,]    Median           -0.064324884 
[ 8,]    75% Quartile       0.54136684 
[ 9,]    Maximum             2.4442013 
[10,] ================================================== 
[11,] 

Library: stats
See also: quantile

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: TTK, Marlene Mueller, 970903
(C) MD*TECH Method and Data Technologies, 28.6.1999