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 »

Tags: data analysis, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on Truncate response surfaces

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. Continue reading →

Read more »

Tags: analytics, data science, R, SAS, SPSS, Statistics, Uncategorized

Posted in SAS | Comments Off on Data Science Software Reviews: Forrester vs. Gartner

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 model can result in a nonsensical

The post Read more »

Tags: data analysis, Statistical Thinking, Uncategorized

Posted in SAS | Comments Off on Interpolation vs extrapolation: the convex hull of multivariate data

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 some cases, SAS generates a “Not

How to...

Read more »

Tags: data visualization, ods, Problem Solvers, Tech

Posted in SAS | Comments Off on How to view or create ODS output without causing SAS® to stop responding or run slowly

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 »

Tags: GPLOT, survival analysis

Posted in SAS | Comments Off on Add shade to Kaplan Meier plot

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 of π is the ratio of

The post Read more »

Tags: Just for Fun, pi day, Uncategorized

Posted in SAS | Comments Off on The value of pi depends on how you measure distance

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 complains when you ask it to

The post Read more »

Tags: Getting Started, sas programming, Uncategorized

Posted in SAS | Comments Off on How to detect SAS data sets that contain (or do not contain) character variables

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 you start? You can simply stop

Getting Started...

Read more »

Tags: configuration, Developers, SAS Administrators, sas viya, Tech, tips & techniques

Posted in SAS | Comments Off on Getting Started with SAS Containers