- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In SAS Studio, I have tried using the Box Plot under Graph, but it does not allow for side-by-side box plots. Therefore, I am not sure where to find this capability.
Thanks,
Jemall
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
Have you looked into SGPANEL?
if you have a variable you want to group by, then SGPANEL would be the way to achieve what you want.
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I do not see a SGPANEL nor do I know how to find it. This is only my second week in class and using SAS OnDemand for Academics (SAS Studio). So, I am learning as I go.
Thank you so much for your assistance,
Jemall
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
For your insight, knowledge, and help.
Jemall
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@Pittma050 just a quick note that I've merged your threads into one post as they were identical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello i wonder what happens when the categories in the x axis are more than 30
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@himself it depends on how large the size of the graphic is...for a 30" page it may be fine, for a standard letter page it may not be. If you have that many it's likely better to create a few groups of graphs rather than try and cram them into one graph IMO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
use the CATEGORY= option to specify a group variable. (You can also use the GROUP= option, which adds color.) FOr an example, see
https://blogs.sas.com/content/iml/2012/08/22/categories-vs-groups-in-proc-sgplot.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am using SAO OnDemand for Academics. In SAS Studio, I have tried using the Box Plot under Graph, but it does not allow for side-by-side box plots. Therefore, I am not sure where to find this capability. I have looked online to find the answer, called the help desk, and look through the manual. None, have giving me an answer.
Thanks,
Jemall
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Look at the previously posted answer here: https://communities.sas.com/t5/New-SAS-User/How-to-create-a-Side-by-side-BOXPLOT/m-p/530263#M5718
Cynthia