Processing math: 100%

Lecture 7

Joint CDFs

The joint CDF of two random variables X and Y is defined as FX,Y(x,y)=P(Xx,Yy)=xyfX,Y(s,t)dtds

Example

FX,Y(x,y)={xy25 if 0x,y50 otherwise

The sample space is the square (0,0) to (5,5).

Find P(X4,Y3). P(X4,Y3)=FX,Y(4,3)=1225

The joint PDF fX,Y(x,y) can be derived from the joint CDF by taking the derivatives with respect to both x and y. fX,Y(x,y)=δ2δxδyFX,Y(x,y)

Example: Let the joint CDF be

FX,Y(x,y)={xy25 if 0x,y50 otherwise 

The PDF will be

delta2δxδyxy25=125

Marginal Distributions

The marginal distributions fX(x) and fY(y) can be calculated as follows: fX(x)=fX,Y(x,y)dyfY(y)=fX,Y(x,y)dx

The expectation of a function of a joint random variable is:

E[g(X,Y)]=g(x,y)fX,Y(x,y)dxdy

Conditional PDF

The conditional PDF of a continuous random variable X, given an event A with P(A)>0, is defined as a nonnegative function

P(XB|A)=fX|A(x)dx

For any subset B of the real line,

fX|XA={fX(x)P(XA) if xA0 otherwise 

Example:

The time T until a new light bulb burns out is an exponential random variable with parameter λ. Ariadne turns the light on, leaves the room, and when she returns t time units later, finds the light bulb still on, which corresponds to the event A={TT}. Let X be the additional time until the light bulb burns out. What is the conditional CDF of X given event A?

P(X>x|A)=P(T>t+x|t>t)=P(T>t+x,T>t)P(T>t)=P(T>t+x)P(T>t)=eλ(t+x)eλt=eλx

Conditioning

For multiple random variables, if we condition on a positive probability event of the form C={(X,Y)A}, we have

fXY|C(x,y)={fX,Y(x,y)P(C) if (x,y)A0 otherwise 

In this case, the conditional PDF of X given this event can be obtained from the formula

fX|C(x)=fXY|C(x,y)dy

The above two formulas allow us to obtain the conditional PDF of a random variable X when the conditioning event is not of the form {XA} but is instead defined in terms of multiple random variables.

Let X and Y be continuous random variables with joint PDF fX,Y. For any y with fY(y)>0, the conditional PDF of X given that Y=y is defined by fX|Y(x|y)=fX,Y(x,y)fY(y)

Example:

Ben throws a dart at a circular target of radius r. We assume that he always hits the target, and that all points of impact (x,y) are equally likely so that the joint PDF of the random variables X and Y is uniform. Since the area of the circle is πr2, we have:

fX,Y(x,y)={c=1area if (x,y) is in the circle0 otherwise

In other words, fX,Y(x,y)={1πr2 if x2+y2r20 otherwise

To calculate the conditional PDF fX|Y(x|y), first find the marginal PDF fY(y). For |y|r, it is given by

fY(y)=fX,Y(x,y)dx=1πr2x2+y2r2dx=1πr2r2y2r2y2dx=1πr2r2y2 if |y|r

Note that the marginal PDF fY is not uniform. The conditional PDF is:

fX|Y(x|y)=fX,Y(x,y)fY(y)=1πr22πr2r2y2 if x2+y2r2