From 7d9bab3c0a3f1c3305f84415282ef5e330ee37f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Thu, 18 Apr 2024 14:28:39 +0100 Subject: [PATCH] fix formula and formatting --- skpro/distributions/qpd_empirical.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skpro/distributions/qpd_empirical.py b/skpro/distributions/qpd_empirical.py index 7e197106a..9f7596478 100644 --- a/skpro/distributions/qpd_empirical.py +++ b/skpro/distributions/qpd_empirical.py @@ -10,7 +10,7 @@ class QPD_Empirical(Empirical): - """Empirical quantile parametrized distribution. + r"""Empirical quantile parametrized distribution. This distribution is parameterized by a set of quantile points and quantiles, quantiles :math:`q_1, q_2, \dots, q_N` @@ -34,7 +34,7 @@ class QPD_Empirical(Empirical): supported at the quantiles :math:`q_1, q_2, \dots, q_N`, with weights :math:`w_1, w_2, \dots, w_N` such that :math:`w_i = (p_{i+1} - p_{i-1})/2` for :math:`1 = 1, \dots, N`, - where we define :math:`p_0 = 0` and :math:`p_{N+1} = 2`. + where we define :math:`p_0 = -p_1` and :math:`p_{N+1} = 2 - p_N`. Formally, the distribution is parametrized by the quantiles :math:`q_i` and the quantile points :math:`p_i`, not by the quantiles and weights :math:`w_i`,