<br>What is the best way to calculate and process ERPs in EEGLAB?<br><br>If I want to convert an epoch dataset to an ERP dataset, should I simply change EEG.data to an Nchan x Nsamp matrix?  For example:<br><br>EEG.data = mean(EEG.data, 3);<br>
<br>Can we store the variance somewhere?  Do we have a data structure separate from EEG.data, maybe EEG.avg that contains the mean, var, Ntrials or Nepochs in the avg, etc?  What is the best way to combine ERP data across subjects?<br>
<br>Best, Darren<br><br>PS, I can do all this with custom scripts, but I want to know if there is a specific EEGLAB way of doing all this.<br><br>