From a Severity Model to a Likelihood
A severity model specifies a distribution for claim amounts, conditional on the characteristics used to rate or classify the claims. Its likelihood answers a related question: how well do particular model parameters account for the observed severities? Writing the likelihood carefully matters because a Gamma model is parameterized by both a mean and a dispersion, and its scale is not generally equal to its mean.
Here, each observation is one positive claim severity. The likelihood is conditional on the claims’ recorded rating variables, and the model treats the severities as conditionally independent. This is the ordinary claim-level Gamma likelihood: it does not by itself adjust for claims selected by a deductible, censored at a policy limit, or otherwise observed through a selection process.
The shape-scale convention means that a Gamma variable with shape \(\alpha\) and scale \(\theta\) has mean \(\alpha\theta\). In this model, \((1/\phi)(\phi\mu_j)=\mu_j\), as required, while its variance is \((1/\phi)(\phi\mu_j)^2=\phi\mu_j^2\). Thus dispersion changes the spread around the mean without changing the specified mean.
The Individual Density Contribution
For \(y_j>0\), the Gamma density contribution of observation \(j\), conditional on its rating variables, is
Here \(\Gamma(\cdot)\) is the gamma function, with \(\Gamma(k)=(k-1)!\) for positive integers \(k\). The density is evaluated at the observed severity; it is not the probability that a continuous claim amount equals that exact value. A density can exceed one, and its units are the inverse of the units used for severity.
If there are \(n\) conditionally independent claim severities \(y_1,\ldots,y_n\), each with its own fitted mean \(\mu_j\) but a common dispersion \(\phi\), the joint likelihood is the product of the individual density contributions:
The symbol \(L\) denotes a function of the model parameters when the observed \(y_j\)'s are held fixed. In a severity GLM, the means are not arbitrary: for a specified link \(g\) and coefficient vector \(\boldsymbol{\beta}\), \(\mu_j=g^{-1}(\mathbf{x}_j^\mathsf{T}\boldsymbol{\beta})\). Substituting these means and a value of \(\phi\) into the likelihood gives the likelihood for that GLM parameter setting.
Deriving the Log-Likelihood
Products of many densities can be cumbersome to calculate. Taking a natural logarithm turns the product into a sum. Applying the logarithm to each factor gives
This expression shows where the data and parameters enter. Each observation contributes a term involving its observed severity \(y_j\), its fitted mean \(\mu_j\), and the dispersion \(\phi\). The gamma-function term and the powers involving \(\phi\) are part of the density’s normalizing constant; they must be retained when comparing different dispersion values.
Specify positive Gamma severities, their means \(\mu_j\), and the common dispersion \(\phi\). State that the observations are conditionally independent.
Use shape \(1/\phi\) and scale \(\phi\mu_j\) for every observed claim amount.
Multiply the densities to obtain the likelihood, or sum their logarithms to obtain the log-likelihood.
Why the log-likelihood has this form. Conditional independence means the joint density factors into the product of the individual densities. Taking its logarithm gives the sum of their logarithms because \(\log(ab)=\log a+\log b\). For one factor, the logarithm of the numerator power is \((1/\phi-1)\log y_j\); the exponential contributes \(-y_j/(\phi\mu_j)\); and the denominator contributes \(-\log\Gamma(1/\phi)-(1/\phi)\log(\phi\mu_j)\). Adding these terms for all claims yields the displayed expression. This derivation also explains why dropping a normalizing term can change likelihood comparisons, particularly when comparing dispersions.
Worked Likelihood Calculations
Worked Example: Two Claim-Level Density Contributions
A hypothetical portfolio has two observed claim severities, \(y_1=2\) and \(y_2=1\), in the same monetary units. The fitted means are \(\mu_1=2\) and \(\mu_2=1\). Assume conditionally independent Gamma severities with common dispersion \(\phi=0.5\). No interest rate or mortality assumption is involved; this is a severity model. Find each density contribution, the joint likelihood, and the log-likelihood.
Method and parameter check. The shape is \(1/\phi=2\), and the scale for claim \(j\) is \(\phi\mu_j\). Since \(\Gamma(2)=1\), the density simplifies to \(y_j\exp(-y_j/(0.5\mu_j))/(0.5\mu_j)^2\).
For claim 1, the scale is \(0.5(2)=1\). Therefore
For claim 2, the scale is \(0.5(1)=0.5\). Therefore
By conditional independence, the likelihood is the product:
Check. The log-likelihood is also \(\log(2e^{-2})+\log(4e^{-2})\), which equals \(\log(8)-4\). This agrees with the log of the joint likelihood. The common mistake avoided is multiplying the densities but then reporting that product as the log-likelihood.
Worked Example: Substituting Log-Link Fitted Means
For a hypothetical severity GLM, two claims have covariate values \(x_1=0\) and \(x_2=1\), with observed severities \(y_1=3\) and \(y_2=2\). The proposed log-link coefficients are \(\beta_0=\log 2\) and \(\beta_1=\log 2\), and the proposed dispersion is \(\phi=0.5\). Assume conditional independence and a Gamma response. There is no interest or mortality assumption. Calculate the fitted means and the log-likelihood, rounding the final log-likelihood to six decimals.
Method. Under a log link, \(\log\mu_j=\beta_0+\beta_1x_j\), so \(\mu_j=\exp(\beta_0+\beta_1x_j)\). The shape is \(2\), the gamma-function value is \(\Gamma(2)=1\), and the scale is \(0.5\mu_j\).
For \(x_1=0\),
Thus the first density contribution is
For \(x_2=1\),
Thus the second density contribution is
The joint likelihood and log-likelihood are
Check. The second scale is \(2\), not \(4\): it is \(\phi\mu_2=0.5(4)\). The calculation avoids confusing the fitted mean with the Gamma scale.
Worked Example: Comparing Two Candidate Dispersions
A hypothetical model gives two observed severities \(y_1=1\) and \(y_2=2\), with fitted means fixed at \(\mu_1=1\) and \(\mu_2=2\). Compare the log-likelihoods at \(\phi=0.5\) and \(\phi=0.25\), assuming conditionally independent Gamma severities. No interest or mortality assumption is needed. Keep the fitted means fixed so this comparison isolates the effect of dispersion.
At \(\phi=0.5\): the shape is \(2\), and the scales are \(0.5\) and \(1\). The density contributions are
Consequently,
At \(\phi=0.25\): the shape is \(4\), so \(\Gamma(4)=6\). The scales are \(0.25\) and \(0.5\). For the first observation,
For the second observation,
Multiplying and taking the logarithm gives
Check. For these fixed means, \(-1.186311\) is greater than \(-1.920558\), so the candidate \(\phi=0.25\) has the higher likelihood. This comparison alone does not establish a fitted dispersion for a broader model; it only evaluates the stated candidates. The common mistake avoided is omitting \(\Gamma(1/\phi)\) and the scale powers, which change when \(\phi\) changes.
Assumptions and Exam Traps
The ordinary likelihood above requires positive continuous severities modeled as Gamma and observations that are conditionally independent given their rating variables. It also assumes the observed claims are the severity observations described by the model. If the data have been selected by a deductible or are censored at a limit, the ordinary density at the recorded amount need not be the correct likelihood contribution; the observation process must be represented as well.
A frequent exam error is to treat \(\phi\) as the scale, or to substitute the mean for the scale. The scale is \(\phi\mu_j\), while the shape is \(1/\phi\). For example, when \(\phi=0.5\) and \(\mu_j=4\), the shape is \(2\) and the scale is \(2\), not \(0.5\) or \(4\). That distinction determines both the exponential term and the normalizing power in the density.
Another trap is to omit terms because they look constant. When estimating regression coefficients with a fixed dispersion, a term independent of those coefficients may sometimes be excluded from a particular optimization calculation. But when writing the full likelihood, or comparing different dispersion values, retain the complete expression unless the comparison justifies removing a term common to every candidate.
Check Your Understanding
For each problem, use the Gamma mean-dispersion parameterization and state the likelihood or log-likelihood requested. Unless a problem says otherwise, assume conditional independence. No interest or mortality assumptions are involved.
- A hypothetical claim has severity \(y=1.5\), fitted mean \(\mu=1.5\), and dispersion \(\phi=0.5\). Find its density contribution. (Answer: \(f=(8/3)e^{-2}\approx 0.360894\).)
- Two hypothetical claims have severities \(2\) and \(1\), fitted means \(1\) and \(2\), and common dispersion \(0.5\). Find the joint likelihood and log-likelihood. (Answer: \(L=8e^{-5}\approx 0.053901\), \(\ell=\log(8)-5\approx -2.920558\).)
- A claim has severity \(1\), fitted mean \(2\), and dispersion \(0.25\). Find its density contribution, using \(\Gamma(4)=6\). (Answer: \(f=(8/3)e^{-2}\approx 0.360894\).)
- A log-link model has \(\beta_0=\log 2\), \(\beta_1=\log 2\), and covariate values \(x=0,1\). The respective severities are \(2,3\), and \(\phi=0.5\). Find the two fitted means and the log-likelihood. (Answer: \(\mu_1=2,\ \mu_2=4,\ \ell=\log(3/2)-3.5\approx -3.094535\).)
- For one claim, \(y=\mu=1\). Compare likelihoods at \(\phi=0.5\) and \(\phi=0.25\). (Answer: \(L_{0.5}=4e^{-2}\approx0.541341\), \(L_{0.25}=(256/6)e^{-4}\approx0.781162\); the higher likelihood is at \(\phi=0.25\).)