Chapter 20

Two-Way Tables and Independence

IN THIS CHAPTER

Bullet Setting up two-way tables with categorical variables

Bullet Delving into marginal, joint, and conditional distributions

Bullet Checking for independence and dependence

Bullet Having perspective on the results of two-way tables

Categorical variables place individuals into groups based on certain characteristics, behaviors, or outcomes, such as whether you ate breakfast this morning (yes, no) or political affiliation (Democrat, Republican, Independent, Other). Oftentimes people look for relationships between two categorical variables; hardly a day goes by that you don’t hear about another relationship that’s reported to have been found.

Here are just a few examples I found on the Internet recently:

  • Dog owners are more likely to take their animal to the vet than cat owners.
  • Heavy use of social-networking websites in teens is linked to depression.
  • Children who play more video games do better in science classes.

With all this information being given to you about variables that are related, how do you decide what to believe? For example, does heavy ...

Get Statistics All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.