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 affiliation, religious affiliation, or region of a country) rather than for continuous variables (such as age in years or income in dollars).
The following frequency distribution shows the number of seats in the U.S. House of Representatives by region of the country:
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 held by 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 affiation in the House of Representatives:

Do not let all the trees get in the way of seeing the forest. In interpreting a crosstab, it is crucial to look for the overall pattern. In this case, the table shows that there are substantial regional differences in party strength.. Look first for the overall pattern, and don’t allow yourself to get bogged down in the pursuit of trivia.
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 Congressional Election of November 7, 2006 http://clerk.house.gov/member_info/electionInfo/2006election.pdf Accessed August 10, 2007. |
||
Table 2:
|
||||
|
Region |
|||
|
Northeast |
Midwest |
South |
West |
Party |
|
|
|
|
Democrat |
74.7% |
49.0% |
42.9% |
58.2% |
Republican |
25.3 |
51.0 |
57.1 |
41.8 |
|
|
|
|
|
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 Congressional Election of November 7, 2006. Accessed August 10, 2007. |
||||
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
1. Start SPSS . Open the house.sav file. For the following variables, prepare frequency tables, pie charts, and bar charts: rc5 (Pork Barrell Spending), rc13 (United Nations Headquarters), and rc 20 (Voter Identification). Crosstabulate each of these votes with member's party. Which of the votes was close to a straight party-line vote? Which was bipartisan (substantial majorities of both parties on the same side)? Which was a "cross-partisan" vote (unified or nearly unified support from one party, with the other party much more divided)? Can you find other examples from this dataset of partisan, bipartisan, and cross-partisan votes?
For one of these votes, 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. Open the anes04s.sav file. Open the 2004 American National Election Study Subset codebook. Using partyid3 as the dependent variable, construct contingency tables to test the following hypotheses:
Come up with and test additional hypotheses.
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.
Harris, Andy “Graphs and Charts,” Syllabus of CSCI 100. http://klingon.cs.iupui.edu/~aharris/mmcc/mod6/abss8.html.
Lane, David M., “Describing Univariate Data,” Hyperstat Online. http://davidmlane.com/hyperstat/desc_univ.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.
Except where indicated, © 2003-2008 John L. Korey. Last updated September 9, 2008