Probability Distributions Basics


Probability Distributions Basics

Hope
Alright Corey, we've got a whole bunch of probability distributions to tackle today. Let's start with the simplest one — the Bernoulli distribution. It's for a single trial with two outcomes, like a website visit. If there's a 3% chance of purchase, we model that as a Bernoulli with p = 0.03.

Corey
Right, and the expected value is just p, so 0.03. The probability of no purchase is 1-p, which is 0.97. Simple enough. But then we get to the Poisson — that's for counting events over a fixed time, like calls at a call center.

Hope
Exactly. For 15 calls per hour, we need to scale λ to a 15-minute window. That's 15 times 15 over 60, so λ = 3.75. The probability of exactly 3 calls uses the formula: (e^{-λ} λ^k) / k!. That gives about 20.66%.

Corey
And for the discrete uniform, like rolling a fair die, each outcome has probability 1/6. The probability of rolling a 2, 3, or 4 is just three sixths, or 50%. That's easy.

Hope
Now income data is right-skewed, so we use the lognormal distribution. If ln(income) is normal with mean 11.2 and SD 0.7, we transform $150,000 to ln($150,000) ≈ 11.918, compute a z-score of about 1.026, and find the area to the right: about 15.26%.

Corey
And waiting times for a Poisson process follow an exponential distribution. For calls at 15 per hour, λ = 0.25 per minute. The probability the next call comes within 5 minutes is 1 - e^{-λ t} = 1 - e^{-1.25} ≈ 71.35%.

Hope
Coin flips — that's binomial. 10 flips, p = 0.5. The probability of exactly 7 heads is C(10,7) * 0.5^10 = 120/1024 ≈ 11.72%.

Corey
For the first success, we use the geometric distribution. Salesperson with 15% chance: probability first sale on third call is (0.85)^2 * 0.15 ≈ 10.84%.

Hope
Multiple categories? That's multinomial. Rolling a die 12 times, probability of five 1s, three 2s, and four others is (12!/(5!3!4!)) * (1/6)^5 * (1/6)^3 * (4/6)^4 ≈ 0.33%.

Corey
And negative binomial for a fixed number of successes. For 3 sales at 10% each, expected calls = r/p = 3/0.1 = 30. The probability of the third sale on the seventh call would use the formula, but we mostly need the mean.

Hope
Normal distribution for heights. Male height mean 175 cm, SD 6 cm. Probability between 170 and 185: z-scores -0.83 and 1.67, area = 0.9525 - 0.2033 = 74.92%.

Corey
Birth months are discrete uniform. Probability born in first quarter (Jan-Mar) is 3/12 = 25%.

Hope
Email campaign: binomial with n=20, p=0.25. Probability exactly 5 opens is C(20,5) * 0.25^5 * 0.75^15 ≈ 20.23%.

Corey
Machine lifetime exponential with mean 10,000 hours, so λ = 1/10000. Probability it lasts >12,000 hours is e^{-0.001*12000} = e^{-1.2} ≈ 30.12%.

Hope
Stock prices are lognormal. If ln(price) is normal with mean 3.8, SD 0.2, probability price < $40: ln(40)=3.689, z = (3.689-3.8)/0.2 = -0.555, area = 28.9%.

Corey
Free throw — Bernoulli again. Player makes 75%, so probability of making the shot is 0.75, and the expected value is also 0.75.

Hope
Finding defects: geometric with p=0.02. Expected number of items to check is 1/p = 50.

Corey
Page views in a 6-second window: Poisson with λ = 50 views/min * 0.1 min = 5. Probability of 0 views is e^{-5} ≈ 0.67%.

Hope
Random number generator: continuous uniform between 0 and 1. Probability between 0.3 and 0.7 is just 0.4, or 40%.

Corey
Basketball shots — negative binomial again. For 5 baskets with 70% success, probability the 5th basket occurs on the 7th attempt is C(6,4) * 0.7^5 * 0.3^2 ≈ 22.69%.

Hope
Customer preferences: multinomial with probabilities 0.6, 0.3, 0.1 for coffee, tea, juice. Probability of 6 coffee, 3 tea, 1 juice out of 10 is (10!/(6!3!1!)) * 0.6^6 * 0.3^3 * 0.1^1 ≈ 10.58%.

Corey
Daily temperatures normal with mean 78°F, SD 5°. Probability below 70°F: z = (70-78)/5 = -1.6, area = 5.48%.

Hope
Quality control: binomial with n=10, p=0.04. Probability no defects is 0.96^10 ≈ 66.48%.

Corey
Playing card suit: discrete uniform, each suit probability 1/4. Probability heart or diamond is 1/4 + 1/4 = 50%.

Hope
Rolling a die until a 4: geometric with p=1/6. Probability first 4 on 5th roll is (5/6)^4 * 1/6 ≈ 8.04%.

Corey
Email arrivals: exponential with rate 10/hour = 1/6 per minute. Probability between 3 and 9 minutes is e^{-0.5} - e^{-1.5} ≈ 0.6065 - 0.2231 = 38.34%.

Hope
Fair coin flip: Bernoulli with p=0.5. Probability of heads is 0.5, variance is p(1-p) = 0.25.

Corey
Biological growth: lognormal. If ln(size) is normal with mean 2.5, SD 0.3, probability size > 15 μm: ln(15)=2.708, z = (2.708-2.5)/0.3 = 0.693, area to right = 1 - 0.7557 = 24.43%.

Hope
Typos per page: Poisson with λ=2. Probability exactly one typo is 2 * e^{-2} ≈ 27.07%.

Corey
Medical trial: binomial with n=7, p=0.6. Probability at least 6 cured is P(6)+P(7) = C(7,6)*0.6^6*0.4 + C(7,7)*0.6^7 ≈ 0.1306 + 0.0279 = 15.85%.

Hope
And finally, lottery drawing: discrete uniform, 50 balls. Probability number between 20 and 30 inclusive is 11/50 = 22%. That covers all 30 problems!

Ask anything
We've read this whole study set, so questions about it get the best answers.