MPTinR-package: Fit Multinomial Processing Tree Models

Description Details Author(s) References


The package provides a user-friendly way to fit multinomial processing tree (MPT) models. MPT models are measurement models for cognitive processes with which you can estimate unobservable cognitive events and/or processes (see Riefer & Batchelder, 1988). MPT models can be used if observations fall into one and only one of a finite set of categories (i.e., if data is categorical). The advantages of MPTinR over competing packages or programs for fitting MPT models are: (1) MPTinR is an R package and therefore integrates smoothly with an R-workflow. (2) MPTinR allows an easy and intuitive way to specify the model in a file that even allows comments (via #). (3) Model restrictions can also easily be specified in a file. (4) MPTinR provides different outputs and analyses for individual datasets (i.e., a vector) and datasets consisting of multiple individuals (i.e., a matrix or data.frame). In the latter case, results are automatically provided for the individual datasets as well as mean and aggregated results. (5) For multiple individuals or multiple fitting runs the package allows one to use multiple cores (or CPUs) via the snowfall package by simply specifying the number of available cores (requires snowfall >= 1.84).


Package: MPTinR
Type: Package
Version: 0.5.2
Date: 2011-03-07
License: GPL (>= 2)
LazyLoad: yes

To fit MPT Models use fit.mpt


Henrik Singmann (for bug reports and feature requests):
David Kellen

Maintainer: Henrik Singmann <>


Riefer, D. M., & Batchelder, W. H. (1988). Multinomial modeling and the measurement of cognitive processes. Psychological Review, 95, 318-339

Search within the MPTinR2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.