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: graphic
See also: grbox grboxmean

Quantlet: grboxmedian
Description: Generates a boxplot with the median line. The box borders are the percentiles which are equivalent to the mean plus/minus one standard deviation in the normal case (16% and 84% percentile) and the whiskers are equivalent to to the mean plus/minus two standard deviations in the normal case (2.5% and 97.5% percentile).

Link:
Usage: bp = grboxmedian (x {, col})
Input:
x n x 1 vector
col color
Output:
bp composed graphical object

Example:
library("graphic")
t  =(normal(25)-8)|(normal(25)+8)|normal(100)|(normal(10)+25)
bp = grboxmedian(t)
d  = createdisplay(1,1)
show(d, 1, 1, bp)

Result:
shows a "robust" boxplot



Author: S. Klinke, 19960925
(C) MD*TECH Method and Data Technologies, 05.02.2006