TreeBUGS: An R package for hierarchical multinomial processing tree modeling
Multinomial processing tree (MPT) models are a class of measurement models that account for categorical data by assuming a finite number of underlying cognitive processes. Traditionally, data are aggregated across participants and analyzed under the assumption of independently and identically distributed observations. Hierarchical Bayesian extensions of MPT models explicitly account for participant heterogeneity by assuming that the individual parameters follow a continuous hierarchical distribution. We provide an accessible introduction to hierarchical MPT modeling and present the user friendly and comprehensive R package TreeBUGS, which implements the two most important hierarchical MPT approaches for participant heterogeneity the beta MPT approach (Smith Batchelder, Journal of Mathematical Psychology 54:167 183, 2010) and the latent trait MPT approach (Klauer, Psychometrika 75:70 98, 2010) TreeBUGS reads standard MPT model files and obtains Markov chain Monte Carlo samples that approximate the posterior distribution. The functionality and output are tailored to the specific needs of MPT modelers and provide tests for the homogeneity of items and participants, individual and group parameter estimates, fit statistics, and within and between subjects comparisons, as well as goodness of fit and summary plots. We also propose and implement novel statistical extensions to include continuous and discrete predictors (as either fixed or random effects) in the latent trait MPT model.
Behavior research methods