Category: SAS

PROC LOGISTIC: Reference coding and effect coding

Description of the problem with effect coding When you have a categorical independent variable with more than 2 levels, you need to define it with a CLASS statement. In PROC GLM the default coding for this is dummy coding. In PROC LOGISTIC, it’s …

PROC LOGISTIC: Coding 0 and 1

The problem of coding 0 and 1 in PROC LOGISTIC PROC LOGISTIC can be used to run logistic regression on a dichotomous dependent variable. Often, these are coded 0 and 1, with 0 for `no’ or the equivalent, and 1 for `yes’ or the equivalent. I…

Write a Letter using SAS/ Emailing with SAS

SAS can do many things which most of us don’t have a clue. Here is one example….

Writing a letter:

filename formltr ‘C:\Documents and Settings\sreddy\Desktop\formltr.rtf’;

data address;

infile datalines;

input @ 1 stno

 @ 6 lane…

Special Missing Values in SAS

Definition: Special missing value is a type of numeric missing value that enables you to represent different categories of missing data by using the letters A-Z or an underscore. Ref: SAS 9.1.3 language reference: concepts page no: 102

The symbol us…

Your Influence Is Stronger than You Think

Contributed by Stacy Hobson, Director of Customer Loyalty, SAS

I just got back to my desk after our SAS Global Forum staff meeting and I have to say… the excitement level is sky high! Each of us supporting Global Forum this year is truly grate…

Usability Research at SAS

For years, SAS has collected information from SAS Global Forum attendees about how they use SAS software. In recent years, we have also conducted small usability tests and surveys. The results are always useful and interesting. In an effort to …

Implement Boost Algorithm in SAS

 algorithms are proven to be very effective data mining tools, either used stand alone, or as a building block to handle nonlinearity, etc. Implementation of Boost algorithm in SAS is not easy to find although it is not difficult to wr…

A Macro for SVD

SVD is at the heart of many modern machine learning algorithms. As a computing vehicle for PCA, SVD can be obtained using PROC PRINCOMP on the covariance matrix of a given matrix withou correction for intercept. With SVD, we are ready to ca…