to your HTML
Add class="sortable" to any table you'd like to make sortable
Click on the headers to sort
Thanks to many, many people for contributions and suggestions.
Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
This basically means: do what you want with it.
*/
var stIsIE = /*@cc_on!@*/false;
sorttable = {
init: function() {
// quit if this function has already been called
if (arguments.callee.done) return;
// flag this function so we don't do the same thing twice
arguments.callee.done = true;
// kill the timer
if (_timer) clearInterval(_timer);
if (!document.createElement || !document.getElementsByTagName) return;
sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/;
forEach(document.getElementsByTagName('table'), function(table) {
if (table.className.search(/\bsortable\b/) != -1) {
sorttable.makeSortable(table);
}
});
},
makeSortable: function(table) {
if (table.getElementsByTagName('thead').length == 0) {
// table doesn't have a tHead. Since it should have, create one and
// put the first table row in it.
the = document.createElement('thead');
the.appendChild(table.rows[0]);
table.insertBefore(the,table.firstChild);
}
// Safari doesn't support table.tHead, sigh
if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
if (table.tHead.rows.length != 1) return; // can't cope with two header rows
// Sorttable v1 put rows with a class of "sortbottom" at the bottom (as
// "total" rows, for example). This is B&R, since what you're supposed
// to do is put them in a tfoot. So, if there are sortbottom rows,
// for backwards compatibility, move them to tfoot (creating it if needed).
sortbottomrows = [];
for (var i=0; i

Since we were just discussing our counterfactual for GDP in the age of quantitative easing, which involves the nominal values, we thought we'd follow up with our latest projections for real GDP. The chart below shows what we would expect given the first estimate of GDP for 2014-Q3 that was issued last week if we assume that the biggest factor affecting its trajectory is simple inertia:

Looking at our modified limo projection for 2014-Q3, it would initially appear that our forecasting method undershot the recorded value of inflation-adjusted GDP by 0.57%. But that's based on the BEA's first estimate of real GDP for the quarter - they will update their estimate twice more during the next two months before somewhat finalizing the value. And the early indication is that the final value that it will be recorded at and our projected value for the quarter will converge, given some strange things going on in the seasonal adjustment factors applied to U.S. defense spending:

– The reported leap in third-quarter defence spending, which added 0.7 percentage points to annualised GDP growth was, as far as we can tell, largely due to a failure of the BEA’s seasonal adjustment process. As a result, we expect defence spending to plunge this quarter, subtracting a similar amount from fourth-quarter GDP growth.

– All of the upside surprise in third-quarter GDP growth (the 3.5% outturn was well above the consensus forecast of 3.0%) can be explained by the 4.6% increase in government spending, which added 0.8 percentage points (ppts) to overall growth. Moreover, nearly all of that boost was due to a 21% leap in Federal defence consumption. That’s the largest increase since the second Iraq war in early 2003. Drilling down further, more than two-thirds of the rise was due to a 74% annualised leap in defence spending on support services for installation, weapons and personnel. This is unusual given that spending on such services typically makes up just 25% of total defence spending.

– Some of the rise in the third quarter could be due to the escalation in military action in the Middle East, but most of it appears to be due to a failure of the seasonal adjustment process. Looking at the averages over the past five years, defence support services spending has increased by 38% annualised in the third quarter only to fall by an average of 34% annualised in the fourth quarter. (See Chart 2.) The BEA all-but confirmed this problem when in an email it told us that it is “trying to determine if any methodology changes are necessary”.

Changes in the reported value of real GDP for 2014-Q3 will result in changes of our projected values for GDP in future quarters.

Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:

Materials on this website are published by Political Calculations to provide visitors with free information and insights regarding the incentives created by the laws and policies described. However, this website is not designed for the purpose of providing legal, medical or financial advice to individuals. Visitors should not rely upon information on this website as a substitute for personal legal, medical or financial advice. While we make every effort to provide accurate website information, laws can change and inaccuracies happen despite our best efforts. If you have an individual problem, you should seek advice from a licensed professional in your state, i.e., by a competent authority with specialized knowledge who can apply it to the particular circumstances of your case.