Skip to main content
Top

3. Categorical Data

  • 2024
  • OriginalPaper
  • Chapter
Published in:

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Categorical data can be character or factor type, requiring different methods than one uses to analyze quantitative data. In this chapter we focus on methods for tabulating, summarizing, and graphing categorical data. Contingency tables to compare two categorical data samples and a chi-square test for association are discussed. Plots and a chi-square goodness-of-fit test help to compare a sample to a known probability distribution. Methods for graphing patterns of association such as segmented bar charts, side-by-side barplots, and mosaic plots are included. Several other types of plots for categorical data using base R graphics and ggplot graphics are illustrated in the context of these examples.

Not a customer yet? Then find out more about our access models now:

Individual Access

Start your personal individual access now. Get instant access to more than 164,000 books and 540 journals – including PDF downloads and new releases.

Starting from 54,00 € per month!    

Get access

Access for Businesses

Utilise Springer Professional in your company and provide your employees with sound specialist knowledge. Request information about corporate access now.

Find out how Springer Professional can uplift your work!

Contact us now
Title
Categorical Data
Authors
Jim Albert
Maria Rizzo
Copyright Year
2024
DOI
https://doi.org/10.1007/978-3-031-76074-7_3
This content is only visible if you are logged in and have the appropriate permissions.

Premium Partner

    Image Credits
    Neuer Inhalt/© ITandMEDIA, Nagarro GmbH/© Nagarro GmbH, AvePoint Deutschland GmbH/© AvePoint Deutschland GmbH, AFB Gemeinnützige GmbH/© AFB Gemeinnützige GmbH, USU GmbH/© USU GmbH, Ferrari electronic AG/© Ferrari electronic AG