******************
Description
******************
Estimate Rasch-MPT parameters as random person ability (B) and fixed item difficulty (D)
Estimate posterior predictive distributions (datamatrixNK_post)

Code written by Grant M. Walker (November 15, 2019)
Available from http://www.cogsci.uci.edu/~alns/MPTfit.php

Please cite:
Walker, G. M., Hickok, G., & Fridriksson, J. (2018). A cognitive psychometric model for assessment of picture naming abilities in aphasia. Psychological Assessment, 30(6), 809.

*******************
Instructions
*******************
1. Download and install JAGS (http://mcmc-jags.sourceforge.net/) and matjags (https://github.com/msteyvers/matjags)
2. Unzip 'MPT_Dfix_files_web.zip'
3. Add 'MPT_Dfix_files_web' folders and subfolders to Matlab path
4. Run 'MPTrasch_NameErr3_Dfix' from Matlab command window