Help using Base SAS procedures

minimize memory usage of MEANS procedure

Reply
Contributor
Posts: 27

minimize memory usage of MEANS procedure

When attempting to minimize memory usage, the
most efficient way to do group processing when
using the MEANS procedure is to use:
A.
the BY statement.
B.
GROUPBY with the NOTSORTED specification.
C.
the CLASS statement.
D.
multiple WHERE statements.

Which is the best answer? A or C? Thanks.
Super User
Posts: 9,671

Re: minimize memory usage of MEANS procedure

I choose A. Is it right?


Ksharp
Super User
Posts: 3,101

Re: minimize memory usage of MEANS procedure

Agreed. For large numbers of levels MEANS/SUMMARY using BY also runs a lot faster than using CLASS, at the expense of having to sort first.
Ask a Question
Discussion stats
  • 2 replies
  • 1097 views
  • 0 likes
  • 3 in conversation