MPTinR v1.11.0


Monthly downloads



Analyze Multinomial Processing Tree Models

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.

Functions in MPTinR

Name Description
get.mpt.fia Convenient function to get FIA for MPT Generate or bootstrap data and get predictions from a model specified in a model file (or connection).
check.mpt Check construction of MPT models.
MPTinR-package MPTinR
d.broeder Broeder & Schuetz (2009) Experiment 3
bmpt.fia Compute FIA for MPTs
fit.mptinr Fit cognitive models for categorical data using an objective function
fit.model Fit cognitive models for categorical data using model files
fit.mpt.old Function to fit MPT models (old)
make.eqn Creates an EQN model file oir MDT data file
prepare.mpt.fia Provides MATLAB command to get FIA Data to be used for the examples of MPTinR.
ROCs Recognition memory ROCs used by Klauer & Kellen (2015)
fit.mpt Function to fit MPT models Functions to transform MPT models.
select.mpt Model Selection with MPTinR
prediction.plot Plot observed versus predicted values for categorical data.
No Results!

Vignettes of MPTinR

No Results!

Last month downloads


Type Package
License GPL (>= 2)
LinkingTo Rcpp, RcppEigen
LazyLoad yes
ByteCompile yes
VignetteBuilder knitr
NeedsCompilation yes
Packaged 2018-06-23 16:33:08 UTC; henrik
Repository CRAN
Date/Publication 2018-06-23 17:08:51 UTC

Include our badge in your README