You are on page 1of 3

SPRING 2014 STAT 380 - HW 2 ANSWERS TO

SELECTED PROBLEMS
-10 pts for any missing or not finished problem
Chapter 3: Read Ch 3.1-3.4 and the lecture notes
1. Solve 3.1
2. Solve 3.4
3. Solve 3.5

a) f(0)=4c, f(1)=5c, f(2)=8c, f(3)=13c; since the sum of


probabilities over all possible outcomes is 1, 4c+5c+8c+13c=1,
solve it for c to obtain c=1/30
b) Similarly to a), c=1/10
4. Solve 3.9
5. Solve 3.18
6. Solve 3.50
f(x,y)
Y=1
Y=3
Y=5
g(x)

X=2
0.10
0.20
0.10
0.40

X=4
0.15
0.30
0.15
0.60

h(y)
0.25
0.50
0.25
Check=1

The marginal distribution of X is given by g(x) and the marginal


distribution of Y is given by h(y)
Chapter 4: Read Chapters 4.1-4.2
7. Solve 4.5

8. Solve 4.10
Find the marginal distributions first, then
EX=1(0.17)+2(0.5)+3(0.33)=2.16 and EY=1(0.23)+2(0.5)+3(0.27)=2.04.
9. Solve 4.14 Not Graded
10. Solve 4.34 First find VAR( X) = E(X2) - [E(X)]2
11. Solve 4.50
EX=1/3, EX2=1/6, VarX=1/6-1/9=1/18 so S.D.=0.236
12. Given two random variables, X and Y, with the following joint
distribution

x
0
1
2
h(y)

y
0 1 2
.1 .2 .1
.2 .2 .1
.1 0 0
0.4 0.4 0.2

g(x)
0.4
0.5
0.1
Check=1

b) EX = 0(0.4)+1(0.5)+2(0.1) = 0.7 and EY = 0.8


VarX = [0(0.4)+1(0.5)+4(0.1)]-0.49 = 0.41
VarY = [0(0.4)+1(0.4)+4(0.2)]-0.64 = 0.56
c)
XY=0
XY=1
XY=2
XY=4
0.1+0.2+0.1+0.2+0.1=0.7
0.2
0.1+0=0.1
0.0

E(XY) = 0(0.7)+1(0.2)+2(0.1)+4(0.0) = 0.4

d) Find the probability distribution of X given Y = 2


x

g(x)

h(y)

P(X|Y=2)

0
1
2
Check

0.40
0.50
0.10
1

0
1
2

0.40
0.40
0.20
1

0.1/0.2=0.5
0.1/0.2=0.5
0.0/0.2=0.0
1

-4pts if expectation or another measure is obtained instead of


the correct distribution!!!
e) E(X| Y = 2) =0.5
E(X| Y=0) = Not Graded
f) Cov(X, Y) = E(XY)-(EX)(EY) = 0.4- (0.7)(0.8) = -0.16
g) Find correlation of X and Y:
Corr(X, Y) = -0.16/(0.64*0.75) = -0.33
Are X and Y highly correlated? _NO_ Is there a positive or a
negative association between the data? __Negative_____
i) E(14X) = 14(0.7) = 9.8

Var(14X) = 196(0.41) = 80.36

E(-120X-100) = -184

Var(-120X-100) = 5904

E(300)= 300

Var(300) = 0

-2pts for each incorrect or general answer, such as


E(14X) = 14(EX)

You might also like