O'Reilly logo

Understanding and Applying Basic Statistical Methods Using R by Rand R. Wilcox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13CATEGORICAL DATA

This chapter covers some basic methods for analyzing categorical data. The simplest case is where there are only two categories, which are usually called success and failure. Assuming random sampling, such situations can be analyzed using the binomial distribution, which was introduced in Chapter 4. Contingency tables, also introduced in Chapter 4, refer to situations where there are two or more categories. The main goal here is to describe some additional methods for analyzing such data.

There are many methods for analyzing categorical data beyond those covered in this chapter (e.g., Agresti, 1990, 1996; Andersen, 1997; Lloyd, 1996; & Powers & Xie, 1999; Simonoff, 2003; Agresti, 1990; Fienberg, 1980). The focus here is on the more basic techniques that might be used.

13.1 One-Way Contingency Tables

A one-way contingency table represents a situation where each participant can be classified into one of c13-math-0001 mutually exclusive categories. The probabilities associated with these c13-math-0002 categories are denoted by c13-math-0003. The immediate goal is to test

the hypothesis that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required