02-15-2014 06:14 AM
Can anyone tell me whether it is possible to create a box plot that has both outliers and variable width of box depending on group size. On my attempts I have lost the variable width when i start using summary data rather than raw data to input the outliers. Is there a way round this?
02-15-2014 09:30 AM
You don't mention how you are creating the boxplots. If you use GTL BOXPLOTPARM you can include a STAT=BOXWIDTH in the PARM data as a function of N.
specifies the width of the boxes as a ratio of the maximum possible width. The range of values is 0 (narrowest) to 1 (widest). The default is 0.4. If the Y value corresponding to BOXWIDTH is in range, then it overrides the setting that is specified in the BOXWIDTH= option.
02-17-2014 05:55 AM
Hi, thank you for your reply and sorry for not specifying method. Am new to box plots and quite new to sas so hope this is appropriate info.. I was using proc boxplot with boxstyle = schematic and boxwidthscale = 1 and was using summary data.
I did try and implement the boxplotparm method just following the example code in the sas documentation but had an error stating "unable to load java virtual machine" so guessing this functionality is not available in the version of sas (9.2) I have?
Thanks again for your help.