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
Explain the use of proc print and proc contents?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
what is information maps?
Describe the function and utility of the most difficult SAS macro that you have written?
For clinical entire study how many tables will create approx?
what do you mean by data staging area? : Sas-di
Difference between informat and format?
What is the difference between one to one merge and match merge? Give an example.
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Describe the ways in which you can create macro variables? : sas-macro
what is treatment emergent events and treatment emregent adverse event
What are the five ways to do a table lookup in sas? : sas-grid-administration
What are the differences between proc means and proc summary?
What was the last computer book you purchased? Why?
what is the effect of the options statement errors=1? : Sas programming