The rise and fall of the music industry. Image from Bain

Charts showing data over time, called time series, are an excellent way to show trends and to make forecasts for the future. However, time series data may need to be adjusted before plotting to avoid errors in analysis.

First, if the data being displayed is in monetary units (for instance, dollars), then one has to be careful to take into account the effect of inflation. For short periods, omitting inflation isn’t a critical error. However, as the time scale increases, the error can become significant, especially if the time scale includes the 1970s and 1980s when inflation was quite high.

When looking at historical price or monetary data, the unadjusted raw dollar amounts are called nominal values.  The adjusted dollar amounts are called real. (One has to be aware that there are many different inflation adjustments available, but that is beyond the scope of this blog post.)

Second, when comparing country economic data such as gross domestic product (GDP) across multiple years, it should be corrected for population growth. Both the U.S. and the world population are much larger today than 50 years ago while the population of many European countries and Japan are stable or shrinking. Thus, when comparing the well-being of these countries, one should use changes in per capita real GDP. Notice that the U.S. nominal GDP must grow about 4 percent a year just to keep per capita real GDP constant.

Finally, when comparing spending on a particular good or service, the data should be adjusted for changes in household income, consumption patterns, and the quality of the good or service. This is often difficult to do and there are disagreement on the best way to do this. The biggest example is change in house prices. For example, the median house today is much larger than a house 20 years ago. Also, the quality of appliances and materials is much higher than 20 years ago. This is true for the median home and can be very expensive in high-end homes, which will cause the average to be skewed.

Consumption patterns are changing as income increases. The median U.S. and world household income is higher today that it was 50 years ago, even adjusting for inflation). However, much of this gain has been directed toward college graduates who work in jobs that are located in big cities on the east and west coast. This has driven the price of houses upward in cities like New York, Boston, San Francisco, and Los Angeles relative to houses in smaller cities away from the coasts. The interaction between income and house prices is hard to analyze separately.

Rising income also affects the composition of goods and services a household consumes. As a proportion of income, people spend less on food and durable goods and more on entertainment, education, and health care.

Example of a badly drawn chart and a corrected version

In January 2011, Bain & Company released a report on electronic publishing that included a warning that publishers should not repeat the mistakes of the music industry. The warning was illustrated the following chart.

Michael DeGusta picks apart this chart in a Feb 2011 Business Insider article. He notes that the chart makes it look like the music industry grew steadily from 1973 a peak in 1999 and has since fallen about 40%.

However, he corrects the chart for changes in purchasing power and population growth as shown in the revised chart below.

The rise, fall, rise, and collapse of the music industry. Image from Business Insider

This revised chart is much more interesting. It shows that real per capita music sales peaked in 1978 and began to fall until CDs arrived. Sales reached a new peak in 1999, but then fell. Digital music sales have not been able to stem the fall and per capital sales in 2009 have fallen 63% (not 40%) from the level of ten years earlier.

Mr. DeGusta goes on to provide an insightful analysis of why sales of digital music have not been able to replace CDs. Read his blog for more details.

Look at all the pretty circles. Image from Chron. Higher Educ.

by George Taniwaki

A front-page story in Chron. Higher Educ. Jan 2011 claims that newly elected Republican governors are more likely to cut spending than Democrats or even incumbent Republicans. Since education (which includes both K-12 and higher ed) is one of the largest components of state budgets, this implies that the higher education expenditures will fall in states where governors plan to make budget cuts.

As evidence, the article contains the graphic shown above. It plots total projected budget shortfall in 2012 for six states and their higher education appropriation in 2010.

Poor graphic design

There are so many problems with this graphic that it is hard to know where to begin. But I will try to critique it.

1. The most serious problem is that this chart displays a meaningless comparison. There is no a priori reason to believe that higher-education appropriations in FY2010 and total projected budget shortfall two years later in FY2012 should be correlated. Nor should one expect the two numbers to be about the same size. My guess is the fact that the two numbers appear to be the same magnitude for these six states for these two years is just a coincidence.

2. The chart should include more years. If expenditures and budget gap are correlated, then the relationship should be stable over time. Prove it by showing time series data of total budget and higher-education appropriations during previous years. It would be even better if data from previous recessions was available. My guess is that the numbers vary greatly and the relationship disappears.

3. The chart should include more states. The article and the chart predicts newly elected Republican governors will cut higher education budgets more than other classes of governors. But the chart only shows data for six states with newly elected Republican governors. There is no comparative data for incumbent Republicans or any Democrats. Again, if the relationship is due to party affiliation and incumbency of governor, then showing data for all states will emphasize it. My guess is such data would show there is little or no relationship between governor status and budgets.

4. The chart should be adjusted to aid comparisons. The size of state budgets and higher education expenditures vary because of many factors. At a minimum, the data should be adjusted for population. A few other possible adjustments that come to mind are median household income, population of 18-25 year olds, proportion of population with college degrees (presumably, grads will be more likely to favor higher ed spending), enrollment at in-state public colleges (presumably parents of current students will be more likely to favor higher ed spending), etc.

5. The chart should not use areas to represent linear values. Look at the two circles under Ohio. The red circle representing the budget gap of $3,000 million is more than twice as large as the orange circle showing the higher education appropriation of $1,900 million even though $3,000 million is less than 60% bigger than $1,900 million. That’s wrong. The area of a circle is proportional to the square of the diameter. One of the basic rules of drawing a graph (for example, see Edward Tufte’s The Visual Display of Quantitative Information) is to make sure the size and shape of data markers actually assist in understanding the values being measured.

My proposed solution

My proposed improvement to the original chart is shown below. The data come from the same sources used in the Chron. Higher Educ. chart, state budget gaps from the Center on Budget and Policy Priorities, state higher education expenditures from the  Illinois State Univ. Grapevine Project, and political alignment from the Nat. Conf. State Legis. I also added U.S. Census annual estimates of population and U.S. Census counts so that I could calculate per capita state budget gaps and higher education expenditures. The data are posted on SkyDrive in case you want to create your own charts.

My scatterplot shows the cumulative budget gap per capita at the end of FY2009 for each state on the horizontal axis and the increase or decrease in higher education expenditures for state monies (excludes federal stimulus monies) from FY2009 to FY2010. My hypothesis is that deficits at the end of one fiscal year may impact changes in expenditures in the following year.

Each data point is colored to show the political affiliation of the governor (using blue for Democrat and red for Republican). The marker shape indicates if the party changed hands (triangle) or if it did not (square or diamond) in the 2010 election. The green line shows the least squares line through the data (not weighted for state population).

Look at all the tiny dots. Chart by George Taniwaki

I didn’t spend much time analyzing this chart but a few things caught my eye. First, the slope of the regression line is negative meaning that states with the largest deficits tended to cut education expenditures the least. Specifically, California, with the largest deficit at the end of 2009 at $1,004 per capita actually increased higher education expenditures in FY2010 by $7 per capita.

Second, the states with the largest budget gaps at the end of FY2009 were more likely to have Republican governors. They were also more likely to elect a Democratic governor in 2010. The three states that fit this pattern are California, Rhode Island, and Connecticut.

Finally, the states that made the biggest cuts in higher education expenditures in FY2010 were more likely to have a Democratic governor. They were also more likely to elect a Republican governor in 2010. The three states that fit this pattern are Wyoming, Iowa, and New Mexico.

It could be that these correlations are spurious. But my conclusions are no more unreliable than those claimed based on the weak analysis in the original chart.

Much thanks to Susan Wolcott who pointed out the original chart to me.

Who wants to be a cardiothoracic surgeon? Image from McKinsey

by George Taniwaki

The June issue of McKinsey Chart Focus has a chart showing that the number of cardiothoracic surgeons in England increased by 60 percent from 1998 to 2007. Meanwhile, with the growing popularity of angioplasty (a nonsurgical treatment for blocked arteries), the number of surgeries has fallen by more than 10 percent. This means that the number of surgeries performed per surgeon has fallen from 175 per year to 93 per year, a decline of almost 50 percent. This data comes from a longer article in McKinsey Quarterly Dec 2009.

McKinsey uses this data to support the argument that it is difficult to forecast labor demand for specialists who take a long time to train and that there is a glut of cardiothoracic surgeons in England. Both statements may be true, and the longer article is quite convincing. But shortening the argument by just using a couple of charts to prove the point is wrong as I will explain.

First, we have no evidence as to whether the number of surgeries performed per surgeon in 1998 is optimal, too many, or too few. If it is too many, and was causing poor outcomes, then it would be good to reduce each surgeon’s caseload. We also don’t know the distribution of workload among the surgeons and how that changed.

Second, labor markets are not static, even for surgeons that require lots of training. Prior to deciding to become surgeons, newly graduated medical students use salary as one of the factors when deciding which specialty to enter. If salaries are not falling and there are no stories of unemployed cardiothoracic surgeons, then there is no surplus (in the economic sense). Yes, they may be entering a field that may be unfulfilling because there isn’t enough work. But that is the result of policies of the NHS which hopefully can be fixed. Also, once young surgeons enter a specialty like cardiothoracic surgery, they are not stuck there forever. It is possible to switch to another specialty. This should allow some balancing, if the labor demand changes.

Third, hopefully, hospitals don’t have surgeons just sitting around if they are not performing surgery. In particular, we can presume they are performing the angioplasty treatments. The number of these procedures has been rising rapidly. This isn’t shown in the graphs above. In fact, since angioplasty is considered lower risk than open surgery, they probably perform lots more of them than surgeries. Surgeons may actually be busier (treating more patients) than before.

Thus, we can conclude that on its own the McKinsey chart doesn’t provide enough evidence to support the argument that improper labor demand forecasting is a common problem or that there are too many cardiothoracic surgeons in England. Again, reading the full article is more convincing.

Cost benefit analysis

Incidentally, this is a good place to illustrate a problem that can occur when comparing the benefits and costs of a new medical procedure with an existing one. If angioplasty (or some other noninvasive intervention) is being performed on more patients, that must mean more marginal cases are being treated. That is, there are patient cases where surgery was not indicated because benefit did not outweigh the risk. There are two types of patients that were previously left untreated. First are patients who are healthier than the treated patients and whose cases were not considered serious enough for surgery. Since the risks have dropped with angioplasty, some of them can now be treated.

The second group consists of patient who had other comorbidities that made them poor candidates for open surgery. Again, since the risk has dropped, some of them can now be treated using angioplasty.

Now look what happens to the outcome statistics before and after the introduction of the new technology. Let’s divide patients into three groups, Treatment provided, No treatment required (case not considered serious enough for intervention), and No treatment advised (case too risky for surgery). Let’s take a look at the hypothetical 5-year survival rates for the three groups before and after the replacement of open surgery with angioplasty.

Survival rates for two treatments (hypothetical data)

5-year survival rateTreatment providedNo treatment requiredNo treatment advised
Open surgery75%90%35%
Angioplasty72%95%30%

Switching from open surgery to angioplasty has a small negative effect on survival of patients receiving treatment. But that doesn’t mean it is less effective than surgery. Because the composition of patients has changed, there is no way to know if it better, worse, or the same. As a weird side effect, the switch in treatment has effects on the groups that didn’t get treatment. It will have a positive effect on the group that doesn’t require treatment (because the sickest of them now receive treatment, leaving only healthier patients). And it causes lower survival of the sickest patients who don’t receive treatment (because the healthiest of them now receive treatment, leaving only the patients with the worst prognoses in the pool).

This is a common problem when evaluating new medical technology. Introducing a newer, safer technology increases the number of interventions and apparently reduces good outcomes due to changes in the treated patient population. Further, new treatments are often more expensive than existing ones. This drives total healthcare costs upward as both the cost per patient increases and the total number of patients receiving treatments increases. Healthcare gets more expensive and without complex multivariate analysis it looks like nothing improved.