tell me about use of arrays in sas
Answer / vimal raj
SAS Array's main functionality is
when a same action has to be performed repeatedly for n number of similar variables, it is ideal to use array which will simplify the sas program and gives the efficient performance in running and also the look n feel is better
data readin;
set outdata;
array Q(20) Q1-Q20;
do i= 1 to 20;
if Q(i) = 6 then Q(i)= .;
end;
run;
Is This Answer Correct ? | 4 Yes | 2 No |
Name and describe three SAS functions that you have used, if any?
what is the difference between proc means and proc tabulate?
Intern stastical programmer written test
how would you create multiple observations from a single observation? : Sas programming
Explain what is data step?
Approximately what date is represented by the SAS date value of 730?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Compare sas with other data analytics tools.
The below code we are using for creating more than one macro variables in proc sql using into clause. How we can use same code to create macro variables vara, varb, varc instead of var1, var2, var3.? proc sql noprint; select count(distinct(patient)) into :var1 - :var3 from dataset1 group by trtreg1c ; quit;
how to read character value without using substr function in sas ?
what is enterprise guide? What is the use of it? : Sas programming
What is shift table? have you ever created shift that?
2 Answers Accenture, Clinical Research, Quintiles,