Hello everyone,
I am trying to understand how response coding and model specification are related to the interpretation of the sign and magnitude of estimated model parameters. I have consulted the HDDM toolbox but I am still somewhat confused.
My experiment is a Go/No-Go paradigm (90% Go trials, 10% No-Go trials) which occurs during two experimental conditions (A and B).
I want to estimate 4 parameters (drift rate, boundary separation, response bias, and non-decision time) separately for condition A and for condition B. However, because we have very few No-Go trials, I want to estimate 4 model parameters jointly across both Go and No-Go trials.
The model code I used is below (where “stim” denotes the two different experimental conditions):
m = hddm.HDDM(data, p_outlier=.05, include=('z'), depends_on={'a': 'stim', 't': 'stim', 'v': 'stim', 'z': 'stim'})
We coded our data file such that (response = 1 corresponds to the initiation of a button press, and response = 0 corresponds to the absence of a button press) and that (RT = positive values during a correct Go response, RT = -999 during an incorrect Go response, RT = 999 during a correct No-Go response, and RT= negative values during a incorrect No-Go response). Note: correct No-Go trials and incorrect Go trials do not have any associated reaction time because they involve the omission of a response.
Am I correct about the following assumptions:
1) A more positive drift rate for condition A would mean that information uptake occurs faster during condition A compared to condition B (collapsed across both Go and No-Go trials and across accurate and inaccurate trials).
2) We can apply assumption 1 to interpretations about other model parameters (boundary separation, response bias, and non-decision time).
3) We can use model parameters to estimate a response bias (because we used “response coding” instead of “accuracy coding”).
4) Values above .5 for the response bias parameter in for condition A reflects a bias towards Go responses during condition A, and values above .5 for the response bias parameter in for condition B reflects a bias towards Go responses during condition B. (Note: Go responses are coded as 1, and No-Go responses are coded as 0).
Further, if my assumptions are incorrect:
5) Given my model, and response coding, what interpretation would be supported by more positive drift rate in condition A compared to condition B?
6) What sort of data coding and model specification would allow for the interpretations discussed in (1-4) above?
My apologies in advance if I am misunderstanding anything – or if anything that I wrote is not clear. Any advice or guidance would be appreciated.
Best,
Adam Gorka
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/23427b0f-0f7b-4703-93ad-ab6bd24f2bbdn%40googlegroups.com.
Thanks Mads,
I have taken your advice to use HDDMStimcoding. Additionally, I am attempting to determine if the drift rate, boundary separation, and non-decision parameters vary as a function of experimental condition for either A) go trials or B) no-go trials – and whether starting point differs as a function of experimental condition (no distinction between go and no-go trials).
Within the model code below “condition” refers to Go vs No-Go trials, and “stim” denotes the two different experimental conditions. Within the response column: go is coded as 1 and no-go is coded as 0.
m = hddm.HDDMStimCoding(data, stim_col = 'condition', split_param = 'v', bias=True, p_outlier=0.05, include=('z'), depends_on = {'a':['condition', 'stim'], 't':['condition', 'stim'], 'v':['condition', 'stim'], 'z': 'stim'})
Is the above model code the correct way to ask this question? Within the model output, the drift rates for go and no-go trials are negative for both experimental conditions. Additionally, the starting point parameters is below .5 for both experimental conditions. Is this what you would expect based on the way the model is specified?
Thanks again for any guidance.
Best,
Adam
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/002b96bb-a081-46d4-bfbf-e55e47c3c48en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/CBBC78DD-5F83-4A9A-8E8F-5A34C3AAEF44%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/78bf4b8f-8fe5-4f47-bc08-fdc222ceb95dn%40googlegroups.com.
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/Udv7Yt_JnlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hddm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/244581fa-6591-41c2-aeec-af368e2b2da3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/57d1a505-cf6c-4b4a-ba51-9fe8b2d91858n%40googlegroups.com.