SkillAgentSearch skills...

EasyRT

Tools and examples for fitting (Hierarchical) Drift Diffusion Models in R

Install / Use

/learn @DominiqueMakowski/EasyRT
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

easyRT

Tools and examples for modelling Reaction Times in R

[WORK IN PROGRESS]

<!-- -->

Motivation

This repo started as my attempt at understanding and implementing sequential models, starting with (Hierarchical) Drift Diffusion Models (DDMs) for reaction times in R. Please don’t hesitate to open an issue to discuss and suggest things that could be improved or clarified.

Content

Reaction time (RTs) have been traditionally modelled using traditional linear models (e.g., ANOVAs). However, it is problematic because RTs are not normally distributed. A popular mitigation method is to transform the data (e.g., by log-transform), but it is not a good idea (Schramm & Rouder, 2019). Instead, one should use statistical models that describe or generate RT-like data.

You should start by reading:

This repository contain the following vignettes:

Note: these are work-in-progress. Please get in touch if you want to contribute and help, it’s a good way of learning.

Installation

remotes::install_github("DominiqueMakowski/easyRT")

library(easyRT)

What does this package do?

Not much. It is mostly about its vignettes, but it also has some convenience functions to generate and plot drift diffusion models. We’ll see how it evolves over time.

sim <- ddm_data(drift = c(0, 1), bs = 1, bias = 0.5, ndt = 0.2)

ddm_plot(sim)

<!-- -->

View on GitHub
GitHub Stars11
CategoryProject
Updated11mo ago
Forks0

Languages

TeX

Security Score

87/100

Audited on Apr 8, 2025

No findings