Markov Chain Monte Carlo acceleration by Differential Evolution
is a MATLAB program which
implements the DREAM algorithm for accelerating
Markov Chain Monte Carlo (MCMC) convergence using differential evolution,
by Guannan Zhang.
DREAM requires user input in the form of five FORTRAN90
Examples of such user input are listed below.
problem_size(), defines the sizes of problem parameters;
problem_value(), defines the value of problem parameters;
prior_density(), evaluates the prior distribution;
prior_sample(), samples the prior distribution;
sample_likelihood(), evaluates the log likelihood function.
DREAM requires access to he
pdflib library, which can evaluate a variety of Probability
Density Functions (PDF's) and produce samples from them.
The user may wish to invoke this library when constructing
some of the user functions.
DREAM requires access to the
rnglib library, in order to generate random numbers.
The DREAM program was originally developed by Guannan Zhang, of
Oak Ridge National Laboratory (ORNL); it has been incorporated into
the DAKOTA package of Sandia National Laboratory, and forms
part of the ORNL package known as TASMANIAN.
A version of the DREAM library is available in
the TASMANIAN library, available from Oak Ridge National Laboratory.
The computer code and data files described and made available on this
web page are distributed under
the GNU LGPL license.
DREAM is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
a MATlAB library which
evaluates Probability Density Functions (PDF's)
and produces random samples from them,
including beta, binomial, chi, exponential, gamma, inverse chi,
inverse gamma, multinomial, normal, scaled inverse chi, and uniform.
a MATLAB library which
implements a random number generator (RNG) with splitting facilities,
allowing multiple independent streams to be computed,
by L'Ecuyer and Cote.
Original FORTRAN90 version by Guannan Zhang;
MATLAB version by John Burkardt.
Pierre LEcuyer, Serge Cote,
Implementing a Random Number Package with Splitting Facilities,
ACM Transactions on Mathematical Software,
Volume 17, Number 1, March 1991, pages 98-111.
Jasper Vrugt, CJF ter Braak, CGH Diks, Bruce Robinson, James Hyman,
Accelerating Markov Chain Monte Carlo Simulation by Differential
Evolution with Self-Adaptive Randomized Subspace Sampling,
International Journal of Nonlinear Sciences and Numerical
Volume 10, Number 3, March 2009, pages 271-288.
starts Markov chains from a prior distribution.
prints the initial values for Markov chains.
identifies and modifies outlier chains during burn-in.
writes samples of each chain to separate files.
updates the CR distance.
chooses a CR value.
initializes the crossover probability values.
updates the CR probabilities.
computes the differential evolution.
the main program.
gets a candidate parameter sample.
increments a partially numeric filename.
computes the Gelman Rubin statistics R used to check convergence.
initializes Gelman-Rubin variables.
writes the Gelman-Rubin R statistics into a file.
prints an I4MAT.
prints some of an I4MAT.
prints an I4VEC "transposed".
prints the data from the input file.
chooses a jump rate from the jump rate table.
initializes the jump rate table.
prints the jump rate table.
prints an R8VEC "transposed".
reads parameter sample data from a restart file.
writes a restart file.
generates candidate parameter samples.
enforces limits on a sample variable.
computes the current standard deviations, for each parameter.
prints the current YMDHMS date as a time stamp.
Last revised on 09 January 2019.