hi, I have a data file something like this,
i want to count how many number of policies each individual has, can anyone please help me in this
Hi, or other PROCS ...
proc means data=x n nonobs;class name;run;
proc freq data=x;table name;run;
View solution in original post
There are a few different ways of doing this - you could do something like
create table polcount
as select name, count(name) as totalpols
group by name;
Thank you, can i use that code in SAS?
You certainly can - if it fits the bill could you mark my reply as an accepted solution please? It saves others from responding to an issue which has already been solved.
thank you i got it
Need further help from the community? Please
ask a new question.