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

General Tips for MATLAB

Posted on Dec 08, 2012 in Computer Science • Tagged with tips, skills, programming, MATLAB

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

Skills

  1. MATLAB support profiling running time of code, so that you what to work on to optimize your code.s

  2. It is expensive to allocate a new …


Continue reading

Rcpp Rocks

Posted on Sep 16, 2012 in Computer Science • Tagged with C++, list, programming, HPC, Rcpp, R, RcppArmadillo, Armadillo, rock

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

Please see here for some simple examples for learning Rcpp and related packages.

Tips

  1. Though you can overload functions in a Rcpp module, it causes problems when …


Continue reading

Parallel Computing in MATLAB

Posted on Dec 19, 2012 in Computer Science • Tagged with HPC, parallel, concurrency, programming, 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. It is very easy to do parallel computing in MATLAB. Usually what you have to do is to change for to parfor for the loop that you …

Continue reading

General Tips for R

Posted on Nov 05, 2012 in Computer Science • Tagged with tips, R, generic, programming, argument

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

  1. Many R functions have lots of arguments which allows you get a full control of their behaviors, so before you ask whether there is any R function …


Continue reading

Distributions in R

Posted on Nov 05, 2012 in Computer Science • Tagged with distribution, R, programming, statistics

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

  1. The definition of geometric distribution in R is not the same as the common definition. A random variable of geometric distribution in R starts from zero, i …


Continue reading