Summer 2024 - P&S
Summer 2024 - P&S
Summer 2024 - P&S
SOLUTION
Random Variable
A random variable is a mathematical function that associates a
numerical value with each outcome of random experiment. The
value of random variable varies with each trial of experiment
Examples
Tossing a coin
If you toss an unbiased coin three times, the number of times
z
head appears in random variable with values 0,1, 2 or 3
Weight of person
aa
Weight of person in kg or pounds is continuous random variable
Aw
Q1 – (b) What is probability that leap year selected at random will have
Ja
53 Sundays ? (4M)
SOLUTION
Leap year has 366 days or 52 weeks & 2 odd days
Two odd days can be =
{Sunday, Monday}, {Monday, Tuesday}, {Tuesday, Wednesday},
{Wednesday, Thursday}, {Thursday, Friday}, {Friday, Saturday}, {Saturday,
Sunday}
So there are 7 possibilities of which 2 have Sunday.
So probability of 53 Sundays is
𝟐
P(A) =
𝟕
SOLUTION
Let A1,A2, A3 be events that bolts are manufactured by machines A, B & C
respectively
Let B be event that bolt drawn is defective
z
aa
Aw
𝟐𝟓
P(A1) = = 0.25
𝟏𝟎𝟎
𝟑𝟓
P(A2) = = 0.35
𝟏𝟎𝟎
ut
𝟒𝟎
P(A3) = = 0.4
𝟏𝟎𝟎
gr
from machine
𝟓
Machine A : P(B/A1) = = 0.05
𝟏𝟎𝟎
𝟒
Machine B : P(B/A2) = = 0.04
𝟏𝟎𝟎
𝟐
Machine C : P(B/A3) = = 0.02
𝟏𝟎𝟎
(i) Machine A
Probability that bolt is manufactured from machine A given that is
defective
𝑩
𝑷(𝑨𝟏 )𝑷(𝑨 )
𝟏
P(A1/B) = 𝑩 𝑩 𝑩
𝑷(𝑨𝟏 )𝑷(𝑨 )+ 𝑷(𝑨𝟐 )𝑷(𝑨 )+ 𝑷(𝑨𝟑 )𝑷(𝑨 )
𝟏 𝟐 𝟑
𝟎.𝟐𝟓×𝟎.𝟎𝟓
P(A1/B) =
𝟎.𝟐𝟓×𝟎.𝟎𝟓+𝟎.𝟑𝟓×𝟎.𝟎𝟒+𝟎.𝟒×𝟎.𝟎𝟐
P(A1/B) = 0.3623
(iii) Machine C
𝑩
𝑷(𝑨𝟑 )𝑷(𝑨 )
𝟑
P(A3/B) = 𝑩 𝑩 𝑩
𝑷(𝑨𝟏 )𝑷(𝑨 )+ 𝑷(𝑨𝟐 )𝑷(𝑨 )+ 𝑷(𝑨𝟑 )𝑷(𝑨 )
𝟏 𝟐 𝟑
𝟎.𝟒 ×𝟎.𝟎𝟐
P(A3/B) =
𝟎.𝟐𝟓×𝟎.𝟎𝟓+𝟎.𝟑𝟓×𝟎.𝟎𝟒+𝟎.𝟒×𝟎.𝟎𝟐
P(A3/B) = 0.2319
z
aa
Q2 – (A) A bag contains 3 red & 4 white balls. Two draws are made
Aw
without replacement. What is probability that both balls are red (3M)
SOLUTION
ut
gr
𝟑
P(A) =
𝟕
Let B be event that ball drawn is red in second draw given that first ball
drawn is red
𝟐
P(B/A) =
𝟔
SOLUTION
z
P(𝐴̅) = 1 – P(A)
=1-
2
5
aa
𝟑
Aw
=
𝟓
P(𝐵̅ ) = 1 – P(B)
gr
2
=1-
3
Ja
𝟏
=
𝟑
̅) = 𝟏
̅∩ 𝑩
P(𝑨
𝟓
SOLUTION
z
f(x) = fI(x) = 0
𝟏
= e-x/4
x<0
x>0
aa
𝟒
Aw
∞ 0 ∞
∫−∞ 𝑓 (𝑥 ) 𝑑𝑥 = ∫−∞ 𝑓(𝑥 )𝑑𝑥 + ∫0 𝑓 (𝑥 )𝑑𝑥
ut
∞ 𝟏 −𝒙⁄
= 0 + ∫0 𝒆 𝟒 𝑑𝑥
𝟒
∞
gr
1 𝑒 −𝑥/4
= | 1 |
4 −4
Ja
0
𝑥
−4
= |𝑒 |∞ 0
= - (0 – 1)
=1
Hence f(x) is distribution function
P (4 < x < 8)
P (4 < x < 8) = F(8) – F(4)
= (1 – e-2) – (1 – e-1)
= e-1 – e-2
1 1
= -
𝑒 𝑒2
z
𝒆−𝟏
P (4 < x < 8) = aa
𝒆𝟐
Aw
OR
Q2 (C) The probability mass function of random variable X is zero except
ut
Find (i) c (ii) P(X < 1) (iii) P(1 < X < 2) (iv) P(0 < X < 2) (7M)
Ja
SOLUTION
z
(iii) P(0 < X < 2)
P(0 < X < 2) = P(X = 1) + P(X = 2)
aa
Aw
2 2
P(0 < X < 2) = +
9 3
𝟖
P(0 < X < 2) =
𝟗
ut
gr
0; otherwise
is probability density function (3M)
SOLUTION
X 1 2 3 4 5 6
P(X = x) 𝟏 𝟑 𝟓 𝟕 𝟗 𝟏𝟏
𝟑𝟔 𝟑𝟔 𝟑𝟔 𝟑𝟔 𝟑𝟔 𝟑𝟔
(i) Mean
z
Mean = µ = ∑ 𝒙 𝒑(𝒙)
1 3 5
aa
Mean = 1 ( ) + 2( ) + 3 ( ) + 4 ( ) + 5 ( ) + 6 ( )
7 9 11
36 36 36 36 36 36
Aw
161
Mean =
36
Mean = 4.47
ut
(ii) Variance
gr
Variance = σ2 = ∑ 𝒙𝟐 𝒑(𝒙) - µ2
Ja
1 3 5 7 9 11
Variance = 1 ( ) + 4( ) + 9 ( ) + 16 ( ) + 25 ( ) + 36 ( )- (4.47)2
36 36 36 36 36 36
791
Variance = - 19.98
36
Variance = 1.99
SOLUTION
z
x y dx dy
aa dx2 dy2 dx. dy
10 18 -3 -1 9 1 3
14 12 -2 -2 4 4 4
Aw
18 24 -1 0 1 0 0
22 6 0 -3 0 9 0
26 30 1 1 1 1 1
ut
30 36 2 2 4 4 4
gr
∑ 𝒅𝒙 = - 3
Ja
∑ 𝒅𝒚 = - 3
∑ 𝒅𝒙𝟐 = 19
∑ 𝒅𝒚𝟐 = 19
∑ 𝒅𝒙. 𝒅𝒚 = 12
∑ 𝒅𝒙.𝒅𝒚
∑ 𝒅𝒙.𝒅𝒚 −
𝒏
r= 𝟐 𝟐
√∑ 𝒅𝒙𝟐 − (∑ 𝒅𝒙) −√∑ 𝒅𝒚𝟐 − (∑ 𝒅𝒚)
𝒏 𝒏
(−3)(−3)
12 − 6
r= 2
(−3) (−3)2
√19− −√19−
6 6
r = 0.6
SOLUTION
z
(i) Let line x + 6y = 6 be line of regression of y on x aa
6y = - x + 6
Aw
1
y=- x+1
6
𝟏
byx = -
𝟔
ut
gr
2 10
x=- y+
3 3
𝟐
bxy = −
𝟑
r = √𝒃𝒚𝒙 𝒃𝒙𝒚
−1 −2
r = √( ) × ( )
6 3
1
r=
3
SOLUTION
N = ∑ 𝒇 = 125
∑ 𝒇𝒙 𝟓𝟎𝟎
µ= = =4
𝑵 𝟏𝟐𝟓
z
1 10 10 -3 -30 90 - 270 810
2
3
15
20
30
60
-2
-1
- 30
- 20
aa60
20
- 120
- 20
240
20
Aw
4 25 100 0 0 0 0 0
5 20 100 1 20 20 20 20
6 15 90 2 30 60 120 240
ut
7 10 70 3 30 90 270 810
8 5 40 4 20 80 320 1280
gr
SOLUTION
z
n=6
aa
Aw
x y y2 xy
23 5 25 115
43 6 36 258
ut
53 7 49 371
63 8 64 504
gr
73 9 81 657
Ja
83 10 100 830
∑ 𝒙 = 338 ∑ 𝒚 = 45 ∑ 𝒚𝟐 = 335 ∑ 𝒙𝒚 = 2735
∑𝒙 ∑𝒚
∑ 𝒙𝒚−
𝒏
bxy = 𝟐
(∑ 𝒚)
∑ 𝒚𝟐 −
𝒏
(338)(45)
2735−
6
bxy = (45)2
355−
6
bxy = 11.429
∑𝑥 338
𝑥̅ = = = 56.33
𝑛 6
∑𝑦 45
𝑦̅ = = =7.5
𝑛 6
Estimated performance if y = 11 is
x = 11.429 (11) – 29.3875
x = 96.3315
z
SOLUTION
aa
Aw
Null Hypothesis
Null Hypothesis is statement in hypothesis testing that assumes
there is no effect or no difference between groups or variables. It
ut
Alternate Hypothesis
Alternate Hypothesis is statement that directly contradicts null
hypothesis. It represents hypothesis that researcher aims to
support, suggesting that there is significant effect or difference
between groups or variables
SOLUTION
n = 960
𝟏
p = probability of throwing 5 with one die =
𝟔
𝟏 𝟓
q=1–p=1- =
𝟔 𝟔
𝟏
µ = np = 960 × ( ) = 160
𝟔
𝟏 𝟓
σ = √𝒏𝒑𝒒 = √𝟗𝟔𝟎 × × = 11.55
𝟔 𝟔
x = number of successes = 184
z
(i) Null Hypothesis H0 : Dice is unbiased
aa
Aw
𝑥−µ 184−160
(iv) Test Statistics : Z = = = 2.08
Ja
𝜎 11.55
|Z| = 2.08
(vi) Decision : Since |Z| < |Z0.01|, null hypothesis is accepted at 1% level of
significance i.e dice is unbiased
SOLUTION
z
aa
(ii) Alternative Hypothesis H1 : Data do not follow binomial distribution
Aw
(iii) Level of Significance : ∝ = 0.05
1
Probability of getting head : p =
2
gr
1
Probability of getting tail : q =
2
Ja
By binomial distribution
P(X) = nCx px qn-x
N = 320
5 1 𝑥 1 5−𝑥
P(X) = Cx ( ) ( ) , x = 0, 1, 2, 3, 4, 5
2 2
z
(vi) Decision : Since X2 > X20.05 at 5% level of significance, null hypothesis is
aa
rejected i.e data does not follow binomial distribution
Aw
OR
Q4 (A) : The heights of 10 males of given locality are found to be 175,
168, 155, 170, 175, 160, 160 & 165 cm. Based on this sample, find 95%
ut
SOLUTION
n = 10
̅ = 165
𝒙 From calculator
S = 7.6
v = n – 1 = 10 – 1 = 9
SOLUTION
n1 = 1000
n2 = 1200
z
S1 = 2.58 aa
S2 = 2.50
Aw
(vi) Decision : Since |Z| < |Z0.05|, null hypothesis is accepted at 5% level of
significance i.e there is no significance difference between standard
deviations
SOLUTION
P(X = 1) = P(X = 2)
𝑒 −𝜆 𝜆1 𝑒 −𝜆 𝜆2
= !
1! 2
2
λ = 2λ
z
λ2 - 2λ = 0 aa
λ=0 or λ = 2
Aw
Since λ ≠ 0
λ = Mean = 2
𝒆−𝟐 𝟐𝒙
Hence, P(X = x) = x = 0, 1, 2..
𝒙!
ut
gr
(ii) P(X = 4)
𝑒 −2 24
P(X = 4) =
Ja
4!
P(X = 4) = 0.9022
SOLUTION
Hence, n = 6
z
x y x2 aa xy
1 2.4 1 2.4
2 3 4 6
Aw
3 3.6 9 10.8
4 4 16 16
6 5 36 30
ut
8 6 64 48
gr
∑ 𝒙 = 24 ∑ 𝒚 = 24 ∑ 𝒙𝟐 = 130 ∑ 𝒙𝒚 = 113.2
Ja
SOLUTION
y = abx
Taking log on both sides
logey = logea + x logeb
z
∑ 𝒀 = nA + B∑ 𝑿 … (1) aa
∑ 𝒙𝒚 = a ∑ 𝒙 + b ∑ 𝒙𝟐 ….(2)
Aw
n=8
x y X Y X2 XY
ut
1 1 1 0.000 1 0.0000
gr
logea = A logeb = B
logea = - 0.3823 logeb = 0.3241
a = 0.6823 b = 1.3828
Q5 : (C) The lifetime of certain kind of batteries has mean life of 400
hours & standard deviation as 45 years. Assuming distribution of lifetime
to be normal find (i) percentage of batteries with lifetime at least 470
hours (ii) proportion of batteries with lifetime between 385 & 415 hours
& (iii) minimum life of best 5% of batteries (P(0 < z < 0.33) = 0.1293) (7M)
z
aa
SOLUTION
Aw
µ = 400, σ = 45
gr
𝒙−µ
Z=
𝝈
Ja
When X = 415
415−400
Z= = 0.33
45
z
= P(0 < Z < 0.33) + P(0 < Z < 0.33)
= 2P(0 < Z < 0.33)
aa
= 2(0.1293)
Aw
Hence, proportion of batteries with lifetime between 385 & 415 hour =
ut
25.86 %
gr
SOLUTION
µ = np = 8
σ2 = npq = 6
𝑛𝑝𝑞 6 3
= =
𝑛𝑝 8 4
3
q=
4
3 1
p=1–q=1- =
4 4
z
np = 8
1
n× =8
4
aa
n = 32
Aw
x = 0, 1, 2… 32
𝟒 𝟒
gr
SOLUTION
z
P(X = x) = nCx px qn-x
5
P(X = x) = Cx ( ) ( )
𝟏 𝒙 𝟏 𝟓−𝒙
aa
x = 0, 1, 2,3, 4, 5
𝟐 𝟐
Aw
2 2
5
P(X = 3) =
gr
16
Ja
SOLUTION
Let X = x – 5
Y = y – 10
z
The normal equations are aa
∑ 𝒀 = na + b ∑ 𝑿 + c ∑ 𝑿𝟐 ……… (1)
∑ 𝑿𝒀 = a ∑ 𝑿 + b ∑ 𝑿𝟐 + c ∑ 𝑿𝟑 ……… (2)
Aw
∑ 𝑿𝟐 𝒀 = a∑ 𝑿𝟐 + b∑ 𝑿𝟑 + ∑ 𝑿𝟒 ……….. (3)
X2 X3 X4 X2Y
ut
x y X Y XY
1 2 -4 -8 16 -64 256 32 -128
gr
2 6 -3 -4 9 -27 81 12 -36
3 7 -2 -3 4 -8 16 6 -12
Ja
4 8 -1 -2 1 -1 1 2 -2
5 10 0 0 0 0 0 0 0
6 11 1 1 1 1 1 1 1
7 11 2 1 4 8 16 2 4
8 10 3 0 9 27 81 0 0
9 9 4 -1 16 64 256 -4 -16
∑𝒙 = ∑𝒚 = ∑ 𝒙𝟐 = ∑ 𝒙𝟑 = ∑ 𝒙𝟒 = ∑𝒙𝒚 ∑ 𝒙𝟐 𝒚
0 -16 60 0 708 = 51 = -189
z
aa
Aw
ut
gr
Ja