@article{HeckArnoldArnold2017, author = {Daniel W. Heck and Nina R. Arnold and Denis Arnold}, title = {TreeBUGS. An R package for hierarchical multinomial-processing-tree modeling}, series = {Behavior Research Methods}, edition = {First Online: 03 April 2017}, publisher = {Springer}, address = {New York, NY}, issn = {1554-3528}, doi = {10.3758/s13428-017-0869-7}, url = {https://nbn-resolving.org/urn:nbn:de:bsz:mh39-60423}, pages = {1 -- 21}, year = {2017}, abstract = {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.}, language = {en} }