Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Homework 2
Last Name: First Name:
Directions: Please type in your answer in bold font. For the questions which require using formula
to calculate, please show your calculations.
1. (Ch.2) The following table gives the joint probability distribution between employment status
and college graduation among those either employed or looking for work (unemployed) in the
working age US population, based on 2008 Census data.
a. This table shows joint probability distribution and marginal probability distribution. Write
down the joint probabilities (e.g. Pr(X=0, Y=0) = 0.037) and the marginal probabilities (e.g.
Pr(X=0) = 0.659).
Answer:
e. A randomly selected member of this population reports being unemployed. What is the
probability that this worker is a college graduate? A non-college graduate?
Answer:
1
2. (Ch. 2) X and Y are discrete random variables with the following joint distribution:
Probability
Value of Y
Distribution of X
14 22 30 40 65
1 0.02 0.05 0.1 0.03 0.01 .21
Value
5 0.17 0.15 0.05 0.02 0.01 .4
of X
8 0.02 0.03 0.15 0.1 0.09 .39
Probability
distribution of .21 .23 .3 .15 .11 .1
Y
That is Pr(X=1, y=14) = 0.02, and so forth.
a. Calculate the probability distribution by filling out the blank cells in above table.
Answer:
Y P(Y) YP(Y) Y^2*P(Y)
14 0.21 2.94 41.16
22 0.23 5.06 111.32
30 0.3 9 270
40 0.15 6 240
65 0.11 7.15 464.75
Total 30.15 1127.23
2
b. Calculate mean and variance of Y.
Answer:
E(Y)=yiP(Y=yj)
E(Y)=14*.21+22*.23+30*.3+40*.15+65*.11=30.15
E(Y)= yP(y)=30.15
Var(Y)= y^2 P(y) [ yP(y)]^2 = 1127.33-30.15^2= 218.2075
c. Calculate the probability distribution of Y given X = 8 by filling out blank cells in below
table.
Value of Y
14 22 30 40 65
Pr(Y|X=8) .02 .03 .15 .1 .09
P(Y=yX=8
.051 .076 .384 .256 .230
P(Y=y,X=8/P(X=8)
Total = 1
E(Y=y,X=8)=39.205.1
Var(Y=y,X=8)=y2P(Y=y,X=8)[yP(Y=y,X=8)]2=241.6502301
E(XY)=171.7
Cov(X,Y)= E(XY)-E(X)E(Y)=171.7-5.33*30.15=11.0005