Posts Tagged ‘ tutorial ’

100% stacked bar chart in SAS’s SGPLOT

July 5, 2012
By

A 100% stacked bar chart is useful for comparing the relative frequencies of an m x n table where frequencies in m are very different. While this is easy to do in Excel, SAS requires an extra step, which you … Continue reading →
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

Introduction to Futrix with SAS

April 7, 2012
By

Introduction to Futrix with SAS
Read more »

Tags: , ,
Posted in SAS | Comments Off

Checking return codes for errors in SAS

February 9, 2012
By

You should check for error return codes in any SAS programs that run unattended in batch jobs, so you can handle the exception properly. For example, if the data are invalid, you don’t want to generate reports or insert bad data into a database. ...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Delete non-exact duplicates in SAS

May 12, 2011
By

When deleting non-complete duplicates in SAS, in each duplicate set you may want to keep a particular record identified by a rule: it may be the oldest, newest, first, or last observation in each set. You need a identifier to be unique, but you can&#82...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

SAS went to a new line when INPUT statement reached past the end of a line

May 6, 2011
By

SAS has powerful features for reading data out of text files (such as CSV, TSV, datalines, and various other formats), but while reading text, you may find your data set is missing rows and the log has this non-intuitive error message (well, “not...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Strip Non-Printable ASCII Characters (SAS)

March 30, 2011
By

Say in your SAS data set, which comes from a text file, XML, or database, has non-ASCII characters that look like garbage—perhaps an odd square. These are probably control characters that mean something to some system, but they may be useless to ...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

SAS Enterprise Guide 4.3 Tutorials in your language

October 25, 2010
By

We've just pushed out the localized versions of the Getting Started with SAS Enterprise Guide 4.3 tutorial. This is the tutorial that you'll see when you select Help->Getting Started Tutorial from within SAS Enterprise Guide. Here is a list of t...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Import DBF in SAS

September 7, 2010
By

There are several ways to import DBF files in SAS. First, there is PROC DBF: filename dbfin 'employee.dbf'; proc dbf db5=dbfin out=employee; run; But in my environment (SAS 9.1.3 Windows XP; and SAS 9.2 on Windows Server 2008 with Enterprise Guide 4.2 ...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.