The use of randomization in repeated measurements