20
Aug

Fun with ODS Graphics: Eclipse animation

Motivated by Ted Conway's post on creating a sequence of graphs showing the Solar Eclipse, I thought it would be fun to extend his code and create a gif animation. I used a frame count to 81, and used the printerpath feature to create the animation using SGPLOT with BY [...]

The post Fun with ODS Graphics: Eclipse animation appeared first on Graphically Speaking.

18
Aug

Tips and Tricks: Managing long category values

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 [...]

The post Tips and Tricks: Managing long category values appeared first on Graphically Speaking.

15
Aug

Graphs with long category values

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 [...]

The post Graphs with long category values appeared first on Graphically Speaking.

14
Aug

Advanced ODS: Controlling precisely what output is displayed

PROC SGPLOT displays titles inside the graph. If you want to display a title inside the graph and a different title outside the graph, you can use the ODS LAYOUT or the GTL. The ODS LAYOUT gives you precise control over your output and enables you to display multiple graphs and tables in each page.

The post Advanced ODS: Controlling precisely what output is displayed appeared first on Graphically Speaking.

10
Aug

Tips and Tricks: Show first N bars

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 / [...]

The post Tips and Tricks: Show first N bars appeared first on Graphically Speaking.

10
Aug

3 steps to prepare your data for accurate predictive models in SAS Enterprise Miner

In this post I describe the important tasks of data preparation, exploration and binning.These three steps enable you to know your data well and build accurate predictive models. First you need to clean your data. Cleaning includes eliminating variables which have uneven spread across the target variable. I give an [...]

The post 3 steps to prepare your data for accurate predictive models in SAS Enterprise Miner appeared first on SAS Learning Post.

9
Aug

Basic ODS Graphics: What is wrong with my SG annotation data set?

SG annotation is a powerful technique for adding text, lines, arrows, shapes, and images to graphs. This blog provides a macro that can help you when you make a mistake in writing the annotations.

The post Basic ODS Graphics: What is wrong with my SG annotation data set? appeared first on Graphically Speaking.

8
Aug

Tips and tricks - Transparent margins

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 [...]

The post Tips and tricks - Transparent margins appeared first on Graphically Speaking.

4
Aug

Basic ODS Graphics: Axis Options

In this blog, I will review some of graphs from previous blogs while concentrating on just the axes, grid lines, and reference lines. They might not be the most exciting parts of a graph, but there are multiple options that when properly used can turn a good graph into a great graph.

The post Basic ODS Graphics: Axis Options appeared first on Graphically Speaking.

30
Jul

Clinical graphs: Waterfall plot ++

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 [...]

The post Clinical graphs: Waterfall plot ++ appeared first on Graphically Speaking.

Back to Top