Diff for "LinearRegression" - Meg Wiki
location: Diff for "LinearRegression"
Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2009-01-12 14:06:02
Size: 33
Editor: YaaraErez
Comment:
Revision 5 as of 2009-02-12 10:21:06
Size: 2228
Editor: YaaraErez
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe LinearRegression here. '''Multiple regression analysis applied to EEG and MEG data'''

These tools apply multiple linear regression to EEG and MEG data, in contrast to conventional factorial averaging. The input are Neuroscan cnt-files (EEG) or Neuromag fiff-files (MEG), respectively. The output are either ascii, avg (EEG) or fiff-files (MEG), which can be processes just as conventional ERP/ERFs, e.g. with respect to source analysis. These tools are still under development. If you would like more information, please contact olaf.hauk@mrc-cbu.cam.ac.uk . A different approach to regression analysis is also part of SPM5.

In order to run your analysis, you will end up with a script like the following:

### #correl_type combine % use multiple linear regression
+ #param_file /whateverthepath/param_file.txt % file that defines predictor variables for each trigger value

+ #correl_columns 3 4 5 6 7 8 % specifies which columns in param_file contain the predictor variables

+ #trigger_columns 2 % specifies which column in param_file.txt contains trigger value (can be more than 1 column)

+ #info_file /group/erp/data/olaf.hauk/Others/Miozzo/Batch/Regress/Regress_all_ep500ms.info + #mag_thresholds 2500 0 1500 0 + #grad_thresholds 1000 0 800 0 + #eog_channels 307 308 + #thresholds 150 0 100 0 + #baseline -100 0 + #epoch_length 500 + #pre_stim_time -100

#fif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block1_raw_ds3_sss_MC+ST_hp1.fif + #outfif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block1_raw_ds3_sss_MC+ST_hp1_ep500_r.fif + #fiff_template /megdata/cbu/miozzo/meg07_0087/071101/block1_avg.fif + #event_list /group/erp/data/olaf.hauk/Others/Miozzo/Stimuli/Event_Files/events_5_087_block1.txt 1

#fif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block2_raw_ds3_sss_MC+ST_hp1.fif + #outfif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block2_raw_ds3_sss_MC+ST_hp1_ep500_r.fif + #fiff_template /megdata/cbu/miozzo/meg07_0087/071101/block2_avg.fif + #event_list /group/erp/data/olaf.hauk/Others/Miozzo/Stimuli/Event_Files/events_5_087_block2.txt 1

Multiple regression analysis applied to EEG and MEG data

These tools apply multiple linear regression to EEG and MEG data, in contrast to conventional factorial averaging. The input are Neuroscan cnt-files (EEG) or Neuromag fiff-files (MEG), respectively. The output are either ascii, avg (EEG) or fiff-files (MEG), which can be processes just as conventional ERP/ERFs, e.g. with respect to source analysis. These tools are still under development. If you would like more information, please contact olaf.hauk@mrc-cbu.cam.ac.uk . A different approach to regression analysis is also part of SPM5.

In order to run your analysis, you will end up with a script like the following:

+ #param_file /whateverthepath/param_file.txt % file that defines predictor variables for each trigger value

+ #correl_columns 3 4 5 6 7 8 % specifies which columns in param_file contain the predictor variables

+ #trigger_columns 2 % specifies which column in param_file.txt contains trigger value (can be more than 1 column)

+ #info_file /group/erp/data/olaf.hauk/Others/Miozzo/Batch/Regress/Regress_all_ep500ms.info + #mag_thresholds 2500 0 1500 0 + #grad_thresholds 1000 0 800 0 + #eog_channels 307 308 + #thresholds 150 0 100 0 + #baseline -100 0 + #epoch_length 500 + #pre_stim_time -100

#fif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block1_raw_ds3_sss_MC+ST_hp1.fif + #outfif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block1_raw_ds3_sss_MC+ST_hp1_ep500_r.fif + #fiff_template /megdata/cbu/miozzo/meg07_0087/071101/block1_avg.fif + #event_list /group/erp/data/olaf.hauk/Others/Miozzo/Stimuli/Event_Files/events_5_087_block1.txt 1

#fif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block2_raw_ds3_sss_MC+ST_hp1.fif + #outfif /group/erp/data/olaf.hauk/Others/Miozzo/data/meg07_0087/071101/block2_raw_ds3_sss_MC+ST_hp1_ep500_r.fif + #fiff_template /megdata/cbu/miozzo/meg07_0087/071101/block2_avg.fif + #event_list /group/erp/data/olaf.hauk/Others/Miozzo/Stimuli/Event_Files/events_5_087_block2.txt 1

CbuMeg: LinearRegression (last edited 2013-03-08 10:02:16 by localhost)