1 / 14

Lectures prepared by: Elchanan Mossel Yelena Shvets

Lectures prepared by: Elchanan Mossel Yelena Shvets. Conditional density. Example: (X,Y) uniform in the unit disk centered at 0. Question :. Answer :. Question :. Try :. (X 2 dx). (A). (A & X 2 dx). x x+dx. Infinitesimal Conditioning Formula.

maxine
Download Presentation

Lectures prepared by: Elchanan Mossel Yelena Shvets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lectures prepared by:Elchanan MosselYelena Shvets

  2. Conditional density Example:(X,Y) uniform in the unit disk centered at 0. Question: Answer: Question: Try:

  3. (X2dx) (A) (A & X 2 dx) x x+dx Infinitesimal Conditioning Formula Solution:Replace by infinitesimal ratio:

  4. (A) Infinitesimal Conditioning Formula (A)

  5. Conditional Density Claim: Suppose (X,Y) have a joint density f(x,y), and x is such that fX(x) > 0, the conditional density of Y given X=x is a probability density defined by “Proof”: P(a · Y · b | X = x) = lim P(a · Y · b| X 2 (x, x+dx)) = lim P(a · Y · b, X 2 (x, x+ dx))/ fX(x) dx = limsab f(x,y) dy dx / fX(x) dx = sab fY(y | X = x) dy

  6. Conditional Density Joint density of (X,Y): f(x,y); Renormalized slice for given y = conditional density P[X | Y=y], The area is of each slice is 1. x y x Slices through density for fixed y’s. y Area of slice at y = x height of marginal distribution at y. y

  7. Conditioning FormulaeDiscrete Continuous • Multiplication Rule: • Division Rule: • Bayes’ Rule:

  8. Example: Uniform on a triangle. Suppose that a point (X,Y) is chosen uniformly at random from the triangle A: {(x,y): 0 · x, 0 · y, x+ y · 2}. Question: Find P(Y¸ 1 | X =x). Solution 1: Since Area(A) = 2, for all S, P(S) = Area(S)/2. So for 0 · x < 1: P(X2Dx) = ½Dx (2-x - ½Dx); P(Y>1,X2Dx) = ½Dx (1-x - ½Dx); P(Y¸1|X2Dx) = P(Y>1,X2Dx) / P(X2Dx) = (1-x - ½Dx)/ (2-x - ½Dx); ! (1-x)/(2-x) as Dx ! 0. So P(Y ¸ 1 | X = x) = (1-x)/(2-x) And for x ¸ 1: P(Y¸1|X=x) = 0. (Y¸ 1) 2 Y=1 1 A X +Y=2 0 2 1

  9. Example: Uniform on a triangle. Suppose that a point (X,Y) is chosen uniformly at random from the triangle A: {(x,y): 0 · x, 0 · y, x+ y · 2}. Question: Find P(Y¸ 1 | X =x). Solution 2. using the conditional density fY(y|X=x). For the uniform distribution on a triangle of area 2, So for 0 · x · 2, Given, X=x, the distribution of Y is uniform on (0,2-x).

  10. Example: Gamma and Uniform Suppose that X has Gamma(2, l) distribution, and that given X=x, Y has Uniform(0,x) distribution. Question: Find the joint density of X and Y Solution: By definition of Gamma(2, l) distr., By definition of Unif(0,x), By multiplication rule, Question: Find the marginal density of Y. Solution: So Y » Exp(l).

  11. Condition Distribution & ExpectationsDiscrete Continuous • Conditional distribution of Y given X=x; • Expectation of a function g(X):

  12. Independence Conditional distribution of Y given X=x does not depend on x: P(Y2 B|X=x) = P(Y2 B). Conditional distribution of X given Y=y does not depend on y: P(X2 A|Y=y) = P(X2 A). The multiplication rule reduces to: f(x,y) = fX(x)fY(y). Expectation of the product is the product of Expectations: E(XY) = ss xy fX(x) fY(y) dx dy = E(X) E(Y).

  13. Example: (X,Y) Uniform on a Unit Circle. Question: Are X and Y independent? Solution: So the conditional distribution of X given Y=y depends on y and hence X and Y cannot be independent. However, note that for all x and y E(X|Y = y) = E(X) = 0 and E(Y|X=x) = E(Y) = 0

  14. Average Conditional Probabilities & ExpectationsDiscrete Continuous • Average conditional probability: • Average conditional expectation:

More Related