Stratified analysis in comparative effectiveness studies that emulate randomized trials