Previous Page | Next Page

The SGPLOT Procedure

Example 6: Adding Statistical Limits to a Dot Plot


Procedure features: DOT statement
Sample library member: GSGPLDT1

[GSGPLDT1 - Adding Statistical Limits to a Dot Plot]

This example shows a dot plot with a response variable and statistical limits. Each dot represents the mean for each value of the category variable, and bands represent the standard deviation.

 Note about code
proc sgplot data=sashelp.class(where=(age<16));
  dot age / response=height stat=mean
            limitstat=stddev numstd=1;
run;

Previous Page | Next Page | Top of Page