Pages

Monday, October 14, 2013

Widgets

Limit the size of dataset for test

Sometime datasets are too large and to run the test on those datasets to check if the program is working fine, it takes a lot of time.

You can overcome this by OBS = option: Here is an example:


Example:
data sub85;
set lib.all85 (obs=1000);
proc glm data=sub85;
model icd90=female black state1-stat49;


Again, you can also use this as a system option:

options obs=1000 [other SAS system options here];

You can remove it once the program is running smoothly.

No comments:

Post a Comment