Tuesday, June 16, 2009

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?

KEEP statement

3 comments:

  1. use infile statement with OBS option

    ReplyDelete
  2. use infile statment with OBS=5

    ReplyDelete
  3. Observation and Variables are different. keep stat is correct

    ReplyDelete