Binomial Distributions

Calculating Cumulative Probabilities

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 = 5 and p = 0.57. 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, 57% of the candy made is sour apple. Your bag holds 5 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 slightly skewed left:

0.05 0.10 0.15 0.20 0.25 0.30 0.35 0 1 2 3 4 5

Continuing the candy example, let us determine the probability that there is no more than 2 pieces of sour apple candy in the bag. In symbols, calculate P[X ≤ 2].

Your Answer

In the box below, please enter the value of P[X ≤ 2], where X ~ Binom(n=5, p=0.57), 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 Formula

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