Popular Functions in IML

Posted on Jan 02, 2015 in Computer Science • Tagged with programming, SAS, IML, function, module

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

dif: lagged difference, keep …


Continue reading

Tips for the IML Procedure in SAS

Posted on Jul 19, 2012 in Computer Science • Tagged with SAS, matrix, programming, IML

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. End an IML procedure with quit;. You should never use run; to end an IML procedure because it is used for calling user-defined functions in IML procedures …


Continue reading

Program Termination in SAS

Posted on Jan 05, 2015 in Computer Science • Tagged with programming, SAS, termination, exit, quit, stop, error

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

To print an error …


Continue reading

Cartesian Product in SAS

Posted on Oct 23, 2014 in Computer Science • Tagged with programming, SAS, Cartesian product

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Suppose we have 2 variables x = ("a", "b", "c") and y = (1, 2, 3), and we want to create a dataset containing the Cartesian product of x …


Continue reading

Check the Type of a SAS Variable

Posted on Aug 22, 2014 in Computer Science • Tagged with programming, SAS, data type, variable, proc content, putn

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author …


Continue reading

Make Plots in SAS

Posted on Jul 11, 2012 in Computer Science • Tagged with image, SAS, graphics, programming

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. There are functions to add points, lines and legends to an existing plot in R. In SAS, there is no way to do this. What you can …


Continue reading