Skip to content

Commit

Permalink
fix formula and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Apr 18, 2024
1 parent 5da33e4 commit 7d9bab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skpro/distributions/qpd_empirical.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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`,
Expand Down

0 comments on commit 7d9bab3

Please sign in to comment.