TreeBUGS: Hierarchical Multinomial Processing Tree Modeling

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.

AuthorDaniel Heck [aut, cre], Nina Arnold [aut, dtc], Denis Arnold [aut], Alexander Ly [ctb]
Date of publication2016-12-28 16:43:23
MaintainerDaniel Heck <heck@uni-mannheim.de>
LicenseGPL-2
Version1.0.1
https://github.com/denis-arnold/TreeBUGS

View on CRAN

Man pages

arnold2013: Data of a Source-Monitoring Experiment

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 Trait MPT Models

getGroupMeans: Get Mean Group Estimates

getParam: Get Parameter Posterior Statistics

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 MPT Model

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: TreeBUGS: Hierarchical Multinomial Processing Tree Modeling

withinSubjectEQN: Make Within-Subject EQN Files

Functions

arnold2013 Man page
betaMPT Man page
betaMPTcpp Man page
betweenSubjectMPT Man page
correlationPosterior Man page
extendMPT Man page
genBetaMPT Man page
genMPT Man page
genTraitMPT Man page
getGroupMeans Man page
getParam Man page
plot.betaMPT Man page
plotDistribution Man page
plotFit Man page
plotFreq Man page
plotParam Man page
plotPrior Man page
plotPriorPost Man page
plot.simpleMPT Man page
plot.traitMPT Man page
posteriorPredictive Man page
PPP Man page
priorPredictive Man page
probitInverse Man page
readEQN Man page
simpleMPT Man page
summarizeMCMC Man page
summarizeMPT Man page
testHetChi Man page
testHetPerm Man page
traitMPT Man page
transformedParameters Man page
TreeBUGS Man page
TreeBUGS-package Man page
withinSubjectEQN Man page

Files

TreeBUGS
TreeBUGS/inst
TreeBUGS/inst/CITATION
TreeBUGS/inst/MPTmodels
TreeBUGS/inst/MPTmodels/2htm.eqn
TreeBUGS/inst/MPTmodels/winbugs_zero_trick.jags
TreeBUGS/inst/MPTmodels/2htsm.eqn
TreeBUGS/inst/doc
TreeBUGS/inst/doc/TreeBUGS_1_intro.Rmd
TreeBUGS/inst/doc/TreeBUGS_1_intro.R
TreeBUGS/inst/doc/TreeBUGS_2_extended.Rmd
TreeBUGS/inst/doc/TreeBUGS_1_intro.html
TreeBUGS/inst/doc/TreeBUGS_2_extended.R
TreeBUGS/inst/doc/TreeBUGS_2_extended.html
TreeBUGS/tests
TreeBUGS/tests/testthat.R
TreeBUGS/tests/testthat
TreeBUGS/tests/testthat/test_genMPT.R
TreeBUGS/tests/testthat/test_readEQN.R
TreeBUGS/src
TreeBUGS/src/Makevars
TreeBUGS/src/betaMPT.cpp
TreeBUGS/src/Makevars.win
TreeBUGS/src/RcppExports.cpp
TreeBUGS/NAMESPACE
TreeBUGS/NEWS
TreeBUGS/data
TreeBUGS/data/arnold2013.RData
TreeBUGS/R
TreeBUGS/R/arnold2013.R TreeBUGS/R/covariateHandling.R TreeBUGS/R/plotPriorPost.R TreeBUGS/R/getGroupMeans.R TreeBUGS/R/parseRestrictions.R TreeBUGS/R/corSamples.R TreeBUGS/R/TreeBUGS-package.R TreeBUGS/R/checkFunctions.R TreeBUGS/R/covCorrelationString.R TreeBUGS/R/callingSampler.R TreeBUGS/R/sampleHyperprior.R TreeBUGS/R/posteriorPredictive.R TreeBUGS/R/printMPT.R TreeBUGS/R/thetaHandling.R TreeBUGS/R/genDataTrait.R TreeBUGS/R/renameBUGSoutput.R TreeBUGS/R/testHetChi.R TreeBUGS/R/genDataBeta.R TreeBUGS/R/covPredictorHandling.R TreeBUGS/R/genDataMPT.R TreeBUGS/R/T1perGroup.R TreeBUGS/R/getParam.R TreeBUGS/R/plotFit.R TreeBUGS/R/transformedParModelfile.R TreeBUGS/R/writeSummaryToFile.R TreeBUGS/R/betweenSubjects.R TreeBUGS/R/testHetPerm.R TreeBUGS/R/summarizeMCMC.R TreeBUGS/R/fitSimpleMPT.R TreeBUGS/R/covDataRead.R TreeBUGS/R/covFactor.R TreeBUGS/R/fitBetaMPTcpp.R TreeBUGS/R/transformedParPosthoc.R TreeBUGS/R/fitModel.R TreeBUGS/R/plotPrior.R TreeBUGS/R/RcppExports.R TreeBUGS/R/extendMPT.R TreeBUGS/R/within_subject_EQN.R TreeBUGS/R/correlationBayes.R TreeBUGS/R/plotDistribution.R TreeBUGS/R/makeModelDescription.R TreeBUGS/R/fitModelCpp.R TreeBUGS/R/correlationBayesMCMC.R TreeBUGS/R/readEQN.R TreeBUGS/R/CollectionOfInputProcessingFunctions.R TreeBUGS/R/priorPredictive.R TreeBUGS/R/plotParameters.R TreeBUGS/R/fitBetaMPT.R TreeBUGS/R/fitTraitMPT.R TreeBUGS/R/parseEQN.R TreeBUGS/R/genDataCheck.R TreeBUGS/R/plotFrequencies.R TreeBUGS/R/summarizeMPT.R TreeBUGS/R/PPP.R TreeBUGS/R/probitInverse.R TreeBUGS/R/plotConvergence.R
TreeBUGS/vignettes
TreeBUGS/vignettes/TreeBUGS_1_intro.Rmd
TreeBUGS/vignettes/TreeBUGS_2_extended.Rmd
TreeBUGS/MD5
TreeBUGS/build
TreeBUGS/build/vignette.rds
TreeBUGS/DESCRIPTION
TreeBUGS/man
TreeBUGS/man/summarizeMCMC.Rd TreeBUGS/man/priorPredictive.Rd TreeBUGS/man/getGroupMeans.Rd TreeBUGS/man/withinSubjectEQN.Rd TreeBUGS/man/posteriorPredictive.Rd TreeBUGS/man/testHetChi.Rd TreeBUGS/man/plotDistribution.Rd TreeBUGS/man/summarizeMPT.Rd TreeBUGS/man/plotPrior.Rd TreeBUGS/man/simpleMPT.Rd TreeBUGS/man/plotPriorPost.Rd TreeBUGS/man/readEQN.Rd TreeBUGS/man/testHetPerm.Rd TreeBUGS/man/genTraitMPT.Rd TreeBUGS/man/correlationPosterior.Rd TreeBUGS/man/extendMPT.Rd TreeBUGS/man/plotParam.Rd TreeBUGS/man/betaMPTcpp.Rd TreeBUGS/man/genBetaMPT.Rd TreeBUGS/man/getParam.Rd TreeBUGS/man/traitMPT.Rd TreeBUGS/man/betaMPT.Rd TreeBUGS/man/transformedParameters.Rd TreeBUGS/man/arnold2013.Rd TreeBUGS/man/plotFit.Rd TreeBUGS/man/genMPT.Rd TreeBUGS/man/betweenSubjectMPT.Rd TreeBUGS/man/probitInverse.Rd TreeBUGS/man/plot.Rd TreeBUGS/man/plotFreq.Rd TreeBUGS/man/PPP.Rd TreeBUGS/man/TreeBUGS.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.