Math 300 , Spring 2002, Day37, M, April 29 Hit reload to get most current versionAfter class

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.
 


- - - - - -  - - - - - -
In class:  Worked on  Probability Handout problem #17:  Density f(x,y) = Cx(1-y), 0<x<1, 0<y<2.
   Found C = 1/2.  Found 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.

We began finding E(XY) for the density above.  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)).
--- --- --- --- --- --- --- --- ---
HW:Expected values:
Ash p. 222 #4.
Probability handout:
   For the density of problem #17, find E(XY), 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 36 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?


Sievers home
 Math300-Sp02/Day37.htm 
3pm
4/29/02
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.