0% found this document useful (0 votes)
21 views5 pages

Statistics and Probability For Engineers STAT2171 Worksheet II

This document is a worksheet for a course on Probability and Statistics for Engineers at Addis Ababa University. It contains a series of problems related to discrete and continuous random variables, joint probability mass functions, and various statistical concepts. The problems require students to compute probabilities, expected values, and marginal distributions based on given probability functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views5 pages

Statistics and Probability For Engineers STAT2171 Worksheet II

This document is a worksheet for a course on Probability and Statistics for Engineers at Addis Ababa University. It contains a series of problems related to discrete and continuous random variables, joint probability mass functions, and various statistical concepts. The problems require students to compute probabilities, expected values, and marginal distributions based on given probability functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Addis Ababa University

College of Natural and Computational Sciences


Department of Statistics
Probability and Statistics for Engineers (Stat2171): Worksheet/Assignment 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

0 0.15 0.1 0.1 0.1

1 0.05 0.1 0.14 0.13

2 0.01 0.04 0.04 0.04

Find the marginal probability mass functions for X and Y.


11. The joint pdf of X and Y is given by
𝑘𝑥𝑦 2 ; 0 ≤ 𝑥 ≤ 𝑦 ≤ 1.
𝑓(𝑥, 𝑦) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
(a) Find the value of the constant k.
(b) Find the marginal pdfs of X and Y.
(c) Calculate P(X + Y < 1), P(2X < Y), and P(X = Y).
12. For the joint pmf of two random variables X and Y given below:
X Y 1 2 3

1 3/12 4/12 2/12

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

Let Y = X2. Evaluate E(Y):


(a) directly without first obtaining the pdf of Y, (b) By first obtaining the pdf of Y.
20. Suppose that X and Y are independent random variables with the following pdf's:
𝑓(𝑥) = 8⁄𝑥 3 , 𝑥 > 2; 𝑔(𝑦) = 2𝑦, 0 < 𝑦 < 1
(a) Find the pdf of Z = XY.
(b) Obtain E(Z) in two ways: (i) using the pdf of Z as obtained in (a).
(ii) Directly, without using the pdf of Z.
21. A coin is tossed three times. Let X be the number of heads. Find
a. The mean and variance of X. b. The probability of getting at least one head.
22. If a set of marks on mathematics examination are normally distributed with a mean of 75 and variance of
6.25, then what is the probability that the marks of the students will take a value:
a. Greater than 73.4? c. Between 67.95 and 71.9?
b. Between 78.6 and 80.6?
23. Two dice are rolled. Let 𝑋 be a random variable denoting the sum of the numbers on the
two dice.
a. Find the mean and variance of 𝑋.
b. Find the mean and variance of 𝑌 = 2𝑋 + 1.
24. A soft drink machine is regulated so that it discharges an average of 200 milliliters per
cup. If the amount of a drink is normally distributed with a standard deviation equal to 15
milliliters
b) What fraction of the cups will contain more than 224 milliliters?
c) What is the probability that a cup contains between 191 and 209 milliliters?
d) How many cups over will probably overflow if 230 ml cups are used for the next 100
drinks?
e) Below what value do we get the smallest 25% of the drinks?
25. The scores for a mathematics course seem to be normally distributed with mean 70 &
standard deviation of 8. If the instructor wishes to give an A grade to 10% of the students,
what should be the dividing line between an A grade and a B grade?
26. A fair die is tossed 72 times. Given that X is the number of times six appears, evaluate
E(X2).
27. Suppose that the two-dimensional random variable (X, Y) has pdf given by
𝑘𝑒 −𝑦 , 0<𝑥<𝑦<1
𝑓(𝑥, 𝑦) = {
0 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
Find the correlation coefficient 𝜌𝑥𝑦 ·
28. If X has a Poisson distribution with parameter λ, and if P(X = 0) = 0.2, evaluate P(X > 2).
29. Suppose that the probability that an item produced by a particular machine is defective
equals 0.2. If 10 items produced from this machine are selected at random, what is the
probability that not more than one defective is found?
30. Suppose that X has a Poisson distribution. If
2
𝑃(𝑋 = 2) = 𝑃(𝑋 = 1),
3
Evaluate P(X = 0) and P(X = 3).
31. Suppose that the bank customers arrive randomly and independently on an average of 3.2
customers every 4 minutes. What is the probability that:
a. Exactly two customers arrive in every 4 minutes?
b. Exactly two customers will arrive in every 8 minutes interval?
c. One or more customers will arrive in every 12 minutes?
32. A random variable X has a uniform distribution over (− 3, 3) , Then compute:
𝑎). 𝑃(𝑋 > 2) 𝑏). 𝑃(|𝑋| < 2) 𝑐). 𝑃(𝑋 > −1 𝑎𝑛𝑑 𝑋 < 2 𝑑). 𝑃(𝑋 < 1 𝑜𝑟 𝑋 > 2).
33. A normal distribution has mean 62.4, find its standard deviation if 20.05% of the area
under the normal curve lies to the right of 72.9.
34. A random variable has a normal distribution with standard deviation 5. Find it’s mean if
the probability that the random variable will assume a value less than 52.5 is 0.6915.

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

a. Find the moment generating function of the random variable X.


b. If P( X  1) = P( X  1) , find variance of X.
c. Find the rth moment of the random variable X about the origin.
38. Suppose that the joint pdf of the two-dimensional random variable (X, Y) is given by
 2 xy
x +
f ( x, y ) =  3 0  x  1,0  y  2
0
eleswhere
a. Find the marginal pdf of X.
b. Find the marginal pdf of Y.
c. Find the conditional pdf of Y given X.
 1
P X  
d.  2
e. P(Y  X )
 1 1
P Y  | X  
f.  2 2
g. Find the mean and variance of X.
h. Find conditional expectation of X given Y (i.e., E(X/Y)).
i. Find the correlation coefficient of X and Y.
j. Are X and Y independent?

Note concerning group assignment:


Group formation: you can form groups with not more than 7 students.
Assignment Questions: 3, 4, 5, 7, 11, 12, 13, 31, 33, 35, 37, 38.
Due Date: before you sit for final exam.
5

You might also like