Hello,
I want to calculate the number of id per date or year
data have;input date id $;datalines;
1996 51996 61996 71997 11998 51998 101999 11run;
data want;input date nbid $;datalines;
1996 31997 11998 21999 1run;
proc freq data = have noprint; tables date / out=want(drop = percent); run;
View solution in original post
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for:
View all other training opportunities.