Introduction to Research Methods in Political Science: |
IV. DISPLAYING CATEGORICAL DATA
Subtopics |
SPSS Tools
|
A picture is said to be worth a thousand words. Tables and graphs, properly designed, can provide clear pictures of patterns contained in many thousands of pieces of information. In this topic, we will describe several ways of displaying information about categorical variables in tabular and graphic form. In later topics, ways of displaying information about continuous variables will be explained.
A frequency table (or frequency distribution) displays numbers and percentages for each value of a variable. It is useful for categorical variables (that is, those with values falling into a relatively small number of discrete categories, such as party identification, religious affiliation, or region of a country) rather than for continuous variables (such as age in years or gross domestic product in dollars).
The following frequency distribution shows the number of seats in the U.S. House of Representatives by region of the country following the 2000 Census:
The first column in the table provides a label for each category of the variable. The second and third columns show, respectively, the number and percent of cases in each category for all cases. The fourth column shows the percent in each category after eliminating cases for which we do not have information (missing data). Since we know the location of every congressional district, the fourth column is identical to the third in this case. The last column shows the cumulative percentages as one goes from the first to the last category. Note that this last column makes sense only if the values of the variable can be meaningfully ranked. In other words, cumulative frequencies assume at least ordinal level measurement. The numbers in this column make no sense in this example, since it wouldn't be meaningful to say that 42.1 percent of seats "are located in the Midwest or less."
A contingency table (also called a crosstabulation, or crosstab for short) displays the relationship between one categorical variable and another. It is called a “contingency table” because it allows us to examine a hypothesis that the values of one variable are contingent (dependent) upon those of another.
The following crosstabulation shows the relationship between region and party affiliation in the House of Representatives following the 2008 elections:

Do not let all the trees get in the way of seeing the forest. In interpreting a crosstab, it is crucial to focus on the overall picture. In this case, the table shows that there are substantial regional differences in party strength. Don’t get bogged down in the details.
Table 1:
|
||
|
Seats |
Percent |
Region |
|
|
Northeast |
83 |
19.1 |
Midwest |
100 |
23.0 |
South |
154 |
35.4 |
West |
98 |
22.5 |
|
|
|
Totals |
435 |
100.0 |
|
|
|
Source: Office of the Clerk, U.S. House of Representatives, Statistics of the Presidential and Congressional Elections of November 4, 2008. |
||
Table 2:
|
||||
|
Region |
|||
|
Northeast |
Midwest |
South |
West |
Party |
|
|
|
|
Democrat |
81.9% |
55.0% |
45.1% |
64.3% |
Republican |
18.1 |
45.0 |
53.9 |
35.7 |
|
|
|
|
|
Totals |
100.0% |
100.0% |
100.0% |
100.0% |
N |
83 |
100 |
154 |
98 |
|
|
|
|
|
Source: Office of the Clerk, U.S. House of Representatives, Statistics of the Presidential and Congressional Elections of November 4, 2008. |
||||
A pie chart is a simple way to show the
distribution of a variable that has a relatively small number of values, or
categories. This figure, for example, is a pie chart showing the number of
seats held in the U.S. House of Representatives by region:


bar chart
contingency table
crosstab
crosstabulation
frequency
distribution
frequency table
pie chart
These exercises use the 2008 American National Election Study Subset. Open the codebook describing these data. Start SPSS and open the anes08s.sav file.
1. Prepare a frequency table, pie chart, and bar chart for an economic, social, or foreign policy issue of your choosing (see codebook). Crosstabulate this with several background variables (again, see codebook) that you think might influence a respondent's opinion on this issue. Cautions: 1) avoid background variables like age or income that have a large number of categories. In another Topic, we'll show you how to recode variables like this to make them more manageable; 2) some categories of some background variables contain very few cases, and the results are likely to be unreliable. In another topic, we'll discuss how measures of statistical significance can help you better assess the reliability of findings.
Convert your frequency and contingency tables into presentation-ready form.
2. In exercise 1 of the “Political Science as a Social Science” topic, you were asked to come up with hypotheses that might help explain party identification. Using "partyid3" as the dependent variable, construct contingency tables to test the following hypotheses, along with any others you can think of:
Energy Information Administration, “Graphs and Charts,” Official Energy Statistics From the Government. I http://www.eia.doe.gov/pub/oil_gas/petroleum/analysis_publications/oil_market_basics/graphs_and_charts.htm.
Gostats.com, "Graphing and Types of Graphs," GoStats. http://gostats.com/resources/types-of-graphs.html.
Math League Multimedia, “Using Data and Statistics,” The Math League. http://www.mathleague.com/help/data/data.htm.
Rosenberg, Scott, “The Data Artist,” Salon.com.
[1] A more systematic method for assessing the reliability of percentages in a crosstab is discussed under the topic of contingency table analysis .
Except where indicated, © 2003-2012 John L. Korey
Last Updated: December 18, 2012