Counterbalancing a within-subjects design involves changing the order in
which treatment conditions are administered from one participant to another
so that the treatment conditions are matched with respect to time. The goal is
to use every possible order of treatments with an equal number of individuals
participating in each sequence. The purpose of counterbalancing is to
eliminate the potential for confounding by disrupting any systematic
relationship between the order of treatments and time-related factors.