Docsity

Math 183 Midterm Exam II Solutions: Probability Distributions and Estimation - Prof. Krist, Exams of Data Analysis & Statistical Methods

Toggle sidebar
bg1
Math 183 Midterm Exam II Solutions
1. The number of defective items produced at a given factory in a single day is a random variable Xwith pdf pX(k)given by
the table below:
k0 1 2 3
pX(k)1
12
1
2
1
4
1
6
(a) Find the average number of defective items produced at this factory in a given day.
(b) Find the variance of the number of defective items produced at this factory in a given day.
(c) Suppose that the base cost of running the factory is the fixed amount of $5000 per day. Additionally, each defective
item produced costs $200. What is the expected total cost per day to run the factory? Find also the standard deviation
of the daily total cost to run the factory.
Solution:
(a) E [X] =
3
X
k=0
k·pX(k)=0·1
12 + 1 ·1
2+ 2 ·1
4+ 3 ·1
6=1
2+1
2+1
2=3
2.
(b) First we compute
EX2=
3
X
k=0
k2·pX(k)=0·1
12 + 1 ·1
2+ 4 ·1
4+ 9 ·1
6=1
2+1+3
2= 3.
So
Var(X)=EX2−E [X]2= 3 −9
4=3
4.
(c) The total cost per day to run the factory is given by 5000 + 200X. So
E [5000 + 200X] = 5000 + 200E [X] = 5000 + 200 ·3
2= $5300
Var(5000 + 200X) = 2002Var(X) = 2002·3
4
and the standard deviation is given by p2002(3/4) = 10√3.
2. Let the random variables Xand Yhave the joint pdf
fX,Y (x, y) = 3
2(4x2y3+ 3x2y2),for 0≤x≤1,0≤y≤1.
(a) Find P(X > Y ).
(b) Are the random variables Xand Yindependent? Justify your answer.
(c) Find the marginal pdfs fX(x)and fY(y).
Solution:
(a) We have
P(X > Y ) = Z1
0Zx
0
3
2(4x2y3+ 3x2y2)dydx =Z1
0
3
2x2(y4+y3)
x
0
dx =3
2Z1
0
x2(x4+x3)dx
=3
2Z1
0
(x6+x5)dx =3
2x7
7+x6
6
1
0
=3
21
7+1
6=13
28.
(b) Yes, Xand Yare independent since their joint pdf can be written as the product of functions g(x)and h(y)given by
g(x) = 3
2x2and h(y)=4y3+ 3y2.
pf3

Partial preview of the text

Download Math 183 Midterm Exam II Solutions: Probability Distributions and Estimation - Prof. Krist and more Exams Data Analysis & Statistical Methods in PDF only on Docsity!

Math 183 Midterm Exam II Solutions

  1. The number of defective items produced at a given factory in a single day is a random variable X with pdf pX (k) given by the table below:

k 0 1 2 3 pX (k) (^121121416)

(a) Find the average number of defective items produced at this factory in a given day. (b) Find the variance of the number of defective items produced at this factory in a given day. (c) Suppose that the base cost of running the factory is the fixed amount of $5000 per day. Additionally, each defective item produced costs $200. What is the expected total cost per day to run the factory? Find also the standard deviation of the daily total cost to run the factory.

Solution:

(a) E [X] =

∑^3

k=

k · pX (k) = 0 ·

12 + 1^ ·^

2 + 2^ ·^

4 + 3^ ·^

(b) First we compute

E

[

X^2

]

∑^3

k=

k^2 · pX (k) = 0 · 1 12

=^1

+ 1 +^3

So Var (X) = E

[

X^2

]

− E [X]^2 = 3 −

(c) The total cost per day to run the factory is given by 5000 + 200X. So

E [5000 + 200X] = 5000 + 200E [X] = 5000 + 200 · 3 2

Var (5000 + 200X) = 2002 Var (X) = 200^2 · 3 4

and the standard deviation is given by

  1. Let the random variables X and Y have the joint pdf

fX,Y (x, y) =

(4x^2 y^3 + 3x^2 y^2 ), for 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1.

(a) Find P (X > Y ). (b) Are the random variables X and Y independent? Justify your answer. (c) Find the marginal pdfs fX (x) and fY (y). Solution:

(a) We have

P (X > Y ) =

0

∫ (^) x

0

(4x^2 y^3 + 3x^2 y^2 )dydx =

0

x^2 (y^4 + y^3 )

x

0

dx =

0

x^2 (x^4 + x^3 )dx

0

(x^6 + x^5 )dx =

x^7 7

x^6 6

1

0

(b) Yes, X and Y are independent since their joint pdf can be written as the product of functions g(x) and h(y) given by

g(x) =

2 x

(^2) and h(y) = 4y (^3) + 3y (^2).

(c) We know there is a constant k such that fX (x) = k · g(x) and fY (y) = (1/k) · h(y). To find k we use the fact that fX (x) must be a pdf:

0

fX (x)dx =

0

k · g(x)dx = k

0

x^2 dx = k

x^3 3

1

0

k 2

So, k = 2. Therefore,

fX (x) = 3 x^2 for 0 ≤ x ≤ 1 , fY (y) = 1 2

(4y^3 + 3y^2 ) for 0 ≤ y ≤ 1.

Alternatively, we can derive the marginal pdfs directly:

fX (x) =

0

2 x

(^2) (4y (^3) + 3y (^2) )dy =^3 2 x

(^2) (y (^4) + y (^3) )

1

0

= 3x^2 , for 0 ≤ x ≤ 1 ,

fY (y) =

0

x^2 (4y^3 + 3y^2 )dx =

(y^4 + y^3 )

x^3 3

1

0

(4y^3 + 3y^2 ), for 0 ≤ y ≤ 1.

  1. A chromosome mutation linked with colorblindness is known to occur, on the average, once in every 10,000 births.

(a) Using a Poisson distribution, approximate the probability that less than 3 of the next 20,000 babies born will have the mutation. You do not have to simplify your answer. (b) Using the standard normal curve, approximate the probability that the number of babies out of the next 20,000 born with the mutation will be between 5 and 10. You do not have to simplify your answer.

Solution: First, note that if X is the number of babies out of the next 20,000 born that have the mutation, then X ∼ Binomial with n = 20, 000 and p = 1/ 10 , 000.

(a) We the Poisson distribution with λ = np = 20, 000(1/ 10 , 000) = 2 to approximate the desired probability:

P (X < 3) = pX (0) + pX (1) + pX (2) ≈ e−^2

0! +^ e

1! +^ e

2! = 5e

(b) If Z ∼ N (0, 1), then

P (5 ≤ X ≤ 10) = P

√^5 −^ np np(1 − p)

√X^ −^ np np(1 − p)

√^10 −^ np np(1 − p)

= P

√^5 −^2

√ X^ −^2

√^10 −^2

≈ P

√^3

≤ Z ≤ √^8

  1. For the random variables below, determine if its distribution should be approximately normal. Justify your answers.

(a) X is the number of traffic accidents that occur in one hour at a given intersection. (b) X is the sum of the incomes of 50 randomly chosen U.S. adults. (c) X is the number of times you have to stop for a red light at a given intersection if you approach it 100 times.

Solution:

(a) No, X most likely has a Poisson distribution. (b) Yes, by the Central Limit Theorem. (c) Yes, X is a binomial random variable with n large.