Short Questions (Question 10 & 11)


Question 10:
A set of data consists of twelve positive numbers.
It is given that Σ ( x x ¯ ) 2 =600 and Σ x 2 =1032.
Find
(a) the variance
(b) the mean

Solution:
(a)
Variance= Σ ( x x ¯ ) 2 N               = 600 12               =50

(b)
Variance= Σ x 2 N ( x ¯ ) 2           50= 1032 12 ( x ¯ ) 2        ( x ¯ ) 2 =8650              =36             x ¯ =36


Question 11 (4 marks):
A set of data consists of 2, 3, 4, 5 and 6. Each number in the set is multiplied by m and added by n, where m and n are integers. It is given that the new mean is 17 and the new standard deviation is 4.242.
Find the value of m and of n.

Solution:

x =2+3+4+5+6=20 x 2 = 2 2 + 3 2 + 4 2 + 5 2 + 6 2 =90 Mean= 20 5 =4 Variance= x 2 n ( x ¯ ) 2   = 90 5 4 2 =2 New mean=17 4m+n=17 .......... ( 1 ) New standard deviation=4.242 m× 2 =4.242 m= 4.242 2 =2.99953 Substitute m=3 into ( 1 ): 4( 3 )+n=17 n=5

Short Questions (Question 5 & 6)


Question 5:
A set of data consists of 9, 2, 7, x2 – 1 and 4. Given the mean is 6, find
(a) the positive value of x,
(b) the median using the value of x in part (a).

Solution:
(a)
Mean=6 9+2+7+ x 2 1+4 5 =6                      x 2 +21=30                             x 2 =9                              x=±3 Positive value of x=3.

(b)
Arrange the numbers in ascending order
2, 4, 7, 8, 9
Median = 7


Question 6:
A set of seven numbers has a standard deviation of 3 and another set of three numbers has a standard deviation of 4. Both sets of numbers have an equal mean.
If the two sets of numbers are combined, find the variance.

Solution:
X ¯ 1 = Σ X 1 n 1 m= Σ X 1 7 Σ X 1 =7m m= Σ X 2 3 Σ X 2 =3m σ= Σ X 2 N ( X ¯ ) 2 σ 2 = Σ X 2 N ( X ¯ ) 2 9= Σ X 1 2 7 m 2 63=Σ X 1 2 7 m 2 Σ X 1 2 =7 m 2 +63

Similarly: 16= Σ X 2 2 3 m 2 48=Σ X 2 2 3 m 2 Σ X 2 2 =48+3 m 2 Σ Y 2 =Σ X 1 2 +Σ X 2 2 Σ Y 2 =7 m 2 +63+3 m 2 +48       =10 m 2 +111 ΣY=Σ X 1 +Σ X 2 ΣY=7m+3m=10m Combine Variance: σ 2 = Σ Y 2 N ( ΣY N ) 2 σ 2 = 10 m 2 +111 10 ( 10m 10 ) 2     = 10 m 2 +111 10 m 2     = 10 m 2 +11110 m 2 10     = 111 10 =11.1

Short Questions (Question 3 & 4)


Question 3:
The mean of five numbers is p . The sum of the squares of the numbers is 120 and the standard deviation is 2q. Express p in terms of q.

Solution:
Mean  x ¯ = x N p = x 5 x = 5 p Standard deviation,  σ = x 2 N x ¯ 2 2 q = 120 5 ( p ) 2 4 q 2 = 24 p p = 24 4 q 2



Question 4:
A set of positive integers consists of 1, 4 and p. The variance for this set of integers is 6. Find the value of p.

Solution:
Variance,  σ 2 = x 2 N x ¯ 2 6 = 1 2 + 4 2 + p 2 3 ( 1 + 4 + p 3 ) 2 6 = 17 + p 2 3 ( 5 + p 3 ) 2 6 = 17 + p 2 3 [ 25 + 10 p + p 2 9 ] 6 = 51 + 3 p 2 25 10 p p 2 9 2 p 2 10 p + 26 = 54 2 p 2 10 p + 28 = 0 p 2 5 p + 14 = 0 ( p 7 ) ( p + 2 ) = 0 p = 2  (not accepted) p = 7

Short Questions (Question 1 & 2)


Question 1:
Given that the standard deviation of five numbers is 6 and the sum of the squares of these five numbers is 260.  Find the mean of this set of numbers.

Solution:

Given that  σ = 6 Σ x 2 = 260. σ = 6 Σ x 2 n X ¯ 2 = 6 Σ x 2 n X ¯ 2 = 36 260 5 X ¯ 2 = 36 X ¯ 2 = 16 X ¯ = ± 4 mean =  ± 4



Question 2:
Both of the mean and the standard deviation of 1, 3, 7, 15, m and n are 6.  Find
(a) the value of m + n,
(b) the possible values of  n.

Solution:
(a)
Given mean = 6 Σ x n = 6 Σ x 6 = 6  
1 + 3 + 7 + 15 + m + n= 36
26 + m + n= 36
m + n = 10

(b)
σ = 6 σ 2 = 36 Σ x 2 n X ¯ 2 = 36 1 + 9 + 49 + 225 + m 2 + n 2 6 6 2 = 36 284 + m 2 + n 2 6 36 = 36 284 + m 2 + n 2 6 = 72 284 + m 2 + n 2 = 432 m 2 + n 2 = 148 From (a),  m = 10 n ( 10 n ) 2 + n 2 = 148 100 20 n + n 2 + n 2 = 148 2 n 2 20 n 48 = 0 n 2 10 n 24 = 0 ( n 6 ) ( n + 4 ) = 0 n = 6  or  4

Measures of Dispersion (Part 3)

Measures of Dispersion (Part 3)
7.3 Variance and Standard Deviation

1. The variance is a measure of the mean for the square of the deviations from the mean.

2. The standard deviation refers to the square root for the variance.

(A) Ungrouped Data




Example 1:
Find the variance and standard deviation of the following data.
15, 17, 21, 24 and 31

Solution:
Variance,  σ 2 = x 2 N x ¯ 2 σ 2 = 15 2 + 17 2 + 21 2 + 24 2 + 31 2 5 ( 15 + 17 + 21 + 24 + 31 5 ) 2 σ 2 = 2492 5 21.6 2 σ 2 = 31.84 Standard deviation,  σ  =  variance σ  =  31.84 σ  =  5.642


(B) Grouped Data (without Class Interval)




Example 2:
The data below shows the numbers of children of 30 families:

Number of child
2
3
4
5
6
7
8
Frequency
6
8
5
3
3
3
2




Find the variance and standard deviation of the data.


Solution:
Mean  x ¯ = f x f = ( 6 ) ( 2 ) + ( 8 ) ( 3 ) + ( 5 ) ( 4 ) + ( 3 ) ( 5 ) + ( 3 ) ( 6 ) + ( 3 ) ( 7 ) + ( 2 ) ( 8 ) 6 + 8 + 5 + 3 + 3 + 3 + 2 = 126 30 = 4.2 f x 2 f = ( 6 ) ( 2 ) 2 + ( 8 ) ( 3 ) 2 + ( 5 ) ( 4 ) 2 + ( 3 ) ( 5 ) 2 + ( 3 ) ( 6 ) 2 + ( 3 ) ( 7 ) 2 + ( 2 ) ( 8 ) 2 6 + 8 + 5 + 3 + 3 + 3 + 2 = 634 30 = 21.13 Variance,  σ 2 = f x 2 f x ¯ 2 σ 2 = 21.133 4.2 2 σ 2 = 3.493 Standard deviation,  σ  =  variance σ  =  3.493 σ  = 1 .869


(C) Grouped Data (with Class Interval)




Example 3:

Daily Salary(RM)
Number of workers
10 – 14
40
15 – 19
25
20 – 24
15
25 – 29
12
30 – 34
8
Find the mean of daily salary and its standard deviation.

Solution:

Daily Salary (RM)
Number of workers, f
Midpoint, x
fx
fx2
10 – 14
40
12
480
5760
15 – 19
25
17
425
7225
20 – 24
15
22
330
7260
25 – 29
12
27
324
8748
30 – 34
8
32
256
8192
Total
100

1815
37185
Mean  x ¯ = f x f Mean of daily salary = 1815 100 = 18.15 Variance,  σ 2 = f x 2 f x ¯ 2 Standard deviation,  σ  =  variance σ 2 = 37185 100 18.15 2 σ 2 = 42.43 σ  =  42.43 σ  = 6 .514

Measures of Dispersion (Part 2)


Measures of Dispersion (Part 2)
7.2b Interquartile Range 2

(C) Interquartile Range of Grouped Data (with Class Interval)

The interquartile range of grouped data can be determined by Method 1 (using a cumulative frequency table) or Method 2 (using an ogive).



Example:
The table below shows the marks obtained by a group of Form 4 students in school mathematics test.


Estimate the interquartile range.

Solution:
Method 1: From Cumulative Frequency Table
Step 1:
Lower quartile, Q1 = the   1 4 ( 60 ) th observation
   = the 15thobservation

Upper quartile, Q3 = the   3 4 ( 60 ) th observation
   = the 45thobservation


Step 2:
Lower quartile,  Q 1 = L 1 + ( 1 4 N F 1 f Q 1 ) C   = 39.5 + ( 15 12 20 ) 10   = 39.5 + 1.5   = 41

Step 3:
Upper quartile,  Q 3 = L 3 + ( 3 4 N F 3 f Q 3 ) C     = 49.5 + ( 45 32 16 ) 10     = 49.5 + 8.125     = 57.625

Step 4:
Interquartile Range
= upper quartile – lower quartile
= Q3Q1
= 57.625 – 41
= 16.625

Measures of Dispersion (Part 2)

Measures of Dispersion (Part 2)
7.2b Interquartile Range 1

(A) Interquartile Range of Ungrouped Data



Example 1: 
Find the interquartile range of the following data.
(a) 7, 5, 1, 3, 6, 11, 8
(b) 12, 4, 6, 18, 9, 16, 2, 14

Solution:
(a) Rearrange the data according to ascending order.

Interquartile Range
= upper quartile – lower quartile
= 8 – 3
= 5 

(b) Rearrange the data according to ascending order.


Interquartile Range
= upper quartile – lower quartile
14 + 16 2 4 + 6 2
= 15 – 5
= 10


(B) Interquartile Range of Grouped Data (without Class Interval)

Example 2: 
The table below shows the marks obtained by a group of Form 4 students in school mid-term science test.


Determine the interquartile range of the distribution.

Solution:
Lower quartile, Q1 = the   1 4 ( 24 ) th observation
  = the 6thobservation
  = 2

Upper quartile, Q3 = the   3 4 ( 24 ) th observation
  = the 18thobservation
  = 4


Interquartile Range
= upper quartile – lower quartile
= Q3Q1
= 4 – 2
= 2

Measures of Dispersion (Part 1)


Measures of Dispersion (Part 1)
7.2a Range
(A) Range of Ungrouped Data



Example 1:
Find the range for the set of data 2, 4, 7, 10, 13, 16 and 18.

Solution:
Range = largest value – smallest value
   = 18 – 2
   = 16


(B) Range of Grouped Data (with Class Interval)



Example 2:
The grouped frequency distribution was obtained from 100 students regarding the scores in their test shown as below.


Find the range of the data.

Solution:
Range =midpoint of the highest class midpoint of the lowest class Range= 35+39 2 5+9 2    =377    =30

7.1c Median


7.1c Median
1. The median of a group of data refers to the value which is at the middle of the data after the data has been arranged according to grouped data and ungrouped data.

(A) Ungrouped Data


Example 1:
Find the median for each of the sets of data given below.
(a) 15, 18, 21, 25, 20, 18
(b) 13, 6, 9, 17, 11

Solution:
(a) Arrange the data in the ascending order

15, 18, 18, 20, 21, 25
Median = T n + 1 2 = T 6 + 1 2 = T 3 1 2 = 18 + 20 2 = 19

(b) 6, 9, 11, 13, 17
Median = T n + 1 2 = T 5 + 1 2 = T 3 = 11


(B) Grouped Data (without Class Interval)


Example 2:
The frequency table shows the marks obtained by 40 students in a biology test.


Solution:
Median = T n + 1 2 = T 40 + 1 2 = T 20 1 2 = 60 ( 20 1 2 th term is 60)



(C) Grouped Data (with Class Interval)


m
= median
L = Lower boundary of median class
N = Number of data
F = Total frequency before median class
fm = Total frequency in median class
c = Class size = (Upper boundary – lower boundary)

1. The median can be determined from an accumulative frequency table and the ogive.

2. The ogive is an accumulative graph; the median, quartiles and the range between quartiles can be determined from it.

Example 3:
The grouped frequency distribution was obtained from 100 students regarding the scores in their test shown as below.


Find the median.

Solution:
Method 1: using formula



S t e p   1 Median class is given by  T n 2 =   T 100 2 = T 50  Median class is the class  20 24 S t e p   2 m = L + ( N 2 F f m ) c m = 19.5 + ( 100 2 33 26 ) 5 m = 19.5 + 3.269 = 22.77

7.1b Mode


7.1b Mode

Mode is the observation which has the highest frequency in a set of data.

Example:
Find the mode for each of the sets of data given below.
(a) 15, 18, 21, 25, 20, 18
(b) 3, 6, 9, 11, 17
(c) 0, 1, 2, 7, 3, 2, 1, 1, 2, 1, 2

Solution:
(a) The mode is 18. ← (18 occurs 2 times)
(b) Does not have a mode.
(c) The modes are 1 and 2. ← (Both numbers occur 4 times)