Repeating blocks with brench


Author
Message
estarska
estarska
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 12, Visits: 38
Hi, 
I need to create an experiment which consists of two learning blocks and a testing block. In the learning blocks a participant views pairs of words and learns the association between them and in the testing block they classify whether the two words presented follow the same rule as the one they learned in the learning phase. However, I need participants to really learn the rule, so they can move forward in the study only if they get 85% correct responses in the testing block. If not, they repeat the whole experiment. They can repeat the whole thing max. 5 times (they can go over the whole experiments 6 times in total).

Additionally at the end of the testing block, I would like participants to see their score. I created trials with feedback (positive for scores above 85% and negative for below 85%) but do not know how to incorporate them in my script. Below is what I tried for coding the testing block (everything works apart from the branch elements):

<block testing_healthiness>
/ preinstructions = (instructions_testing_block_start)
/ trials = [1-20 = noreplace(test_highhealth_lowcomp, test_lowcomp_highhealth, test_lowhealth_highcomp, test_highcomp_lowhealth,
test_highhealth_lowwarm, test_lowwarm_highhealth, test_lowhealth_highwarm, test_highwarm_lowhealth,
test_highhealth_highcomp, test_highcomp_highhealth, test_lowhealth_lowcomp, test_lowcomp_lowhealth)]
/ recorddata = true
/ onblockend = [values.repetition = block.testing_healthiness.count]
/ branch = [if (block.testing_healthiness.percentcorrect >= 85) trial.feedback_positive_health]
/ branch = [if (block.testing_healthiness.percentcorrect < 85) trial.feedback_negative_health]
/ branch=[if (block.testing_healthiness.percentcorrect < 85) block.laerning_rule_consistent_healthiness]
/ branch=[if (block.testing_healthiness.count > 6) 0]
</block>


Perhaps I am using branch incorrectly. Should I use branch at different levels (trials or experiment)? How can I repeat the whole experiment not just one block? 
I would appreciate help with this.
Thank you!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search