Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

What can I do with the missing data at the end of trial

edited January 2019 in Miscellaneous
There is a pattern that pupil data may missing at the end of some trails, which could be harmful to pupil reconstruction. Is it acceptable if I left NaN to trails that show this pattern, simply use the nearest valid data before trails ending to reconstruct pupil? I anticipate that there wouldn't be any influence to mean pupil time series cross trails under same condition because missing data won't be taken count.But there might exist some risk in statistic power I can't tell since I'm not good at statistics. Is there any experience you can share me with, please?

Thanks so much
Weizhe Li


  • Hi Weizhe,

    I would probably just represent the missing data at the end of the trial by nan values. That way it will be silently ignored and doesn't do any real harm. Extending the latest valid pupil-size value to the end is of course also a possibility, but unless there's a real reason to do this (for example because you're doing some analysis that requires all data to be valid) it feels a bit awkward to me.


Sign In or Register to comment.