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: fX(x)=(xn)px(1−p)(n−x)
- 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: fX(x)=(nN)(xK)(n−xN−K)
- mean & expectation: μ=E[X]=NnK
- variance: σ2=Var[X]=nNKNN−KN−1N−n
- mgf: MX(t)=(NKet+1−NK)n
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: μ=E[X]=p1
- variance: σ2=Var[X]=p21−p
- mgf: MX(t)=1−(1−p)etpet
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: fX(x)=(r−1x−1)pr(1−p)x−r
- mean & expectation: μ=E[X]=pr
- variance: σ2=Var[X]=p2r(1−p)
- mgf: MX(t)=(1−(1−p)etp)r
- 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: fX(x)=x!e−λλx
- 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
第九讲引入了连续随机变量,接着介绍了连续随机变量的分布
Definition:
A random variable X is said to have a uniform distribution if its probability density function is given by
- pdf: fX(x)=b−a1
- mean & expectation: μ=E[X]=2a+b
- variance: σ2=Var[X]=12(b−a)2
- mgf: MX(t)=t(b−a)etb−eta
- 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: μ=E[X]=λ1
- variance: σ2=Var[X]=λ21
- mgf: MX(t)=λ−tλ
Normal Distribution
Definition:
A random variable X is said to have a normal distribution if its probability density function is given by
- pdf: fX(x)=2πσ1e−2σ2(x−μ)2
- mean & expectation: μ=E[X]
- variance: σ2=Var[X]
- mgf: MX(t)=eμt+21σ2t2
- The normal distribution is the most important continuous distribution in probability and statistics