Posts Tagged ‘ Getting Started ’

Use SAS formats to bin numerical variables

August 8, 2016
By
Use SAS formats to bin numerical variables

SAS formats are flexible, dynamic, and have many uses. For example, you can use formats to count missing values and to change the order of a categorical variable in a table or plot. Did you know that you can also use SAS formats to bin a numerical variable into categories?

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Use SAS formats to bin numerical variables

Statistical model building and the SELECT procedures in SAS

July 25, 2016
By

Last week I read an interesting paper by Bob Rodriguez: "Statistical Model Building for Large, Complex Data: Five New Directions in SAS/STAT Software." In it, Rodriguez summarizes five modern techniques for building predictive models and highlights recent SAS/STAT procedures that implement those techniques. The paper discusses the following high-performance (HP)

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Statistical model building and the SELECT procedures in SAS

Do you write unnecessary SAS statements?

July 20, 2016
By

I'm addicted to you. You're a hard habit to break. Such a hard habit to break. —  Chicago, "Hard Habit To Break" Habits are hard to break. For more than 20 years I've been putting semicolons at the end of programming statements in SAS, C/C++, and Java/Javascript. But lately I've been

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Do you write unnecessary SAS statements?

Break a sentence into words in SAS

July 11, 2016
By
Break a sentence into words in SAS

Two of my favorite string-manipulation functions in the SAS DATA step are the COUNTW function and the SCAN function. The COUNTW function counts the number of words in a long string of text. Here "word" means a substring that is delimited by special characters, such as a space character, a

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Break a sentence into words in SAS

The SELECT statement in the SAS DATA step

June 20, 2016
By
The SELECT statement in the SAS DATA step

Every beginning SAS programmer learns the simple IF-THEN/ELSE statement for conditional processing in the SAS DATA step. The basic If-THEN statement handles two cases: if a condition is true, the program does one thing, otherwise the program does something else. Of course, you can handle more cases by using multiple

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on The SELECT statement in the SAS DATA step

Grids and linear subspaces

May 31, 2016
By
Grids and linear subspaces

A grid is a set of evenly spaced points. You can use SAS to create a grid of points on an interval, in a rectangular region in the plane, or even in higher-dimensional regions like the parallelepiped shown at the left, which is generated by three vectors. You can use

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Grids and linear subspaces

How to fit a variety of logistic regression models in SAS

May 23, 2016
By

SAS software can fit many different kinds of regression models. In fact a common question on the SAS Support Communities is "how do I fit a <name> regression model in SAS?" And within that category, the most frequent questions involve how to fit various logistic regression models in SAS. There

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How to fit a variety of logistic regression models in SAS

Create a package in SAS/IML

May 4, 2016
By
Create a package in SAS/IML

In a previous post I showed how to download, install, and use packages in SAS/IML 14.1. SAS/IML packages incorporate source files, documentation, data sets, and sample programs into a ZIP file. The PACKAGE statement enables you to install, uninstall, and manage packages. You can load functions and data into your

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Create a package in SAS/IML

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.

Sponsors





Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
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.