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 |
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
Explain data_null_?
Mention what are the data types does SAS contain?
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
what is the primary data source for the wrs? : Sas-bi
How do you put an elephant in the refrigerator?
Mention what is SAS data set?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
List out some key concept of SAS
how will you locate the sas platform applications? : Sas-bi
What statement do you code to tell SAS that it is to write to an external file?
how would you determine the number of missing or nonmissing values in computations? : Sas programming