Hastings - Metropolis Algorithm implementation in Mathematica

Nasser M. Abbasi, 04/08/2008

This below is an implementation of the Hastings - Metropolis algorithm.

A simple GUI interface allows the user to specify the number of steps
to run the algorithm for. At each step, the current P matrix and the
current calculated stationary distribution for this P matrix are shown
to help observe the convergence.