Hide Outliers

classic Classic list List threaded Threaded
2 messages Options
SD
Reply | Threaded
Open this post in threaded view
|

Hide Outliers

SD
Hello,

I'm just working with Boxplots in SPSS and have a lot of outliers.
To have a clearer view, I want to hide these, but I don't find a way (google just tells me, that it is possible, but not how...). Is there a Syntax to remove outliers?

Thanks in advance,
SD.

Reply | Threaded
Open this post in threaded view
|

Re: Hide Outliers

Jon K Peck
Bear in mind that hiding the boxplot outliers and extremes will convey a misleading impression to viewers of this chart, so you might want to add some titling information to show that this has been done.

Then, to remove the outlier identifiers, paste your syntax and remove the label function from the ELEMENT statement, i.e. convert
this
  ELEMENT: schema(position(bin.quantile.letter(x*y)), label(id))
into this
  ELEMENT: schema(position(bin.quantile.letter(x*y)))

Then you could reduce the point size of the outliers and extremes, or, to make them invisible, change the marker color to match the chart background.  Save that as a chart template from the CE and use that template on future boxplots.

HTH

Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621