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
How will your annual income change over your life?
That's a difficult, if not impossible, question to answer for an individual, considering that it depends upon specific details like your education, your experience, whether you work, how often you might change jobs, experience a layoff, get promoted, when you retire, et cetera. Statistically however, we can get a pretty good idea from income data collected by the U.S. Census Bureau.
We recently completed a project where we looked at income data for the total population for every year from 2000 through 2016, where we found a pretty unique pattern hidden within each year's data - the average income for the reported age groups follows a fairly predictable and stable trajectory from year to year.
In the following chart, we've graphed four curves, where each curve corresponds to a different level of educational attainment. To generate each trajectory, for each level of education in each year, we first converted the average incomes listed for each age group into a percentage of the average income reported for the Age 18-24 cohort. We then calculated the average percentage income for each age group over all the years from 2000 through 2016.
For each data point, the "Reference Age" in the horizontal axis represents the middle of the age cohort for which the income data was reported, which for Age 18-24 is 21, for Age 25-29 is 27, and so on....
Right away, you can see the similarities between the income trajectories by age, which all fall within a relatively narrow range of one another. And that's despite the great differences between the average incomes reported for each education level for the Age 18-24 cohort, which we've indicated for 2016 in the inset in the chart above.
What kind of difference does that base average income set by education level have on a the average American's lifetime income trajectory and earnings?
In the next chart, we do the math, pairing the 2016 average income of the Age 18-24 group with the average income trajectories for all years from 2000 through 2016.
The curves for each education level don't match the actual income trajectories of each for 2016, but they're not all that far off either.
Labels: data visualization, demographics, education, income
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.