Skip to content

Commit 80d8ac2

Browse files
authored
Merge pull request #66 from snowch/claude/binomial-distribution-calculator-QJG1z
Fix Bernoulli question 4 to not reference Binomial distribution
2 parents ac84cfa + 5b60a76 commit 80d8ac2

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

chapter_07.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,18 @@ Using the formulas E[X] = p and Var(X) = p(1-p):
279279
- Var(X) = 0.75 × (1 - 0.75) = 0.75 × 0.25 = 0.1875
280280
```
281281

282-
4. You flip a coin 10 times and count the number of heads. Should you use a Bernoulli distribution or something else?
282+
4. You roll a six-sided die once. Is this well-modeled by a Bernoulli distribution?
283283

284284
```{admonition} Answer
285285
:class: dropdown
286286
287-
**Use Binomial, not Bernoulli** - Bernoulli is for a *single* trial. When you have multiple trials (10 flips) and count successes, use the Binomial distribution with n=10.
287+
**No** - A Bernoulli distribution requires exactly **two possible outcomes**. A die roll has 6 outcomes (1, 2, 3, 4, 5, 6), so Bernoulli doesn't apply directly.
288288
289-
The Bernoulli distribution only applies to one flip at a time.
289+
**However**, you *could* use Bernoulli if you redefined the experiment with a binary outcome:
290+
- "Does the die show a 6?" (Yes/No) → Bernoulli with p = 1/6
291+
- "Is the result even?" (Yes/No) → Bernoulli with p = 1/2
292+
293+
The key: Bernoulli requires exactly two outcomes.
290294
```
291295

292296
5. True or False: A Bernoulli random variable can only take on the values 0 and 1.

0 commit comments

Comments
 (0)