# Bühlmann model

In credibility theory, a branch of study in actuarial science, the Bühlmann model is a random effects model (or "variance components model" or hierarchical linear model) used in to determine the appropriate premium for a group of insurance contracts. The model is named after Hans Bühlmann who first published a description in 1967.[1]

## Model description

Consider i risks which generate random losses for which historical data of m recent claims are available (indexed by j). A premium for the ith risk is to be determined based on the expected value of claims. A linear estimator which minimizes the mean square error is sought. Write

• Xij for the j-th claim on the i-th risk (we assume that all claims for i-th risk are independent and identically distributed)
• ${\displaystyle \scriptstyle {\bar {X}}_{i}={\frac {1}{m}}\sum _{j=1}^{m}X_{ij}}$ for the average value.
• ${\displaystyle \Theta _{i}}$ - the parameter for the distribution of the i-th risk
• ${\displaystyle m(\vartheta )=\operatorname {E} \left[X_{ij}|\Theta _{i}=\vartheta \right]}$
• ${\displaystyle \Pi =\operatorname {E} (m(\vartheta )|X_{i1},X_{i2},...X_{im})}$ - premium for the i-th risk
• ${\displaystyle \mu =\operatorname {(} m(\vartheta ))}$
• ${\displaystyle s^{2}(\vartheta )=\operatorname {Var} \left[X_{ij}|\Theta _{i}=\vartheta \right]}$
• ${\displaystyle \sigma ^{2}=\operatorname {E} \left[s^{2}(\vartheta )\right]}$
• ${\displaystyle v^{2}=\operatorname {Var} \left[m(\vartheta )\right]}$

Note: ${\displaystyle m(\vartheta )}$ and ${\displaystyle s^{2}(\vartheta )}$ are functions of random parameter ${\displaystyle \vartheta }$

The Bühlmann model is the solution for the problem:

${\displaystyle {\underset {a_{i0},a_{i1},...,a_{im}}{\operatorname {arg\,min} }}\operatorname {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)^{2}\right]}$

where ${\displaystyle a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}}$ is the estimator of premium ${\displaystyle \Pi }$ and arg min represents the parameter values which minimize the expression.

## Model solution

The solution for the problem is:

${\displaystyle Z{\bar {X}}_{i}+(1-Z)\mu }$

where:

${\displaystyle Z={\frac {1}{1+{\frac {\sigma ^{2}}{v^{2}m}}}}}$

We can give this result the interpretation, that Z part of the premium is based on the information that we have about the specific risk, and (1-Z) part is based on the information that we have about the whole population.

### Proof

The following proof is slightly different from the one in the original paper. It is also more general, because it considers all linear estimators, while original proof considers only estimators based on average claim.[2]

Lemma: The problem can be stated alternatively as:

${\displaystyle f=\operatorname {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right)^{2}\right]\rightarrow min}$

Proof:

${\displaystyle \operatorname {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right)^{2}\right]}$ ${\displaystyle =\operatorname {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)^{2}\right]+\operatorname {E} \left[\left(m(\vartheta )-\Pi \right)^{2}\right]+2E\left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\left(m(\vartheta )-\Pi \right)\right]}$ ${\displaystyle =\operatorname {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)^{2}\right]+\operatorname {E} \left[\left(m(\vartheta )-\Pi \right)^{2}\right]}$

The last equation follows from the fact that ${\displaystyle \operatorname {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\left(m(\vartheta )-\Pi \right)\right]}$ ${\displaystyle \operatorname {E} _{\Theta }\left\{E_{X}\left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\left(m(\vartheta )-\Pi \right)|X_{i1},X_{i2},X_{im}\right]\right\}}$ ${\displaystyle =\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\operatorname {E} _{\Theta }\left\{\operatorname {E} _{X}\left[\left(m(\vartheta )-\Pi \right)|X_{i1},X_{i2},X_{im}\right]\right\}=0}$

We are using here the law of total expectation and the fact, that ${\displaystyle \Pi =\operatorname {E} (m(\vartheta )|X_{i1},X_{i2},...X_{im})}$

In our previous equation, we decompose minimized function in the sum of two expressions. The second expression does not depend on parameters used in minimization. Therefore, minimizing the function is the same as minimizing the first part of the sum.

Let us find critical points of the function

${\displaystyle {\frac {1}{2}}{\frac {\partial f}{\partial a_{01}}}=}$

${\displaystyle \operatorname {E} \left[a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right]=a_{i0}+\sum _{j=1}^{m}a_{ij}\operatorname {E} (X_{ij})-\operatorname {E} (m(\vartheta ))=a_{i0}-\left(\sum _{j=1}^{m}a_{ij}-1\right)\mu }$

${\displaystyle a_{i0}=\left(\sum _{j=1}^{m}a_{ij}-1\right)\mu }$

For ${\displaystyle k\neq 0}$ we have:

${\displaystyle {\frac {1}{2}}{\frac {\partial f}{\partial a_{ik}}}=\operatorname {E} \left[X_{ik}\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right)\right]}$ ${\displaystyle =\operatorname {E} \left[X_{ik}\right]a_{i0}+\sum _{j=1,j\neq k}^{m}a_{ij}\operatorname {E} [X_{ik}X_{ij}]+a_{ik}\operatorname {E} [X_{ik}^{2}]-\operatorname {E} [X_{ik}m(\vartheta )]=0}$

We can simplify derivative, noting that:

${\displaystyle \operatorname {E} [X_{ij}X_{ik}]=\operatorname {E} [\operatorname {E} [X_{ij}X_{ik}|\vartheta ]]=\operatorname {E} [cov(X_{ij}X_{ik}|\vartheta )+\operatorname {E} (X_{ij}|\vartheta )\operatorname {E} (X_{ik}|\vartheta )]=\operatorname {E} [(m(\vartheta ))^{2}]=v^{2}+\mu ^{2}}$

and

${\displaystyle \operatorname {E} [X_{ik}^{2}]=\operatorname {E} [\operatorname {E} [X_{ik}^{2}|\vartheta ]]=\operatorname {E} [s^{2}(\vartheta )+(m(\vartheta ))^{2}]=\sigma ^{2}+v^{2}+\mu ^{2}}$

and

${\displaystyle \operatorname {E} [X_{ik}m(\vartheta )]=\operatorname {E} [\operatorname {E} [X_{ik}m(\vartheta )|\Theta _{i}]=\operatorname {E} [(m(\vartheta ))^{2}]=v^{2}+\mu ^{2}}$

Taking above equations and inserting into derivative, we have:

${\displaystyle {\frac {1}{2}}{\frac {\partial f}{\partial a_{ik}}}}$ ${\displaystyle =\left(1-\sum _{j=1}^{m}a_{ij}\right)\mu ^{2}+\sum _{j=1,j\neq k}^{m}a_{ij}(v^{2}+\mu ^{2})+a_{ik}(\sigma ^{2}+v^{2}+\mu ^{2})-(v^{2}+\mu ^{2})=a_{ik}\sigma ^{2}-\left(1-\sum _{j=1}^{m}a_{ij}\right)v^{2}=0}$

${\displaystyle \sigma ^{2}a_{ik}=v^{2}\left(1-\sum _{j=1}^{m}a_{ij}\right)}$

Right side doesn't depend on k. Therefore all ${\displaystyle a_{ik}}$ are constant

${\displaystyle a_{i1}=a_{i2}=...=a_{im}={\frac {v^{2}}{\sigma ^{2}+mv^{2}}}}$

From the solution for ${\displaystyle a_{i0}}$ we have

${\displaystyle a_{i0}=(1-ma_{ik})\mu =\left(1-{\frac {mv^{2}}{\sigma ^{2}+mv^{2}}}\right)\mu }$

Finally, the best estimator is

${\displaystyle a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}={\frac {mv^{2}}{\sigma ^{2}+mv^{2}}}{\bar {X_{i}}}+\left(1-{\frac {mv^{2}}{\sigma ^{2}+mv^{2}}}\right)\mu =Z{\bar {X_{i}}}+(1-Z)\mu }$

## References

1. ^ Bühlmann, Hans (1967). "Experience rating and credibility" (PDF) 4 (3). ASTIN Bulletin: 99–207.
2. ^ Proof can be found on this site: Schmidli, Hanspeter. "Lecture notes on Risk Theory" (PDF). Institute of Mathematics, University of Cologne. Archived from the original (PDF) on August 11, 2013.
• Frees, E.W.; Young, V.R.; Luo, Y. (1999). "A longitudinal data analysis interpretation of credibility models". Insurance: Mathematics and Economics 24 (3): 229–247. doi:10.1016/S0167-6687(98)00055-9.