Lasso in SAS

Posted on May 17, 2015 in Computer Science • Tagged with programming, SAS, LASSO, feature selection, variable selection, regularization

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

You can do this …


Continue reading

Sharing Data in SAS

Posted on May 17, 2015 in Computer Science • Tagged with programming, SAS, data, dataset, macro

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

There are bascially 2 …


Continue reading

Run Unix/Linux Commands in SAS

Posted on May 17, 2015 in Computer Science • Tagged with programming, SAS, Unix, Linux, command

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 can run Unix …


Continue reading

SAS Coding Style

Posted on May 17, 2015 in Computer Science • Tagged with programming, SAS, coding style

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. CamelCase for procedure names …

Continue reading

R for Internet/Web Applications

Posted on Nov 14, 2012 in Programming • Tagged with email, R, Web, programming, network, internet, CRAN

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

Sending/Receiving Emails

  1. There are many ways to send email in R. First, you can use sendmail{sendmailR}. The following code is a simple test email.

    sendmail …

Continue reading

Keep Matrix Structure when Extract a Row/Column from a Matrix

Posted on Aug 14, 2012 in Programming • Tagged with programming, data structure, algebra, matrix, R, vector, CRAN

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

I talked in the post Abuse of Vector in R that it is often the case that we want keep the matrix sturcture when extracting a row …


Continue reading