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 23:43:11
Maintainer
Henrik Singmann <singmann+mptinr@gmail.com>
License
GPL (>= 2)
Version
1.10.3

View on CRAN

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