Escolar Documentos
Profissional Documentos
Cultura Documentos
Range
Quartile, interquartile range, semi-interquartile range
Variance
Standard deviation
Range
Range = Largest observation smallest observation
For example,
Quartile
Quartiles are values which divide a set of data
(
f
)
B
c
First quartile, Q1 = (f)th observation = LB 4
f
( f ) FB
c
Third quartile, Q3 = (f)th observation= LB 4
f
Quartile, percentile
Beside quartile, we can also talk about
percentile.
For example we can talk about the 15 th
percentile.
Variance
Consider the data:
3, 4, 5, 6, 7.
Mean
x = (3 + 4 + 5 + 6 + 7)/5
=5
We wish to study how are the data deviate from the
mean. So we find (xi - x ) for each of the data.
Unfortunately,
data.
To overcome this problem, we use the squares of
these value.
2
(
x
x
)
The result:
i
variance, s 2
n
Variance
n
Prove that
Proof:
( xi x) x n x
2
i 1
( xi x)
i 1
i 1
n
2
i
( x 2 xxi x )
2
i
i 1
n
i 1
i 1
x 2 x xi x
i 1
n
2
i
x 2 x(n x) n x
i 1
n
2
i
2
i
x nx
i 1
2
n
x 2n x n x
i 1
n
2
i
xi
i 1
n
n
n x xi
i 1
s2
2
(
x
x
)
i
i 1
n
n
s
2
2
x
i
i 1
s2
2
x
i
i 1
i 1
f ( xi x) 2
f
2
fxi2
s
x
f
fxi2 fx
s
f f
Prove this.
Standard Deviation
In the process of finding variance, we have
standard deviation.
( xi x) 2
i 1
n
n
xi2
i 1
2
x
i
i 1
i 1
f ( xi x) 2
f
2
2
fx
i
s
x
f
fx
f
2
i
fx
f
xk
y
h
Standard deviation of y:
sy
f ( y y)
f
s y2
1
2
2
h
sy
xk xk
h
h
f x x
f
1 2
s 2 sx
h
2
y
s x hs y
the right)
the left)
data.
(a) Horizontal box-and-whisker plot:
Lowest value
Lower
Median Q2
quartile Q1
Highest value
Upper
quartile Q3
Lowest value
Q1 Q2 Q3
The left and the right whiskers have equal lengths and
the median lies in the middle of the box.
Q1 Q2 Q3
Q1 Q2 Q3
Example of boxplot
The stem-and leaf plot below shows the number of flies
Example of boxplot
(a) From the data in the stemplot, the lowest
15
10
28
20
30
48
37
40
50
1.5(Q3-Q1)
outliers
outliers
Lower
boundary
Q1
Q2
Q3
Upper
boundary
Outliers - example
Grades of 48 students for a certain subject:
Grade
No of students
13
Median, Q2 = 3
Lower quartile, Q1 = 2
Upper quartile, Q3 = 4.5
Lower boundary = Q1 1.5(Q3 Q1) = 2 1.5(4.5 2)
= - 1.75
-2
-1
Further
example