i have a dataset with 25 obs; 10th obs has like
ramu,anji,ramu,azad,ramu like this. i want to know how many
times the word repeats in that obs?
Answer Posted / vivek
Data DS;
INFILE datalines;
input name $;
datalines;
ram
sham
seema
amit
sham
sushil
amit
seema
ravi
run;
proc freq data = ds;
table name;
output out =dsfrq;
run;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What was the last computer book you purchased? Why?
how does sas handle missing values in sort order? : Sas programming
What is the different between functions and PROCs that calculate the same simple descriptive statistics?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
Explain proc sort?
name some data transformation used in sas di? : Sas-di
What are the difference between ceil and floor functions in sas?
Explain what Proc glm does?
What is maximum number of rows and cols can be handled in SAS?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
for whom is sas data integration studio designed? : Sas-di
What is the maximum length of the macro variable? : sas-macro
how many display types available in sas bi dashboard? : Sas-bi
How do you control the number of observations and/or variables read or written?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro