STATS GP1 Assessment2
STATS GP1 Assessment2
STATS GP1 Assessment2
Group 1
Group members:
NUR AININ SOFIYA
01 BT OMAR 02 PUTERI FARA ALIA BT
AHMAD ZAINUDDIN
2020842694 2020468886
We are given 5 question in this assessment.
And now, we will show you how to solve for each of these question.
b) All the letters of the word “ALTRUISM” are each written on a card and the cards
are then shuffled and placed in a line.
i. In how many ways can the cards be arranged?
ii. Three letters are chosen at random. Calculate the probability that at most two
letters chosen are consonants.
SOLUTION
21consonants –r=2c
∴ nCr = 21C2 x 5C2
n=26 = 210 x 10
= 2100
5 vowels –r=2v
SOLUTION
A L T R U I S M n=8
A-1
L-1
T-1
∴ 8! = 40320
R-1
U-1
I-1
S-1
M-1
SOLUTION
n=8
r=3 , ≥2 consonants; 0,1,2 ∴
ML-6
P(C) = 42/89
P(O) = 50/89
(M)
P(T | M) = P(T∩M)
P(M)
∴ P(T | M) = 0.118/0.270
= 0.437
Question 3
A hospital has developed a test to discover whether newborn babies have a certain type
of mental disorder. From the past records, doctors knew the probability that a baby has
this disorder is 0.003. If the baby does have disorder, the test will be positive 98% of
the time. If a baby does not have the disorder, the test will be negative 99% of the time.
A newborn baby is selected at random.
P 0.98
D ;info
3 0.02
0. 00N
D –Have disorder
Newborn D’ –Doesn’t have disorder
P –Positive
0.9
97P 0. 0 1 N –Negative
D’
N 0.99
SOLUTION
P(D | P) = P(D∩P)
P(P)
∴ P(D | P) = 0.00294/0.01291
= 0.2277
Question 4
A biased die with five faces is rolled. The discrete random variable Y represents the
score which is uppermost. The probability distribution of random variable Y is shown in
the table below.
Σf(y) = 1
∴ k+k+2k+(1/10)+(1/10) = 1
4k+(1/5) = 1
4k = 4/5
k = 1/5
mean:
SOLUTION variance:
S.D:
Y 1 2 3 4 5
f(y) 1/10 1/10 2/5 1/5 1/5
Mean:
E(Y) = (1)(1/10) + (2)(1/10) + (3)(2/5) + (4)(1/5) + (5)(1/5)
= 1/10 + 1/5 + 6/5 + 4/5 +1
= 3.3
Standard deviation:
E(Y²) = (1²)(1/10) + (2²)(1/10) + (3²)(2/5) + (4²)(1/5) + (5²)(1/5)
= 1/10 + 2/5 + 18/5 + 16/5 + 5
= 12.3
V(Y) = E(Y²) – [E(Y)]²
= 12.3 – (3.3)²
= 1.41
∴ SD = √1.41
= 1.19
SOLUTION
{
1/10 ; 1 ≤ y ≤ 2
1/5 ; 2 ≤ y ≤ 3
Y 1 2 3 4 5 F(y) 3/5 ; 3 ≤ y ≤ 4
4/5 ; 4 ≤ y ≤ 5
f(y) 1/10 1/10 2/5 1/5 1/5 1 ;y≥5
F(y) 1/10 1/5 3/5 4/5 1
P(Y ≤ 3) = F(3)
*must equal to 1
= 3/5
Question 5
Let the random variable Z represents the weekly demand for soft drinks, in thousand
litres, a certain mart in Sandakan. The probability density function of random variable
Z is shown below.
a) Find the distribution, F(z). Hence, find probability of the weekly demands for soft
drinks are between 200 litres to 600 litres.
b) Calculate E(5Z²-Z+3)
SOLUTION
SOLUTION
Yeay!
End of question
THANK YOU
aininsofiayomar@gmail.com
puterifara.alia@gmail.com