Tag: SAS

SAS UK Forum

If you haven’t already seen a notice, there will be SAS Forum events in the UK again this year (in previous years they’ve been known as SAS Professionals Convention, but I guess the “forum” tag provides consistent branding with events such as SAS Globa…

Now Starring Susan and Lora in “SGPLOT and SGPANEL Procedures”

ODS Graphics is not exactly new.  It became production with SAS 9.2 back around 2008, and before then it existed in a pre-production form at least as early as 2003.  So you would think that by now everyone who uses SAS would be using ODS Graphics, but apparently this is not the case. It has […]

Now Starring Susan and Lora in “SGPLOT and SGPANEL Procedures”

ODS Graphics is not exactly new.  It became production with SAS 9.2 back around 2008, and before then it existed in a pre-production form at least as early as 2003.  So you would think that by now everyone who uses SAS would be using ODS Graphics, but apparently this is not the case. It has […]

Statistical Notes (3B): Confidence Intervals for Binomial Proportion Using SAS, Updated

This quick note serves as a supplementnote of my previous Statistical Notes (3): Confidence Intervals for Binomial Proportion Using SAS which I will extend as a SESUG 2015 paper. Basically I added a new Blaker method to my CI_Single_Proportion.sas file and found more CIs from SAS PROC FREQ. First of all, call the script: filename […]

Calculating Covariance by SAS, A Brutal Way

It was very disappointed that there is only one built-in method to calculate covariance in Base SAS: that’s in PROC CORR (while you can also do it in SAS/IML, of course): The following is a quick-and-dirty way to get a function like %COV: %macro COV(data, var1,var2); %local _cov; %let rc = %sysfunc(dosubl(%str(     ods output […]

Import .Rdata to SAS, along with Labels

I didn’t play with SAS/IML for a while. I call it back when I need to read some R format data. Technically, .Rdata is not a data format. It’s rather a big container to hold bunch of R objects: In this example, when a .Rdata is loaded, 3 objects are included where ‘data’(the ‘real’ data) […]