Joe visits a coffee shop every morning and orders a triple espresso and a cherry danish. Let represent the wait time for the espresso and the wait time for the danish (both in minutes). The joint PDF of and is:
Suppose that Joe will not sit down until he has both his espresso and his danish. Compute the probability that he will have to wait at least 5 minutes before sitting down, that is, find .
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.
Correlation 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
06
(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.
(a) From the sketch, we observe that will be nonnegative. Hence for . Since has a uniform distribution on , for , . We use this fact to find the CDF of . For ,
For and so
The complete CDF can be written as
(b) By taking the derivative, the PDF is
Thus, has an exponential PDF. In fact, since most computer languages provide uniform [ 0,1] random numbers, the procedure outlined in this problem provides a way to generate exponential random variables from uniform random variables.
(c) Since is an exponential random variable with parameter .
Complete this problem instead of two of the above problems of your choice.
You must indicate on your paper which of the above problems should be replaced by this one. Indicate at the chosen problems (can otherwise leave blank) to direct the grader to the last page where you work the challenge problem.
11
06
When
Suppose for two random variables and .
Show that , where .
Find the formula for .
Hint: Study the derivation that , and think about .