24 min total

Probability

Continuous distributions

Continuous distributions

All densities below are zero outside their stated support. Gamma and exponential parameters use rates; a rate corresponds to a scale . In , the second parameter is variance.

Uniform

assigns equal probability to equal-length subintervals, with .

Normal

A normal distribution is determined by its mean and positive variance . Its density is symmetric around .

Standardizing gives . If denotes the standard normal CDF, then:

Independent normal variables add to a normal variable, with means and variances added. A linear combination of jointly normal variables is normal even when the variables are dependent; its variance must include covariance terms.

Exponential

describes the waiting time to an event in a constant-rate Poisson process.

The remaining wait has the same distribution after any elapsed time with no event. This memorylessness is a model assumption, not a general property of waiting times.

Gamma

With shape and rate , has:

For integer shape, this is a sum of that many independent exponential waiting times with the same rate. Independent gamma variables with a common rate add by adding their shapes. Shape one gives an exponential distribution.

Beta and learning a probability

A beta distribution models a value between zero and one. With :

is uniform on . In a binomial model with unknown success probability , a prior and observations of successes in trials give:

For example, a prior updated with seven successes and three failures becomes , with posterior mean .

If independent and share the same rate, then and this ratio is independent of .

Chi-square

The sum of squares of independent standard normal variables has a chi-square distribution with degrees of freedom.

Log-normal

If and , then is log-normal. The parameters describe the logarithm, not the mean and variance of .

Every positive integer moment is finite, but its MGF is infinite for every positive argument. This distinguishes the existence of moments from the existence of an MGF around zero.

Student’s t

If and are independent, then has a Student’s t distribution with degrees of freedom.

It is symmetric with heavier tails than a normal distribution. Its mean is zero when ; its variance is when . For smaller degrees of freedom, the corresponding moments are not finite. Its MGF does not exist on an open interval around zero.