A Regression Approach to Experimental Design