How to deal with the data set of different trial numbers

조회 수: 1 (최근 30일)
Takara Sumoto
Takara Sumoto 2021년 2월 5일
답변: Walter Roberson 2021년 2월 5일
I'm conducting a psychological experiment using EEG. I'm analyzing EEG data with Psychotoolbox on MATLAB (not BrainVIsionAnalyzer).
Each experiments consist of 60 trials but there is only one subject whose last 2 trials couldn't recorded so it has only 58 trials.
When I did preprocessing, it shows error and stop preprocessing.
How should I deal with this data set which has differnt trial numbers?

채택된 답변

Walter Roberson
Walter Roberson 2021년 2월 5일
As discussed https://www.mathworks.com/matlabcentral/answers/725387-how-to-deal-with-the-missing-information-on-vmrk-file?s_tid=srchtitle the file format used does not permit you to define a file marker as being present in some indefinite place on order but simultaneously marked as missing in a way that the analysis program would be likely to be able to work with.
As discussed there, you could try putting in definite locations but marked "bad interval". If your data file is short you might need to pad the data file. Unfortunately chances are that your analysis program will get confused or will error with that kind of data.
So what can you do instead? This:
Fix the analysis program so that it can deal sensibly with a marker not being present. Ideally even a missing marker that is not at the end.
What should you do in the analysis of such cases? Hard to say without knowing what calculations are being used. It can turn out to depend upon which data is missing: sometimes you can resynchronize enough and sometimes you can't.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by