J. Dahlin, and T. Schön. (2015)cite arxiv:1511.01707v4.pdfComment: 36 pages, 8 figures. Submitted to Journal of Statisical Software. Fixed typos and made minior revisions. Source code for R, Python and MATLAB available at: https://github.com/compops/pmh-tutorial.