Millisecond Forums

Summary Data

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

By vpillaud - 5/25/2015

Hi,
I was wondering about whether we could be more precise in what is being saved in a summary data: I have a task where people complete two blocks of a Stroop task in a row; the summary data directly reports the mean latencies and correct answers but the problem is that it doesn't distinguish between the two blocks. Is there a way to separate them in two columns in the output ? that would be saving a lot of time.


Thanks a lot for any input.
Vince'.
By Dave - 5/25/2015

Then you need to store the results of each block in separate variables (i.e., <values> entries) and log those values to the summary data file. In short:

<values>
/ block_a_meanlatency = 0
/ block_b_meanlatency = 0
...
</values>

<block a>
/ onblockend = [values.block_a_meanlatency = block.a.meanlatency; ...]
...
</block>

<block b>
/ onblockend = [values.block_b_meanlatency = block.b.meanlatency; ...]
...
</block>

<summarydata>
/ columns = [..., values.block_a_meanlatency, values.block_b_meanlatency, ...]
...
</summarydata>