Grinstead-Snell-Probability · Problem 6.3.15

Sums of Random Variables

Mathematics · expected-value-variance-continuous

Problem

Let XX be a random variable distributed uniformly over [0,20][0, 20]. Define a new random variable YY by Y=⌊X⌋Y = \lfloor X \rfloor (the greatest integer in XX). Find the expected value of YY. Do the same for Z=⌊X+.5⌋Z = \lfloor X + .5 \rfloor. Compute E(∣X−Y∣)E\bigl(|X - Y|\bigr) and E(∣X−Z∣)E\bigl(|X - Z|\bigr). (Note that YY is the value of XX rounded off to the nearest smallest integer, while ZZ is the value of XX rounded off to the nearest integer. Which method of rounding off is better? Why?)

Related theory

Browse the problem library