这是统计学的分布部分的笔记,里面是常见分布汇总
L 7 - Distribution 1
Bernoulli Distribution
Definition:
A random variable X is said to have a Bernoulli distribution with parameter p, where 0 ≤ p ≤ 1, if its probability mass function is given by
- pmf.: fX(x) = px(1 − p)(1 − x) for x = 0, 1
- mean & expectation: μ = E[X] = p
- variance: σ2 = Var[X] = p(1 − p)
- mgf: MX(t) = E[etX] = etp + (1 − p), t ∈ (−∞, ∞)
n Bernoulli trials
Definition: a Bernoulli experiment performed n times:
- X1, X2, …, Xn are independent Bernoulli random variables (all trials are independent)
- with same parameter p
Binomial Distribution
Definition:
A random variable X is said to have a binomial distribution if its probability mass function is given by
- pmf:
- mean & expectation: μ = E[X] = np
- variance: σ2 = Var[X] = np(1 − p)
- mgf: MX(t) = (pet + 1 − p)n
deviation
if random variables X1, X2, …, Xn are independent, then
E[X1 + X2 + … + Xn] = E[X1] + E[X2] + … + E[Xn]
Var[X1 + X2 + … + Xn] = Var[X1] + Var[X2] + … + Var[Xn]
M′(t) = n[(1 − p) + pet]n − 1pet ⇒ M′(0) = E[X] = np
M″(t) = n(n − 1)[(1 − p) + pet]n − 2p2e2t + n[(1 − p) + pet]n − 1pet
M″(0) = E[X2] = n(n − 1)p2 + np
Var [X] = E[X2] − (E[X])2 = n2p2 − np2 + np − n2p2 = np(1 − p)
Hypergeometric Distribution
Definition:
A random variable X is said to have a hypergeometric distribution if its probability mass function is given by
- pmf:
- mean & expectation:
- variance:
- mgf:
L 8 - Distribution 2
Geometric Distribution
Definition:
A random variable X is said to have a geometric distribution if its probability mass function is given by
- pmf: fX(x) = p(1 − p)x − 1
- mean & expectation:
- variance:
- mgf:
Negative Binomial Distribution
Definition:
A random variable X is said to have a negative binomial distribution if its probability mass function is given by
- pmf:
- mean & expectation:
- variance:
- mgf:
- negative binomial distribution is a generalization of the geometric distribution
Poisson Distribution
Definition:
A random variable X is said to have a Poisson distribution if its probability mass function is given by
- pmf:
- mean & expectation: μ = E[X] = λ
- variance: σ2 = Var[X] = λ
- mgf: MX(t) = eλ(et − 1)
- Poisson distribution is a limiting case of the binomial distribution when n is large and p is small
L 9 & 10 - Continuous Random Variable 2
第九讲引入了连续随机变量,接着介绍了连续随机变量的分布
Uniform Distribution
Definition:
A random variable X is said to have a uniform distribution if its probability density function is given by
- pdf:
- mean & expectation:
- variance:
- mgf:
- The uniform distribution is often used to model situations where all outcomes are equally likely
Exponential Distribution
Definition:
A random variable X is said to have an exponential distribution if its probability density function is given by
- pdf: fX(x) = λe−λx
- mean & expectation:
- variance:
- mgf:
Normal Distribution
Definition:
A random variable X is said to have a normal distribution if its probability density function is given by
- pdf:
- mean & expectation: μ = E[X]
- variance: σ2 = Var[X]
- mgf:
- The normal distribution is the most important continuous distribution in probability and statistics