The wind chill chart

February 24, 2021
By
The wind chill chart

In cold and blustery conditions, the weather forecast often includes two temperatures: the actual air temperature and the wind chill temperature. The wind chill temperature conveys the cumulative effect of air temperature and wind on the human body. The goal of the wind-chill scale is to communicate the effect of

The post Read more »

Deleting a substring from a SAS string

February 22, 2021
By
Deleting a substring from a SAS string

SAS' Leonid Batkhan shows you how to delete a substring from a character string - one of the common character data manipulation tasks.

Deleting a substring from a SAS string was published on SAS Users.


Read more »

How to use the #BYVAR and #BYVAL keywords to customize graph titles in SAS

February 22, 2021
By
How to use the  #BYVAR and #BYVAL keywords to customize graph titles in SAS

A previous article describes how to use the SGPANEL procedure to visualize subgroups of data. It focuses on using headers to display information about each graph. In the example, the data are time series for the price of several stocks, and the headers include...
Read more »

Turning external files into SAS® data sets: common problems and their solutions

February 18, 2021
By
Turning external files into SAS® data sets: common problems and their solutions

Amber Elam of SAS Technical Support reveals common challenges and solutions when you convert external files into SAS data sets.

Turning external files into SAS® data sets: common problems and their solutions was published on SAS Users.


Read more »

Data-driven titles for graphs

February 17, 2021
By
Data-driven titles for graphs

Many characteristics of a graph are determined by the underlying data at run time. A familiar example is when you use colors to indicate different groups in the data. If the data have three groups, you see three colors. If the data have four...
Read more »

Inserting a substring into a SAS string

February 15, 2021
By
Inserting a substring into a SAS string

SAS' Leonid Batkhan demonstrates a common character data manipulation task of inserting a substring into a character string.

Inserting a substring into a SAS string was published on SAS Users.


Read more »

Generate all quadratic interactions in a regression model

February 15, 2021
By
Generate all quadratic interactions in a regression model

I've previously written about how to generate all pairwise interactions for a regression model in SAS. For a model that contains continuous effects, the easiest way is to use the EFFECT statement in PROC GLMSELECT to generate second-degree "polynomial effects." However, a SAS programmer...
Read more »

Print the top rows of your SAS data

February 10, 2021
By
Print the top rows of your SAS data

One of the first things I learned in SAS was how to use PROC PRINT to display parts of a data set. I usually do not need to see all the data, so my favorite way to use PROC PRINT is to use the...
Read more »

A matrix is singular if its rows are arithmetic sequences

February 8, 2021
By
A matrix is singular if its rows are arithmetic sequences

Look at the following matrices. Do you notice anything that these matrices have in common? If you noticed that the rows of each matrix are arithmetic progressions, good for you. For each row, there is a constant difference (also called the "increment") between adjacent...
Read more »

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.