Mahalanobis distance explained

Posted by & filed under Statistics, Teaching.

This post does a fantastic job of the Mahalanobis distance. Basically, one can think of it as a multivariate generalization of the z-score. That is, the standardized distance of a vector from the origin (mean vector).

Keep slides short and tell a story

Posted by & filed under Statistics, Teaching.

I enjoyed this post. What did I learn? Don’t immediately jump to making slides when you have to give a presetation. If you have to use slides to help facilitate your presentation, start out by writing prose. That is, tell your story. Then make your slides. For a 20 minute presentation, try to stick to… Read more »

Working with SAS macro variables

Posted by & filed under Statistics.

Believe it or not, I recently had to use SAS for a simulation study because it was the only system available that could maximize the exact partial likelihood of a Cox proportional hazards model for tied data (ties=exact) in a reasonable amount of time for a data set of 2,000 observations. This was the first… Read more »

Install SAS on Linux

Posted by & filed under Linux, Statistics.

When installing SAS on an Ubuntu machine, I ran into issues like /bin/sh being linked to /bin/dash instead of /bin/bash and the deployment wizard not starting. This post helped me resolve my issues. Basically: sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh sudo apt-get install xauth x11-apps libstdc++5 ia32-libs libxp6 ## deployment wizard not starting… Read more »