Generating Random Numbers in SAS

Posted on Mar 10, 2015 in Computer Science • Tagged with programming, SAS, random number generating, RANDGEN, rand

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. **

CALL RANDGEN( result, distname …


Continue reading

Choose a Procedure for Modeling in SAS

Posted on May 10, 2015 in Computer Science • Tagged with programming, SAS, procedure, proc

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. **

  1. proc glm has many …

Continue reading

Calculating Quantiles in SAS

Posted on Mar 13, 2015 in Computer Science • Tagged with programming, SAS, quantile

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. **

Use the quantile function …


Continue reading

User-defined Modules in IML

Posted on Jan 13, 2015 in Computer Science • Tagged with programming, SAS, IML, function, module, user-defined

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. **

  1. There are in general …

Continue reading

Work With SAS in Command Line

Posted on Aug 13, 2013 in Software • Tagged with sas, software, Linux, command line

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. **

sas script.sas -l …


Continue reading

Insert Rows Missing as Missing Records in SAS

Posted on Oct 13, 2014 in Computer Science • Tagged with programming, SAS, missing

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

I recent come across a problem. I have a table A in SAS with columns x, y and z. The table almost exhaust the Cartesian product of …


Continue reading