A new Annals of Internal Medicine article describes a study that compares two employer-sponsored financial incentive programs for promoting weight loss among obese employees. I first read about the article at the Pacific Standard. The study design is a randomized controlled prospective trial. The two programs are as follows: Program 1. Obese employees are given […]
Tag: SAS
Career Thoughts – The Rise and Rise of the Statistician
As my kids have got older and have had to make decisions about which subjects to continue, and which to drop, I’ve paid closer attention to the general trends in some specific areas. Whilst I’m not sure that either of my kids will follow in my footstep…
NOTE: SAS Talks Revisited
It’s been quite a while since I last mentioned the excellent SAS Talks series. In the intervening period, the archive of talks has grown enormously. The archive of talks is a veritable treasure trove of SAS knowledge.
SAS Talks is principally a s…
Promoting SAS Security Metadata (in Custom Repositories)
Did you know that with SAS® 9.3 you can promote (export/import) SAS metadata packages containing users, groups, roles, and ACTs, just like you can with Jobs, Tables, Libraries, Stored Processes, Reports and Information Maps? I needed to do this myself…
List Processing With SAS: A Github Repository
I have a function like macro (recursive version) to create a sequence: %macro _list(n,pre=ff); %if &n=1 %then &pre.1; %else %_list(%eval(&n-1)),&pre.&n; %mend _list; %put %_list(3); *produces ff1, ff2, ff3; But when I read one of Ian Whitlock’s papers, Names, Names, Names – Make Me a List (SGF 2007, SESUG 2008), I say: stop! I’m […]
Protecting your Metadata Protections: Part 2
In a guest post on blogs.sas.com in January, I wrote about protecting your metadata protections. In that post I said that “Ideally, a SAS® metadata security plan should address both ACT permissions and access to the Authorization Manager.”…
Localize Your Macro Variable? Mostly Not Needed or Do It If You Only Want to Initiate It
A piece of SAS codes to create a list of all variables within a dataset (a nice programming trick from Art Carpenter, 2004): %macro getvars(dset) ; %local varlist ; %let fid = %sysfunc(open(&dset)) ; %if &fid %then %do ; %do i=1 %to %sysfunc(attrn(&fid,nvars)) ; %let varlist= &varlist %sysfunc(varname(&fid,&i)); %end […]
What’s New
I didn’t blog for a while in this first half March and there are bunches of new stuff to catch up: I had a new baby! He was delivered on time (and on budget!), lions tigers and bears, oh my… His brother is Tiger so I named him, Leo. And I got the latest SAS […]