How-to Guide for IBM® SPSS® Statistics Software
Introduction

In this guide you will learn how to produce frequency distributions in IBM® SPSS® Statistics software (SPSS), using a practical example to illustrate this process. You will find links to the example dataset and you are encouraged to replicate this example. An additional practice example is suggested at the end of this guide. This example assumes you have already opened the data file in SPSS.

Contents
• Frequency Distributions
• An Example in SPSS: The 2006 China Health and Nutrition Survey
• 2.1 The SPSS Procedure
• 2.2 Exploring the SPSS Output
1 Frequency Distributions

A frequency distribution presents the distribution of values for a single categorical variable in a table. Specifically, a frequency table reports the count and the percentage of observations there are for each category of the variable in question. Frequency distributions are very useful for describing the distribution of values for a categorical variable, and can be helpful in detecting coding errors.

2 An Example in SPSS: The 2006 China Health and Nutrition Survey

This example presents frequency distributions for two variables taken from the 2006 China Health and Nutrition Survey (CHNS) of adults. The two variables we examine are:

• Have you ever smoked cigarettes? (smoked)
• Which province are you from? (province)

For the first variable, respondents are categorized as either having smoked or never having smoked. The second variable categorizes respondents into one of nine different provinces in China. Both of these are categorical variables, making them each appropriate for a frequency distribution.

2.1 The SPSS Procedure

A frequency distribution can be produced in SPSS by selecting from the Menu:

Analyze → Descriptive Statistics → Frequencies

In the Frequencies dialog box that opens, move the variable you want from the list on the left into the Variable(s) box (note: you can do this for multiple variables, producing a frequency distribution for each one). Figure 1 shows what this looks like in SPSS.

Figure 1: Selecting Frequencies from the Analyze menu in SPSS.

You may wish to also generate a bar chart to illustrate the contents of a frequency distribution graphically. From the Frequencies dialog box, click:

Charts

• Select Bar charts (or another alternative)
• Choose an appropriate unit of analysis (count or percentage)
• Click Continue

Figure 2 shows what this looks like in SPSS. To run the full analysis, click OK in the Frequencies dialog box.

Figure 2: Generating a bar chart in SPSS.

2.2 Exploring the SPSS Output

Executing this process for the variable province will produce one frequency table and one bar chart. Both contain the same information, but will suit different presentational purposes. Figure 3 and Figure 4 show what the SPSS output looks like.

Figure 3: Frequency distribution of province of residence, 2006 China Health and Nutrition Survey.

Looking first at the frequency table shown in Figure 3, SPSS provides four columns of output: the Frequency count, the Percent, the Valid Percent, and the Cumulative Percent. In this example, Valid Percent and Percent are equal, but that would not be the case if there were missing data for this variable. When there are missing data, most researchers would report the Valid Percent.

Figure 4: Bar chart illustrating the frequency distribution of province of residence, 2006 China Health and Nutrition Survey.

For this example, we see a total of 9775 observations in this dataset for the variable named province. We see that 1057 (10.8%) respondents lived in Liaoning province, 979 (10.0%) lived in Hubei province, and so forth. The same information in presented as a bar chart in Figure 4.