HW: Conditional probability distributions
and Expectation: Ash 8.1 covers conditional for continuous
only. Does a good job.
Finish HW on Day 36. Try all, bring questions.
Also: Go through the writeups below for f(x,y) =
x+y, 0<x<1, 0<y<1.,
f(x,y) = 2e-x-y , y>x, x>0, checking my
work. Slice the DPGraph pictures and check on the
plausibility of the conditional formulas.
f(x,y) = 2e-x-y , y>x, x>0,
I'll go over in class, the rest. See if you can do it ahead of me, so
mine will be reinforcement.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Conditional distributions:
E(Y|xo) : The "Average"
of the y-column at xo .
Continuous density: same formulas as discrete,
integration instead of sums.
Think of slicing through the
joint density at xo--look at f(xo,y)--the slice.
The conditional density fY|x(y|xo)
has the shape of the slice, but the slice may not have area 1.
If we divide
by fX(xo), it will. So fY|x(y|xo)
= f(xo, y)/fX(xo)
Watch out for regions of positive density: y-region may depend on xo.
Details, Day 36.
New DPGraph models, for the following:
(in "Conditionals"
folder, in "For 300 class" folder. Copy whole"For 300 class"
folder; added/improved)
See
DPGraph pictures--slicing x will give shape of
conditional
density given x. Must divide by fX(x) to
get area = 1.
f(x,y) = x(1+y)/2, 0<x<1, 0<y<2. fX(x)
= 2x, 0<x<1. fY(y) = (1+y)/4, 0<y<2.
Independent, so conditionals = marginals.
f(x,y) = x+y, 0<x<1, 0<y<1. fX(x)
=
x + 1/2, 0<x<1
Symmetric in x and y so only need to do one conditional.
fY|x(y|xo)
= (xo+y)/(xo + 1/2), 0<y<1, 0<xo<1. Note it's
linear in y, with slope 1/(xo +
1/2)
E(Y|x) = (3x+2)/(6x+3)
Note it's not linear in x!
Look at DPGraph; also Excel graph of E(Y|x)
f(x,y) = 2e-x-y , y>x, x>0.
fX(x) = 2e-2x , x>0.
fY(y) = 2e-y(1-e-y),
y>0
Caution: if support of f(x,y) isn't
rectangular, you have to keep track of possible values of x and y in
conditionals.
fX|y(x|y) = e-x/(1-e-y) , 0<x <y,
for y >0 Make it clearer (?) by
making all the y's into yo's
Pick up here Wed.
fY|x(y|x) = ex-y
, x<y<oo, for each xo
>0, an "exponential" (lambda=1) with starting point xo.
(xo-y) = -(y-xo). y-xo is time after starting point xo,
where "real" times are xo and y.)
E(Y|x) = xSooyex-ydy
=exxSooye-ydy
{integrate by parts or use ash p. 95, a = -1} = ex[e-y(-y
-1) y=x]oo
= ex[0 - (e-x(-x -1))]
= 1+x. Note this is linear in x!
(E(Y|x) is Consistent with our interpretation of fY|x
as exponential (lambda = 1) with starting point x.)
Astonishing(?) fact: IF
E(Y|x) is linear in x, it will coincide with the (abstraction of)
the familiar least squares regression line formula. (formula 2,
Ash p. 236)
2nd page bottom,
Discrete conditional handout: (M&M 5th ed. page number
137)
| Sievers home |
Math300-Sp08/Day38.htm
|
3pm
|
4/28/08 |