Random effects model in credibility theory
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 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]
Consider i risks which generate random losses for which historical data of m recent claims are available (indexed by j ). A premium for the i th risk is to be determined based on the expected value of claims. A linear estimator which minimizes the mean square error is sought. Write
X ij for the j -th claim on the i -th risk (we assume that all claims for i -th risk are independent and identically distributed )
=
1
m
∑
j
=
1
m
X
i
j
{\displaystyle \scriptstyle ={\frac {1}{m}}\sum _{j=1}^{m}X_{ij}}
for the average value.
Θ
i
{\displaystyle \Theta _{i}}
- the parameter for the distribution of the i-th risk
m
(
ϑ
)
=
E
[
X
i
j
|
Θ
i
=
ϑ
]
{\displaystyle m(\vartheta )=\operatorname {E} \left[X_{ij}|\Theta _{i}=\vartheta \right]}
Π
=
E
(
m
(
ϑ
)
|
X
i
1
,
X
i
2
,
.
.
.
X
i
m
)
{\displaystyle \Pi =\operatorname {E} (m(\vartheta )|X_{i1},X_{i2},...X_{im})}
- premium for the i-th risk
μ
=
E
(
m
(
ϑ
)
)
{\displaystyle \mu =\operatorname {E} (m(\vartheta ))}
s
2
(
ϑ
)
=
Var
[
X
i
j
|
Θ
i
=
ϑ
]
{\displaystyle s^{2}(\vartheta )=\operatorname {Var} \left[X_{ij}|\Theta _{i}=\vartheta \right]}
σ
2
=
E
[
s
2
(
ϑ
)
]
{\displaystyle \sigma ^{2}=\operatorname {E} \left[s^{2}(\vartheta )\right]}
v
2
=
Var
[
m
(
ϑ
)
]
{\displaystyle v^{2}=\operatorname {Var} \left[m(\vartheta )\right]}
Note:
m
(
ϑ
)
{\displaystyle m(\vartheta )}
and
s
2
(
ϑ
)
{\displaystyle s^{2}(\vartheta )}
are functions of random parameter
ϑ
{\displaystyle \vartheta }
The Bühlmann model is the solution for the problem:
a
r
g
m
i
n
a
i
0
,
a
i
1
,
.
.
.
,
a
i
m
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
2
]
{\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
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
{\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.
The solution for the problem is:
Z
X
¯
i
+
(
1
−
Z
)
μ
{\displaystyle Z{\bar {X}}_{i}+(1-Z)\mu }
where:
Z
=
1
1
+
σ
2
v
2
m
{\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.
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:
f
=
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
m
(
ϑ
)
)
2
]
→
min
{\displaystyle f=\mathbb {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right)^{2}\right]\to \min }
Proof:
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
m
(
ϑ
)
)
2
]
=
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
2
]
+
E
[
(
m
(
ϑ
)
−
Π
)
2
]
−
2
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
(
m
(
ϑ
)
−
Π
)
]
=
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
2
]
+
E
[
(
m
(
ϑ
)
−
Π
)
2
]
{\displaystyle {\begin{aligned}\mathbb {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right)^{2}\right]&=\mathbb {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)^{2}\right]+\mathbb {E} \left[\left(m(\vartheta )-\Pi \right)^{2}\right]-2\mathbb {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\left(m(\vartheta )-\Pi \right)\right]\\&=\mathbb {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)^{2}\right]+\mathbb {E} \left[\left(m(\vartheta )-\Pi \right)^{2}\right]\end{aligned}}}
The last equation follows from the fact that
E
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
(
m
(
ϑ
)
−
Π
)
]
=
E
Θ
[
E
X
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
(
m
(
ϑ
)
−
Π
)
|
X
i
1
,
…
,
X
i
m
]
]
=
E
Θ
[
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
Π
)
[
E
X
[
(
m
(
ϑ
)
−
Π
)
|
X
i
1
,
…
,
X
i
m
]
]
]
=
0
{\displaystyle {\begin{aligned}\mathbb {E} \left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\left(m(\vartheta )-\Pi \right)\right]&=\mathbb {E} _{\Theta }\left[\mathbb {E} _{X}\left.\left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)(m(\vartheta )-\Pi )\right|X_{i1},\ldots ,X_{im}\right]\right]\\&=\mathbb {E} _{\Theta }\left[\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-\Pi \right)\left[\mathbb {E} _{X}\left[(m(\vartheta )-\Pi )|X_{i1},\ldots ,X_{im}\right]\right]\right]\\&=0\end{aligned}}}
We are using here the law of total expectation and the fact, that
Π
=
E
[
m
(
ϑ
)
|
X
i
1
,
…
,
X
i
m
]
.
{\displaystyle \Pi =\mathbb {E} [m(\vartheta )|X_{i1},\ldots ,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
1
2
∂
f
∂
a
i
0
=
E
[
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
m
(
ϑ
)
]
=
a
i
0
+
∑
j
=
1
m
a
i
j
E
(
X
i
j
)
−
E
(
m
(
ϑ
)
)
=
a
i
0
+
(
∑
j
=
1
m
a
i
j
−
1
)
μ
{\displaystyle {\frac {1}{2}}{\frac {\partial f}{\partial a_{i0}}}=\mathbb {E} \left[a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right]=a_{i0}+\sum _{j=1}^{m}a_{ij}\mathbb {E} (X_{ij})-\mathbb {E} (m(\vartheta ))=a_{i0}+\left(\sum _{j=1}^{m}a_{ij}-1\right)\mu }
a
i
0
=
(
1
−
∑
j
=
1
m
a
i
j
)
μ
{\displaystyle a_{i0}=\left(1-\sum _{j=1}^{m}a_{ij}\right)\mu }
For
k
≠
0
{\displaystyle k\neq 0}
we have:
1
2
∂
f
∂
a
i
k
=
E
[
X
i
k
(
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
−
m
(
ϑ
)
)
]
=
E
[
X
i
k
]
a
i
0
+
∑
j
=
1
,
j
≠
k
m
a
i
j
E
[
X
i
k
X
i
j
]
+
a
i
k
E
[
X
i
k
2
]
−
E
[
X
i
k
m
(
ϑ
)
]
=
0
{\displaystyle {\frac {1}{2}}{\frac {\partial f}{\partial a_{ik}}}=\mathbb {E} \left[X_{ik}\left(a_{i0}+\sum _{j=1}^{m}a_{ij}X_{ij}-m(\vartheta )\right)\right]=\mathbb {E} \left[X_{ik}\right]a_{i0}+\sum _{j=1,j\neq k}^{m}a_{ij}\mathbb {E} [X_{ik}X_{ij}]+a_{ik}\mathbb {E} [X_{ik}^{2}]-\mathbb {E} [X_{ik}m(\vartheta )]=0}
We can simplify derivative, noting that:
E
[
X
i
j
X
i
k
]
=
E
[
E
[
X
i
j
X
i
k
|
ϑ
]
]
=
E
[
cov
(
X
i
j
X
i
k
|
ϑ
)
+
E
(
X
i
j
|
ϑ
)
E
(
X
i
k
|
ϑ
)
]
=
E
[
(
m
(
ϑ
)
)
2
]
=
v
2
+
μ
2
E
[
X
i
k
2
]
=
E
[
E
[
X
i
k
2
|
ϑ
]
]
=
E
[
s
2
(
ϑ
)
+
(
m
(
ϑ
)
)
2
]
=
σ
2
+
v
2
+
μ
2
E
[
X
i
k
m
(
ϑ
)
]
=
E
[
E
[
X
i
k
m
(
ϑ
)
|
Θ
i
]
=
E
[
(
m
(
ϑ
)
)
2
]
=
v
2
+
μ
2
{\displaystyle {\begin{aligned}\mathbb {E} [X_{ij}X_{ik}]&=\mathbb {E} \left[\mathbb {E} [X_{ij}X_{ik}|\vartheta ]\right]=\mathbb {E} [{\text{cov}}(X_{ij}X_{ik}|\vartheta )+\mathbb {E} (X_{ij}|\vartheta )\mathbb {E} (X_{ik}|\vartheta )]=\mathbb {E} [(m(\vartheta ))^{2}]=v^{2}+\mu ^{2}\\\mathbb {E} [X_{ik}^{2}]&=\mathbb {E} \left[\mathbb {E} [X_{ik}^{2}|\vartheta ]\right]=\mathbb {E} [s^{2}(\vartheta )+(m(\vartheta ))^{2}]=\sigma ^{2}+v^{2}+\mu ^{2}\\\mathbb {E} [X_{ik}m(\vartheta )]&=\mathbb {E} [\mathbb {E} [X_{ik}m(\vartheta )|\Theta _{i}]=\mathbb {E} [(m(\vartheta ))^{2}]=v^{2}+\mu ^{2}\end{aligned}}}
Taking above equations and inserting into derivative, we have:
1
2
∂
f
∂
a
i
k
=
(
1
−
∑
j
=
1
m
a
i
j
)
μ
2
+
∑
j
=
1
,
j
≠
k
m
a
i
j
(
v
2
+
μ
2
)
+
a
i
k
(
σ
2
+
v
2
+
μ
2
)
−
(
v
2
+
μ
2
)
=
a
i
k
σ
2
−
(
1
−
∑
j
=
1
m
a
i
j
)
v
2
=
0
{\displaystyle {\frac {1}{2}}{\frac {\partial f}{\partial a_{ik}}}=\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}
σ
2
a
i
k
=
v
2
(
1
−
∑
j
=
1
m
a
i
j
)
{\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
a
i
k
{\displaystyle a_{ik}}
are constant
a
i
1
=
⋯
=
a
i
m
=
v
2
σ
2
+
m
v
2
{\displaystyle a_{i1}=\cdots =a_{im}={\frac {v^{2}}{\sigma ^{2}+mv^{2}}}}
From the solution for
a
i
0
{\displaystyle a_{i0}}
we have
a
i
0
=
(
1
−
m
a
i
k
)
μ
=
(
1
−
m
v
2
σ
2
+
m
v
2
)
μ
{\displaystyle a_{i0}=(1-ma_{ik})\mu =\left(1-{\frac {mv^{2}}{\sigma ^{2}+mv^{2}}}\right)\mu }
Finally, the best estimator is
a
i
0
+
∑
j
=
1
m
a
i
j
X
i
j
=
m
v
2
σ
2
+
m
v
2
X
i
¯
+
(
1
−
m
v
2
σ
2
+
m
v
2
)
μ
=
Z
X
i
¯
+
(
1
−
Z
)
μ
{\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 }
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 .