Chapter 20

Two-Way Tables and Independence

In This Chapter

arrow Setting up two-way tables with categorical variables

arrow Delving into marginal, joint, and conditional distributions

arrow Checking for independence and dependence

arrow 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 we 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 ...

Get U Can: Statistics 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.