Breakthroughs in the sas7bdat Reverse Engineering Effort

Due largely to the work of Clint Cummins, the sas7bdat file format has become a bit less shrouded. In particular, we now know the following: how to detect files with compressed data (and fail graciously) more details about the platform that generated the file (e.g., endianess, OS details) how to read files that were generated […]

NOTE: SAS Mobile BI on Android

I see that SAS Mobile BI is now available in the Google Play store for Android-loving folk like myself in addition to its earlier Apple incarnation. It’s good to see SAS keeping to its promise of supporting multiple platforms.

There’s not been many d…

Compute the log-determinant of a matrix

The determinant of a matrix arises in many statistical computations, such as in estimating parameters that fit a distribution to multivariate data. For example, if you are using a log-likelihood function to fit a multivariate normal distribution, the formula for the log-likelihood involves the expression log(det(Σ)), where Σ is the […]

Phone number validation in SAS

In SAS it’s trivial to perform basic validation of a US phone number using a regular expression, and this SAS macro goes way behind the basic validation rules: it checks several rules, in service area codes, directory service, and special ……