TreeBUGS1.5.0 package

Hierarchical Multinomial Processing Tree Modeling

BayesFactorMPT

Bayes Factors for Simple (Nonhierarchical) MPT Models

BayesFactorSlope

Bayes Factor for Slope Parameters in Latent-Trait MPT

betaMPT

Fit a Hierarchical Beta-MPT Model

betaMPTcpp

C++ Sampler for Hierarchical Beta-MPT Model

betweenSubjectMPT

Between-Subject Comparison of Parameters

correlationPosterior

Posterior Distribution for Correlations

extendMPT

Extend MCMC Sampling for MPT Model

genBetaMPT

Generate Data for Beta MPT Models

genMPT

Generate MPT Frequencies

genTraitMPT

Generate Data for Latent-Trait MPT Models

getGroupMeans

Get Mean Parameters per Group

getParam

Get Parameter Posterior Statistics

getSamples

Get Posterior Samples from Fitted MPT Model

marginalMPT

Marginal Likelihood for Simple MPT

plot

Plot Convergence for Hierarchical MPT Models

plotDistribution

Plot Distribution of Individual Estimates

plotFit

Plot Posterior Predictive Mean Frequencies

plotFreq

Plot Raw Frequencies

plotParam

Plot Parameter Estimates

plotPrior

Plot Prior Distributions

plotPriorPost

Plot Prior vs. Posterior Distribution

posteriorPredictive

Get Posterior Predictive Samples

PPP

Compute Posterior Predictive P-Values

priorPredictive

Prior Predictive Samples

probitInverse

Probit-Inverse of Group-Level Normal Distribution

readEQN

Read multiTree files

simpleMPT

C++ Sampler for Standard (Nonhierarchical) MPT Models

summarizeMCMC

MCMC Summary

summarizeMPT

Summarize JAGS Output for Hierarchical MPT Models

testHetChi

Chi-Square Test of Heterogeneity

testHetPerm

Permutation Test of Heterogeneity

traitMPT

Fit a Hierarchical Latent-Trait MPT Model

transformedParameters

Get Transformed Parameters

TreeBUGS-package

TreeBUGS: Hierarchical Multinomial Processing Tree Modeling

WAIC

WAIC: Widely Applicable Information Criterion

withinSubjectEQN

Generate EQN Files for Within-Subject Designs

User-friendly analysis of hierarchical multinomial processing tree (MPT) models that are often used in cognitive psychology. Implements the latent-trait MPT approach (Klauer, 2010) <DOI:10.1007/s11336-009-9141-0> and the beta-MPT approach (Smith & Batchelder, 2010) <DOI:10.1016/j.jmp.2009.06.007> to model heterogeneity of participants. MPT models are conveniently specified by an .eqn-file as used by other MPT software and data are provided by a .csv-file or directly in R. Models are either fitted by calling JAGS or by an MPT-tailored Gibbs sampler in C++ (only for nonhierarchical and beta MPT models). Provides tests of heterogeneity and MPT-tailored summaries and plotting functions. A detailed documentation is available in Heck, Arnold, & Arnold (2018) <DOI:10.3758/s13428-017-0869-7> and a tutorial on MPT modeling can be found in Schmidt, Erdfelder, & Heck (2022) <DOI:10.31234/osf.io/gh8md>.