how to calulate follow up years? ID First visit(SAS date). Last visit(SAS date) Id firstvisit lastvisit 01 5543 01 11234 02 5436 02 8895 Numbers are SAS date. How to clalulate lastvisit- firstvisit? It's difficult to calculate between first visit and last visit since located in different row. How can make code correctly?? BK.
... View more