rtmpt: An R package for fitting response-time extended multinomial processing tree models.
Behav Res Methods 2020;
52:1313-1338. [PMID:
32377974 DOI:
10.3758/s13428-019-01318-x]
[Citation(s) in RCA: 2] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/08/2022]
Abstract
Response-time extended multinomial processing tree models (RT-MPT; Klauer and Kellen, Journal of Mathematical Psychology, 82, 111-130 2018) provide estimates of process-completion times for cognitive processes modeled by means of multinomial processing tree (MPT) models (Batchelder and Riefer, Psychonomic Bulletin & Review, 6, 57-86 1999). We present the R package rtmpt with which it is possible to fit RT-MPT models easily. The package is free and open source, it can be used with two established MPT syntaxes, and has a number of useful features, such as suppressing process-completion times for specific process outcomes, holding process probabilities constant, and changing some prior parameters. In the background of the R package, an altered version of the original C++ code is used for the MCMC sampling. We provide a guide to using rtmpt, validate the underlying hierarchical Bayesian algorithm of rtmpt using simulation-based calibration and show that previously reported results can be reproduced using rtmpt.
Collapse