Posts Tagged ‘ Tips and Techniques ’

Principal component regression in SAS

October 23, 2017
By
Principal component regression in SAS

A common question on discussion forums is how to compute a principal component regression in SAS. One reason people give for wanting to run a principal component regression is that the explanatory variables in the model are highly correlated which each other, a condition known as multicollinearity. Although principal component

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Principal component regression in SAS

Data-driven simulation

September 27, 2017
By
Data-driven simulation

In a large simulation study, it can be convenient to have a "control file" that contains the parameters for the study. My recent article about how to simulate multivariate normal clusters demonstrates a simple example of this technique. The simulation in that article uses an input data set that contains

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Data-driven simulation

6 tips for timing the performance of algorithms

August 21, 2017
By

When you implement a statistical algorithm in a vector-matrix language such as SAS/IML, R, or MATLAB, you should measure the performance of your implementation, which means that you should time how long a program takes to analyze data of varying sizes and characteristics. There are some general tips that can

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on 6 tips for timing the performance of algorithms

Five reasons to check out the new SAS analytical documentation

January 23, 2017
By

The SAS analytical documentation has a new look. Beginning with the 14.2 release of the SAS analytical products (which shipped with SAS 9.4m4 in November 2016), the HTML version of the online documentation has moved to a new framework called the Help Center. The URL for the online documentation is

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Five reasons to check out the new SAS analytical documentation

PUT it there! Six tips for using PUT and %PUT statements in SAS

January 16, 2017
By

For SAS programmers, the PUT statement in the DATA step and the %PUT macro statement are useful statements that enable you to display the values of variables and macro variables, respectively. By default, the output appears in the SAS log. This article shares a few tips that help you to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on PUT it there! Six tips for using PUT and %PUT statements in SAS

Append data to add markers to SAS graphs

November 30, 2016
By

Do you want to create customized SAS graphs by using PROC SGPLOT and the other ODS graphics procedures? An essential skill that you need to learn is how to merge, join, append, and concatenate SAS data sets that come from different sources. The SAS statistical graphics procedures (SG procedures) enable

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Append data to add markers to SAS graphs

Counting observations for which two events occur

October 31, 2016
By

Every year near Halloween I write an article in which I demonstrate a simple programming trick that is a real treat to use. This year's trick (which features the CMISS function and the crossproducts matrix in SAS/IML) enables you to count the number of observations that are missing for pairs

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Counting observations for which two events occur

Use the EFFECTPLOT statement to visualize regression models in SAS

June 22, 2016
By

Graphs enable you to visualize how the predicted values for a regression model depend on the model effects. You can gain an intuitive understanding of a model by using the EFFECTPLOT statement in SAS to create graphs like the one shown at the top of this article. Many SAS regression

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Use the EFFECTPLOT statement to visualize regression models in SAS

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.