Sunday, May 25, 2014
What Is It With Economists and Spreadsheets?
Last year we went through the episode of the Reinhart-Rogoff paper that asserted that national public debts in excess of 90% of GDP killed economic growth. Conservative politicians jumped on the paper as a justification for proposing drastic changes in US public policy. As it turned out, critical calculations were done by spreadsheet, the spreadsheet had errors, and when the errors were corrected the "cliff" in economic growth at 90% disappeared. The damage had already been done, though. The 90% debt-to-GDP cliff was quoted in a variety of government reports, and those secondary sources continue to be cited in policy debates today.
What is it with economists and spreadsheets? Spreadsheet software is a programming system. There is a large literature on the frequency and nature of spreadsheet errors (the European Spreadsheet Risks Interest Group's annual conference on the subject will be held in July this year). Even using best practices, complex spreadsheets contain errors at a rate that would be completely unacceptable in any other programming environment. Not that there seems to be any evidence being offered that the economists mentioned above were making use of those best practices. For example, I have yet to read that Reinhart and Rogoff conducted formal code reviews.
One part of this is particularly puzzling to me. Some years back I spent two semesters in a PhD economics program. The econometrics classes used R and Gauss. There was never even a hint that Excel was an acceptable method for doing research calculations. Certainly none of the graduate students I met who were working on their dissertations were using a spreadsheet to do the analysis. So to find highly-respected academic economists using spreadsheets is surprising. They have to know that if the spreadsheet is even moderately complex, errors are creeping in. Quite possibly embarrassing errors .
For some decades, economists have been accused of suffering from "physics envy." That is, they want their field to be considered a hard science like physics, not one of the so-called soft sciences. I'll offer economists a piece of free advice on that: hard sciences don't do data analysis with spreadsheets. Clean up your act. Require authors to certify that they use real tools for numerical work, reject out-of-hand papers that don't, and punish people who lie about it harshly.
 Using better tools is no guarantee that errors won't creep in. But they offer a better chance of catching them.