Probability Distributions
Study guides: Exam FAM, Exam SRM, Exam ASTAM, Exam MAS-I
A Probability Distribution is the assignment of probabilities to the values of a random variable. A discrete random variable has a probability mass function p(x) = P(X = x), and a continuous random variable has a probability density function f(x). Either way the distribution function is F(x) = P(X \le x).
Discrete distributions
The named discrete distributions, the binomial, Poisson, negative binomial and geometric, count events:
| Distribution | P(X = k) |
E[X] |
\text{Var}(X) |
|---|---|---|---|
| Binomial | \binom{n}{k}p^k(1-p)^{n-k}, k = 0, \ldots, n |
np |
np(1-p) |
| Poisson | \frac{e^{-\lambda}\lambda^k}{k!}, k = 0, 1, \ldots |
\lambda |
\lambda |
| Negative binomial | \binom{k+r-1}{k}\left(\frac{1}{1+\beta}\right)^r\left(\frac{\beta}{1+\beta}\right)^k |
r\beta |
r\beta(1+\beta) |
| Geometric | \frac{\beta^k}{(1+\beta)^{k+1}}, k = 0, 1, \ldots |
\beta |
\beta(1+\beta) |
The binomial counts the successes in n independent trials, each with probability p. Loss Models writes its parameters as m and q, so its mean is mq. The negative binomial and geometric are written in the Loss Models form, with k = 0, 1, \ldots failures.
A policy has a claim in a year with probability 0.2, independently of 9 other policies. What is the probability of exactly 2 claims among the 10 policies, and what is the expected number of claims?
- The number of claims is binomial with
n = 10andp = 0.2.P(X = 2) = \binom{10}{2}(0.2)^2(0.8)^8 = 45 \times 0.04 \times 0.16777 = 0.3020.- The expected number of claims is
np = 10 \times 0.2 = 2.
Continuous distributions
The named continuous distributions, the uniform, normal, exponential and gamma, measure amounts and times:
| Distribution | f(x) |
E[X] |
\text{Var}(X) |
|---|---|---|---|
Uniform on (a, b) |
\frac{1}{b - a} |
\frac{a + b}{2} |
\frac{(b - a)^2}{12} |
| Normal | \frac{1}{\sigma\sqrt{2\pi}}e^{-(x-\mu)^2/(2\sigma^2)} |
\mu |
\sigma^2 |
| Exponential | \frac{1}{\theta}e^{-x/\theta}, x > 0 |
\theta |
\theta^2 |
| Gamma | \frac{x^{\alpha-1}e^{-x/\theta}}{\Gamma(\alpha)\,\theta^\alpha}, x > 0 |
\alpha\theta |
\alpha\theta^2 |
The claim-size distributions, including the Weibull and Pareto, are compared on the severity distribution page.
Claims arrive as a Poisson process at a rate of 2 per year. What is the distribution of the time until the first claim, and what is the probability that it arrives within 4 months?
- The time until the first claim is exponential with mean
\theta = 1/2year.- The probability that it arrives within
1/3year is1 - e^{-(1/3)/(1/2)} = 1 - e^{-2/3} = 0.4866.
Relationships between distributions
- The binomial with
nlarge andpsmall is approximately Poisson with\lambda = np. - The binomial with
npandn(1-p)large, and the Poisson with\lambdalarge, are approximately normal, by the Central Limit Theorem. - The exponential is the gamma with
\alpha = 1. The sum ofnindependent exponentials with mean\thetais gamma with\alpha = nand the same\theta. In a Poisson process with rate\lambda, the time until thenth event is gamma with\alpha = nand\theta = 1/\lambda. - A Poisson whose mean is gamma with parameters
\alphaand\thetais negative binomial withr = \alphaand\beta = \theta, a mixture.
The exponential family
A distribution belongs to the exponential family if its probability function can be written in the form
f(y; \theta) = \exp\left[a(y)\,b(\theta) + c(\theta) + d(y)\right]
\thetais the parameter of the distribution.a(y)andd(y)are functions ofyalone, andb(\theta)andc(\theta)are functions of\thetaalone.
The distribution is in canonical form when a(y) = y, and b(\theta) is then its natural parameter. The binomial, Poisson, normal, exponential and gamma distributions are all in the exponential family, which is what makes them the response distributions of a generalized linear model.
How is the Poisson distribution with mean
\lambdawritten in exponential family form?
- The probability function is
\frac{e^{-\lambda}\lambda^y}{y!} = \exp\left[y \ln\lambda - \lambda - \ln y!\right].- So
a(y) = y,b(\lambda) = \ln\lambda,c(\lambda) = -\lambdaandd(y) = -\ln y!.- The form is canonical, and the natural parameter is
\ln\lambda.