A Matlab Program to Calculate the Maximum Entropy Distributions
Abstract
The classical Maximum Entropy (ME) problem consists of determining a probability distribution function (pdf) from a finite set of expectations of known functions. The solution depends on $N+1$ Lagrange multipliers which are determined by solving the set of nonlinear equations formed by the $N$ data constraints and the normalization constraint. In this short communication we give three Matlab programs to calculate these Lagrange multipliers. The first considers the general case where the functions can be any functions. The second considers the special case of power functions $x^n$. In this case the data are the geometrical moments of $p(x)$. The third considers the special case of Fourier series functions $\exp(-j n \omega x)$. In this case the data are the trigonometrical moments of $p(x)$. Some examples are also given to illustrate the usefullness of these programs.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2001
- DOI:
- 10.48550/arXiv.physics/0111126
- arXiv:
- arXiv:physics/0111126
- Bibcode:
- 2001physics..11126M
- Keywords:
-
- Physics - Data Analysis;
- Statistics and Probability
- E-Print:
- Presented at MaxEnt91. Appeared in Maximum Entropy and Bayesian Methods, C.R. Smith, G.J. Erickson and Paul O. Neudorfer (Ed.), pp: 221-234, Kluwer Academic Publishers (http://www.wkap.nl/prod/b/0-7923-2031-X)