Professional Documents
Culture Documents
Probabilities Using Counting Techniques
Probabilities Using Counting Techniques
Review: terminology
Probability function:
1
Probabili(es using coun(ng techniques
Example:
Suppose a pond has only three types of 6ish: cat6ish, trout, and bass, in the ratio 5:2:3.
There are 50 6ish in total. Assuming you are allowed to catch only three 6ish before
throwing them back, consider the following two events:
Solution:
Theoretical probabilities:
𝑛(𝐴)
𝑃(𝐴) =
𝑛(𝑆)
𝑛(𝐵)
𝑃(𝐵) =
𝑛(𝑆)
2
Probabili(es using coun(ng techniques
Additional Practice:
3
Probabili(es using coun(ng techniques
1. In an experiment, the probability that event A occurs is 7/9, the probability that
event B occurs is 3/4, and the probability that events A and B both occur is 7/12.
Are A and B independent events?
Are the events "the contestant scored up to 100 points" and "the contestant is
from the United States" independent?
3. Isabelle attended a music store's banjo sale. She counted the types of banjos and
made note of their discounts.
Are the events "the banjo has 4 strings" and "the banjo is 50% off" independent?
4
Probabili(es using coun(ng techniques
4. In an experiment, the probability that event A occurs is 1/2, the probability that
event B occurs is 3/7, and the probability that event A occurs given that event B
occurs is 1/6. Are A and B independent events?
5. In an experiment, the probability that event A occurs is 1/3, the probability that
event B occurs is 1/5, and the probability that event A occurs given that event B
occurs is 1/6. Are A and B independent events?
5
Probabili(es using coun(ng techniques
Probability distributions
Bernoulli 𝑃(𝑋 = 1) = 𝑝
{0, 1}
X ~ Ber(p) 𝑃(𝑋 = 0) = 1 − 𝑝
Binomial 𝑛
{0, 1, …, n} 𝑃(𝑋 = 𝑥) = H J 𝑝 ! (1 − 𝑝)"#!
X ~ B(n, p) 𝑥
Geometric
{0, 1, 2, …} 𝑃(𝑋 = 𝑥) = (1 − 𝑝)! 𝑝
X ~ geometric(p)
1
Uniform
(−∞, +∞) 𝑓$ (𝑥) = R𝑏 − 𝑎 , 𝑓𝑜𝑟 𝑎 ≤ 𝑥 ≤ 𝑏
X ~ U(a, b)
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Hypergeometric `%!a`"#% a
&#!
X ~ Hypergeometric(n, a, r) {0, min(a, r)} 𝑃(𝑋 = 𝑥) =
`"&a