Hello,I have run a simple yes-no contrast detection experiment.Per subject I want to obtain:- two drift rate estimates: separately for yes- and no-choices- a bias estimate.
Hence, I tried to work with hddm.HDDMStimCoding, but I'm still confused about the correct instantiation of this model.My data now looks as follows -- columns:- subj_idx, with the subject indexes (0-23)- response, with the subject's responses (1: 'yes, signal present!'; 0: 'no, signal not present!')- stim, whether the response was correct (1: correct; 0: incorrect)
- rt, with the ft's (in seconds)Without first running 'hddm.utils.flip_errors(data)', I instantiate the model now like this:model = hddm.HDDMStimCoding(data, stim_col='stim', depends_on={'v': 'response'}, include=('z'))model.find_starting_values()model.sample(1000, burn=50)
Again, all I'm interested in is two drift rate estimates, separately for yes- and no-choices, and a bias estimate.Am I doing the correct thing? Thanks for your help!!Cheers,Jan WillemPS: About the DDM for yes-no choices: I recently talked with Roger Ratcliff about the DDM of yes-no choices. He was totally on board with the idea that there is no fundamental difference between 2AFC and yes-no decisions. In fact many of their original tasks (e.g., lexical and memory decisions) were of the yes-no type. He also had the same assumption that there is a separate accumulator for no, and it seems common thinking in the math Psych community. Plus, there is now all the mounting physiology evidence for this idea. I'm curious to hear your take on this though.
--
You received this message because you are subscribed to the Google Groups "hddm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hddm-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
So if you want two separate drift-rates I don't think you want HDDMStimCoding. The point of StimCoding is that you assume the drift-rate for the yes-stimulus is the opposite of the no-stimulus if that makes sense. So if you really expect yes and no are not symmetrical use HDDM() using accuracy coding and put v to depend on stimulus type.
Here you should indicate what the correct response side should have been. So if the subject correctly answered 'no', stim should not code correct but rather 'no' (0) as well.
Hey Thomas,Thanks a lot for your fast and clear response!So if you want two separate drift-rates I don't think you want HDDMStimCoding. The point of StimCoding is that you assume the drift-rate for the yes-stimulus is the opposite of the no-stimulus if that makes sense. So if you really expect yes and no are not symmetrical use HDDM() using accuracy coding and put v to depend on stimulus type.
Ok -- that works, and I get sensible results. Just one thing, I want to fit a drift rate separately for yes- and no-choices, so I will make 'v' dependent on 'choice', rather than on 'stimulus type'. That's ok right (from at least a technical perspective)?
Here you should indicate what the correct response side should have been. So if the subject correctly answered 'no', stim should not code correct but rather 'no' (0) as well.
Yes, this was the problem. Thanks for pointing this out.Cheers,Jan
--
You received this message because you are subscribed to the Google Groups "hddm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hddm-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "hddm-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hddm-users/xTeDag5vpzg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hddm-users+...@googlegroups.com.