Shuffle datamatrix and update correct response
In my experiment, I have a learning phase as below, where participants are asked to learn the source-target pairing. (i have 6 pairs in original exp)
var1 var2 sourceword1 targetword1 sourceword2 targetword2 sourceword3 targetword3
In the testing phase, participants are presented with full factorial pairing and asked to pick the correct combination.
I am using data matrix to read variables from file.
- I want to randomize the pairing per participant in the learning phase. For example, for the next participant, I want sourceword1 to be paired with targetword3(randomly). How can I do that in data matrix?
- Even if I shuffle the learning phase, how can i update the "correct response" for testing phase ? For example, for the first participant S1 - T1 is the correct pair, but for next participant S1-T3 is the correct pair.
Now I am reading the full factorial test data also from a file, is it possible to set the correct response inside the code?