Analyze Multinomial Processing Tree Models
Overview
Provides a user-friendly way for the analysis of multinomial processing tree (MPT) models (e.g., Riefer, D. M., and Batchelder, W. H. [1988]. Multinomial modeling and the measurement of cognitive processes. Psychological Review, 95, 318-339) for single and multiple datasets. The main functions perform model fitting and model selection. Model selection can be done using AIC, BIC, or the Fisher Information Approximation (FIA) a measure based on the Minimum Description Length (MDL) framework. The model and restrictions can be specified in external files or within an R script in an intuitive syntax or using the context-free language for MPTs. The 'classical' .EQN file format for model files is also supported. Besides MPTs, this package can fit a wide variety of other cognitive models such as SDT models (see fit.model). It also supports multicore fitting and FIA calculation (using the snowfall package), can generate or bootstrap data for simulations, and plot predicted versus observed data.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) get.mpt.fia.Rd:60: Lost braces
60 | \item{lnconst}{When inequality constraints are present, \code{lnconst} serves as an adjustment of code{lnInt}. It estimates the logarithm of the proportion of parameter space [0,1]^S that satisfies those inequality constraints, and the log integral term is given by \code{lnInt+lnconst}.
| ^
checkRd: (-1) prediction.plot.Rd:38: Lost braces
38 | The labels on the x-axis. Default is \code{Tree 1} to code{Tree n}.
| ^NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Henrik Singmann <singmann@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE13 NOTE2026-09-08
- ERROR12 NOTE, 1 ERROR2026-09-07
- NOTE14 NOTE2026-04-22
- ERROR13 NOTE, 1 ERROR2026-04-18
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 17includes a package overview page
- Examples that run
- 46%6 run in a plain check · 7 never run
- Exported functions with examples
- 92%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 76%
Downloads
Dependencies
Installing MPTinR adds 4 packages (2 with compiled code, 3.9 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, Brobdingnag 334 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.14.1Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.13.02020-08-27 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.12.02019-12-14 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 17 exports
bmpt.fia, check.mpt, get.mpt.fia, make.eqn, make.mdt, make.mpt.cf, lbmpt.to.mpt, prediction.plot, prepare.mpt.fia, gen.data, sample.data, gen.predictions, fit.mptinr, fit.mpt, fit.mpt.old, fit.model, select.mpt - RR 3.6.0 released · 2019-04-26
- 1.11.02018-06-23 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.10.32015-07-27 · diff ↗
Show 18 earlier eventsHide 18 earlier events
- 1.9.22015-06-14 · diff ↗
- 1.8.02015-05-01 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.7.52015-03-22 · diff ↗
- 1.6.32014-10-21 · diff ↗
- 1.5.12014-08-08 · diff ↗
- 1.4.02014-05-10 · diff ↗
- 1.3.52014-04-12 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.2.52013-11-25 · diff ↗
- 1.1.82013-05-23 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.0.12013-02-07 · diff ↗
- 0.9.42012-07-23 · diff ↗
- 0.8.102012-04-19 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 0.6.52011-11-22
- RR 2.14.0 released · 2011-10-31
Package metadata
- First published
- 2011-11-22
- Total releases
- 18 / 15 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.15.1
- Bundled data
- 16 KB / 5 files
- Download size
- 648 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("MPTinR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.3758/s13428-012-0259-0.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.