Binomial probabilities, mean and variance

Question MM3-127 Simple familiar 4 marks Technology-active

Unit 3 Topic 5: Discrete random variables

The question

The random variable \(X\) has a binomial distribution with \(n=10\) and \(p=0.3\).

  1. (a) Determine \(P(X=4)\). [1 mark]
  2. (b) Determine \(P(X\le 2)\). [1 mark]
  3. (c) Determine the mean and variance of \(X\). [2 marks]

The idea. For \(X \sim \mathrm{Bin}(10, 0.3)\), binomial PDF gives one bar and binomial CDF adds up the bars from 0. The mean \(np\) sits near the tallest bar.

Figure for question MM3-127A bar chart of the binomial distribution with n equals 10 and p equals 0.3. The tallest bar is at 3. The bar at 4 is highlighted at about 0.20, and the bars at 0, 1 and 2 are marked in blue. A dashed line marks the mean at 3.0.10.20.3012345678910value of X

The answer, one mark at a time

  1. Part (a)

    Exactly 4 is a single bar, so use binomial PDF on your calculator with \(n = 10\), \(p = 0.3\) and \(x = 4\).

    \[P(X = 4) = \binom{10}{4}(0.3)^{4}(0.7)^{6}\]
    \[= 0.2001\]

    determines the probability [1 mark]

  2. Part (b)

    "At most 2" adds the bars for 0, 1 and 2. Use binomial CDF with upper bound 2.

    \[P(X \le 2) = P(X = 0)\]
    \[+ P(X = 1) + P(X = 2)\]
    \[= 0.3828\]

    determines the probability [1 mark]

  3. Part (c)

    The mean of a binomial variable is \(np\).

    \[\mu = np = 10(0.3) = 3\]

    determines the mean [1 mark]

  4. The variance is \(np(1-p)\), where \(1 - p = 0.7\) is the chance of a failure.

    \[\mathrm{Var}(X) = np(1 - p)\]
    \[= 10(0.3)(0.7) = 2.1\]

    determines the variance [1 mark]

Answer

(a)\(\displaystyle P(X = 4) = 0.2001\)
(b)\(\displaystyle P(X \le 2) = 0.3828\)
(c)\(\displaystyle \text{mean} = 3, \quad \mathrm{Var}(X) = 2.1\)

Watch for. \(P(X \le 2)\) includes \(P(X = 0)\). Adding only the bars for 1 and 2 leaves out about 0.03.