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
What's the connection between a dripping faucet, the Mandelbrot Set, a population of rabbits, thermal convection in a fluid, and the firing of neurons in your brain?
That's the lead question asked in the following under-19 minute video by Veritasium exploring the logistic map, in which very complex and chaotic outcomes follow from very seemingly simple math relationships.
If you'd like to play around with the logistic map for modeling the population of rabbits over time, using the equation:
Xn+1 = rXn(1 - Xn)
We've built a simple tool to make it easier to cycle through the outputs for whatever parameter values you choose to enter. If you're reading this article on a site that republishes our RSS news feed, please click here to access a working version of this tool our site.
For added fun, we'll note that bifurcated behavior has also been observed in stock prices. A 2014 paper by David Nawrocki and Tonis Vaga describes that scenario:
We propose a bifurcation model of market returns to describe transitions between an 'over-reaction' mean regressive state and 'under-reaction' trend persistent states. Since July 1929, the Dow Jones Industrial Average has exhibited non-stationary state transition behavior, including: (1) mean regressive behavior during crisis situations during the Great Depression of the 1930s and again in the crisis of 2008 when the availability of credit was interrupted; (2) strongly bifurcated, or trend persistent behavior from the 1940s through 1975; and (3) more efficient behavior since 1975. The bifurcation dynamic evident in the pre-1975 era is somewhat enhanced by conditional volume and moderate volatility. The bifurcation model is used to develop a quantitative measure of the degree of market efficiency, which indicates that the market has become more efficient, i.e. less trend persistent, since 1975 with the advent of negotiated commissions and computerized trading techniques. Similar findings are presented for the S&P 500 index and the CRSP Value Weighted Index, which represent large capitalization markets.
There's also a 2016 paper by Marzena Kozlowska et al. that points to the "flickering" behavior in stock prices as an early warning signal when the market nears a "bifurcated catastrophic transition", or "tipping point".
We came across both these papers while investigating potential explanations for why long winning streaks and especially why long losing streaks have become less frequent over time. One thing led to another and suddenly we were immersed in the math of rabbit population growth and Mandelbrot sets, which is pretty interesting in and of itself.
Welcome to the world of complexity!...
Labels: chaos, math, stock prices, tool
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.