The DO Statement in SAS for looping or iteration is used along with while and until special cases. Also, you need to tell SAS whether you need the output of each iteration, for that you need to include the output; statement. You always need to finish it by keyword end; Variables on which DO is… Continue reading SAS ‘DO’ Loops
Category: SAS
INFORMAT Statement in SAS
INFORMAT statement is used to define default input format for a variable or a number of variables in sequence at once. See an Example below: Here, two sequential variables FirstName and LastName have the informat parameter of $10 meaning Alphanumeric 10 character length. n1 and n2 are nuleric variables which have been defined to have… Continue reading INFORMAT Statement in SAS
Model Building & Effect Selection
When you have large number of variable, you can use one of the two methods for automatic variable selection: Either All Possible Regressions Method or the Step-wise Selection Method.