Code to implement the structural nested accelerated failure time model for assessing the net benefit of lung transplantation.