pm
New Member
Posts: 7
|
Post by pm on Dec 10, 2020 6:03:35 GMT
Hello,
I don't understand how to allocate variable/condition/kind of trial to columns in data analysis. I don't use table of condition. At the end of my experiment there is only one column whereas I would like one column for the kind of trial, one for difference between two timestamp, and one for correct answer.
Have a nice day
PM
|
|
|
Post by alexandra (AEC) on Dec 10, 2020 21:18:56 GMT
Hi there, the columns in the analysis section refer to the columns in the data you save in each task. Meaning everything that you have written folling the function "save" in your code. I do not know how your task is build but as far as I understand you need a variable in your task that contains the information if the answer was correct or not, one that contains the difference of timestamps and one containing the name of the block (BLOCKNAME) containing the task you want participants to do. If you do not have the timestamp difference already saved in a variable that is then in your data, I do not know if this is possible to calcualte with the data analysis section provided on the PsyToolkit website. You might have to use a seperate software like SPSS or R in order to analyse that kind of data. For example, you might have coded your save part in your task as follows: save BLOCKNAME &trialnumber ×tamp1 ×tamp2 $timestampdifference $correct
# I inserted the global variable of trial number, which could be used in your task to count your trials by using "set &trialnumber increase" in order to count each trial if that is what you want In the "Analyze" section (found below the experiment code window) you would refer to your reaction time to 5,
if you are interested in the mean of timestamp differences and you can tick a box, if you only want successful trials to be counted. Below this point you define which column contains the information of correctness, here this would be 6. Underneath this you could refer to more grouping variables, if your task has that as well and you saved it in your code as well. In Blockinformation you would write 1 as this contains the name of the block that initiates and runs your task. Below this you can also define if you only want the analysis only for certain blocks.
|
|