Package: RegDDM 1.0

Zekai Jin

RegDDM: Generalized Linear Regression with DDM

Drift-Diffusion Model (DDM) has been widely used to model binary decision-making tasks, and many research studies the relationship between DDM parameters and other characteristics of the subject. This package uses 'RStan' to perform generalized liner regression analysis over DDM parameters via a single Bayesian Hierarchical model. Compared to estimating DDM parameters followed by a separate regression model, 'RegDDM' reduces bias and improves statistical power.

Authors:Zekai Jin [aut, cre]

RegDDM_1.0.tar.gz
RegDDM_1.0.tar.gz(r-4.5-noble)RegDDM_1.0.tar.gz(r-4.4-noble)
RegDDM_1.0.tgz(r-4.4-emscripten)RegDDM_1.0.tgz(r-4.3-emscripten)
RegDDM.pdf |RegDDM.html
RegDDM/json (API)

# Install 'RegDDM' in R:
install.packages('RegDDM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/biorabbit/regddm/issues

Datasets:

1.70 score 3 scripts 3 exports 66 dependencies

Last updated 21 days agofrom:b4e68de6ae. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-linuxOKDec 06 2024

Exports:generate_sim_dataget_stan_fitregddm

Dependencies:abindbackportsBHcallrcheckmateclicolorspacecpp11descdistributionaldplyrevdexpmfansifarvergenericsggplot2gluegridExtragslgtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmsmmunsellmvtnormnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrtdistsscalesStanHeadersstringistringrsurvivaltensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr