comparison Meta-Analysis/YoshikawaTransform.m @ 0:7d369c5a7984 tip

These are the files associated with the meta-analysis of high resolution audio perception paper. More are available upon request.
author Josh Reiss <joshua.reiss@qmul.ac.uk>
date Tue, 23 Feb 2016 13:43:25 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7d369c5a7984
1 %N trials, M answers -> N+M-1 choose M combinations
2 t_actual=6.121;%change this to find best match for a reported t value
3 threshold=0.1;
4 answers=[-4 -3 -2 -1 1 2 3 4];
5 for count1=1:8
6 for count2=1:count1
7 for count3=1:count2
8 for count4=1:count3
9 for count5=1:count4
10 for count6=1:count5
11 if (count6)~=(count1)
12 Answers=[answers(count1) answers(count2) answers(count3) answers(count4) answers(count5) answers(count6)];
13 t=sqrt(6)*mean(Answers)/std(Answers);
14 test=abs((t-t_actual)/t_actual);
15 if ((std(r)>0)&&(test <= threshold)) %best match so far
16 threshold=test;
17 disp(Answers)
18 disp(t)
19 disp(t_actual)
20 end
21 end
22 end
23 end
24 end
25 end
26 end
27 end