Maximizing the explanation of cost and LOS variation while minimizing the effects of coding