Experiments: Planning, Analysis, and Optimization