Distributions

Discrete Distributions

Binomial distribution

Suppose we toss a coin n times. Let X0,...,nX \in {0, . . . , n} be the number of heads. If the probability of heads is θ\theta, then we say XX has a binomial distribution

Bin(kn,θ)(nk)θk(1θ)nkBin(k|n,\theta) \triangleq \dbinom{n}{k} \theta^k(1-\theta)^{n-k}

Mean : θ\theta

Variance : nθ(1θ)n\theta(1 - \theta)

Bernoulli distribution

Ber(xθ)={θif x=11θif x=0Ber(x|\theta) = \begin{cases} \theta &\text{if } x = 1 \\ 1 - \theta &\text{if } x = 0 \end{cases}

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

X0,1,2,...X \in {0,1,2,...} has poission distribution with λ>0\lambda > 0 written as X Poi(λ)X ~ Poi(\lambda) iff

Poi(xλ)=eλλxx!Poi(x|\lambda) = e^{-\lambda} \dfrac{\lambda^x}{x!}

Continues Distributions

Gaussian (normal) distribution

N(xμ,σ2)=12πσ2e12σ2(xμ)2N(x|\mu,\sigma^2) = \dfrac{1}{\sqrt{2\pi \sigma^2}}e^{-\dfrac{1}{2\sigma^2}(x-\mu)^2}

Mean : μ\mu

Variance : σ2\sigma^2

Laplace distribution

Lap(xμ,b)=12bexμbLap(x|\mu, b) = \dfrac{1}{2b}e^{-\dfrac{|x-\mu|}{b}}

Mean : μ\mu

Mode : μ\mu

Variance : 2b22b^2

results matching ""

    No results matching ""