MPTinR: Analyze Multinomial Processing Tree Models
Version 1.10.3

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.

Browse man pages Browse package API and functions Browse package files

AuthorHenrik Singmann [aut, cre], David Kellen [aut], Quentin Gronau [aut], Christian Mueller [ctb], Akhil S Bhel [ctb]
Date of publication2015-07-27 19:11:44
MaintainerHenrik Singmann <singmann+mptinr@gmail.com>
LicenseGPL (>= 2)
Version1.10.3
Package repositoryView on R-Forge
InstallationInstall the latest version of this package by entering the following in R:
install.packages("MPTinR", repos="http://R-Forge.R-project.org")

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

Functions

DF.N.get Source code
MPTinR Man page
MPTinR-package Man page
append.helper Source code
apply.MPT.restrictions Source code
bmpt.fia Man page Source code
check.MPT.probabilities Source code
check.mpt Man page Source code
check.restrictions Source code
d.broeder Man page
determinant Source code
determinant_c Source code
find.MPT.params Source code
fit.model Man page Source code
fit.mpt Man page Source code
fit.mpt.old Man page Source code
fit.mptinr Man page Source code
gen.data Man page Source code
gen.predictions Man page Source code
get.mpt.fia Man page Source code
get.mpt.model Source code
inearizeNestedList Source code
lbmpt.to.mpt Man page Source code
make.eqn Man page Source code
make.llk.function Source code
make.llk.gradient Source code
make.llk.hessian Source code
make.mdt Man page Source code
make.model.df Source code
make.mpt.cf Man page Source code
oneSample Source code
oneSample_c Source code
parse Source code
parse.rec Source code
prediction.plot Man page Source code
prepare.mpt.fia Man page Source code
rb.fig1.data Man page
rb.fig2.data Man page
read.EQN.model Source code
read.EQN.model.2 Source code
read.MPT.model Source code
read.MPT.restrictions Source code
rendEq.rec Source code
renderEquation Source code
roc6 Man page
roc8 Man page
sLeaf Source code
sNode Source code
sample.data Man page Source code
select.mpt Man page Source code

Files

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