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
It's time once again to take a snapshot of the major trends in S&P 500 stock prices against their trailing year dividends per share over time! Our first chart shows each of the major trends that have existed in the U.S. stock market since December 1991, all the way through to 21 February 2014:
Our next chart zooms in on the current trend, which has been in place since 4 August 2011, and has extended through 21 February 2014 (the chart picks up the action from the end of 2011-Q1 on 30 June 2011):
The difference between the regression equations representing the main trajectory of stock prices with respect to deviations in both charts is attributable to the differences in the data presented in each. The first chart shows the average of the S&P 500's daily closing prices during each calendar month, while the second chart shows the S&P 500's daily closing prices.
Since 4 August 2011, the S&P has behaved in what we would describe as an orderly manner, where the residual variation in stock prices about their central trajectory would appear to be adhering to a normal distribution, where stock prices would be likely to fall between the indicated +/- one standard deviation curves some 68.4% of the time, between the +/- two standard deviation curves some 95% of the time, and between the +/- three standard deviation curves some 99.7% of the time.
While this is a characteristic of periods of relative order in the market, our readers should note that over the long term, stock prices are not normal. Since the statistical hypothesis that stock prices are behaving normally during relative periods of order in the market cannot be ruled however, we can use the tools of standard statistical analysis to gain more insight into their behavior during these periods.
One interesting and new observation we can offer is that the size of the standard deviation for the residual variation of stock prices about the main trend with respect to their dividends per share would appear to coincide with differences between the change of the year-over-year growth rates of dividends per share expected in different future quarters.
Which is something that should perhaps be expected if investors do indeed periodically shift their forward-looking focus from one future quarter to another in setting today's stock prices, since it would account for a good portion of the variation we observe in stock prices during relative periods of order in the market.
Labels: data visualization, SP 500
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.