/counterbalancing

A general-purpose library for implementing counterbalancing for web-based and lab-based behavioral experiments

Primary LanguagePython

Counterbalancing

Library for implementing counterbalancing for web-based experiments

How to create an experiment with a color variable and a shape variable

e = Experiment()
e.add_param("color", uniformChoice(choices = ["blue", "green"]))
e.add_param("shape", conditionedRoundRobin(choices = ["square", "circle"]), ["color"]))
e.create_table(10)