Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

1
0

exclude.m 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. %%
  2. good_partis_sub=[];
  3. for ppp=1:length(partis_sub)
  4. % Loading dataset
  5. if strcmp( partis_sub{ppp,:},'p11')
  6. load([mainfolder 'logfiles/resultfile_p11_table_repaired.mat'])
  7. subtable=sub
  8. else
  9. subtable=[];
  10. sub = tdfread([mainfolder 'logfiles/resultfile_' partis_sub{ppp,:} '.txt'],'tab'); %Logfile for this participant
  11. subtable=struct2table(sub);
  12. end
  13. totalinc=(sum(subtable.acc_trial_concrete_cued==1))
  14. n=length(subtable.acc_trial_concrete_cued)
  15. p=ones(size(subtable.acc_trial_concrete_cued))*.5
  16. bt=myBinomTest(totalinc,n,0.5,'one')
  17. totalinc2=(sum(subtable.acc_trial_concrete_uncued==1))
  18. n2=sum(~isnan(subtable.acc_trial_concrete_uncued))
  19. p=ones(size(subtable.acc_trial_concrete_cued))*.5
  20. bt2=myBinomTest(totalinc2,n2,0.5,'one')
  21. gen_acc_(ppp,1)=totalinc/n;
  22. gen_acc_(ppp,2)=bt<0.05
  23. gen_acc_(ppp,3)=totalinc2/n2;
  24. gen_acc_(ppp,4)=bt2<0.05
  25. gen_acc_(ppp,6)=ppp;
  26. if (gen_acc_(ppp,1)<=0.5|gen_acc_(ppp,2)==0)|(gen_acc_(ppp,3)<=0.5|gen_acc_(ppp,4)==0)
  27. gen_acc_(ppp,5)=0
  28. else
  29. gen_acc_(ppp,5)=1
  30. good_partis_sub=[good_partis_sub;{partis_sub{ppp,:}}]
  31. end
  32. end
  33. %% Plots
  34. if accuracy_plots
  35. sum(gen_acc_(:,5))/length(gen_acc_(:,5))
  36. figure;
  37. plot1=scatter(gen_acc_(:,6),gen_acc_(:,1),75,'MarkerEdgeColor',[0 .5 .5],...
  38. 'MarkerFaceColor',[0 .7 .7],...
  39. 'LineWidth',1.5); hold on;
  40. plot2=scatter(gen_acc_(:,6),gen_acc_(:,3),75,'MarkerEdgeColor',[.5 .5 0],...
  41. 'MarkerFaceColor',[0.9 .5 0.7],...
  42. 'LineWidth',1.5); hold on;
  43. line([0,length(gen_acc_(:,5))+1], [0.5,0.5], 'Color', 'k','LineStyle','-');hold on;
  44. line([0,length(gen_acc_(:,5))+1], [0.55,0.55], 'Color', 'k','LineStyle','--');hold on;
  45. line([0,length(gen_acc_(:,5))+1], [0.45,0.45], 'Color', 'k','LineStyle','--');hold on;
  46. for ppp=1:length(gen_acc_(:,5))
  47. line([ppp,ppp], [gen_acc_(ppp,1),gen_acc_(ppp,3)], 'Color', 'k','LineStyle',':');hold on;
  48. end
  49. end