How do you read in the variables that you need?
Answer Posted / kumaraswamy maduri
Use KEEP or DROP depending on the number of varibales you
require.
Keep: Out of 50 if you require to keep 20 variables it
better to use keep.
Drop: It meaning less to use KEEP when you want to use 35-
40 variables. Its better to drop the remaining variables.
Both mean same but efficient coding is always preffered.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What is the basic syntax of a sas program?
What are common programming errors committed in sas
How to specify variables to be processed by the freq procedure?
what other sas products have you used and consider yourself proficient in using? : Sas programming
How many data types are there in SAS?
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
List down the reasons for choosing sas over other data analytics tools.
What is program data vector (pdv) and what are its functions?
how can you create zero observation dataset? : Sas programming
Mention what are the data types does SAS contain?
Explain proc sort?
how does sas handle missing values in functions? : Sas programming
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.