필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problems with group comparisons using non parametric statistics

조회 수: 2 (최근 30일)
Eric
Eric 2014년 9월 22일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all,
I have used EEGLABs function 'spectopo' to extract the power values and later found the band specific values. Now, I'm interested in using nonparametric statistics to test for significance.
What I'm trying to do is to divide the sets (15 sets x 19 channels) in to three groups and do the comparisons between the mean value of the power in each electrode like group 1 vs group 2, group 2 vs group 3 and so on. Afterwards, I'm trying to find the significant p-values. The only problem is that I can't get it to work probably because it either saying that the index exceeds the matrix dimentions or that it compares the values for 1 electrode (p-values are then 1).
I hope that someone can help.
Script:
load('Powerinalpha.mat');
for freqband = 1:2 switch freqb pow = Alpha; pow = Beta; end
pvalue = 0.05;
for session = 1:2
matr = [];
if session==1
matr = pow(1:5,:,:);
else
matr = dataset(6:10,:,:);
end
for channel = 1:21
Pre = datamat(:,:,channel);
Post = datamat(:,:,channel);
[p, h, stats] = signrank(squeeze(Post), squeeze(Pre), 'alpha', pcrit);
Values.sig(freqb,session,channel) = h;
Values.pval(freqb,session,channel) = p;
Values.signedrank(freqb,session,channel) = stats.signedrank;
end
nonpara.channelsig{freqband,session} = find(Values.pval(freqband,session,:)<pcrit);
end
end

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by