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

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

MATLAB for Visualization

Posted on Dec 03, 2012 in Computer Science • Tagged with image, visualization, programming, plot, graphics, MATLAB

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

  1. To display a new graph on on top of an old one, you can use command hold on. In this way, you can create multiple plots in …


Continue reading

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

Passing Arrays Between R and Other Programming Languages

Posted on May 02, 2012 in Computer Science • Tagged with array, R, C/C++, programming, Java

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

A matrix or an array in R is essentially a vector with dimension attribute. For this reason, no matter you pass a vector, matrix or an array …


Continue reading