can epochs be the independent variable?

External Email - Use Caution

Hi MNE Team,

Is there a way to run mne.stats.linear_regression with the epochs as the
independent variable?

Thanks,
Zhiqi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180423/da3654f7/attachment.html

External Email - Use Caution

Hi Zhiqi,

The best is propably to extract the data in a numpy array:
epochs.get_data(), and to use scipy, stats_model or
sklearn.linear_model.LinearRegression to do any kind of ad-hoc test.

Best,

Jean-R?mi