PROBABILITY WORKSHEETS

Separating an exact binomial count from an at-most count

The binomial calculator gives two numbers for each k: the probability of exactly k successes and the probability of at most k. Subtracting adjacent cumulative values recovers the exact mass.

Two outputs for one input

Enter n, k and p, and the binomial calculator reports a mass and a cumulative probability. The mass is the chance of exactly k successes. The cumulative probability is the chance of k or fewer, which adds the masses at 0, 1, 2 and so on up to k. They are equal only when k = 0, because the cumulative total at zero contains just one term. Everywhere else the cumulative value is at least as large as the mass. Choosing the wrong one is a common source of mistakes, and the word "at most" in a question is the signal to use the cumulative output.

Three trials at one half

With three independent trials at p = 0.5, the masses at 0, 1, 2 and 3 successes are 0.125, 0.375, 0.375 and 0.125, which come from the combinations 1, 3, 3, 1 divided by 2³ = 8. Exactly two successes therefore has probability 0.375. At most two adds the masses at 0, 1 and 2: 0.125 + 0.375 + 0.375 = 0.875. At most one adds just 0.125 and 0.375 to give 0.5. The calculator reports these as mass 0.375 and cumulative 0.875 at k = 2, and mass 0.375 and cumulative 0.5 at k = 1. The equal masses at 1 and 2 reflect the symmetry of p = 0.5. Because the cumulative output at the top count n is always 1, the mass and the cumulative probability at k = 3 are 0.125 and 1 respectively, which shows the largest possible gap between the two outputs for this model: an exact claim of 0.125 against an at-most claim of certainty.

Recovering the exact mass by subtraction

The cumulative probability at k minus the cumulative probability at k − 1 equals the mass at k. Here 0.875 − 0.5 = 0.375, the exact-two mass. This works because the two cumulative sums differ by exactly one term. The relation is useful when only cumulative values are available, such as in a printed table, and it is a good check when you have both outputs. If the difference does not match the reported mass, one of the values was read incorrectly or the entries used different n or p. At k = 0 there is no preceding value, and the cumulative value itself is the mass.

A ten-trial example

Take n = 10 and p = 0.5. The mass at exactly 5 successes is 252 / 1024 = 0.24609375, and the cumulative through 5 is 0.623046875, which is the sum of masses for 0 through 5. The mass at 4 is 210 / 1024 = 0.205078125 and the cumulative through 4 is 0.376953125. The difference 0.623046875 − 0.376953125 = 0.24609375 returns the mass at 5. Here exactly five successes is the single most probable count, but it has only about a 25 percent chance, while at most five has about 62 percent. Quoting the cumulative figure for an exact claim would overstate the probability by a wide margin.

An asymmetric case

With p ≠ 0.5, the masses stop mirroring each other. For four trials at p = 0.25, the mass at 0 is 0.75⁴ = 0.31640625 and at 1 it is 4 × 0.25 × 0.75³ = 0.421875, so the cumulative probability through 1 is 0.73828125. The most likely count is 1, not 2, which would be the midpoint for p = 0.5. The cumulative through 1 already holds almost three quarters of the probability. In an asymmetric model the sense of "at most" matters more, because the lower counts hold most of the weight. Comparing a mass to a cumulative value without labeling which is which can mislead the reader by a large margin. Here the exact-one figure of 0.421875 and the at-most-one figure of 0.73828125 differ by 0.31640625, which is the mass at zero. That difference is the part of the cumulative value that exact-count language leaves out, and it can be large whenever the lower counts carry real probability.

Wording that signals each output

Exact phrasing is a reliable guide. "Exactly k", "precisely k" and "k and no more or fewer" call for the mass. "At most k", "k or fewer", "no more than k" and "up to k" call for the cumulative. "Fewer than k" is the cumulative at k − 1. "At least k" and "more than k" are complements of cumulative values, as the next guide explains. Writing the inequality in symbols before using the calculator, such as P(X ≤ 2), avoids ambiguity. Saving a bare number such as 0.875 without the inequality invites the next reader to use it for the wrong event.

Why the model assumptions matter

The identity between cumulative differences and masses holds for any valid probability distribution on whole numbers, but the specific values depend on the binomial assumptions: a fixed number of trials, two outcomes per trial, one common success probability, and independence. If trials influence each other, or p changes from trial to trial, the binomial mass at a given k is not the probability of exactly k successes. The calculations here use supplied values, and nothing in them shows that real repeated observations meet the conditions.

Both outputs as sanity checks on each other

Several consistency facts follow from the definitions. The cumulative probability never decreases as k increases. It reaches 1 at k = n. The cumulative at k is at least the mass at k. If any of these fails, an input or output has been misread. At p = 0.5 and odd n, the cumulative at the middle count is exactly 0.5 for the lower half, as in the three-trial case where the cumulative at 1 is 0.5. Running both outputs at a few values of k and watching for these patterns is a quick way to confirm that a worksheet or a hand calculation is working correctly. A final test sums all masses from 0 to n. For n = 3 and p = 0.5 the four values 0.125, 0.375, 0.375 and 0.125 add to 1, and the cumulative at n matches that total. A sum that falls short of 1 usually means a mass was skipped, and a sum above 1 means one was counted twice or taken from a different p.

Model assumptions behind binomial counts

The numbers here describe a mathematical model with supplied inputs. They do not establish that real events are independent with a common probability, and they provide no estimate of an unknown success probability. Use them to settle what the two outputs mean and how they relate, and then decide separately whether the model suits the situation.

Reproduce the checks

Threshold two

Open the Binomial Probability Calculator and enter:

Number of trials
3
Successes / event count
2
Success probability
0.5

Expected output:

Pmf

0.375

Cdf

0.875

The outputs include different sets of counts.

Threshold one

Open the Binomial Probability Calculator and enter:

Number of trials
3
Successes / event count
1
Success probability
0.5

Expected output:

Pmf

0.375

Cdf

0.5

The cumulative difference isolates the mass at two.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks