You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapter_07.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -782,12 +782,12 @@ The CDF shows P(X ≤ k), the cumulative probability of getting k or fewer succe
782
782
783
783
**Quick Check Questions**
784
784
785
-
1. You roll a die 12 times and count how many times you get a 6. Which distribution models this and what are the parameters?
785
+
1. You roll a die 12 times and count how many times you get a 6. Is this a good fit for the Binomial distribution? Why or why not?
786
786
787
787
```{admonition} Answer
788
788
:class: dropdown
789
789
790
-
**Binomial distribution with n = 12, p = 1/6** - Fixed number of trials (12 rolls), each with the same success probability (1/6 for rolling a 6).
790
+
**Yes, this is a good fit for Binomial.** It satisfies all the requirements: (1) fixed number of trials (n = 12 rolls), (2) each trial is independent, (3) only two outcomes per trial (rolling a 6 vs not rolling a 6), and (4) constant success probability (p = 1/6 for each roll). The parameters would be n = 12 and p = 1/6.
791
791
```
792
792
793
793
2. For a Binomial distribution with n = 8 and p = 0.25, what is the expected value (mean)?
@@ -798,14 +798,12 @@ The CDF shows P(X ≤ k), the cumulative probability of getting k or fewer succe
798
798
**E[X] = np = 8 × 0.25 = 2** - The expected number of successes in 8 trials is 2.
799
799
```
800
800
801
-
3.You're quality testing a batch of 100 products by examining each one. 5% are typically defective. Is this scenario best modeled by Binomial or Hypergeometric distribution?
801
+
3.A basketball player has a 70% free throw success rate. You watch her take 15 free throws. Does this scenario fit the Binomial distribution assumptions?
802
802
803
803
```{admonition} Answer
804
804
:class: dropdown
805
805
806
-
**Binomial distribution** - Although you're sampling from a finite population, if the batch is large relative to your sample (or you replace items after testing), Binomial is appropriate. Each test is independent with constant p = 0.05.
807
-
808
-
If you were sampling a significant fraction of the batch *without replacement*, then Hypergeometric would be more appropriate.
806
+
**Yes, this fits the Binomial distribution** with n = 15 and p = 0.7. Each free throw is independent, has two outcomes (make or miss), and the success probability remains constant at 0.7 for each attempt. We can use this to calculate probabilities like "What's the chance she makes at least 12 out of 15?"
809
807
```
810
808
811
809
4. For a Binomial(n=20, p=0.3) distribution, what is the variance?
0 commit comments