Expanding lengths of all character variables in SAS data sets

August 12, 2020
By
Expanding lengths of all character variables in SAS data sets

SAS' Leonid Batkhan reveals how to change lengths for all character variables in a data set and all data sets in a data library to facilitate data migration to Unicode encoding environment.

Expanding lengths of all character variables in SAS data sets was published on SAS Users.


Read more »

Use simulation to estimate the power of a statistical test

August 12, 2020
By
Use simulation to estimate the power of a statistical test

A previous article about standardizing data in groups shows how to simulate data from two groups. One sample (with n1=20 observations) is simulated from an N(15, 5) distribution whereas a second (with n2=30 observations) is simulated from an N(16, 5) distribution. Although I didn't mention, due to random sampling variation

The post Read more »

Learning to think like SAS

August 10, 2020
By

The most fundamental concept that students learning introductory SAS programming must master is how SAS handles data. This might seem like an obvious statement, but it is often overlooked by students in their rush to produce code that works. I often tell my class to step back for a moment

Learning to...
Read more »

4 ways to standardize data in SAS

August 10, 2020
By
4 ways to standardize data in SAS

A common operation in statistical data analysis is to center and scale a numerical variable. This operation is conceptually easy: you subtract the mean of the variable and divide by the variable's standard deviation. Recently, I wanted to perform a slight variation of the usual standardization: Perform a different standardization

The post Read more »

Submatrices of matrices

August 5, 2020
By
Submatrices of matrices

Have you ever seen the "brain teaser" for children that shows a 4 x 4 grid and asks "how many squares of any size are in this grid?" To solve this problem, the reader must recognize that there are sixteen 1 x 1 squares, nine 2 x 2 squares, four 3 x 3 squares, and one 4 x 4 square.

The post Read more »

Cast your vote! SAS Support Communities are on the 2020 Khoros Kudos Awards Ballot!

August 3, 2020
By
Cast your vote! SAS Support Communities are on the 2020 Khoros Kudos Awards Ballot!

Cast your ballots for the SAS Support Communities, nominated for two categories of the Khoros Kudos Awards: Best-in-Class: Community and Bottom Line Savings Rock Star.

Cast your vote! SAS Support Communities are on the 2020 Khoros Kudos Awards Ballot! was published on SAS Users.


Read more »

Run tasks in parallel in SAS Viya

August 3, 2020
By
Run tasks in parallel in SAS Viya

The iml action was introduced in Viya 3.5. As shown in a previous article, the iml action supports ways to implement the map-reduce paradigm, which is a way to distribute a computation by using multiple threads. The map-reduce paradigm is ideal for “embarrassingly parallel” computations, which are composed of many

The post Read more »

How to prompt for a date range in a SAS Visual Analytics Report – Four Part Series

July 31, 2020
By
How to prompt for a date range in a SAS Visual Analytics Report – Four Part Series

Let's learn how to prompt for a date range in a SAS Visual Analytics report using control objects such as sliders, drop-down lists, and text input.

How to prompt for a date range in a SAS Visual Analytics Report - Four Part Series was published on SAS Users.


Read more »

How to translate your cURL command into SAS code

July 30, 2020
By
How to translate your cURL command into SAS code

You want to use an API to retrieve data and process it with SAS. How do you do it? PROC HTTP offers the features of the cURL command within your SAS code.

How to translate your cURL command into SAS code was published on SAS Users.


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.