Tag: graphics

Example 8.11: violin plots

We’ve continued to get useful feedback and ideas from our posts on the combination dotplot/boxplot and other ways to craft similar displays. Another notion is the violin plot, which combines a boxplot and a (doubled) kernel density plot. While the ba…

Example 8.5: bubble plots part 3

An anonymous commenter expressed a desire to see how one might use SAS to draw a bubble plot with bubbles in three colors, corresponding to a fourth variable in the data set. (x, y, z for bubble size, and the category variable.) In a previous entries…

Example 8.3: pyramid plots

Pyramid plots are a common way to display the distribution of age groups in a human population. The percentages of people within a given age category are arranged in a barplot, often back to back. Such displays can be used distinguish males vs. femal…

Slick spline plot in SAS

Here is an example of a slick spline (using penalized b-splines) plot in SAS. The plot is created with SGPLOT procedure. I hope SAS will add such “functions” also to model based procedures such as GLM, MIXED, GENMOD, …