The 28-percent change in average Medicare inpatient cost per case between 1984 and 1987 is decomposed into three components: input price inflation, changes in average cost within diagnosis-related groups (DRGs) (intensity), and changes in the distribution of cases across DRGs (case mix). We estimate the contributions of technology diffusion and outpatient shifts to within-DRG and across-DRG cos...