Joint distributions
02
Link to originalPMF calculations from a table
Suppose the joint PMF of and has values given in this table:
0 1 2 3 1 0.10 0.15 0 0.05 2 0.20 0.05 0.05 0.20 3 0.05 0 0.05 (a) Find .
(b) Find the marginal PMF of .
(c) Find the PMF of the random variable .
(d) Find and .
Solution
Solutions - 5190-02
(a)
Find using the constraint :
(b)
Find the marginal PMF of by summing rows:
(c)
(1) Define the possible values of :
Since and , we have that .
(2) Define PMF of :
Go through each possible value of and see when it occurs.
(3) Substitute values for each probability:
(d)
(1) Find :
(2) Find :
Link to original
05
Link to originalMarginals and probability from joint PDF
Suppose and have joint PDF given by:
(a) Find the marginal PDFs for and .
(b) Find .
Solution
Solutions - 5190-05
(a)
(1) Find the marginal PDF for by integrating the joint PDF with respect to :
(2) Find the marginal PDF for by integrating the joint PDF with respect to :
(b)
Integrate the joint PDF over the region above the line :
Link to original
07
Link to originalGrad 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 be the total number of graduate students chosen to be mentors, and be the total number of undergraduate students chosen to be mentors.
(c) Construct the joint PMF of and :
Solution
Solutions - 5190-07
(a)
Count the total number of groups of 3 from 7:
(b)
Choose 2 from 4 grad students and 1 from 2 undergrads:
(c)
Construct the joint PMF of and :
Link to original
0 1 2 3 0 0 0 1 0 0 2 0 0
12
Link to originalJoint PMF with -dependence
Suppose and have the following joint PMF:
(a) Find .
(b) . Find .
Solution
Solutions - 5190-12
(a)
(1) Tabulate the joint PMF for small values of :
(2) Sum over and :
(b)
Link to original
10
Link to originalSoft-drink machine
A soft-drink machine has a random amount in supply at the beginning of a given day and dispenses a random amount during the day (with measurements in gallons). It is not resupplied during the day, and therefore . It has been observed that and have a joint density given by:
(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 .)
(b) Find the probability that the amount of soda remaining in the machine at the end of the day is greater than gallon. That is, find .
(c) Find the CDF of , the amount of soda remaining in the machine at the end of the day.
Solution
Solutions - 5190-10
(a)
Marginal PDF of :
Then:
(b)
(c)
Link to original
11
Link to originalAlice 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 be the time, past 12:00pm, that Alice arrives (in hours) and be the time, past 12:00pm, that Bob arrives (in hours). So and represent 12:00pm.
(a) Consider , 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.
Solution
Solutions - 5200-04
By independence, the joint PDF is the product of the marginal PDFs:
Link to original
Independent random variables
01
Link to originalRandom point in a triangle
Consider a joint distribution that is uniform over the triangle with vertices , and . Suppose a point is chosen at random according to this distribution.
(a) Find the joint PDF .
(b) Find the marginal PDFs for and .
(c) Are and independent?
Solution
Solutions - 5200-01
(a)
Find the area of the triangle and write the PDF:
The area of the triangle is . Therefore the PDF is
(b)
(1) Integrate with respect to to find the marginal PDF for :
(2) Integrate with respect to to find the marginal PDF for :
(c)
(1) Compute the product and compare to :
(2) Consider the case :
Therefore, and are not independent.
Link to original
Functions on two random variables
02
Link to originalPDF of Min and Max
Suppose and and these variables are independent. Find:
(a) The PDF of
(b) The PDF of
Solution
Solutions - 5210-02
(a)
(1) State the PDFs and CDFs:
(2) Find the CDF of using independence:
Since ,
(3) Differentiate to get the PDF:
(b)
(1) Find the CDF of using independence:
(2) Differentiate to get the PDF:
Link to original
01
Link to originalPDF of sum from joint PDF
Suppose the joint PDF of and is given by:
Find the PDF of .
Solution
Solutions - 5220-01
(1) Write the CDF of :
Since , we have .
For fixed , ranges from to when and from to when .
(2) Evaluate for :
(3) Evaluate for :
(4) Differentiate for the PDF:
Link to original
06
Link to originalLights 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 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 is given by:
Let , the time the lights remain on during the hour.
(a) Find the range of .
(b) Compute a formula for the CDF of , i.e. .
(c) Find the probability the lights remain on for at least 40 minutes in some given hour.
Solution
Solutions - 5220-06
(a) Range of is .
(b)
Alternate:
(c)
Link to original
Covariance and correlation
01
Link to originalCovariance and correlation
The joint PMF of and is given by the table:
0 1 2 3 1 2 3 0 Compute:
(a) (b) (c) (d)
Solution
Solutions - 5240-01
(a)
(b)
(c)
(1) Recall the formula for :
(2) Compute and :
(3) Compute :
(4) Compute :
(d)
(1) Recall the formula for :
(2) Compute and :
(3) Compute and :
(4) Compute :
Link to original
04
Link to originalCorrelation between overlapping coin flip sequences
Suppose a coin is flipped 30 times.
Let count the number of heads among the first 20 flips, and count the heads in the last 20.
Find .
Hint: Partition the flips into three groups of 10. Create three variables, counting heads, and express and using these. What is the variance of a binomial distribution?
Solution
Solutions - 5240-04
(1) Define random variables for partitioning the 30 flips into groups of 10:
Let be the number of heads in the first 10 flips.
Let be the number of heads in the middle 10 flips.
Let be the number of heads in the last 10 flips.
Clearly, and are independent. Note that and .
(2) Compute and :
(3) Compute :
(4) Compute :
Since and , we have .
Thus, .
(5) Compute :
(6) Compute :
Link to original
07
Link to originalCovariance etc. from joint density
Suppose and are random variables with the following joint density:
Compute:
(a) (b) (c) (d)
(e) (f) (g) (h) Are and independent?
(It is worth thinking through which of these can be computed in multiple ways.)
Solution
Solutions - 5240-07
(a)
(b)
By symmetry, :
(c)
(d)
(1) Compute :
(2) Compute :
(e)
(1) Compute :
By symmetry, .
(2) Compute :
(f)
(g)
(h)
Since , we can conclude that and are not independent.
Link to original
Conditional distribution
01
Link to originalConditional density from joint density
Suppose that and have joint probability density given by:
(a) Compute , for .
(b) Compute .
Solution
Solutions - 5250-01
(a)
(1) Compute the marginal :
(2) Apply the conditional density formula:
(b)
Integrate the conditional density over :
Link to original
02
Link to originalFrom conditional to joint, and back again
Suppose we have the following data about random variables and :
(a) Find the joint distribution .
(b) Find .
Solution
Solutions - 5250-02
(a)
Obtain the joint from the conditional and marginal:
(b)
(1) Compute the marginal :
(2) Apply the conditional density formula:
Link to original
03
Link to originalTime till recharge
Let 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 .
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.
Solution
Solutions - 5250-03
(1) Compute :
(2) Compute the conditional density :
(3) Compute :
Link to original
Conditional expectation
02
Link to originalConditional distribution and expectation from joint PDF
Suppose that and have the following joint PDF:
Notice that the range of possibilities for depends on the value of .
First, show that . Then compute:
(a) (b) (c) (d)
Solution
Solutions - 5260-02
Integrate the joint PDF and solve for :
(a)
Integrate the joint PDF with respect to to obtain :
(b)
Apply the conditional density formula:
(c)
(1) Plug in into the conditional density from part (b):
(2) Compute the conditional expectation:
(d)
Integrate the conditional density from part (b) to find :
Link to original


