Skip to main content

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

More to the point, we wish to maximize the entropy $h(f)$ subject to the constraints that: $\int_a^b f(x) dx = 1$ and $\int_{v_{i-1}}^{v_i} f(x) dx = p_i$ for $1 \le i \le n+1$. As discussed in the reference below, the density of the maximum entropy distribution which satisfies these constraints is given by: $$ f(x) = Z^{-1} \exp\left( \sum_{i=1}^{n+1} \lambda_i 1_{(v_{i-1}, v_i]}(x) \right) 1_{[a,b]}(x) $$ where $Z$ is a normalization constant chosen such that $\int_a^b f(x) =1$ and where $\{ \lambda_i \}_{i=1}^{n+1}$ are Lagrange multipliers chosen such that $\int_{v_i}^{v_{i+1}} f(x) dx = p_i$. Eliminating these Lagrange multipliers and writing the density in terms of the given quantiles yields $$ f(x) = \frac{q_i - q_{i-1}}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) \;. $$$$ f(x) = \sum_i\frac{q_i - q_{i-1}}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) \;. $$

Reference

Cover, T. M., and J. A. Thomas. "Chapter 12, Maximum Entropy." Elements of Information Theory. John Wiley & Sons, 2012.

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

More to the point, we wish to maximize the entropy $h(f)$ subject to the constraints that: $\int_a^b f(x) dx = 1$ and $\int_{v_{i-1}}^{v_i} f(x) dx = p_i$ for $1 \le i \le n+1$. As discussed in the reference below, the density of the maximum entropy distribution which satisfies these constraints is given by: $$ f(x) = Z^{-1} \exp\left( \sum_{i=1}^{n+1} \lambda_i 1_{(v_{i-1}, v_i]}(x) \right) 1_{[a,b]}(x) $$ where $Z$ is a normalization constant chosen such that $\int_a^b f(x) =1$ and where $\{ \lambda_i \}_{i=1}^{n+1}$ are Lagrange multipliers chosen such that $\int_{v_i}^{v_{i+1}} f(x) dx = p_i$. Eliminating these Lagrange multipliers and writing the density in terms of the given quantiles yields $$ f(x) = \frac{q_i - q_{i-1}}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) \;. $$

Reference

Cover, T. M., and J. A. Thomas. "Chapter 12, Maximum Entropy." Elements of Information Theory. John Wiley & Sons, 2012.

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

More to the point, we wish to maximize the entropy $h(f)$ subject to the constraints that: $\int_a^b f(x) dx = 1$ and $\int_{v_{i-1}}^{v_i} f(x) dx = p_i$ for $1 \le i \le n+1$. As discussed in the reference below, the density of the maximum entropy distribution which satisfies these constraints is given by: $$ f(x) = Z^{-1} \exp\left( \sum_{i=1}^{n+1} \lambda_i 1_{(v_{i-1}, v_i]}(x) \right) 1_{[a,b]}(x) $$ where $Z$ is a normalization constant chosen such that $\int_a^b f(x) =1$ and where $\{ \lambda_i \}_{i=1}^{n+1}$ are Lagrange multipliers chosen such that $\int_{v_i}^{v_{i+1}} f(x) dx = p_i$. Eliminating these Lagrange multipliers and writing the density in terms of the given quantiles yields $$ f(x) = \sum_i\frac{q_i - q_{i-1}}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) \;. $$

Reference

Cover, T. M., and J. A. Thomas. "Chapter 12, Maximum Entropy." Elements of Information Theory. John Wiley & Sons, 2012.

Post Undeleted by Nawaf Bou-Rabee
added 69 characters in body
Source Link

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

ConsiderMore to the class of distributions onpoint, we wish to maximize the entropy $[a,b]$ whose density can be written as$h(f)$ subject to the constraints that: $$ f(x) = \frac{p_i}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) $$ so that$\int_a^b f(x) dx = 1$ and $\int_a^b f(x) = 1$$\int_{v_{i-1}}^{v_i} f(x) dx = p_i$ for $1 \le i \le n+1$. Over this class of distributions As discussed in the reference below, the differentialdensity of the maximum entropy reduces to a weighted sumdistribution which satisfies these constraints is given by: $$ - \int_a^b f(x) \log(f(x)) dx = - \sum_{1 \le i \le n+1} p_i \log(\frac{p_i}{v_i-v_{i-1}}) $$ This weighted sum$$ f(x) = Z^{-1} \exp\left( \sum_{i=1}^{n+1} \lambda_i 1_{(v_{i-1}, v_i]}(x) \right) 1_{[a,b]}(x) $$ where $Z$ is a concave function of its input vectornormalization constant chosen such that $(p_1, \cdots, p_{n+1})$,$\int_a^b f(x) =1$ and by using awhere $\{ \lambda_i \}_{i=1}^{n+1}$ are Lagrange multiplier, one can showmultipliers chosen such that it attains its maximum at: $$ p_i = \frac{(v_i - v_{i-1})}{b-a} \;, \quad 1 \le i \le n+1 $$ which satisfies $\sum_{1 \le i \le n+1} p_i =1 $,$\int_{v_i}^{v_{i+1}} f(x) dx = p_i$. Eliminating these Lagrange multipliers and so, $f(x)$ reduces towriting the density in terms of the uniform distribution over $[a,b]$.given quantiles yields $$ f(x) = \frac{q_i - q_{i-1}}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) \;. $$

One could optimize the entropy over a more general class of probability distributions onReference

Cover, T. M., and J. A. Thomas. "Chapter 12, Maximum Entropy." $[a,b]$ that satisfy the given constraintsElements of Information Theory. John Wiley & Sons, 2012.

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

Consider the class of distributions on $[a,b]$ whose density can be written as: $$ f(x) = \frac{p_i}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) $$ so that $\int_a^b f(x) = 1$. Over this class of distributions, the differential entropy reduces to a weighted sum: $$ - \int_a^b f(x) \log(f(x)) dx = - \sum_{1 \le i \le n+1} p_i \log(\frac{p_i}{v_i-v_{i-1}}) $$ This weighted sum is a concave function of its input vector $(p_1, \cdots, p_{n+1})$, and by using a Lagrange multiplier, one can show that it attains its maximum at: $$ p_i = \frac{(v_i - v_{i-1})}{b-a} \;, \quad 1 \le i \le n+1 $$ which satisfies $\sum_{1 \le i \le n+1} p_i =1 $, and so, $f(x)$ reduces to the density of the uniform distribution over $[a,b]$.

One could optimize the entropy over a more general class of probability distributions on $[a,b]$ that satisfy the given constraints.

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

More to the point, we wish to maximize the entropy $h(f)$ subject to the constraints that: $\int_a^b f(x) dx = 1$ and $\int_{v_{i-1}}^{v_i} f(x) dx = p_i$ for $1 \le i \le n+1$. As discussed in the reference below, the density of the maximum entropy distribution which satisfies these constraints is given by: $$ f(x) = Z^{-1} \exp\left( \sum_{i=1}^{n+1} \lambda_i 1_{(v_{i-1}, v_i]}(x) \right) 1_{[a,b]}(x) $$ where $Z$ is a normalization constant chosen such that $\int_a^b f(x) =1$ and where $\{ \lambda_i \}_{i=1}^{n+1}$ are Lagrange multipliers chosen such that $\int_{v_i}^{v_{i+1}} f(x) dx = p_i$. Eliminating these Lagrange multipliers and writing the density in terms of the given quantiles yields $$ f(x) = \frac{q_i - q_{i-1}}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) \;. $$

Reference

Cover, T. M., and J. A. Thomas. "Chapter 12, Maximum Entropy." Elements of Information Theory. John Wiley & Sons, 2012.

Post Deleted by Nawaf Bou-Rabee
deleted 4 characters in body
Source Link

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

Consider the class of distributions on $[a,b]$ whose density can be written as: $$ f(x) = \frac{p_i}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) $$ so that $\int_a^b f(x) = 1$. Over this class of distributions, the differential entropy reduces to a weighted sum: $$ - \int_a^b f(x) \log(f(x)) dx = - \sum_{1 \le i \le n+1} p_i \log(\frac{p_i}{v_i-v_{i-1}}) $$ This weighted sum is a concave function of its input vector $(p_1, \cdots, p_{n+1})$, and by using a Lagrange multiplier, one can show that it attains its maximum at: $$ p_i = Z^{-1} (v_i - v_{i-1}) \;, \quad 1 \le i \le n+1 $$ where$$ p_i = \frac{(v_i - v_{i-1})}{b-a} \;, \quad 1 \le i \le n+1 $$ which satisfies $Z$ comes from eliminating the Lagrange multiplier$\sum_{1 \le i \le n+1} p_i =1 $, and is a normalization constant chosen such that: $\sum_{1 \le i \le n+1} p_i =1 $. In the special case where $v_i - v_{i-1} = h > 0$ for $1 \le i \le n+1$so, then $Z=h (n+1)$ and$f(x)$ reduces to the density of the uniform distribution over $p_i = 1/(n+1)$ for$[a,b]$.

One could optimize the entropy over a more general class of probability distributions on $1 \le i \le n+1$$[a,b]$ that satisfy the given constraints.

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

Consider the class of distributions on $[a,b]$ whose density can be written as: $$ f(x) = \frac{p_i}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) $$ so that $\int_a^b f(x) = 1$. Over this class of distributions, the differential entropy reduces to a weighted sum: $$ - \int_a^b f(x) \log(f(x)) dx = - \sum_{1 \le i \le n+1} p_i \log(\frac{p_i}{v_i-v_{i-1}}) $$ This weighted sum is a concave function of its input vector $(p_1, \cdots, p_{n+1})$, and by using a Lagrange multiplier, one can show that it attains its maximum at: $$ p_i = Z^{-1} (v_i - v_{i-1}) \;, \quad 1 \le i \le n+1 $$ where $Z$ comes from eliminating the Lagrange multiplier, and is a normalization constant chosen such that: $\sum_{1 \le i \le n+1} p_i =1 $. In the special case where $v_i - v_{i-1} = h > 0$ for $1 \le i \le n+1$, then $Z=h (n+1)$ and $p_i = 1/(n+1)$ for $1 \le i \le n+1$.

Let $X \sim f$ which implies that $X \in [a,b]$ almost surely. In terms of the CDF of $X$ at the points $\{ v_i \}_{i=1}^n$, define $$ p_i := \mathbb{P}( v_{i-1} < X \le v_i ) = q_i - q_{i-1} \;, \quad 1 \le i \le n+1 $$ where we have introduced $v_0 = a$, $v_{n+1} = b$, $q_{0}=0$ and $q_{n+1} = 1$. Note that $\sum_{1 \le i \le n+1} p_i = 1$ since the sum telescopes.

Consider the class of distributions on $[a,b]$ whose density can be written as: $$ f(x) = \frac{p_i}{v_i - v_{i-1}} 1_{(v_{i-1}, v_i]}(x) $$ so that $\int_a^b f(x) = 1$. Over this class of distributions, the differential entropy reduces to a weighted sum: $$ - \int_a^b f(x) \log(f(x)) dx = - \sum_{1 \le i \le n+1} p_i \log(\frac{p_i}{v_i-v_{i-1}}) $$ This weighted sum is a concave function of its input vector $(p_1, \cdots, p_{n+1})$, and by using a Lagrange multiplier, one can show that it attains its maximum at: $$ p_i = \frac{(v_i - v_{i-1})}{b-a} \;, \quad 1 \le i \le n+1 $$ which satisfies $\sum_{1 \le i \le n+1} p_i =1 $, and so, $f(x)$ reduces to the density of the uniform distribution over $[a,b]$.

One could optimize the entropy over a more general class of probability distributions on $[a,b]$ that satisfy the given constraints.

fixed a typo
Source Link
Loading
Source Link
Loading