[Mne_analysis] can epochs be the independent variable?

JR KING jeanremi.king at gmail.com
Mon Apr 23 14:13:19 EDT 2018
Search archives:

        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

On 23 April 2018 at 18:53, Zhiqi Guo <zhiqiguo at nyu.edu> wrote:

>         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
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180423/e573473c/attachment-0001.html 


More information about the Mne_analysis mailing list