Helpdesk IBM SPSS Statistics 20 For students from Arnhem Business School | ||||||||
Home | Codebook | Data | Data editing | Analysis | Graphs | Settings | Links | Methods |
Graphs Boxplot
In this example we use data about the tallest buildings in the world. This data
comes from Wikipedia and was downloaded and edited in September 2011. Surely
there is an update of this data available at the moment. Coding:
We want to show the height distribution of these sky scrapers by means of a boxplot. In this example we use Graphs > Legacy Dialogs > Boxplot...:
We have chosen for a simple boxplot and for summaries of separate variables. We filled in the dialog box as shown below:
The first Result
Clearly this graph needs editing. A title is missing. The Burj Khalifa is an
extreme outlier that on its own uses half of the available image space. Do we
want this or not? You can also see the effect of our choice for "Label cases by Building". Outliers are identified by their value for this variable; hence the name of the building is shown in the plot. Double clicking on the chart in the SPSS output windows opens the graph in a new Chart Editor window. Editing:
The edited results:In the plot on the left we have edited a number of things but we kept the scale intact, so that all buildings would show up in the picture and the extreme size of the Burj Kalifa is emphasized. In the plot on the right we have changed the scale to the
range [200;450]. In this way we can zoom in on the bulk of
the buildings in our dataset. Note: Copying and pasting graphs into
Word works fine most of the time, but not always. Note: If you find it hard to add the text fields in the SPSS chart, don't hesitate to export the chart and continue your editing in another program of your choice. |
Last modified
30-10-2012
© Jos Seegers, 2009; English version by Gé Groenewegen. |