Key Probability Distributions

1 min read

Discrete:

DistributionPMFMeanVarianceUse
Bernoulli(pp)P(X=1)=pP(X=1) = pppp(1p)p(1-p)Single binary trial
Binomial(n,pn,p)(nk)pk(1p)nk\binom{n}{k}p^k(1-p)^{n-k}npnpnp(1p)np(1-p)Count of successes in nn trials
Categorical(p\mathbf{p})P(X=k)=pkP(X=k) = p_kOne draw from KK classes (softmax output)

Continuous:

DistributionPDFMeanVarianceUse
Gaussian(μ,σ2\mu, \sigma^2)12πσ2e(xμ)22σ2\frac{1}{\sqrt{2\pi\sigma^2}}e^{-\frac{(x-\mu)^2}{2\sigma^2}}μ\muσ2\sigma^2Everywhere: noise, priors, weight init

Why Gaussian is everywhere:

  • Central limit theorem: sum of many independent RVs → Gaussian
  • MLE with MSE loss assumes Gaussian noise
  • MAP with L2 regularization = Gaussian prior on weights
  • Weight Initialization draws from Gaussian (or uniform) scaled by layer size

Multivariate Gaussian: N(μ,Σ)\mathcal{N}(\boldsymbol{\mu}, \Sigma) — fully specified by mean vector and covariance matrix. The covariance matrix Σ\Sigma must be positive semi-definite.

See also: Random Variables, Expectation and Variance

Linked from