Variance Analysis for Cost Control