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
Barry Ritholtz' points to an outstanding post by Chris Arnade at Scientific American, with the irresistible title "The Real, and Simple, Equation that Killed Wall Street". Here's a sample, but read the whole thing!:
"If it weren't for those meddling kids!" That was the punch line for every Scooby Doo episode. It also is the overly simple narrative that many in the media have spun about the last financial crisis. Smart meddling kids armed with math hoodwinked us all.
One article, from the March 2009 Wired magazine, even pinpointed an equation and a mathematician. The article "Recipe for Disaster: The Formula That Killed Wall Street," accused the Gaussian Copula Function.
It was not the first piece that made this type of argument, but it was the most aggressive. Since then it has been a common theme in the media that mathematics, especially obscure advanced mathematics, is largely responsible for the catastrophe that doomed the world to the last five years of recession and slow growth.
This theme plays on the fallacy that danger always comes from complexity. It's a fabrication that obscures the real causes, that makes it easier to say, "Hey, it wasn't my fault, I was blinded by science."
The reality is much simpler and less sexy. Wall Street killed itself in a time-honored fashion: Cheap money, excessive borrowing, and greed. And yes, there is an equation one can point to and blame. This equation, however, requires nothing more than middle school algebra to understand and is taught to every new Wall Street employee. It is leveraged return.
[...]
The equation, though simple, reveals one dangerous truth that investors love to exploit. If you can find an asset that returns more than the cost to borrow money then any return is possible with enough leverage.
The simple equation incorporates the following elements to calculate the effective rate of return for an investment made with borrowed money:
We've built a tool to calculated the leveraged rate of return for an investment that takes these factors into account, but we've added an extra wrinkle - the tax rate that might apply for the return on the investment, which is also something that can greatly affect the investor's choice of investment and can definitely affect their returns!
The default numbers in our tool above are taken from Chris Arnade's example in his post, but the 23.8% tax rate we've entered corresponds to the capital gains tax rate that took effect on 1 January 2013 (assuming this were an investment to which this tax rate would apply).
In Arnade's example, which assumed a tax-free nominal rate of return (or an after-tax rate of return), the leveraged rate of return was 15%. Imposing a tax rate of 23.8% as in our example reduces the effective rate of return of the leveraged investment to 6.67%.
But, if the investor didn't leverage the investment, putting 100% of their own money into it, the after tax rate of return would be 5.53%.
So there's still an advantage for an investor seeking to leverage their investment by borrowing a large portion of the total funds they will invest, but the taxes take a large portion of the leveraged gains out of the picture for the investor.
But we can certainly see the huge incentive that an investor would have for leveraging their investment if it were not subject to taxes, much as many municipal bonds are.
Could the same kind of leveraged bubble that led to the collapse of the financial industry in 2008 be at work in the municipal bond market today? ETF Trend's John Spence summarizes the growing concerns:
"Investors are looking for ways that they can pick up yield, especially munis, which have the tax advantage on the income," said Matthew Tucker, head of iShares fixed-income strategy, in the report. [Muni Bond ETF Rally]
Yet the muni bond rally has raised concerns the asset class has "gotten pricey and risky at the same time," reports Jason Zweig at The Wall Street Journal.
If there is indeed a bubble developing in the markets for municipal bonds, that would make the argument for doing away with their tax-exempt status much stronger.
Labels: investing, taxes, 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.