Statistics and Probability For Engineers STAT2171 Worksheet II
Statistics and Probability For Engineers STAT2171 Worksheet II
1. If the discrete random variable 𝑋 is given with the following 𝑝𝑚𝑓 𝑜𝑓 𝑝(𝑥) = 𝑓(𝑥),
X 1 2 4 6
P(x) 1/3 1/6 1/4 1/4
Then find the 𝑝𝑚𝑓 𝑜𝑓 𝑦 = 2𝑥 + 1.
2. Suppose that 𝑋 is uniformly distributed over(−1,1). Then given the pdf of x find the density function of
1⁄ , −1 ≤ 𝑥 ≤ 1
𝑓(𝑥) = { 2
0 , 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
3
a) 𝑌 = 3𝑥 + 5 c) 𝑌 = (𝑥+1)2 d) Y = 4 − x 2
b) 𝑌 = 𝑥 3
3. If 𝑋 be the random variable with 𝑝𝑚𝑓 given by:
X -2 -1 0 1 2
P(x) 1/5 1/6 1/5 1/15 11/30
Then find the 𝑝𝑚𝑓 𝑜𝑓 𝑦 = 𝑥 2 .
4. If 𝑋 be the random variable with 𝑝𝑑𝑓 given by:
3
𝑓(𝑥) = 2 𝑥 2 ; −1 ≤ 𝑥 ≤ 1.
Then find the 𝑝𝑑𝑓 𝑜𝑓 𝑦 = 3 − 𝑥 and 𝑦 = 𝑥 2
5. Xavier and Yvette are two real estate agents. Let X and Y denote the number of houses that Xavier and
Yvette will sell next week, respectively. Suppose that there are only four houses for sale next week. The
joint probability mass function 𝑃(𝑥𝑖 , 𝑦𝑗 ) is given by:
Y X 0 1 2
0 0.12 0.42 0.06
1 0.21 0.06 0.03
2 0.07 0.02 0.01
Find: 𝑎). 𝑃(𝑋 ≤ 1, 𝑌 = 2) 𝑏). 𝑃(𝑋 = 1) 𝑐). 𝑃(𝑌 = 2) 𝑑). 𝑃(𝑌 ≥ 1) 𝑒). 𝑃(𝑋 ≥ 1, 𝑌 ≥ 1).
6. The joint pdf of random variables X and Y is given by:
𝑓(𝑥, 𝑦) = 2𝑒 −𝑥 𝑒 −2𝑦 ; 0 < 𝑥 < ∞, 0 < 𝑦 < ∞.
Compute (𝑎). 𝑃{𝑋 > 1, 𝑌 < 1} 𝑎𝑛𝑑 (𝑏). 𝑃{𝑋 < 𝑌}.
7. Suppose that the joint pdf of the two-dimensional random variable (X, Y) is given by
𝑥𝑦
𝑥2 + , 0 < 𝑥 < 1, 0<𝑦<2
𝑓(𝑥, 𝑦) = { 3
0 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
Compute the following.
(a) P(X >1/2) (b) P(Y < X) (c) 𝑃( 𝑌 < 1/2 |𝑋 < 1/2 ).
8. A candy company distributes boxes of chocolates with a mixture of creams, coffees, and nuts coated in
both light and dark chocolate. For a randomly selected box, let X and Y, respectively, be the proportions
of the light and dark chocolates that are creams and suppose that the joint density function is given by:
(2/5) (2𝑥 + 3𝑦) ; 0 ≤ 𝑥 ≤ 1 , 0 ≤ 𝑦 ≤ 1.
𝑓(𝑥, 𝑦) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
a. Find 𝑃[(𝑋, 𝑌) ∈ 𝐴], 𝐴 is the region 𝐴 = {(𝑥, 𝑦)|0 < 𝑥 < ½, ¼ < 𝑦 < ½ }.
b. Find 𝑃[(𝑋, 𝑌) ∈ 𝐵], 𝐵 is the region 𝐵 = {(𝑥, 𝑦) | 0 < 𝑥 < 𝑦 < 1 }.
9. Suppose that a pair of random variables, X and Y have the same joint probability density function given
by:
𝑥 (1 − 𝑦) ; 0 ≤ 𝑥 ≤ 2 , 0 ≤ 𝑦 ≤ 1.
𝑓(𝑥, 𝑦) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
Then find the marginal probability density functions for X and Y.
10. Quality audit records are kept on numbers of major and minor failures of circuit packs during-in of large
electronic switching devices. They indicate that for a device of this type, the random variables X (the
number of major failures) and Y (the number of minor failures) can be described at least approximately
by the accompanying joint distribution.
X Y 0 1 2 3
2 1/12 2/12 0
Find the conditional probability mass function of 𝑋 𝑔𝑖𝑣𝑒𝑛 𝑡ℎ𝑒 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑌 = 1 and that of
𝑌 𝑔𝑖𝑣𝑒𝑛 𝑡ℎ𝑒 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑋 = 2.
13. Let the joint pdf be given by:
12
𝑓(𝑥, 𝑦) = { 5 𝑥(2 − 𝑥 − 𝑦) ; 0≤𝑥≤1 , 0 ≤ 𝑦 ≤ 1.
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
(a) Compute the conditional pdf of X given Y=y.
(b) Compute the conditional pdf of X given Y=1/2.
(c) Calculate P(X > 1/3 | Y = 1/2).
14. Suppose that the joint pdf of (X, Y) is given by
𝑒 −𝑦 , 𝑓𝑜𝑟 𝑥 > 0, 𝑦 > 𝑥
𝑓(𝑥, 𝑦) = {
0 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
.
(a) Find the marginal pdf of X.
(b) Find the marginal pdf of Y.
(c) Evaluate 𝑃( 𝑋 > 2| 𝑌 < 4).
15. Let the joint pdf of X and Y is given by
𝑥𝑦
; 1≤𝑥≤3 , 1 ≤ 𝑦 ≤ 3.
𝑓(𝑥, 𝑦) = { 16
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
a) Show that the random variable X and Y are independent.
b) Compute the 𝑃(𝑋 ≥ 𝑌 + 1/2).
16. From a lot containing 25 items, 5 of which are defective, 4 are chosen at random. Let X be the number
of defectives found. Find E(X).
17. Suppose that X is uniformly distributed over (1, 3). Find the expected values of the following r.vs
(a) Y = 3X + 4 (b) 𝑍 = 𝑒 𝑥
18. Suppose that the joint pdf of (X, Y) is given by
𝑒 −𝑦 , 𝑥 > 0, 𝑦>𝑥
𝑓(𝑥, 𝑦) = {
0 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
Find 𝐸(𝑋 |𝑦) and 𝐸(𝑌 |𝑥).
19. Suppose that the continuous random variable X has pdf
2
𝑓(𝑥) = 2𝑥𝑒 −𝑥 , 𝑥 ≥ 0
35. Suppose that X is a discrete random variable with possible value 0, 1, 2, … and such that
its probability mass function is defined as
e − x x = 0,1,2,...
P( X = X ) = x!
0
eleswhere
a. Find the moment generating function of a random variable X.
b. Find the average and the variance of a random variable X.
c. If Y = 3X + 5
i. Find the moment generating function (MGF) of Y.
ii. Find the mean and variance of Y.
d. Let a random variable X be the number of phone calls received at a real estate firm
per hour with hypothesized mean of 6. Suppose that the secretary takes a 30 minutes
lunch break. What is the probability that no calls will be received in this time?
36. The probability density function of a random variable X is given by
4
1 0 x 20
P( X = X ) = 20
0 eleswhere
Find
a. P(0 X 5) c. Variance of X
b. E(X)
d. Find the mean and variance of Y, if Y = cX + d where c and d are constants.
37. Suppose X is a continuous random variable with probability density function defined as
e − x 0 and 0 x
P( X = X ) =
0 eleswhere