Joint distributions

02

PMF calculations from a table

Suppose the joint PMF of X and Y has values given in this table:

YX0123
10.100.1500.05
20.200.050.050.20
30.050x0.05

(a) Find x.

(b) Find the marginal PMF of X.

(c) Find the PMF of the random variable Z=XY.

(d) Find P[X=Y] and P[X>Y].

Link to original

05

Marginals and probability from joint PDF

Suppose X and Y have joint PDF given by:

fX,Y(x,y)={2e(x+2y) if x,y>00 otherwise 

(a) Find the marginal PDFs for X and Y.

(b) Find P[X>Y].

Link to original

07

Grad student mentors

A university lab has an incoming group of researchers who need mentors. There are 4 graduate students, 2 undergraduate students, and the lab director who could serve as mentors. Suppose that exactly 3 of these 7 people will be selected as mentors.

(a) How many different groups of 3 people could be chosen to be the three mentors?

(b) Suppose exactly 2 graduate students and 1 undergraduate student are selected to be the three mentors. How many different groups of 3 people could be selected?

Let X be the total number of graduate students chosen to be mentors, and Y be the total number of undergraduate students chosen to be mentors.

(c) Construct the joint PMF of X and Y: PX,Y(x,y)

Link to original

12

Joint PMF with y-dependence

Suppose X and Y have the following joint PMF:

PX,Y(x,y)={.05y(.95)y1x=1,2,,y;y=1,2,0otherwise

(a) Find P[Y<3].

(b) P[X=1]=.1577. Find P[X=2].

Link to original

10

Soft-drink machine

A soft-drink machine has a random amount Y in supply at the beginning of a given day and dispenses a random amount X during the day (with measurements in gallons). It is not resupplied during the day, and therefore XY. It has been observed that X and Y have a joint density given by:

fX,Y(x,y)=12,0xy2

(a) Find the probability that the amount of soft-drink dispensed on a given day is greater than 1.5 gallons. (First compute the marginal PDF of X.)

(b) Find the probability that the amount of soda remaining in the machine at the end of the day is greater than 1/2 gallon. That is, find P[YX>1/2].

(c) Find the CDF of W=YX, the amount of soda remaining in the machine at the end of the day.

Link to original

11

Alice and Bob meeting at a cafe

Alice and Bob plan to meet at a cafe to do homework together. Alice arrives at the cafe at a random time (uniform) between 12:00pm and 1:00pm; Bob independently arrives at a random time (uniform) between 12:00pm and 2:00pm on the same day. Let X be the time, past 12:00pm, that Alice arrives (in hours) and Y be the time, past 12:00pm, that Bob arrives (in hours). So X=0 and Y=0 represent 12:00pm.

(a) Consider W=Max(X,Y), the time that will pass (beyond 12:00pm) before Alice and Bob will begin working together. Find the CDF of W.

(b) Find the probability Alice will have to wait more than 75 minutes for Bob.

Link to original

Independent random variables

01

Random point in a triangle

Consider a joint distribution that is uniform over the triangle with vertices (0,0),(0,1), and (1,0). Suppose a point (X,Y) is chosen at random according to this distribution.

(a) Find the joint PDF fX,Y.

(b) Find the marginal PDFs for X and Y.

(c) Are X and Y independent?

Link to original

Functions on two random variables

02

PDF of Min and Max

Suppose XExp(2) and YExp(3) and these variables are independent. Find:

(a) The PDF of W=Max(X,Y)

(b) The PDF of W=Min(X,Y)

Link to original

01

PDF of sum from joint PDF

Suppose the joint PDF of X and Y is given by:

fX,Y={881xy0yx30otherwise

Find the PDF of X+Y.

Link to original

06

Lights on

An electronic device is designed to switch house lights on and off at random times after it has been activated. Assume the device is designed in such a way that it will be switched on and off exactly once in a 1-hour period. Let X denote the time at which the lights are turned on and Y the time at which they are turned off. Assume the joint density for (X,Y) is given by:

fX,Y(x,y)=8xy,0<x<y<1

Let W=YX, the time the lights remain on during the hour.

(a) Find the range of W.

(b) Compute a formula for the CDF of W, i.e. FW(w).

(c) Find the probability the lights remain on for at least 40 minutes in some given hour.

Link to original

Covariance and correlation

01

Covariance and correlation

The joint PMF of X and Y is given by the table:

YX0123
1115115215115
211011015110
31301300110

Compute:

(a) E[X+Y] (b) E[(XY)2] (c) Cov[X,Y] (d) ρ[X,Y]

Link to original

04

Correlation between overlapping coin flip sequences

Suppose a coin is flipped 30 times.

Let X count the number of heads among the first 20 flips, and Y count the heads in the last 20.

Find ρ[X,Y].

Hint: Partition the flips into three groups of 10. Create three variables, counting heads, and express X and Y using these. What is the variance of a binomial distribution?

Link to original

07

Covariance etc. from joint density

Suppose X and Y are random variables with the following joint density:

fX,Y(x,y)={32(x2+y2)x,y[0,1]0 otherwise 

Compute:

(a) E[X] (b) E[Y] (c) E[XY] (d) Var[X]

(e) Var[Y] (f) Cov[X,Y] (g) ρ[X,Y] (h) Are X and Y independent?

(It is worth thinking through which of these can be computed in multiple ways.)

Link to original

Conditional distribution

01

Conditional density from joint density

Suppose that X and Y have joint probability density given by:

fX,Y(x,y)={125x(2xy)x,y[0,1]0 otherwise 

(a) Compute fX|Y(x|y), for y[0,1].

(b) Compute P[X>1/2|Y=y].

Link to original

02

From conditional to joint, and back again

Suppose we have the following data about random variables X and Y:

fX(x)={3x20x10 otherwise fY|X(y|x)={2y/x20yx0 otherwise 

(a) Find the joint distribution fX,Y(x,y).

(b) Find fX|Y(x|y).

Link to original

03

Time till recharge

Let X denote the amount of time (in hours) that a battery on a solar calculator will operate properly before needing to be recharged by exposure to light. The function below is the PDF of X.

f(x)={506x32<x<100 otherwise 

Suppose that a calculator has already been in use for 5 hours. Find the probability it will operate properly for at least another 2 hours.

Link to original

Conditional expectation

02

Conditional distribution and expectation from joint PDF

Suppose that X and Y have the following joint PDF:

fX,Y(x,y)={cxy0<y<1,0<x<y0 otherwise 

Notice that the range of possibilities for x depends on the value of y.

First, show that c=8. Then compute:

(a) fX (b) fY|X (c) E[Y|X=0.5] (d) E[Y|X]

Link to original