Neal, R. M. (2012) ``How to View an MCMC Simulation as a Permutation, with Applications to Parallel Simulation and Improved Importance Sampling'', Technical Report No. 1201, Dept. of Statistics, University of Toronto, 42 pages: abstract, postscript, pdf.The programs are available as a tar archive or a zip archive.