Math 300 , Spring 2002, Day38, W, May 1Hit 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.


- - - - - -  - - - - - -
 Visualizations:  (Mac 110 Black or Gray: Class Materials/Math 300/For300 Class (DPGraph program is in Math 300 folder)
f(x,y) = x+y, 0<x<1, 0<y<1.    Cardboard model.
     fX(x) = x + 1/2, 0<x<1
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(y) = (1+y)/4, 0<y<2.
--- --- --- --- --- ---
Conditional distributions: Assuming a particular x value is true/known (xo),  what is the distribution of Y?
   If you have chips, red on one side (X) and black on the other (Y),  and you choose one & see that the red side is 2, what is now the probability distribution of the numbers on the black side?
Can do the other way: assuming yo known, what is the distribution of X?.
  Discrete:  = 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.
  Conditional Expectation E(Y|xo):The mean y value, when x is a particular fixed value xo.
      Treat xo as a constant and find the sum of all   y fY|x(y|xo) terms.
--- --- --- --- --- --- --- ---
HW Day 38  Conditional Distributions (discrete) handout:
  problem 2.10-1
  A. (Show that X, Y independent -->fY|x(y|x) = fY(y); that is, knowing X gives no info about Y)
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Friday we'll continue with:
 Continuous:  same formulas, 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.
handout: Multivariatedistributions of the Continuous Type: Example 3.7-2 ff.
Remember "Regression problem" in statistics:  For a particular xo, predict the "best" y-value.
           ("best" in some sense or other--average, typical...)
In probability, E(Y|xocan play that role.  Find it for "all" xo's, and graph it on the x-y plane.
--Find the conditional densities and the conditional expectations for the two functions above:
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.
f(x,y) = x+y, 0<x<1, 0<y<1.  fX(x) = x + 1/2, 0<x<1
Another? f(x,y) = 2e-x-y , y>x, x>0.
     Caution: if support of f(x,y) isn't rectangular, you have to keep track of possible values of x and y.
--- --- --- --- --- --- --- --- ---
HW:  Ash 8.1 covers conditional for continuous only.  Does a good job.
Conditional Distributions (discrete) handout:
  problem 2.10-1
  A. (Show that X, Y independent -->fY|x(y|x) = fY(y); that is, knowing X gives no info about Y)
Multivariate ...Continuous handout:
  problem 3.7-6
  B. (this is checking the equation in the middle of the second page of the handout.)
  C. (I may have started or even completed this in class.  Write it up.)
Ash, p. 249, #2, #5a, #3.  (These don't need to be handed in--but DO understand them.)


Sievers home
 Math300-Sp02/Day38.htm 
3:30pm
5/1/02
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.