Cubic spline interpolation in SAS

May 11, 2020
By
Cubic spline interpolation in SAS

I recently showed how to use linear interpolation in SAS. Linear interpolation is a common way to interpolate between a set of planar points, but the interpolating function (the interpolant) is not smooth. If you want a smoother interpolant, you can use cubic spline interpolation. This article describes how to

The post Read more »

What does ‘flatten the curve’ mean? To which curve does it apply?

May 6, 2020
By
What does ‘flatten the curve’ mean? To which curve does it apply?

During this coronavirus pandemic, there are many COVID-related graphs and curves in the news and on social media. The public, politicians, and pundits scrutinize each day's graphs to determine which communities are winning the fight against coronavirus. Interspersed among these many graphs is the oft-repeated mantra, "Flatten the curve!" As

The post Read more »

Using STYLE/MERGE and STYLE/REPLACE in PROC REPORT

May 5, 2020
By
Using STYLE/MERGE and STYLE/REPLACE in PROC REPORT

In this edition of Problem Solvers, SAS Technical Support's Kathryn McLawhorn walks you through two PROC REPORT techniques.

Using STYLE/MERGE and STYLE/REPLACE in PROC REPORT was published on SAS Users.


Read more »

Linear interpolation in SAS

May 4, 2020
By
Linear interpolation in SAS

SAS programmers sometimes ask about ways to perform one-dimensional linear interpolation in SAS. This article shows three ways to perform linear interpolation in SAS: PROC IML (in SAS/IML software), PROC EXPAND (in SAS/ETS software), and PROC TRANSREG (in SAS/STAT software). Of these, PROC IML Is the simplest to use and

The post Read more »

How many imputations are enough?

April 29, 2020
By

Recently I read an excellent blog post by Paul von Hippel entitled "How many imputations do you need?". It is based on a paper (von Hippel, 2018), which provides more details. Suppose you are faced with data that has many missing values. One way to address the missing values is

The post Read more »

Continuous Integration/Continuous Delivery – Using Python and REST APIs for SAS Visual Analytics reports

April 28, 2020
By

With increasing interest in Continuous Integration/Continuous Delivery (CI/CD), many SAS Users want to know what can be done for Visual Analytics reports. In this article, I will explain how to use Python and SAS Viya REST APIs to extract a report from a SAS Viya environment and import it into another environment.

Continuous...
Read more »

The circular law for eigenvalues

April 27, 2020
By
The circular law for eigenvalues

I've previously written about how to generate points that are uniformly distributed in the unit disk. A seemingly unrelated topic is the distribution of eigenvalues (in the complex plane) of various kinds of random matrices. However, I recently learned that these topics are somewhat related! A mathematical result called the

The post Read more »

How to create and use SAS macro functions

April 22, 2020
By
How to create and use SAS macro functions

SAS' Leonid Batkhan differentiates between SAS macro and programming languages, defines two types of SAS macros and much more.

How to create and use SAS macro functions was published on SAS Users.


Read more »

Visualize the case fatality rate for COVID-19 in US counties

April 22, 2020
By
Visualize the case fatality rate for COVID-19 in US counties

A previous article describes the funnel plot (Spiegelhalter, 2005), which can identify samples that have rates or proportions that are much different than expected. The funnel plot is a scatter plot that plots the sample proportion of some quantity against the size of the sample. The variance of the sample

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.