Raghunathan, T. E., Diehr, P. D., Cheadle, A. F. Combining Aggregate and Individual Level Data to Estimate an Individual Level Correlation Coefficient, Journal of Education and Behavioral Statistics, 2003, 28, 1-17.
var url = document.location.toString();
if (url.match('#')) {
$('.nav-tabs a[href="#' + url.split('#')[1] + '"]').tab('show');
}
// Change hash for page-reload
$('.nav-tabs a').on('shown.bs.tab', function (e) {
window.location.hash = e.target.hash;
});
});