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
Today, we're testing out a super-simple method for dealing with short term echoes for our standard model for forecasting stock prices.
Echoes, as our long term readers will know, are the result of past volatility in stock prices and their effect upon our forecasting model. Because our forecasting model incorporates a number of historic stock prices in the math underlying the model, from time to time when there is a larger than typical amount of volatility in the historic data, it can result in deviation between our model's projections and the actual trajectory of stock prices. The chart below shows the base reference points in the historic data that we've used for our standard model's projections throughout 2014.
We've previously focused our efforts on those situations where the echoes of past volatility were present for a sustained period of time, which we dealt with by simply rebaselining our model to more distant base reference points in the past, which proved to be very successful. We could most certainly do that again, but we wondered if that wouldn't be overkill for the situation where there is an echo present in the data that simply won't be around for such a long period of time.
For echoes with durations of just a few weeks or less, we wondered if we could just simply draw a straight line to bridge across the gap corresponding to the echo effect upon our forecasting model. And since we have just such a situation happening right now in the stock market, thanks to a short, sudden correction from a month ago, which is coincidentally one of the base reference points we use for making our projections of the present, we thought we'd try it out.
The results are presented in our alternative futures chart below. Here, we observed that stock prices were following the trajectory associated with investors being focused on the current quarter, 2014-Q4, in setting current day stock prices. We then identified the next point in time in our projection for that trajectory that would be outside of the echo effect. And then we connected the dots....
So far, so good. We'll see if stock prices continue to behave that nicely during this week, which we also think will be increasingly unlikely as time progresses forward.
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.