Category: SAS

Running PROCs on Your Facebook Friends (2011 version)

While talking to fellow SAS users at SAS Global Forum 2011 this week, I’ll be discussing how SAS programmers can “play” with social media data that they can access on Facebook and Twitter. I always refer people to my blog for more information, an…

Quasi-Monte Carlo simulation by functional programming in SAS

The concept of functional programming could be next big thing for those data-driven computer languages. Compared with encapsulation, inheritance, overloading, design pattern, and many other must-learn contents based on class and super-class, functions …

How to preserve leading zeros when export to csv file

data one;input id $;/* create formatting to preserve leading zeros in excel */cid&nbsp =&nbsp ‘&nbsp=&nbsp”&nbsp’&nbsp ||&nbsp id&nbsp ||&nbsp ‘&nbsp”&nbsp’;cards;00123123980123400034;run;data one (drop=id);&nbsp &nbsp &nbsp set one;run;ods listing clo…