Hi,
I am running a StimCoding model. I have three groups and three conditions; the responses are left and right and they are equivalent, so there is no reason to suspect bias. For this reason, I want to estimate a single drift rate. Setting split_param='v' gives a single drift rate, however this gives negative values for the drift rate (by contrast, setting split_param='z' gives positive drift rates, but they are separate for left and right stimuli which is not what I'm after).
I am assuming I could just take the absolute values of the negative drift rate for ease of interpretation/plotting. But before going ahead with this I wanted to double check whether this would be correct, as it seems strange that the output for a single drift rate parameter would be given as negative. Also, if there was anything I could specify in my code to request a positive v rather than a negative, that would be even more helpful.
#N.B. stim_2 = condition; response = stimulus coded response, i.e., Left or Right response; stimulus = L or R
#Model
m = hddm.HDDMStimCoding(data, group_only_nodes=['v','a','t'], stim_col='stimulus', split_param='v', depends_on={'v': ['group','stim_2'],'a':['group', 'stim_2'],'t': 'group'}, p_outlier=0.05)
m.find_starting_values()
m.sample(120000, burn=20000, thin=10, dbname='traces.db', db='pickle')
m.save('Stimcode_model_10')
Many thanks,
Claire