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:
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.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
- regddm_tutorial - Simulated example dataset
Last updated 14 days agofrom:477a1fd614. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 10 2024 |
R-4.5-win | OK | Dec 10 2024 |
R-4.5-linux | OK | Dec 10 2024 |
R-4.4-win | OK | Dec 10 2024 |
R-4.4-mac | OK | Dec 10 2024 |
R-4.3-win | OK | Dec 10 2024 |
R-4.3-mac | OK | Dec 10 2024 |
Exports:generate_sim_dataget_stan_fitregddm
Dependencies:abindbackportsBHcallrcheckmateclicolorspacecpp11descdistributionaldplyrevdexpmfansifarvergenericsggplot2gluegridExtragslgtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmsmmunsellmvtnormnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrtdistsscalesStanHeadersstringistringrsurvivaltensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Generate simulated binary decision data using DDM | generate_sim_data |
Get the rstan fit of regddmfit objects | get_stan_fit |
Printed summary of 'RegDDM' fit object | print.regddmfit |
Bayesian hierachical generalized linear regression using Drift-Diffusion Model | regddm |
Simulated example dataset | regddm_tutorial |
Class of models fitted by 'RegDDM' | regddmfit |
Summary of 'RegDDM' fit object | summary.regddmfit |