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:
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')) |
Bug tracker:https://github.com/biorabbit/regddm/issues
- regddm_tutorial - Simulated example dataset
Last updated 21 days agofrom:b4e68de6ae. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 06 2024 |
R-4.5-linux | OK | Dec 06 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 |