Back to the main page.
Bug 1150 - sourcestatistics fails to organise the input data in pos*rpt matrix
Status |
ASSIGNED |
Reported |
2011-11-14 11:34:00 +0100 |
Modified |
2011-11-14 11:34:39 +0100 |
Product: |
FieldTrip |
Component: |
core |
Version: |
unspecified |
Hardware: |
PC |
Operating System: |
Mac OS |
Importance: |
P3 normal |
Assigned to: |
Robert Oostenveld |
URL: |
|
Tags: |
|
Depends on: |
|
Blocks: |
|
See also: |
|
Robert Oostenveld - 2011-11-14 11:34:39 +0100
Stephen reported that the following fails
cfg = [];
cfg.statistic = 'glm';
cfg.glm.statistic = 'beta';
cfg.glm.contrast = contrast{icontrast};
cfg.method = 'montecarlo'; %to get the test-statistic (avg)
cfg.numrandomization = 0;
cfg.parameter = 'pow';
cfg.feedback = 'textbar';
cfg.implementation = 'new';
cfg.dim = [size(source{1}.pos,1) 20];
cfg.design = nanstandardise_keepmean(design,2);
temp = source{1};
temp.trial = [source{1}.trial source{2}.trial source{3}.trial];
clear source
stat{icontrast} = ft_sourcestatistics(cfg, temp);
Look at the test script and mat file for the input data.