# [Mne_analysis] Linear regression on Time Frequency data

S.P.H. Speer speer at rsm.nl
Tue Jul 7 05:33:08 EDT 2020
 Previous message: [Mne_analysis] Plotting interactive figures in jupyter notebook Next message: [Mne_analysis] Linear regression on Time Frequency data Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Search archives:

```        External Email - Use Caution

Hi Alex,

I create subject level contrasts (conflict versus no conflict) and then want to run a group-level analysis where I want to use a continuous variable, which is an individual difference measure (number of trials on which the participant cheated),  as a predictor in a linear regression with t-values from the within subject contrasts (conflict versus no conflict) as dependent variable. Stated differently, I want to see whether frequency of cheating across individual can explain differences how conflict versus no conflict trials are modulated in the brain.

I've got the within-subject contrasts for each subject TF-maps one for each channel and am now wondering which function I can use to run this group-level analysis?

Sebastian

hi Sebastian,

can you step back and explain the overall aim of the procedure?

what would you like to show with your data? is it group level?

a contrast?

Alex

On Mon, Jun 29, 2020 at 6:14 PM S.P.H. Speer <speer at rsm.nl<https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis>> wrote:

>

>         External Email - Use Caution

>

> Dear MNE-team,

>

>

>

> I'm trying to run a linear regression analysis on Time-Frequency data. I've got the average TFR for each for each subject and want to regress and individual difference measure on the time frequency data for a specific channel. The data has the same dimensions as for running linear regression on epochs but instead of channels I'm using frequencies. Unfortunately the linear_regression function provided by MNE does not allow TFR data as input. Is there a workaround for this problem? I would also like to run cluster-based permutation tests on the results of the linear regression to estimate significance. Would that be feasible?

>

>

>

> Thank you very much for your help,

>

>

>

> Sebastian

>

> _______________________________________________

> Mne_analysis mailing list

> Mne_analysis at nmr.mgh.harvard.edu<https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis>

> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200707/7ed46ce6/attachment-0001.html
```