Lin, J.Y., Ten Have T.R., Elliott, M.R. (2009). Nested Markov Compliance Class Model in the Presence of Time-Varying Noncompliance. Biometrics, 65, 505-513.
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;
});
});