MPTinR: 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.

Author
Henrik Singmann [aut, cre], David Kellen [aut], Quentin Gronau [aut], Christian Mueller [ctb], Akhil S Bhel [ctb]
Date of publication
2015-07-27 19:11:44
Maintainer
Henrik Singmann <singmann+mptinr@gmail.com>
License
GPL (>= 2)
Version
1.10.3

View on R-Forge

Man pages

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

Files in this package

MPTinR/DESCRIPTION
MPTinR/NAMESPACE
MPTinR/NEWS
MPTinR/R
MPTinR/R/DF.n.get.R
MPTinR/R/RcppExports.R
MPTinR/R/apply.MPT.restrictions.R
MPTinR/R/bmpt.fia.R
MPTinR/R/check.MPT.probabilities.R
MPTinR/R/check.mpt.R
MPTinR/R/find.MPT.params.R
MPTinR/R/fit.model.R
MPTinR/R/fit.mpt.R
MPTinR/R/fit.mpt.old.R
MPTinR/R/fit.mptinr.R
MPTinR/R/get.mpt.fia.R
MPTinR/R/get.mpt.model.R
MPTinR/R/lbmpt.to.bmpt.R
MPTinR/R/llk.gradient.hessian.R
MPTinR/R/make.eqn.R
MPTinR/R/make.model.df.R
MPTinR/R/make.mpt.cf.R
MPTinR/R/predict.model.R
MPTinR/R/prediction.plot.R
MPTinR/R/prepare.mpt.fia.R
MPTinR/R/read.EQN.model.2.R
MPTinR/R/read.EQN.model.R
MPTinR/R/read.MPT.model.R
MPTinR/R/read.MPT.restrictions.R
MPTinR/R/select.mpt.R
MPTinR/build
MPTinR/build/vignette.rds
MPTinR/data
MPTinR/data/d.broeder.rda
MPTinR/data/rb.fig1.data.rda
MPTinR/data/rb.fig2.data.rda
MPTinR/data/roc6.rda
MPTinR/data/roc8.rda
MPTinR/inst
MPTinR/inst/CITATION
MPTinR/inst/doc
MPTinR/inst/doc/mptinr_introduction.R
MPTinR/inst/doc/mptinr_introduction.Rnw
MPTinR/inst/doc/mptinr_introduction.pdf
MPTinR/inst/extdata
MPTinR/inst/extdata/5points.2htm.model
MPTinR/inst/extdata/broeder.1htm.restr
MPTinR/inst/extdata/broeder.1htm.restr.ineq
MPTinR/inst/extdata/broeder.2htm.ineq
MPTinR/inst/extdata/broeder.2htm.restr
MPTinR/inst/extdata/broeder.2htm.restr.ineq
MPTinR/inst/extdata/broeder.sdt.model
MPTinR/inst/extdata/rb.fig1.model
MPTinR/inst/extdata/rb.fig1.model.eqn
MPTinR/inst/extdata/rb.fig2.c.equal
MPTinR/inst/extdata/rb.fig2.model
MPTinR/inst/extdata/rb.fig2.r.equal
MPTinR/inst/extdata/wmb.ex1.model
MPTinR/inst/extdata/wmb.ex1.restr
MPTinR/man
MPTinR/man/MPTinR-package.Rd
MPTinR/man/bmpt.fia.Rd
MPTinR/man/check.mpt.Rd
MPTinR/man/d.broeder.Rd
MPTinR/man/fit.model.Rd
MPTinR/man/fit.mpt.Rd
MPTinR/man/fit.mpt.old.Rd
MPTinR/man/fit.mptinr.Rd
MPTinR/man/gen.data.Rd
MPTinR/man/get.mpt.fia.Rd
MPTinR/man/make.eqn.Rd
MPTinR/man/make.mpt.cf.Rd
MPTinR/man/prediction.plot.Rd
MPTinR/man/prepare.mpt.fia.Rd
MPTinR/man/rb.fig1.data.Rd
MPTinR/man/rocs.Rd
MPTinR/man/select.mpt.Rd
MPTinR/src
MPTinR/src/RcppExports.cpp
MPTinR/src/determinant.cpp
MPTinR/src/determinant_c.cpp
MPTinR/vignettes
MPTinR/vignettes/Figure1.pdf
MPTinR/vignettes/MPT.bib
MPTinR/vignettes/mptinr_introduction.Rnw