ezddm | R Documentation |
ezddm fits Wagenmaker et al.'s (2007) EZ-diffusion model for two-choice response time tasks using proportion correct, variance of correct response reaction times, and mean of correct reaction times (in seconds).
ezddm( propCorrect, rtCorrectVariance_seconds, rtCorrectMean_seconds, s = 0.1, nTrials = NULL )
propCorrect |
proportion correct (apply edge correction if necessary) |
rtCorrectVariance_seconds |
variance of correct reaction times (in seconds) |
rtCorrectMean_seconds |
mean of correct reaction times (in seconds) |
s |
scaling parameter (often set to 0.1 or 1.0) |
nTrials |
number of trials (useful for edge correction) (optional) |
A dataframe with a (boundary parameter), v (drift rate parameter), and Ter (non-decision time parameter)
Hause Lin
Wagenmakers, E. J., van der Maas, H. L., & Grasman, R. P. (2007). An EZ-diffusion model for response time and accuracy. Psychonomic Bulletin & Review, 14(1), 3-22. doi:10.3758/BF03194023 (https://link.springer.com/article/10.3758/BF03194023)
ezddm(.802, .112, .723)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.