Chapter 10  Categorical Data

Introduction

Comparing Proportions

Rearranging Rows and Columns in a Table

Tables with Expected Values Less Than 5 (Fisher’s Exact Test)

Computing Chi-Square from Frequency Data

Using a Chi-Square Macro

A Short-Cut Method for Requesting Multiple Tables

Computing Coefficient Kappa—A Test of Agreement

Computing Tests for Trends

Computing Chi-Square for One-Way Tables

Conclusions

Introduction

This chapter deals with categorical data analysis. You will learn how to compare proportions using the chi-square test and Fisher’s exact test. You can use these tests with data in which each observation represents a single subject or with data that consists of frequency counts. To this end, a program and a useful SAS macro (don’t ...

Get SAS Statistics by Example 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.