How to get a prediction of reaction time from GDDM? #102
-
Hi lovely Github folks, My colleague and I are using PYDDM to built a GDDM with varying drift to fit our saccade selection data, and we tested the model performance by BIC. We like our current progress, but for the next step, we also want to let the model to predict the reaction time and compare it with the real reaction time we have, and see the difference. I looked up the PYDDM cookbook, but i fail to find anything like a prediction function. But I figure someone must have tried it before, or it should be implemented somewhere, so I'm here to ask for your help, to check how to get the prediction of reaction time from it. Your help will be a lot appreciated!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The output of the DDM is a distribution of RTs, not a point prediction. A point-wise prediction will probably not be very good. If you want to get a point prediction, you could take the mean or the maximum of the distribution. |
Beta Was this translation helpful? Give feedback.
-
Like I already said, the first step "Hello World" plots the distribution. There is no sample object here. mymodel.solve().pdf("correct") gets you the distribution. |
Beta Was this translation helpful? Give feedback.
The output of the DDM is a distribution of RTs, not a point prediction. A point-wise prediction will probably not be very good. If you want to get a point prediction, you could take the mean or the maximum of the distribution.