Truncate response surfaces

March 20, 2019
By
Truncate response surfaces

An analyst was using SAS to analyze some data from an experiment. He noticed that the response variable is always positive (such as volume, size, or weight), but his statistical model predicts some negative responses. He posted the data and asked if it is possible to modify the graph so

The post Read more »

Data Science Software Reviews: Forrester vs. Gartner

March 19, 2019
By
Data Science Software Reviews: Forrester vs. Gartner

In my previous post, I discussed Gartner's reviews of data science software companies. In this post, I show Forrester's coverage and discuss how radically different it is. As usual, this post is already integrated into my regularly-updated article, The Popularity of Data Science Software. Read more »

Interpolation vs extrapolation: the convex hull of multivariate data

March 18, 2019
By
Interpolation vs extrapolation: the convex hull of multivariate data

Statisticians often emphasize the dangers of extrapolating from a univariate regression model. A common exercise in introductory statistics is to ask students to compute a model of population growth and predict the population far in the future. The students learn that extrapolating from a...
Read more »

How to view or create ODS output without causing SAS® to stop responding or run slowly

March 15, 2019
By
How to view or create ODS output without causing SAS® to stop responding or run slowly

SAS makes it easy for you to create a large amount of procedure output with very few statements. However, when you create a large amount of procedure output with the Output Delivery System (ODS), your SAS session might stop responding or run slowly. In...
Read more »

Add shade to Kaplan Meier plot

March 13, 2019
By

data km;  seed=12345;  do loc=1 to 2;    do time=2 to 22 by 1+int(4*ranuni(seed));      status=int(2*ranuni(seed));      output;    end;  end;run;proc lifetest data=km plots=s outsurv=os;...
Read more »

The value of pi depends on how you measure distance

March 13, 2019
By
The value of pi depends on how you measure distance

It's time to celebrate Pi Day! Every year on March 14th (written 3/14 in the US), math-loving folks celebrate "all things pi-related" because 3.14 is the three-decimal approximation to the mathematical constant, π. Although children learn that pi is approximately 3.14159..., the actual definition...
Read more »

How to detect SAS data sets that contain (or do not contain) character variables

March 11, 2019
By
How to detect SAS data sets that contain (or do not contain) character variables

A SAS programmer posted an interesting question on a SAS discussion forum. The programmer wanted to iterate over hundreds of SAS data sets, read in all the character variables, and then do some analysis. However, not every data set contains character variables, and SAS...
Read more »

Getting Started with SAS Containers

March 6, 2019
By

As of December 2018, any customer with a valid SAS Viya order is able to package and deploy their SAS Viya software in Docker containers. SAS has provided a fully documented and supported project (or “recipe”) for easily building these containers. So how can...
Read more »

Use PROC BOXPLOT to display hundreds of box plots

March 6, 2019
By
Use PROC BOXPLOT to display hundreds of box plots

A previous article shows how to use a scatter plot to visualize the average SAT scores for all high schools in North Carolina. The schools are grouped by school districts and ranked according to the median value of the schools in the district. For...
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.