Print SAS/IML variables with formats

March 18, 2020
By
Print SAS/IML variables with formats

A SAS/IML programmer asked about the best way to print multiple SAS/IML variables when each variable needs a different format. He wanted the output to resemble the "Parameter Estimates" table that is produced by PROC REG and other SAS/STAT procedures. This article shows four ways to print SAS/IML vectors in

The post Read more »

Frequently asked questions related to COVID-19 and SAS customer support

March 17, 2020
By

COVID-19 is truly a global health issue affecting everyone and causing concern for you, our customers. As we all continue to navigate the uncertainty of this outbreak, SAS is committed to supporting your business as a valued partner and will ensure continuity of service. We created this guide to address

Frequently asked...
Read more »

Challenge accepted: Learning data prep in CASL

March 16, 2020
By
Challenge accepted: Learning data prep in CASL

As a long-time SAS 9 programmer, I typically accomplish my data preparation tasks through some combination of the DATA Step, Proc SQL, Proc Transpose and some housekeeping procs like Proc Contents and Proc Datasets. With the introduction of SAS Viya, SAS released a new scripting language called CASL – a

Challenge accepted:...
Read more »

Predict a random integer: The tradeoff between bias and variance

March 16, 2020
By
Predict a random integer: The tradeoff between bias and variance

Books about statistics and machine learning often discuss the tradeoff between bias and variance for an estimator. These discussions are often motivated by a sophisticated predictive model such as a regression or a decision tree. But the basic idea can be seen in much simpler situations. This article presents a

The post Read more »

Accessing Excel Files Using LIBNAME XLSX

March 12, 2020
By
Accessing Excel Files Using LIBNAME XLSX

If you have been using SAS for long, you have probably noticed that there is generally more than one way to do anything. The Little SAS Book has long covered reading and writing Microsoft Excel files with the IMPORT and EXPORT procedures, but for the Sixth Edition we decided it was time to add...
Read more »

Polygons, pi, and linear approximations

March 11, 2020
By
Polygons, pi, and linear approximations

Recently, I saw a graphic on Twitter by @neilrkaye that showed the rapid convergence of a regular polygon to a circle as you increase the number of sides for the polygon. The author remarked that polygons that have 40 or more sides "all look like circles to me." That is,

The post Read more »

Automating SAS variable labels creation

March 10, 2020
By
Automating SAS variable labels creation

SAS' Leonid Batkhan shows you how to automate creation of SAS variable labels so tables and reports are easier to read.

Automating SAS variable labels creation was published on SAS Users.


Read more »

Accessing Excel files using LIBNAME XLSX

March 10, 2020
By
Accessing Excel files using LIBNAME XLSX

If you have been using SAS for long, you have probably noticed that there is generally more than one way to do anything. (For an example, see my co-author Lora Delwiche’s blog about PROC SQL.) The Little SAS Book has long covered reading and writing Microsoft Excel files with the

Accessing Excel...
Read more »

ROC curves for a binormal sample

March 9, 2020
By
ROC curves for a binormal sample

In a previous article, I discussed the binormal model for a binary classification problem. This model assumes a set of scores that are normally distributed for each population, and the mean of the scores for the Negative population is less than the mean of scores for the Positive population. I

The post 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.