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 |
Explain what Proc glm does?
I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x y /nocum nopercent; run; Here I get nopercent and nocum in the output only for variables x and y. How do i do it for all variables? Deepak
How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C
describe about metadata object? : Sas-di
What is the difference between the proc sql and data step?
%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help
how many types of MERGE?
how to write code for left outer join in SAs using datastep?
how do you derive descriptive statistics?
1 Answers Accenture, Quintiles,
name the scheduler for scheduling job and explain the scheduler? : Sas-di
List out some key concept of SAS
Differentiate between proc means and proc summary.