R Tackles Big Garbage

April 1, 2013 – Although the capabilities of the R system for data analytics have been expanding with impressive speed, it has heretofore been missing important fundamental methods. A new function works with the popular plyr package to provide these missing … Continue reading

Data about each month (SAS)

A SAS code to generate information about each month such as the number of days in the month, week days, hours, work hours, etc. using intck and intnx function. It’s also a good example of using a DATA step to generate a data set without an input data …

NOTE: DS2 Final, Final Comments

I got as lot of feedback about the DS2 articles I recently wrote. I should add a few more summarising comments:

I mentioned that DS2 doesn’t currently support MERGE. Chris Hemedinger commented that the ability to use SQL in your SET statement means th…

Poor man’s HPQLIM?

Tobit model is a type of censored regression and is one of the most important regression models you will encounter in business. Amemiya 1984 classified Tobit models into 5 categories and interested reader can refer to SAS online doc for details. In SAS…

Yet Another Undocumented Feature (new in SAS 9.3)

Today just caught an undocumented SAS feature. I ran the following SAS codes to delete a dataset(in Windows 7 with SAS 9.3): data a; b=1; run; proc datasets noprint; delete a; run; quit; and the dataset was deleted as I expected: 32   proc datasets noprint; 33       delete a; 34   run; NOTE: Deleting WORK.A (memtype=DATA). 35   […]