1. Permutation and Combination data _null_; n = 5; r = 2; *the factorial of a number; fact=fact(n); *for positive integers, fact(n) = gamma(n+1); gamm=gamma(n + 1); *C(n,r): number of combinations of n objects selected r ; *n! / [r!(n-r)!]; comb1 = comb(n,r); comb2 = […]
Tag: IML
Incorporate SAS/IML to Base SAS?
Since SAS 9.3, ODS Graphics was moved into Base SAS, which means the SAS/Graph license is not needed anymore to access ODS Graphics facilities. It’s definitely nice, but from customers’ point of view, it is not critical necessary: since the “minimum set of SAS system” in most SAS sessions includes the Base SAS, SAS/Stat and […]
Retrieve blogs using SAS
Recently I posted a frequency analysis on Rick Wicklin’s popular SAS/IML blog. Sanjay Matange also produced a nice heatmap on Rick’s blogging history using the summary data I published. Here just release the ideas and SAS codes to get data from Rick’s blog dynamically. You may modify the codes slightly to obtain data from all […]
SAS Bloggers In Action(1): Rick Wicklin, SAS/IML and “Color Revolution”
It is well known that the French writer, author of The Three Musketeer, Alexandre Dumas, wrote his master piece of work in different colored papers according to literary genre:
non-fiction on rose,
fiction on blue,
poetry on yellow
The SAS blog writer, author of Statistical Programming with SAS/IML Software, Rick Wicklin of SAS Institute, also leads a strong “color […]
Play Matrix within SAS(1): basic files processing
Recently I read Rick Wicklin’s IML blog with great interests(and anticipation for his fore-coming IML book, Statistical Programming with SAS/IML Software). SAS programmers have the following programming tools to facilitate their daily work:
SAS data step: the basic SAS; a generation IV programming language, similar with other procedural languages such as C.
SAS Proc SQL: SAS’s […]