Skip to Main Content

Graphs

Types of graphs

Use the Graphs\Legacy Dialogs menu to create different types of graphs:

  • Histograms: display the distribution of one continuous variable. They provide information about the shape of the distribution of scores.
  • Bar graphs: display the number of cases in particular categories, or the score on a continuous variable for different categories.
  • Line graphs: display mean scores of a continuous variable across different categories.
  • Scatterplots: used to examine the relationship between two continuous variables

Histograms

  1. Click on Graphs\Legacy Dialogs\Histogram
  2. Move your variable of interest into the Variable box
  3. An additional variable in the Panel by section will generate separate histograms for different groups.
  4. Click OK

histogram example 

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.

Bar graphs

  1. Click on Graphs\Legacy Dialogs\Bar\Clustered
  2. In the Data in chart area section, click on Summaries for groups of cases. Click on Define
  3. In the Bars Represent box, click on Other Statistic (e.g. mean)
  4. Click on the continuous variable you are interested in
  5. Move your first categorical variables into the Category axis box
  6. Move another categorical variable into the Define Clusters by box
  7. Click on Options\Display error bars if you wish to display them
  8. Click Continue and OK

bar graph example 

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.

Line graphs

  1. Click on Graphs\Legacy Dialogs\Line
  2. Click on Multiple. In the Data in Chart Are section, click on Summaries for groups of cases. Click on Define
  3. In the Lines represent box, click on Other Statistic. Click on the continuous variable you are interested in
  4. Move your first categorical variable into the Category Axis box
  5. Move another categorical variable into the Define Lines by box
  6. Click on Options\Display error bars if you wish to display this.
  7. Click OK

 line graph example

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.

Scatterplots

  1. Click on Graphs\Legacy Dialogs\Scatter\dot
  2. Click on Simple Scatter and then Define
  3. Move your first variable, usually the dependent variable, into the box Y axis
  4. Move your other variable into the box X axis
  5. You can also use other categorical variable to mark each of the points by moving this variable into the Set Markers by box
  6. Move the ID variable in the Label Cases by box
  7. Click OK

scatterplots 

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.