Skip to content

Commit 63d294b

Browse files
committed
update documentation of fair kernel scores
1 parent aa1e22d commit 63d294b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/crps_estimators.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,26 @@ $$
215215

216216
Some examples are given below.
217217

218+
More generally, for any positive definite kernel $k$, we have that
219+
220+
$$ \mathbb{E} S_{k}(F_{M}, y) = \mathbb{E} S_{k}(F, y) + \frac{1}{2M} \left( \mathbb{E} k(x_{1}, x_{1}) - \mathbb{E} k(x_{1}, x_{2}) \right). $$
221+
222+
Using this, a fair version of the kernel score is
223+
224+
$$
225+
S_{k}^{f}(F_{M}, y) = \frac{1}{M(M - 1)} \sum_{i=1}^{M-1} \sum_{j=i+1}^{M} k(x_{i}, x_{j}) + \frac{1}{2} k(y, y) - \frac{1}{M} \sum_{i=1}^{M} k(x_{i}, y).
226+
$$
227+
228+
The first term on the right-hand side is simply the mean of $k(x_i, x_j)$ over all $i,j = 1, \dots, M$ such that $i \neq j$.
229+
230+
For kernels defined in terms of conditionally negative definite functions, as described above, we have that
231+
232+
$$
233+
\mathbb{E} k(x_{1}, x_{1}) - \mathbb{E} k(x_{1}, x_{2}) = 2 \mathbb{E} \rho(x_1, x_{0}) - \mathbb{E} \left[ \rho(x_1, x_0) + \rho(x_2, x_{0}) - \rho(x_1, x_2) \right] = \mathbb{E} \rho(x_1, x_2),
234+
$$
235+
236+
showing that we recover the previous results in this case.
237+
218238

219239
#### CRPS
220240

0 commit comments

Comments
 (0)