2080 13

STA169 · 2080 · 5 marks

Define random variable. If X is the number of points rolled with a balanced die, find E(X) and variance of X. Also find the expected value of random variable g(X) = 2X^2 + 1.

Define random variable. If X is the number of points rolled with a balanced die, find E(X) and variance of X. Also find the expected value of random variable g(X) = 2X^2 + 1. [5]

Statistics IChapter 5: Random Variables and Mathematical ExpectationMathematical expectation of a random variableNumerical: Expected value and variance

Random Variable: Definition, E(X), Variance, and E(g(X))

Given

  • Experiment: rolling a balanced (fair) die
  • Random variable $X$ = number of points shown
  • Possible values: $x = 1, 2, 3, 4, 5, 6$
  • $P(X = x) = \frac{1}{6}$ for each value (balanced die)
  • Function required: $g(X) = 2X^2 + 1$

Solution

Definition of Random Variable

A random variable is a real-valued function that assigns a numerical value to each outcome in the sample space of a random experiment. It may be discrete (countable values) or continuous (values over an interval).

Probability Distribution

$$P(X = x) = \frac{1}{6}, \quad x = 1, 2, 3, 4, 5, 6$$

Calculation of E(X)

$$E(X) = \sum x \cdot P(X=x) = \frac{1+2+3+4+5+6}{6} = \frac{21}{6} = \frac{7}{2} = 3.5$$

Calculation of Variance

$$E(X^2) = \frac{1^2+2^2+3^2+4^2+5^2+6^2}{6} = \frac{1+4+9+16+25+36}{6} = \frac{91}{6}$$

$$\text{Var}(X) = E(X^2) - [E(X)]^2 = \frac{91}{6} - \left(\frac{7}{2}\right)^2 = \frac{91}{6} - \frac{49}{4}$$

$$= \frac{182}{12} - \frac{147}{12} = \frac{35}{12} \approx 2.917$$

Expected Value of g(X) = 2X² + 1

$$E(2X^2 + 1) = 2E(X^2) + 1 = 2 \cdot \frac{91}{6} + 1 = \frac{182}{6} + \frac{6}{6} = \frac{188}{6} = \frac{94}{3} \approx 31.33$$

Summary

QuantityValue
$E(X)$$\frac{7}{2} = 3.5$
$\text{Var}(X)$$\frac{35}{12} \approx 2.917$
$E(2X^2+1)$$\frac{94}{3} \approx 31.33$

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.