turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- How to control the length of the whisker in a box ...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-25-2013 01:04 PM

How to control the length of the whisker in a box plot produced by SGPLOT?

In GPLOT, we can specify a percentile to control the length of the whiskers in box plots within the range 00 through 25 by using <00…25> in "Interpol=*BOX<option(s)><00...25>"*. How can we do the same in SGPLOT? By default it seems the whiskers in a box plot by SGPLOT extends to 1.5* IQR (Intra-quartile range). Is there an easy way (option) to adjust the length of a whisker in SGPLOT?

Thanks,

Charlie

Accepted Solutions

Solution

11-25-2013
01:19 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-25-2013 01:19 PM

Such an option has been added for SAS 9.4. With SAS 9.3, you can get a box plot with custom whisker lengths by computing your own statistics and using SGPLOT to plot them. This blog article describes such a case.

All Replies

Solution

11-25-2013
01:19 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-25-2013 01:19 PM

Such an option has been added for SAS 9.4. With SAS 9.3, you can get a box plot with custom whisker lengths by computing your own statistics and using SGPLOT to plot them. This blog article describes such a case.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-25-2013 02:13 PM

Thanks Sanjay for the quick response! good to know that such option as been added for SAS 9.4

The mean markers cannot be produced directly using the "Interpol=*BOX<option(s)><00...25>" in GPLOT, is it true? we may have to overlay a scatter plot with mean markers with a box plot in GPLOT?*