Package: RegDDM 1.1

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.1.tar.gz
RegDDM_1.1.zip(r-4.5)RegDDM_1.1.zip(r-4.4)RegDDM_1.1.zip(r-4.3)
RegDDM_1.1.tgz(r-4.5-any)RegDDM_1.1.tgz(r-4.4-any)RegDDM_1.1.tgz(r-4.3-any)
RegDDM_1.1.tar.gz(r-4.5-noble)RegDDM_1.1.tar.gz(r-4.4-noble)
RegDDM_1.1.tgz(r-4.4-emscripten)RegDDM_1.1.tgz(r-4.3-emscripten)
RegDDM.pdf |RegDDM.html
RegDDM/json (API)

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

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

Datasets:

On CRAN:

Conda:

3.93 score 1 stars 3 scripts 169 downloads 3 exports 66 dependencies

Last updated 3 months agofrom:477a1fd614. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winOKMar 10 2025
R-4.5-macOKMar 10 2025
R-4.5-linuxOKMar 10 2025
R-4.4-winOKMar 10 2025
R-4.4-macOKMar 10 2025
R-4.4-linuxOKMar 10 2025
R-4.3-winOKMar 10 2025
R-4.3-macOKMar 10 2025

Exports:generate_sim_dataget_stan_fitregddm

Dependencies:abindbackportsBHcallrcheckmateclicolorspacecpp11descdistributionaldplyrevdexpmfansifarvergenericsggplot2gluegridExtragslgtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmsmmunsellmvtnormnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrtdistsscalesStanHeadersstringistringrsurvivaltensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr