If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?
Answers were Sorted based on User's Feedback
Answer / sindhura
new_data_set ( will have the five variables with variable
names var1, var2, var3, var4, var5)
data new_data_set;
set old_data_set( keep = var1 var2 var3 var4 var5);
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohan reddy
U CAN USE THE KEEP OPTION.
EX
DATA EMP(KEEP=NAME AGE SAL ADD LOC);
SET EMPLOYEE;
RUN;
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / sandeep reddy
I think we have to use OBS=5
and mention FIRSTOBS=(THE FIRST OBSERVATION FROM WHERE U
WANT)
| Is This Answer Correct ? | 1 Yes | 19 No |
What is SAS? What are the functions does it performs?
Can you excute a macro within a macro? Describe.
Explain the use of proc gplot? : sas-grid-administration
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
Are you involved in writing the inferential analysis plan? Tables specfications?
how will you locate the sas platform applications? : Sas-bi
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
How to include or exclude specific variables in a data set?
how many types prompting framework can be broken down to? : Sas-bi
What are all the problems you faced while validating tables and reports?
0 Answers Accenture, Quintiles,
wat is sas? is a package or programming language?
what are scrubing procedures in SAS?