Topic 07

Categorical Data Analysis

Describe categorical data with frequencies, relative frequencies, and conditional proportions; read contingency tables and compare the research questions, expected frequencies, and conditions for chi-square tests of independence and goodness of fit.

← Back to Introductory Statistics

Lessons in this topic5 lessons

  1. Lesson 00Categorical data analysis: from counts to statistical association

    Connect counts, relative frequencies, conditional proportions, and contingency tables; compare expected counts, degrees of freedom, and conditions for chi-square tests of independence and goodness of fit.

  2. Lesson 1How do we describe categorical data?

    Adjust category counts in travel, device, and payment examples; describe data with counts, relative frequencies, bar charts, pie charts, and within-group percentages.

  3. Lesson 2Contingency tables: are two categorical variables related?

    Build contingency tables from an AI use survey across years of study, compare counts, row percentages, and column percentages, and distinguish sample differences from population inference.

  4. Lesson 3Chi-square test of independence for contingency tables

    Calculate expected counts and cell contributions to χ² from observed counts of year of study and AI use; test independence using degrees of freedom, the right-tail p-value, and conditions for use.

  5. Lesson 4Chi-square goodness-of-fit test

    Compare observed learning-device counts with prespecified hypothesized proportions; adjust the number of categories and their counts to calculate expected counts, χ², and the right-tail p-value.