English

Rick Wicklin 0
Enumerating levels of a classification variable

A colleague asked, "How can I enumerate the levels of a categorical classification variable in SAS/IML software?" The variable was a character variable with n observations, but he wanted the following: A "look-up table" that contains the k (unique) levels of the variable. A vector with n elements that contains

Chris Hemedinger 0
Moved again. Did you blink and miss it?

Sometime very recently, probably while you weren't looking, I changed jobs at SAS (yes, again). This time it's a bigger change for me, because I'm no longer part of the SAS R&D organization, where I've worked for nearly 14 years. Instead, I'm part of the team known internally as Professional

Rick Wicklin 0
Blogging, programming, and Johari windows

My primary purpose in writing The DO Loop blog is to share what I know about statistical programming in general and about SAS programming in particular. But I also write the blog for various personal reasons, including the enjoyment of writing. The other day I encountered a concept on Ajay

Analytics
Vincent Talucci 0
The police police

Policing has profoundly changed over the last several decades and its evolution will continue as long as there are crimes to commit and communities to serve. The very nature of policing is dynamic – it always has been and always will be. Those dynamics are driven by many things –

Rick Wicklin 0
Use subscript reduction operators!

Writing efficient SAS/IML programs is very important. One aspect to efficient SAS/IML programming is to avoid unnecessary DO loops. In my book, Statistical Programming with SAS/IML Software, I wrote (p. 80): One way to avoid writing unnecessary loops is to take full advantage of the subscript reduction operators for matrices.

Rick Wicklin 0
The trapezoidal rule of integration

In a previous article I discussed the situation where you have a sequence of (x,y) points and you want to find the area under the curve that is defined by those points. I pointed out that usually you need to use statistical modeling before it makes sense to compute the

Analytics | Risk Management
Leo Sadovy 0
A Plethora of Black Swans

I was under the impression that Black Swans were supposed to be rare. Rare enough to be effectively non-computable by standard methods. Nassim Taleb’s formulation of the Black Swan Theory is comprised of the three traits of: outlier (rarity), extreme impact, and retrospective predictability (i.e. 20/20 hindsight). I write this

Rick Wicklin 0
Listing SAS/IML variables

Did you know that you can display a list of all the SAS/IML variables (matrices) that are defined in the current session? The SHOW statement performs this useful task. For example, the following statements define three matrices: proc iml; fruit = {"apple", "banana", "pear"}; k = 1:3; x = j(1E5,

Analytics
Anna Brown 0
Best of SAS Business Report 2011 so far

As editor of the SAS Business Report, I constantly analyze what’s “clicking” for readers and what’s not. So far in 2011, the following articles have been the biggest hitters: Advanced Analytics for the Modern Business Analyst SAS Placed in Leaders Quadrant for BI Top Five Big Ideas in Analytical Data

1 297 298 299 300 301 328