Planning, construction, and statistical analysis of comparative experiments