Modeling go / no-go tasks #44
Replies: 1 comment 3 replies
-
Glad to hear you are interested in using PyDDM for go-nogo tasks! Yes, it is possible to do one-choice RTs (e.g. go-nogo paradigm). There are a few different ways to do it. The Ratcliff one, if I understand correctly, just assumes nogo if you hit the bottom boundary. But if you don't need collapsing bounds, you can have a (near-) infinite bound on the bottom if you set the bounds to be relatively large compared to the drift rate, and then set the starting position to be close to the top bound. You can get arbitrarily small bound crossings on the lower boundary this way. Whether or not you want infinite bounds on the bottom, you probably will want to fit using a loss function that only takes the upper bound into consideration. By default, fitting using likelihood in PyDDM considers both the upper and the lower bound. You can do this by writing a custom loss function that doesn't take "error rate" (i.e. the lower bound) into consideration when determining likelihood. See: https://pyddm.readthedocs.io/en/latest/cookbook/loss.html for info on creating a custom loss function. (Note that you currently probably don't want to use the "undecided" feature with the default loss functions - this isn't too well supported right now and should probably be removed.) Also, since this seems like it would be useful for many people, I'd be happy to add any code you write to the official documentation in the cookbook - just let me know! Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Very cool package! Apologies if I missed this in the documentation. Does PyDDM support the ability to model go no-go task data? HDDM supports this functionality following the procedure outlined here by Ratcliff et al 2018. Very interested in the ability to do GDDM high throughput model eval, but I'm stuck with go no-go data. Would definitely consider a PR if you think its possible / could provide a little guidance on implementation.
Beta Was this translation helpful? Give feedback.
All reactions