You are on page 1of 2

Box Plot

Graphical representation of the spread of data.

Consists of a box with tails drawn relative to a scale.

How to construct the box plot:

1. Arrange data in increasing order

2. The box is defined by the median, upper quartile (U) and lowerquartile (L) of the

data. Box length b is (UL)

3. Upper tail is U+1.5b, lower tail is L 1.5b

4. Outliers:Mark any data items outside upper or lower tail.

5. If necessary truncate tails (usually at 0) to avoid meaninglessconcepts like negative

lines of code
Construct a box plot for the following software systems as shown in Table -1 and find the
upper tail, lower tail, median, upper quartile, lower quartile, outliers.
Table -1

KLOC MOD FD

System (KiloLines (average


(Fault
Of Code) module
Density)
size in
A 10 LOC)
15 36
B 23 43 22
C 26 61 15
D 31 10 33
E 31 43 15
F 40 57 13
G 47 58 22
H 52 65 16
I 54 50 15
J 67 60 18
K 70 50 10
L 75 96 34
M 83 51 16
N 83 61 18
P 100 32 12
Q 110 78 20
R 200 48 21

You might also like