week 5 flashcards
(34 cards)
What is a random variable (RV)?
A function that assigns numerical values to outcomes of a random process.
Expected Value (Mean) of X?
E[X] = Σ x P(x)
Variance Formula?
Var[X] = E[(X - μ)^2] p[x]
Standard Deviation Formula?
SD[X] = √Var[X]
What happens when you add/subtract a constant C to X?
Mean shifts: E[X + C] = E[X] + C, but variance remains the same.
What happens when you multiply X by a constant C?
Mean scales: E[aX] = aE[X], Variance scales: Var[aX] = a²Var[X]
What are Bernoulli trials?
Repeated experiments with 2 outcomes (success/failure).
Geometric Distribution Formula?
P(X = k) = (1 - p)^(k - 1) p
Expected value of a Geometric RV?
E[X] = 1/p
Variance of a Geometric RV?
Var[X] = (1 - p) / p²
Binomial Distribution Formula?
P(X = k) = (n choose k) p^k (1 - p)^(n - k)
Expected value of Binomial RV?
E[X] = np
Variance of Binomial RV?
Var[X] = np(1 - p)
Poisson Distribution Formula?
P(X = n) = (e^(-λ) λ^n) / n!
Expected value of Poisson RV?
E[X] = λ
Variance of Poisson RV?
Var[X] = λ
What is the Normal Distribution?
A bell-shaped curve defined by mean μ and standard deviation σ.
Standard Normal Distribution Formula?
Z = (X - μ) / σ
What is the Exponential Distribution?
Models time until the next event in a Poisson process.
Exponential Distribution Formula?
P(X ≤ t) = 1 - e^(-λ t)
Sum of two independent RVs?
E[X + Y] = E[X] + E[Y], Var[X + Y] = Var[X] + Var[Y]
What happens when you subtract two RVs?
Expected value subtracts, but variance always adds: Var[X - Y] = Var[X] + Var[Y]
Probability of rolling exactly 3 sixes in 10 rolls?
Use Binomial: P(X = k) = (n choose k) p^k (1 - p)^(n - k)
Website gets 4 visitors per minute. Probability of exactly 5 visitors in a minute?
Use Poisson: P(X = 5) = (e^(-4) 4^5) / 5!