As in the case of production functions, we are interested in estimating cost functions both in the short run and in the long run. The short-run function helps define short-run marginal costs and thus assists the manager in determining output and prices. In the long run, the decision that a firm faces involves building the most efficient size of plant. That determination will depend on the existence of scale economies and dis-economies