ST2334 Midterm Test 2022-2023 Sem 1 Solution
ST2334 Midterm Test 2022-2023 Sem 1 Solution
S EMESTER I, AY 2022/2023
• The format of the exam is open book (hard copies or/and soft copies physically stored on
the laptop for exam are allowed), onsite through exam software: Exemplify. A laptop
with the software installed and solid battery that can last for at least 1.5 hours is needed.
• Coverage:
1
1. Multiple Responses Question: Choose all that apply.
Consider the sample space S = {1, 2, 3, 4, 5, 6, 7, 8}, and events A = {1, 3, 5, 7}, B = {4, 5, 6, 7}.
Which of the following is/are true?
(a) A ∩ B = {1, 5, 7}
(b) A ∪ B = {1, 3, 4, 5, 6, 7}
(c) A ∪ B′ = {1, 2, 3, 5, 7, 8}
(d) A′ ∩ B = {4, 6}
S OLUTION
Answer: (b), (c), (d).
2. TRUE/FALSE
Let A and B be any two events. We must have P(A) + P(B) ≥ P(A ∪ B).
TRUE FALSE
S OLUTION
Answer: TRUE
S OLUTION
Answer: (c).
(a) If A and B are independent, then A and B are not mutually exclusive.
(b) If A and B are mutually exclusive, then A and B are not independent.
(c) If B ⊂ A, then A and B are not independent.
(d) Events A and A ∪ B must not be independent.
S OLUTION
Answer: (d).
5. TRUE/FALSE
Sample space depends on the problem of interest. So, even for the same statistical experi-
ment, the sample space could be changed if our interest is changed.
2
TRUE FALSE
S OLUTION
Answer: TRUE
6. Fill in the blank
Consider the digits 0,1,2,3,4,5, and 6. If each digit can be used at most once, how many
3-digit numbers, which are equal to or greater than 301, can be formed?
Answer:
S OLUTION
(a) 2/3
(b) 4/5
(c) 5/6
(d) 1/2
S OLUTION
Define events
E = {Easy question was drawn}
C = {student answered correctly and passed the exam}
3
26
• The total number of samples: = 2600.
3
21
• Without vowel: = 1330.
3
9. TRUE/FALSE
Let A and B be two events. If P(A) ≤ P(B), then A ⊂ B.
TRUE FALSE
S OLUTION
Answer: FALSE.
S OLUTION
(a), (b), (c), (d).
Find P(A|B).
Answer:
S OLUTION
3 1 1
P(B′ ∩ A) = P(B′ |A)P(A) = × = ,
4 3 4
1 1 1
P(B ∩ A) = P(A) − P(B′ ∩ A) = − = ,
3 4 12
P(B ∩ A) 1/12
P(A|B) = = = 0.25.
P(B) 1/3
4
12. Fill in the blank
Suppose that A and B are independent events; P(A) = 0.6 and P(B) = 0.5. Then P(A∪B) =?
Answer:
S OLUTION
(a) 1/4
(b) 1/8
(c) 1/16
(d) 1/32
S OLUTION
There are 8 × 8 possible picked results in total, in which 4 satisfy the requirement that
their picked numbers are equivalent, namely (1, 1), (2, 2), (3, 3), (4, 4). So the probability is
4/64 = 1/16.
14. TRUE/FALSE
Let A and B be any events. We must have P(A) > P(A ∩ B).
TRUE FALSE
S OLUTION
Answer: FALSE.
15. TRUE/FALSE
Let X be an arbitrary random variable. For any real numbers a < b, the events {X < a} and
{X ≥ b} are mutually exclusive.
TRUE FALSE
S OLUTION
Answer: TRUE.
16. Fill in the blank
Suppose that random variable X has the cumulative distribution function given by
0, x<0
3
x
F(x) = , 0≤x≤3
27
1, x>3
5
Compute P(X = 2).
Answer:
S OLUTION
From the c.d.f., it is a continuous random variable. Therefore P(X = 2) = 0.
Compute E(X).
Answer:
S OLUTION
X is a discrete RV, whose p.m.f. is given by f (x) = 0.2, 0.3, 0.2, 0.3, for x = 0, 2, 3, 5.
S OLUTION
(c) is impossible, since F(x) = P(X ≤ x), and 1 − P(X ≥ x) = P(X < x). So no matter what
is the value of x, we must have F(x) ≥ 1 − P(X ≥ x).
1.5x2 −1 ≤ x ≤ 1
(a) f (x) =
0 elsewhere
1 − 1.5x2 −1 ≤ x ≤ 1
(b) f (x) =
0 elsewhere
2
2x 0 ≤ x ≤ 1
(c) f (x) =
0 elsewhere
6
3x2 0 ≤ x ≤ 1
(d) f (x) =
0 elsewhere
S OLUTION
(a), (d)