14

Analyzing Categorical Data

Introduction

One of the data analysis tasks that you will be using quite often is to compute frequencies on categorical data and to analyze two-way frequency tables (tables with frequencies of one variable making up rows of the table and frequencies of another variable making up columns of the table). You might want to see survey results showing the number and percentage of subjects in one or more categories. Another common statistical test performed on categorical data is to see whether two categorical variables are related. For example, are people with high cholesterol more likely to suffer a heart attack compared to people with normal cholesterol levels? On average, do women earn less than men based on a sample ...

Get A Gentle Introduction to Statistics Using SAS Studio in the Cloud 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.