You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the question of what to do with NaNs. This is my answer:
As long as the predictor is not "active" in an event type, it shouldn't matter if it is [] or NaN. The only problem is, if you actually do not know a predictor value.
An example: for whatever reason you do not know a saccade-amplitude for one fixation (thus it is NaN), but generally all fixations are modelled with a saccade amplitude effect e.g. fixation: y~1+sac_amplitude. What should the model use for this fixation as the covariate? In that case, you would need imputation of the amplitude effect, for which there are multiple ways to do in uf_imputeMissing.m .
But if you have another event "button", that one does not need to have a saccade-amplitude e.g. button: 1+condition, then you can put whatever you want.
This discussion was converted from issue #120 on November 18, 2021 09:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I got the question of what to do with NaNs. This is my answer:
As long as the predictor is not "active" in an event type, it shouldn't matter if it is [] or NaN. The only problem is, if you actually do not know a predictor value.
An example: for whatever reason you do not know a saccade-amplitude for one fixation (thus it is NaN), but generally all fixations are modelled with a saccade amplitude effect e.g.
fixation: y~1+sac_amplitude
. What should the model use for this fixation as the covariate? In that case, you would need imputation of the amplitude effect, for which there are multiple ways to do in uf_imputeMissing.m .But if you have another event "button", that one does not need to have a saccade-amplitude e.g.
button: 1+condition
, then you can put whatever you want.Beta Was this translation helpful? Give feedback.
All reactions