Expectation and Variance
[50/96%]Let be the number shown when a single die is rolled (the amount won in the game above). Find .
What is the expectation of a random variable with Bernoulli distribution?
A friend of yours forgot the 8-digit password necessary to log into his computer. If he tries all possible passwords completely at random, discarding the unsuccessful ones, what is the expected number of attempts needed to find the correct password?
A die is rolled twice. What is the expectation of the sum of outcomes?
What is the expectation of a random variable with binomial distribution?
Linearity. Show that and for any simple random variables and and any .
Positivity. Show that if is a simple random variable and , then .
Monotonicity. If and are simple random variables such that , then .
Show that for any simple random variable.
Let be a simple random variable such that . Show that if , then .
Let be a simple random variable with different values , . Show that for any function ,
where is the mass function.
Let and be simple random variables. Verify the Schwarz inequality
For simple random variables and , prove the triangle inequality
Prove the following Jensen inequality: If is a simple random variable with values in an interval and is a convex function, then
Show that for any event .
Verify the identity and use it to prove that .
Verify the identity
and use it to prove the inclusion-exclusion formula stated in Solution 4.20.
For any independent simple random variables and , show that
Show that for any simple random variable ,
Compute the variance of a random variable with the Bernoulli distribution.
Show that if , then for some .
Show that for any .
Show that for any .
Show that
if and are independent simple random variables.
Compute the variance of a random variable with the binomial distribution.
Find an example of a discrete random variable whose expectation is undefined.
A biased coin with probability of heads and tails is tossed repeatedly. Let be the number of tosses until heads appear for the first time. Compute the expectation of . (The distribution of is called the geometric distribution.)
A coin is tossed repeatedly until a tail is obtained and you win dollars, where is the number of heads before the first tail and . How much would you consider a fair amount to pay to play this game?
What is the expectation of a random variable with Poisson distribution?
Compute the expectation of a random variable with negative binomial distribution.
Let be a discrete random variable. Show that for any Borel function , the random variable is also discrete and, provided that the series below is absolutely convergent,
where the are the values of such that if , and where is the mass function of .
Let be a discrete random variable and let be a non-decreasing sequence of discrete random variables such that as . Show that as .
Find an example of a discrete random variable whose expectation exists, but the variance is undefined.
Compute the variance of a random variable with the Poisson distribution.
Compute the variance of a random variable with the geometric distribution; see Problem 9.27.
Find an example of an absolutely continuous random variable whose expectation is undefined.
has the uniform distribution on with density if and 0 if .
has the exponential distribution with density
has the Cauchy distribution with density
has the normal distribution with density
where and are given numbers.
Use Theorem 9.1 to compute the expectation of a random variable with log normal distribution (see Problem 8.55 for the definition of log normal distribution).
Use Theorem 9.1 to verify that
for any absolutely continuous random variable , provided that both expectations on the right-hand side exist.
Compute the variance of a random variable with exponential distribution.
Compute the variance of a random variable with normal distribution.
, where is an absolutely continuous probability measure with density (see Problem 6.39).
, where is an absolutely continuous probability measure with density (see Problem 6.40).
, where is an absolutely continuous probability measure with density (see Problem 6.41).
On your way to work you have to drive through a busy junction, where you may be stopped at traffic lights. The cycle of the traffic lights is 2 minutes of green followed by 3 minutes of red. What is the expected delay in the journey if you arrive at the junction at a random time uniformly distributed over the whole 5-minute cycle?
A fair coin is tossed repeatedly. For each occurrence of heads, you win , where is the number of the toss. For tails, you win nothing. Show that the gain after infinitely many tosses is a singular random variable, i.e., neither discrete nor absolutely continuous nor a mixture thereof.
What is the expected gain after infinitely many tosses of the coin in Problem 9.49?