I think you can use my code to solve it, see inside 回複:SAS編程:請賜

Assuming 日期重疊次數 means the # of same startdate and enddate

proc freq data=datset1;
by ID;
Table startdate/out=outdatset2;
run;


請您先登陸,再發跟帖!