Binomial Distributions

The Expected Value

The Problem

Let X be a random variable following a Binomial distribution. All Binomial distributions have two parameters: number of trials and success probability. For X, n = 48 and p = 0.78. An example of where such a distribution may arise is the following:

You have a bag of candy made by Statistics, Inc. The company makes only two flavors: sour apple and anchovie. In its processing plant, 78% of the candy made is sour apple. Your bag holds 48 pieces. Define the random variable X as the number of sour apple pieces of candy in your bag.

For those who like pictures, here is a graphic of the probability mass function. Note that the distribution is skewed left:

0.05 0.10 0.15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

With this information, calculate the distribution mean, μ or E[X].

Your Answer

In the box below, please enter the mean of the distribution given above, then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.

Assistance

Show Formula

Show Solution

Show the R Code

Show the Excel Code

© Ole J. Forsberg, Ph.D. 2024. All rights reserved.   .