Millisecond Forums

TrialCode sorted?

https://forums.millisecond.com/Topic9200.aspx

By Star7 - 11/22/2012

Hi,


I was testing the foodstroop task found on this forums. I realized the data output has trial code sorted (e.g. congruent, noncongruent).


This is the code they used:


<data>
/ columns = [date,time,subject,blocknum,blockcode,trialnum,trialcode,latency,response,
    correct,values.stimword,values.stimcolor,values.condition]
/ separatefiles = true
</data>


I tried this on my script but it does not work at all, i.e. the trial code is randomised and not sorted.


Any hints?

By Dave - 11/22/2012

The trialcode (as well as any other variable) will be recorded in the order it was executed. There will be one line per trial. To re-order / re-sort your data, use the sorting facilities of your spreadsheet application.


Regards,


~Dave

By Star7 - 11/23/2012

Thank you for all your help Dave. You are really helpful!