I have been reluctant to condemn the credit-rating agencies for sovereign downgrades because it seemed like shooting the messenger. As the bond markets have noticed, a few European countries have serious fiscal problems. Blaming the raters for also noticing did not seem like an effective response.

However, I think that Standard and Poor’s decision — alone among the major raters — to downgrade the U.S. has severely discredited the agency (bad pun intended). The U.S. Treasury has posted a stinging note about a calculation mistake underlying this decision. Interestingly, the magnitude of S&P’s error was equal to the amount by which it judged the U.S. deficit-reduction plan to fall short: $2 trillion over ten years.

Paul Krugman emphasizes the amateurish nature of S&P’s mistake. But what strikes me is that, when Treasury officials pointed out the error, the agency just changed its main rationale for the downgrade and immediately proceeded with the public announcement. It seems that S&P had made up its mind and did not want to be confused by the facts.

A few commentators have tried to defend S&P by claiming that its initial assumptions were as legitimate as, or more realistic than, the Treasury’s assumptions. I am no expert on American budgeting, but I do not think that is the issue.

My reading of the Treasury’s post is that S&P costed the deficit deal based on one assumed baseline and then subtracted the result from a different baseline. Doing so would be wrong, whichever baseline is right.

Update (August 7): Andy Watt from the European Trade Union Institute has more.

Update (August 8): Krugman has more.

This article was first posted on The Progressive Economics Forum.