SAS 9.4 maintenance release 5 was released on Sept 19, 2017. This release includes many new items including integration with SAS Viya and SAS Studio, a web application for SAS development. Also Included with this release are some cool new features in the graphics domain, some of which were requested [...]
On my recent visit to an In-House Users Group meeting I presented a 1/2 day seminar on creating Clinical Graphs using SG Procedures. Polling the audience for their experience with these procedures indicated that many SAS users are not familiar with these new ways to create graphs. So, just as we [...]
The post Getting started with SGPLOT - Part 8 - Horizontal HighLow Plot appeared first on Graphically Speaking.
In the previous article on Getting Started with Vertical HighLow Plot, I described how we can use the HighLow plot to display the stock price by date. The HighLow plot is specifically designed for such use cases as shown below. The data is downloaded from the Nasdaq web site, and [...]
This is the 7th installment of the Getting Started series. The audience is the user who is new to the SG Procedures. Experienced users may also find some useful nuggets of information here. Starting with SAS 9.3 which was released 6 years ago, the SGPLOT procedure supports many new plot types including [...]
The post Getting started with SGPLOT - Part 7 - Vertical HighLow Plot appeared first on Graphically Speaking.
Bar charts in SGPLOT procedure have some new features that everyone may not be familiar with. In this article we will create bar charts with color response on linear axes. Normally, the VBAR statement treats the x-axis as discrete, placing each unique value by itself, equally spaced on the x-axis. [...]
Long category values occur frequently in real world use cases. This can happen with graphs for analysis of clinical research data, and also for graphs showing survey data where the question asked may be long (even a paragraph). Managing such long categories on the x or y axis is always [...]
A few days ago, I posted an article on displaying first N bars from a data set. This is useful when the data is sorted by descending response, and only the first few values are significant. There were a few interesting comments, including one that was regarding the treatment of [...]
Often we have a graph with many bars (or categories) on the x or y axis. These categories may be sorted by descending response such as frequency of a % value. An example with simulated data is shown below. title 'Actual Values by Name'; proc sgplot data=bars2 noborder; vbar name / [...]
One key aspect of graphs used in the statistical or clinical research domains is the need to display numerical or textual information aligned with the data in the plot. Examples of such graphs are the Survival Plot or the Forest Plot. These graphs use the AXISTABLE statements available with SAS [...]
Waterfall plots have gain in popularity as a means to visualize the change in tumor size in subjects in a study. The graph displays the reduction in tumor size in ascending order with the subjects with the most reduction on the right. Each subject is represented by a bar classified by [...]