Estimate multinomial processing tree (MPT) models, a model class popular
in cognitive psychology, in a Bayesian framework using package brms
(i.e., ultimately Stan). This allows specifying models with any type
of multivariate normal hierarchical or multilevel structure, including
models with single and multiple random effects (i.e., crossed random
effects). Model specification can be tailored for each model parameter.
You can install the development version of mptstan from
GitHub with:
# install.packages("devtools")
devtools::install_github("mpt-network/mptstan")Because mptstan is based on brms and therefore Stan, you will need
a C++ compiler to use the package. Installation instructions for a C++
compiler for your operating system can be found here:
https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started