Distributions
Discrete Distributions
Binomial distribution
Suppose we toss a coin n times. Let X∈0,...,n be the number of heads. If the probability of heads is θ, then we say X has a binomial distribution
Bin(k∣n,θ)≜(kn)θk(1−θ)n−k
Mean : θ
Variance : nθ(1−θ)
Bernoulli distribution
Ber(x∣θ)={θ1−θif x=1if x=0
Bernoulli distribution is a special case of binomial distribution with n = 1
Multinomial and multinoulli distributions
These are similar to above instead of two sided coin assume multi sided die
Poission distribution
X∈0,1,2,... has poission distribution with λ>0 written as X Poi(λ) iff
Poi(x∣λ)=e−λx!λx
Continues Distributions
Gaussian (normal) distribution
N(x∣μ,σ2)=√2πσ21e−2σ21(x−μ)2
Mean : μ
Variance : σ2
Laplace distribution
Lap(x∣μ,b)=2b1e−b∣x−μ∣
Mean : μ
Mode : μ
Variance : 2b2