You Try Answers: Random Variables and the Binomial

POSC 8410, Week 5

Author

Will Horne

Published

October 26, 2026

You Try

1. A committee of 8 senators votes independently, each supporting a bill with probability 0.6. What is the probability exactly 5 vote yes?

Let \(X\) be the number of yes votes. Eight independent votes, each yes with probability 0.6, so \(X \sim \text{Bin}(8, 0.6)\):

\[P(X = 5) = \binom{8}{5}(0.6)^5(0.4)^3\]

choose(8, 5)                      # ways to pick which five vote yes
[1] 56
dbinom(5, size = 8, prob = 0.6)
[1] 0.2786918

About 0.279. The binomial coefficient counts the 56 ways to choose which five senators are the yes votes; each of those sequences has probability \((0.6)^5(0.4)^3\).

2. What is the probability the bill gets a majority (5 or more)?

With 8 senators, a majority is 5 or more, since 4–4 is a tie. So we want \(P(X \geq 5) = 1 - P(X \leq 4)\):

1 - pbinom(4, size = 8, prob = 0.6)
[1] 0.5940864
sum(dbinom(5:8, size = 8, prob = 0.6))   # same thing, adding the four cases
[1] 0.5940864

About 0.594. Each senator supports the bill 60% of the time, yet it passes slightly less often than that, because a 4–4 tie fails.

3. A survey firm calls 20 households, each answering with probability 0.3. What is the expected number of responses? What is \(P(\text{no responses at all})\)?

\(X \sim \text{Bin}(20, 0.3)\). The expected number of responses is \(20 \times 0.3 = 6\). We prove \(E[X] = np\) next class; for now, “30% of 20” is the right intuition.

No responses means every one of the 20 independent calls goes unanswered:

20 * 0.3
[1] 6
dbinom(0, size = 20, prob = 0.3)
[1] 0.0007979227
0.7^20                                    # same thing: 20 independent misses
[1] 0.0007979227

About 0.0008, roughly 8 in 10,000.

4. For question 3, why might the independence assumption fail in practice?

The binomial needs each household’s answer to be independent of the others. Reasonable answers:

  • Timing. Calls made in the same window reach households under the same conditions (the dinner hour, a workday afternoon, a big Clemson Football game), so answers move together.
  • Spam labeling. After a number places many calls, carriers can start labeling it “Spam Likely,” so whether later households answer depends on the calls that came before.
  • Geography. Households drawn from the same area code or neighborhood share phone habits and call-screening behavior.
  • The caller. One interviewer or dialing system handles many calls, and its quirks affect all of them.

Households also differ in how likely they are to answer at all (retirees versus shift workers). That breaks “each with probability 0.3,” the identically distributed half of the assumption, rather than independence. The binomial needs both. Reall polling is more complicated, although the binomial is a useful simple analog.