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
Well, let's make no bones about it - the Climbing Limo method for forecasting future GDP was wide off the mark for the fourth quarter of 2006! Our chart below shows just how far off the mark it was:
The method had originally forecast that 2006-Q4 inflation-adjusted GDP would come in at 11,625.2 billion USD, and yesterday's final revision for the final quarter of 2006 put the actual value at 11,513.0 billion USD, an error of nearly 1% for a forecast created nearly 6 months earlier using data from 2005-Q3 and 2006-Q1.
The miss between the forecast and the actual Real GDP figure demonstrates the key weakness of the Climbing Limo method: its forecast values do not incorporate any information about the performance of the U.S. economy less than six months old!
The truth is that economic growth trends change over time and this is evident in looking at the most recent forecast data projected in the same chart above (the dotted line), which shows a substantial change in the growth that had originally been projected from 2006-Q4 through 2007-Q2. In fact, we could have better forecast where Real GDP for the U.S. economy would have come in at if we had simply connected the dots from the last actual Real GDP data available in 2006-Q3 to our most recently forecast data for 2007-Q2.
So, why don't we just go ahead and do that? The following chart shows our results:
Using this modified method, we substantially improve our GDP forecasting ability. We find that this technique would have predicted a Real GDP figure of 11,507.9 billion USD, where the actual Real GDP figure came in at 11,513.0 billion USD, an error of just 0.044%.
Well, since we really like really small errors between forecast and actual data, let's go ahead and use the final revision of the 2006-Q4 data to forecast the 2007-Q3 Real GDP figure using the standard Climbing Limo method, then apply our modified forecasting technique to bridge the gap:
Our original forecast, using Real GDP data from 2005-Q4 through 2006-Q2 would put the Real GDP level for the U.S. at 11,733.0 billion USD for 2007-Q1. Using our newly modified technique however predicts this figure will come in at 11,576.3 billion USD. This would represent a 2.2% annualized 1-quarter growth rate from the final quarter of 2006.
We'll find out at the end of next month if our modified method's got game!
Labels: forecasting, gdp
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:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.