Ten Have, T.R., Elliott, M.R., Joffe, M., Zanutto, E. (2004). Causal Linear Models for Non-Compliance under Randomized Treatment with Univariate Continuous Response. Journal of the American Statistical Association, 99, 16-25.
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;
});
});