Math 300 , Spring 2004, Day36, F, April 30 Hit reload ...Corrected (I hope) after class

Mini-exam coming Monday, due following Monday, Day 40. Continuous joint distributions through expectation.

Continuing with Two random variables X, Y "jointly distributed".  Ash Ch. 5.  First 5.1& 5.2 Next 7.1 again, then 8.1
In practice: Two random variables X, Y  measured on the same experiment.
Sample space:  points in x-y space.
   Probability of a region:  sum or integrate over the region.
"Marginal" probability/density function:
      Function for just X (not "looking at" y):   pX(x) or fX(x)
                    or just Y (not "looking at" y):   pY(x) or fY(y) .
X and Y INDEPENDENT:  p(x, y) =  pX(x)pY(y),  f(x,y) = fX(x) fY(y) for every pair (x,y)
 

Continuous (p. 171 ff + Probability Handout) Joint density function f(x, y)--a surface above the base x-y space.
    Probability of a region R  in x-y space= area under f(x,y) and above the region.
The total probability (area) has to = 1.
 


- - - - - -  - - - - - -
  HW questions?   Probability Handout problem #17:  Density f(x,y) = Cx(1+ y), 0<x<1, 0<y<2.
    C = 1/2.  fX(x) = 2x, 0<x<1.   fY(x) = (1+y)/4, 0<y<2.
  Now we can see that X and Y are independent.

Back to Expected value (Ash ch. 7):  (law of the unconscious statistician again:)
 You can find E(X) just from f(x), or from f(x,y).  You can find E(XY) only from f(x,y) (unless X and Y are indep.)
  You can find E(X+Y) from f(x,y), or by finding E(X) +E(Y).  These things work because of the rules of iterated integration, where the variable not being integrated acts like a constant for the moment.  Reread Ch. 7-1, the parts with integration.

Find E(XY) for f(x,y) = y/18,  0<x<4, 0<y<3. E(XY)=  oS3oS4xyy/18 dxdy = (1/18) oS 3 [(1/2) x2y2 x=o]4dy
          = (1/18) oS 3 [8y2  - 0]dy = (1/18 [8y2/3 y=o]3 = (1/18 [127 8· 27/3] = 4
Note E(XY) = oS3oS4xyy/18 dxdy = oS32y2/9 [oS4x/4 dx]dy =[oS4 x/4 dx][ oS32y2/9dy] = EX EY

Now begin E(XY) for the density f(x,y) = Cx(1+y), 0<x<1, 0<y<2.  You are integrating xyf(x,y), which = (x2y + xy2)/2 , or = x2y(1+y)/2.
  In the second form, we can see it's [x2][y(1+y)/2.], and as the things held constant pull out through the integrals, you can see it setting up to make E(X)E(Y) (or maybe E(Y)E(X)).
Got to here:
Conditional distributions: Assuming a particular x value is true/known (xo),  what is the distribution of Y?
   If you have 4 chips, red on one side (X) and blue on the other (Y),
x red/y blue   1/4  2/2  2/4  3/4   and you choose a chip & see that the red side is 2, what is now the probability distribution of the numbers on the blue side?
Put in usual 2-dimensional x-y grid.
Assuming xo known, what is the distribution of Y?. Look just at the column for xo.
Can do the other way: assuming yo known, what is the distribution of X?.Look just at the row for yo.
  Discrete: P(Y= y | X = xo) = P(Y = y & X = xo)/P(X = xo)   (Old conditional probability, in new clothes)
     Changing to distribution language:  The conditional probability (density) of Y given xo:
           P(Y= y | X = xo) =  fY|x(y|xo) = f(xo, y)/fX(xo)
   For a single particular number x, you can plug in that number, and then everything is in y.
        For a particular number x, sum over all the y's.  The sum over the y's of f(xo,y) = fX(xo).
             So the sum over all the y's of fY|x(y|xo) = fX(xo)/fX(xo) = 1.
    Look at handout: Conditional distributions: Discrete.
 --- --- --- --- --- --- --- --- ---
HW:Expected values:
Ash p. 222 #4.(assigned last time)
Probability handout:
   For the density of problem #17, find E(XY)(started in webpage above), and E(Y/X).  Also find E(X) and E(Y) separately from the marginals and check that E(XY) = E(X)E(Y)
   #18 c (You found the marginals last time.  Use them to find the E's)
   #19 c (do it by noting the form of the densities of X, and Y, and appealing to your list of means for known distributions)
A.  Here's one that's not independent: f(x,y) = x+y, 0<x<1, 0<y<1.  It's a plane slicing through the origin. (See it in DPGraph--see Day 35 for where, how)
       a) Find fX(x). Argue by symmetry that  fY(y) has the same form, and write it down.
       b) Multiply fX(x) fY(y) .  Are X and Y independent?  why not?
       c) Find E(X).  Find E(Y).   Find E(XY).
       d) cov(X,Y) = E(XY) - E(X)E(Y).  Find cov(X,Y).  Is it positive or negative?
Postpone conditional.  Read first side of Conditional (discrete) handout.
Conditional:
B.
For the chips above, Find fY|x(y|xo) when xo = 3. Find fX|y(x|yo) when yo = 4


Sievers home
 Math300-Sp04/Day36.htm 
1pm
4/30/04
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.