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
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Register now!
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.