You are on page 1of 9

CONFIDENTIAL*

Section A
[45 marks]
Answer all questions in this section.
1

The following are the numbers of customers visited a departmental store on


eleven working days.
20
32
36
37
38
39
40
41
42
45
62
(a) Find the median, the lower and upper quartiles.
[3

marks]
(b) Construct a boxplot for the data.
[5 marks]
(c) The number of customers visited a departmental store is more than 40 times
for 75% of working days. Comment on the statement.
[2 marks]
2

A random variable X has the following probability distribution.


x
-1
0
1
2
2
3
P(X = x)
a
b
8
8
3
Given that E (X) , find the values of a and b.
4

[4 marks]

The variables x and y are believed to be linearly correlated. Ten measurements of


x and y are summarized as follows:

x 1370 y 1670
xy 232545

189006

289736

Calculate the coefficient of determination and comment on the result.


[6 marks]
4

The table below shows the quantity and prices of three electrical items produced by a
company from 2012 to 2014
Electrical item
Quantity (in thousands)
Price (RM per unit)
2012
2013
2014
Air conditioner
40
50
60
1300
Fan
30
40
50
90
Television
40
50
50
1100
(a) By using price as the weights and the year 2012 as the base year, calculate Laspeyres
quantity index for the years 2013 and 2014.
[4 marks]
(b) Briefly comment on the different rates of output growth of the company between the
year 2013 and 2014.
[2 marks]

STPM 950/2

[Turn over
CONFIDENTIAL*
This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT
5

The table below shows the quarterly sales (RM x 1000) of a motorbike between 2011 to
2014 and an additive model seasonal variation for each quarter.
Quarter
Year
2011
2012
2013
2014
Seasonal variation

60
64
67
69
-2.58

84
86
90
98
21.71

42
43
44
45
-24.58

72
74
76
78
5.46

(a) Fit a trend line to the deseasonalised time series.


(b) Forecast the sales of a motorbike for the quarter 3 in year 2015.

[6 marks]
[3 marks]

(a) There are 5 boys and 4 girls on a sport committee. A subcommittee of 3 students
is selected from the committee at random. Find the probability that all are boys
given that all are the same sex.
[4 marks]
(b) A and B are two events such that P(A) = 0.5, P(B) = 0.7 and P ( A B ) = 0.3.
Calculate
(i) P ( A B )
(ii) P ( A B )
Show that event A and B are not independent.
[6 marks]

STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

Section B
[15 marks]
Answer any one question in this section.
7.

In a production process of flower vases, is known that on average 45 flower vases


have cracks in every 1000 flower vases produced.
(i)
Find the probability that there are at most two flower vases having cracks
in a random sample of size 5.
[5 marks]
(ii)
If the probability that no flower vases, in n flower vases selected at
random, having cracks is 0.1, determine the value of n.
[4 marks]
(i)
By using suitable approximation, find the probability that more than three
flower vases have cracks in a random sample of size 100. [6 marks]

The relationship between two variables x and y are found to be as follows:


x
15
16
17
18
19
20
21
22
y
2.4 2.5
2.6 2.6
3.0 3.5
3.6
3.4
Plot the scatter diagram for the above data.
[3 marks]
Calculate the coefficient of correlation between x and y, and comment on your
result
[4 marks]
Find the equation of the regression line of y on x in the form y = a + bx, where a
and b are expressed correct to two decimal places. Draw the graph of the
regression line on your scatter diagram.
[6 marks]
Estimate the value of y when x = 40. Comment on your result.
[2 marks]

(a)
(b)
(c)
(d)

END OF QUESTION PAPER


STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

ANSWER
1
(a) Median

N
11
observtion =
observtion = 5.5 observation
2
2

= 6th observation
= 39 times
Lower quartile, Q1

..

= 4th observation
= 36 times
Upper quartile, Q3

[1 mark]

N
11
observtion = observtion = 2.75 observation
=
4
4

..

[1 mark]

3(11)
3N
observtion =
observtion =8.25 observation
=
4
4

=9th observation = 42 times

..

[1 mark]

3
3
(b) Lower boundary = Q1 (Q3 Q1 ) = 36 (42 36) = 27 51
2
2
3
3
Upper boundary = Q1 (Q3 Q1 ) = 42 (42 36) = 51
2
2

Outlier = 20 and 62
Boxplot

[2 marks]
[3 marks]

(c ) Not ture. Since the lower quartile is 36 times and therefore 75% above is not 40
times.
2. E (X )
a(-1) +

3
4

2
3
3
(0)+ (1)+ b(2) =
8
8
4

-8a + 16b = 3

P( X
a+

(1)

..

[1 mark]

8a + 8b = 3

(2)

..

[1 mark]

Solve (1) and (2) a =

1
1
, b=
8
4

..

[2 marks]

x) 1

2 3
+ +b=1
8 8

STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

3 r

x y
xy n
x
y
x n y n
2

232545

1370 1670
10

(1370) 2
(1670) 2
189006
289736
n
n

= 0.994

..

[2

marks]
Coefficient o determination , r 2 (0.994) 2 0.988
..
[2 marks]
Hence, 98.80% of the variation of y is explained for due the variation of x.
..
[2 marks]
4

Laspeyres quantity index for the years 2013 =

q13 p12
100
12 p12

50(1300) 40(90) 50(1100 )


23600
100 =
100
40(1300) 30(90) 40(1100 )
98700

=125.2

.. [2

=139.3

.. [2

marks]
Laspeyres quantity index for the years 2014 =

q14 p12
100
12 p12

60(1300) 50(90) 50(1100 )


137500
100 =
100
40(1300) 30(90) 40(1100 )
98700

marks]
The companys output has increased 25.2% from the year 2012 to 2013. From the
year 2012 to 2014, the companys output increased by 39.3%.
..
[2 marks]

STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

5
Quarter
Year
2011
2012
2013
2014
Seasonal variation

Year

(a)

60
64
67
69
-2.58

84
86
90
98
21.71

42
43
44
45
-24.58

72
74
76
78
5.46

Coded quarter
(t)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Sales (RM X
100) (y)
60
84
42
72
64
86
43
74
67
90
44
76
69
98
45
78

t 197.58

td 13605.9964
t

5903.8964

td n
b
t
t n
t

Seasonal
variation (s)
-2.58
21.71
-24.58
5.46

-2.58
21.71
-24.58
5.46

-2.58
21.71
-24.58
5.46

-2.58
21.71
-24.58
5.46

..

Deseasonalised
sales (d)
62.58
62.29
66.58
66.54
66.58
64.29
67.58
68.54
69.58
68.29
68.58
70.54
71.58
76.29
69.58
72.54
[2 marks]

d 1091.96

74718.954

(197.58)(1091.96)
16

(197.58) 2
5903.8964
16
= 0.03512
13605.9964

..

[2 marks]

STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

a d bt

1091.96
197.58
0.3512
= 67.81
16
16

T = a + bt
The trend line is T = 67.8 +0.0351t

..

[1 mark]

..

[1 mark]

(b) For 3rd quarter in year 2015; t = 19


T = 67.8 +0.0351(19) =68.4669 and S3 =-24.58
Forecast value =68.4669 + (-24.58) = 43.8869
..
[2 marks]
Hence, the forecast value for the sales of a motorbike for the quarter 3 in year
2015 is RM43886.90.
..
[1 mark]
6. (a) Let A = all are boys
B = all are same sex
P( A / B)

P( A B)
P( B)
5

C3
10 5

4
C3 C3 14 7

..

[2 marks]

P ( A B)
0.3 3
=
=
..
[2 marks]
P( B)
0 .7 7
(ii) P( A B ) P( A) P( B ) P ( A B ) = 0.5 + 0.7 - 0.3 = 0.9

b. (i) P ( A / B )

..

[2 marks]

P ( A) P ( B ) 0.3 0.7 0.35


Since P ( A B ) P ( A) P ( B ) Event A and B are not independent.

..

[2

marks]
7.

(i) p =

45
= 0.045
1000

Let X = number of flower vases that crack in a sample of 5.


Then X ~B(5,0.045)
..
[1 mark]
P X 2 = P(X=0) + P(X=1) + P(X=2)
5
0
5
= C0 0.045 0.955 + 5C1 0.0451 0.9554 + 5C2 0.0452 0.9553
= 0.7944 + 0.1872 + 0.0176
= 0.9992
..
[4 marks]
(ii)

X ~B(n, 0.045)
P(X=0) = nC0 0.0450 0.955n = 0.1
0.955n = 0.1
log 0.1

n = log 0.955 = 50
(iii)

..

[1 mark]

..

[3 marks]

n =100, p = 0.045

STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

np 100 0.045 = 4.5

..

[1 mark]

2 npq 100 0.045 0.955 = 4.2975


X 4.5
Then X ~N(4.5, 4.2975), Z
~N(0, 1)
4.2975
P X 3 = P X 3 . 5

..

[1 mark]

..

[1 mark]

3. 5 4. 5

4.2975

= P Z 0.4824 = P Z 0.4824 = 0.6851

= P Z

..

[3

marks]
8
x
y
n=8

15
2.4

xy 444.4
(b) r

16
2.5

x 148

17
2.6

18
2.6
2

2780

x y
xy n
x
y
x n y n
2

19
3.0

20
3.5

21
3.6

22
3.4

y 23.6 y

71.3

(148)(23.6)
8
r
= 0.9286
2
148
23.6 2
2780
71.3
8
8
This value shows a strong positive correlation between x and y.
444.4

..

[3 marks]

..

[1 mark]

c) y = a + bx

x y
xy n
b
x
x
2

(148)(23.6)
8
= 0.1857
1482
2780
8

444.4
=

..

[2

marks]
y a bx

23.6
148
0.1857
= -0.4885
8
8

Equation:
y = -0.49 + 0.19x
Regression line

..

[1 mark]

..
..

[1 mark]
[2 marks]

When x = 15, y = -0.49 + 0.19(15) = 2.36


STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

CONFIDENTIAL*/SULIT

x = 20, y = -0.49 + 0.19(20) = 3.31


(d) The value of y may not exist since x = 40 outside the range of recorded values.
..
[2 marks]

STPM 950/2
CONFIDENTIAL*
*This question paper is CONFIDENTIAL until the examination is over.

You might also like