[Mne_analysis] Epoch mode covariance estimation

Hari Bharadwaj hari at nmr.mgh.harvard.edu
Fri Sep 14 08:57:56 EDT 2012
Search archives:

Hi Kambiz,

To clarify on the different parameters..

"tmin" and "tmax" should reflect whatever period of the data you want to
consider as noise. "bmin" and "bmax" are the period whose DC offset is
removed from the data.  What period you want to consider noise depends on
what the data and analyses are.


If 'keepsamplemean' is NOT set, the average over trials of each point is
removed i.e if you were to plot the average over trials as a function of
time, it would be flat zero between tmin and tmax after the operation..
Setting the 'keepsamplemean' reflects the assumption that the true sample
by sample mean in the tmin to tmax period is zero at the population level
(i.e if you have infinite #trials day) but not forced on the average over
the finite #trials that you have.  So whenever that assumption is not
good, not setting 'keepsamplemean' will help avoid overestminating the
covariance. For instance, from the manual: "Subtraction of the means at
individual samples is useful if it can be expected that the evoked
response from previous stimulus extends to part of baseline period of the
next one."

Regards,
Hari


On Thu, September 13, 2012 8:18 pm, Kambiz Tavabi wrote:
> Hi all,
> I wonder if someone could clarify a detail concerning the calculation of
> the covariance matrix in epoch mode when the KEEPSAMPLEMEAN option is
> specified.
> On page 89 of the MNE manual (version 2.7.3) the formulation for the
> covariance matrix is unclear on the limit of the sum of samples (j). My
> question is whether the limit is the number of samples (Nr) in the
> entire epoch, or just the baseline/pre-stimulus period?
>
> Thanks
> Kambiz
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
>


-- 
Hari Bharadwaj
PhD Candidate, Biomedical Engineering,
Boston University
677 Beacon St.,
Boston, MA 02215

Martinos Center for Biomedical Imaging,
Massachusetts General Hospital
149 Thirteenth Street,
Charlestown, MA 02129

hari at nmr.mgh.harvard.edu
Ph: 734-883-5954





More information about the Mne_analysis mailing list