All Exams Test series for 1 year @ ₹349 only
Question

A biased coin has a probability of heads equal to 1/3 and a probability of tails equal to 2/3. A binary random variable $X$ assumes a value 1 for heads and $-1$ for tails. The variance of $X$ is ______

The correct answer is
8/9

Understanding the Random Variable and Probabilities

We are given a biased coin with:

  • Probability of Heads, $P(H) = \frac{1}{3}$
  • Probability of Tails, $P(T) = \frac{2}{3}$

A random variable X is defined as:

  • $X = 1$ if the outcome is Heads
  • $X = -1$ if the outcome is Tails

This gives us the probability distribution for X:

  • $P(X=1) = P(H) = \frac{1}{3}$
  • $P(X=-1) = P(T) = \frac{2}{3}$

Calculating Expected Value E(X)

The expected value, E(X), is calculated as the sum of each possible value of X multiplied by its probability:

$ E(X) = \sum x \cdot P(X=x) $

$ E(X) = (1 \times P(X=1)) + (-1 \times P(X=-1)) $

$ E(X) = \left(1 \times \frac{1}{3}\right) + \left(-1 \times \frac{2}{3}\right) $

$ E(X) = \frac{1}{3} - \frac{2}{3} $

$ E(X) = -\frac{1}{3} $

Calculating Expected Value of X Squared E(X^2)

First, determine the values of $X^2$:

  • If $X=1$, then $X^2 = 1^2 = 1$.
  • If $X=-1$, then $X^2 = (-1)^2 = 1$.

So, $X^2$ is always 1 in this case. The probability $P(X^2=1)$ is the sum of probabilities for $X=1$ and $X=-1$, which is $1$.

The expected value of $X^2$, E(X^2), is:

$ E(X^2) = \sum x^2 \cdot P(X=x) $

$ E(X^2) = (1^2 \times P(X=1)) + ((-1)^2 \times P(X=-1)) $

$ E(X^2) = (1 \times \frac{1}{3}) + (1 \times \frac{2}{3}) $

$ E(X^2) = \frac{1}{3} + \frac{2}{3} $

$ E(X^2) = 1 $

Variance Calculation Steps

The variance, Var(X), is calculated using the formula:

$ Var(X) = E(X^2) - (E(X))^2 $

Substitute the calculated values:

$ Var(X) = 1 - \left(-\frac{1}{3}\right)^2 $

$ Var(X) = 1 - \frac{1}{9} $

$ Var(X) = \frac{9}{9} - \frac{1}{9} $

$ Var(X) = \frac{8}{9} $

Therefore, the variance of the random variable X is $\frac{8}{9}$.

Was this answer helpful?

Important Questions from Variance

  1. Consider a distribution with the following probability density function $$f(x) = \begin{cases} 0.5, & 0 < x < 2 \\ 0.0, & Otherwise \end{cases}$$ Given that the mean of the above probability distribution is 1, the variance (rounded off to two decimal places) is _______________.

  2. Let $X$ and $Y$ be two independent random variables. $X$ follows $Bernoulli(p = 0.3)$ distribution and $Y$ follows $Normal(\mu = 0, \sigma^2 = 100)$ distribution.

    Which of the following options is the variance of $(2X - 1)Y$?
  3. For a given data set $\{x_1, x_2, \ldots, x_n\}$, where $n = 100$, it is known that
    $$ \frac{1}{2000} \sum_{i=1}^{n} \sum_{j=1}^{n} (x_i - x_j)^2 = 99 $$
    Let us denote $\bar{x} = \frac{1}{n} \sum_{i=1}^{n} x_i$.

    The value of $\frac{1}{99} \sum_{i=1}^{n} (x_i - \bar{x})^2$ is __________ . (Answer in integer)
  4. A random variable $X$ has the sample space $\{0,1\}$. The probability $P(X = 0) = 1/4$ and $P(X = 1) = 3/4$.

    What is the variance of the random variable?

    Hint: $\text{Mean } (\mu) = \sum_{i=1}^{n} x_i p(x_i) ; \text{Variance } (\sigma^2) = \sum_{i=1}^{n} (x_i - \mu)^2 p(x_i)$
  5. The unbiased sample variance for the set of numbers: $S = \{40,45,50,55,60\}$ is_____. (write answer with one decimal place)

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App