A grouped box plot created by SGPLOT VBOX / HBOX statement or GTL BOXPLOT statement will display groups within categories using group colors and puts the color swatches representing the group values in the legend. This works well for a color graph created as shown below. title 'Distribution of Cholesterol
Search Results: box and whisker (8)
This is the 3rd installment of the Getting Started series, and the audience is the user who is new to the SG Procedures. Experienced users may also find some useful nuggets here. The Tukey box plot is popular among statisticians for viewing the distribution of an analysis variable with or without
A frequent question we get from users is how to create a box plot with custom whiskers lengths. Some want to plot the 10th and 90th percentile, while other want the 5th and 95th percentiles. The VBOX statement in the SGPLOT procedure does not provide for custom whiskers. Also, unlike GTL,
A frequently requested statistical graph is the scatter plot by with discrete categories along with mean value for each category. Searching for a "Scatter with Mean" will return a lot of requests for such a graph in SAS, Stata, R and other statistical software. Such a graph is very easy
When a plot is classified by one or more variables, the different classes values are displayed in the graph either by position or by using different plot attributes such as color, marker shape or line pattern. For plots that display the visual by a filled area (bar, bin, band, bubble,
Back in 2013, I wrote a paper for the SAS Global Forum, reviewing the attributes that go towards making a good graph. In this paper, I covered many recommendations from industry thought leaders that can help enhance the effectiveness of graphs to deliver the intended information. One of the aspects that
SAS 9.4 maintenance release M2 was released early in August. This release contains some exciting new features in GTL and SG Procedures. In this article, I will describe some of the new options added to the existing plot statements. Note, I will use the SG examples here, but these are
The graph showing the distribution of the maximum liver function test values by treatment for all participants in a study is commonly used for the analysis of safety data in clinical trials. The data is often structured in multiple columns (one per treatment) as below on the left, or grouped by