| | |

You learn one programming language, you’ve learned them all (sort of): SPSS Quintiles Example

Recently, I had the need to write the exact same programs twice, once using SAS and once using SPSS syntax. Even though these aren’t the same language, having done it once made it much easier to do it the second time. Let’s start with quintile matching. I’ve been rambling on about propensity scores lately and…

|

Statistics is Everywhere: An unexpected use of PROC SURVEYSELECT

Although I tell my students all of the time that statistics is everywhere, even I did not really see where mixed martial arts, free rice and PROC SURVEYSELECT could possibly have anything in common. Here is what happened …. Mixed martial arts Darling daughter #3 after the Olympics decides not to go to college as…

|

Statisticians need an Occam, or at least a razor

                  My initial exposure to Occam’s razor came in my first undergraduate economics class. Perhaps due to my tender years, it made a great impression, and I have tried to apply it ever since. In short, Occam’s razor advises us when presented with competing, plausible choices, the…

Random basic SAS tips on ranuni, sampling with replacement & junk

1. Use the data sets in the sashelp directory for dummy data. 2. The RANUNI function is worth remembering Today I needed to check something.  Specifically, I was using the ranuni function to generate random numbers for sampling with replacement. I wanted the data set to be sorted randomly, select the first match, then re-sort…

|

Business Ideas Sparked by Twitter

COMPLETELY RANDOM THOUGHTS on business sparked by twitter…. I live just south of Malibu, a city filled with the type of houses God would have built if he only he’d had enough money. Often, I’ll take the afternoon off and go hiking in the Santa Monica mountains, peeking into the backyards, tennis courts and golfing…