Random assignment of subjects to groups in an experiment is used to reduce the effects of