@@ -696,32 +696,31 @@ Histograms
696696 E(x) = \dfrac {\sum _{i=1 }^{n}\tfrac {1 }{2 }(b_i + b_{i-1 }) \cdot w_i}{\sum _{i=1 }^{n}w_i}
697697
698698 Both Cumulative Distribution Functions
699- and Density Probability Distributions can be translated into histograms.
699+ and Discrete Probability Distributions can be translated into histograms.
700700
701701 A Cumulative Distribution Function is a list of pairs
702- :math: `(p_1 , v_ 1 ), \ldots , (p_n, v_n )`,
702+ :math: `(p_1 , b_ 1 ), \ldots , (p_n, b_n )`,
703703 where the :math: `p_i`'s are
704- such that :math: `p_i < p_{i+1 } \text { for } i=1 , \ldots , n \text { and } p_n=1 `.
704+ such that :math: `p_i < p_{i+1 } \text { for } i=0 , \ldots , n- 1 \text { and } p_n=1 , p_ 0 = 0 `.
705705 It differs from histograms in two ways.
706- First, :math: `X ` axis values are normalized (to spread between 0 and 1);
706+ First, :math: `Y ` axis values are normalized (to spread between 0 and 1);
707707 second, they are presented in a cumulative way.
708708 The histogram that corresponds to a Cumulative Distribution Function
709- :math: `(p_1 , v_1 ), \ldots , (p_n, v_n)`
710- is the list of pairs :math: `(b_1 , v_1 ), \ldots , (b_n, v_n)`,
711- with the initial value
712- :math: `b_0 = 0 , b_1 = p_1 , \text { and } b_i = p_i - p_{i-1 } \text { for all } i>1 `.
709+ :math: `(p_1 , b_1 ), \ldots , (p_n, b_n)`
710+ is the list of pairs :math: `(b_1 , w_1 ), \ldots , (b_n, w_n)`,
711+ where :math: `w_i = p_i - p_{i-1 }`.
713712
714713 A Discrete Probability Distribution is a list of pairs
715714 :math: `(d_1 , m_1 ), \ldots , (d_n, m_n)`.
716715 The :math: `d_i`'s are probability densities.
717- However, they could be any kind of values.
716+ However, they could be any kind of non-negative values.
718717 The :math: `m_i`'s are midpoints of intervals
719- and are such that :math: `m_1 < m_2 < \ldots < m_n < 1 `.
718+ and are such that :math: `0 < m_1 < m_2 < \ldots < m_n`.
720719 The histogram that corresponds to a Discrete Probability Distribution
721720 :math: `(d_1 , m_1 ), \ldots , (d_n, m_n)`
722721 is the list of pairs :math: `(b_1 , d_1 ), \ldots , (b_n, d_n)`,
723- with the initial value
724- :math: `b_ 0 = 0 , b_ 1 = 2 m_ 1 , \text { and } b_i = b_{i-1 } + 2 (m_i - b_{i-1 })`.
722+ with the initial boundary :math: `b_ 0 = 0 `,
723+ :math: `b_i = b_{i-1 } + 2 (m_i - b_{i-1 })`.
725724
726725
727726XML Representation
0 commit comments