SAS For Dummies by Stephen McDaniel
Author:Stephen McDaniel
Language: eng
Format: epub
Publisher: Wiley
Published: 2010-03-08T16:00:00+00:00
Analyzing Counts and Frequencies
In customer demographic and health care research, collecting responses for one or more categorical variables is common. Examples of categorical variables include a favorite car type, ethnic background, gender, disease progression status, a grade received in a course, marital status, home ownership status, citizenship status, credit grade, and employment status. Some categorical variables have inherent order, and others are just categories with no implicit order. Gender is a good example of a nominal variable, a variable with no explicit order to the values male and female. There is no reason to place female before male except for the alphabetic order of the name of the category. Disease progression status is a good example of an ordinal variable because Stage I of a disease occurs before Stage II, and so on. Ordinal variables simply have an order of the categories. They have no exact ratio of difference among the categories: That is, Stage I is not necessarily half as advanced as Stage II.
An example of a two-way contingency table is shown in Figure 8-2. This is a table of chocolate preference by gender generated with the Table Analysis task (available by choosing Describe⇒Table Analysis). This type of table is also referred to as a contingency table or a cross-tabular summary. The Table Analysis task can produce contingency tables based on many variables, but practical experience shows that no more than three or four variables can be examined easily. The Table Analysis task adds more value than the Summary Tables task (covered in Chapter 6) because of the availability of many statistical methods to determine whether the differences among the various categories are statistically significant.
Figure 8-2: A two-way contingency table of gender by chocolate type preference.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8300)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6739)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6715)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6591)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6376)
Driving Data Quality with Data Contracts by Andrew Jones(6325)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6089)
Learning SQL by Alan Beaulieu(5995)
Weapons of Math Destruction by Cathy O'Neil(5779)
Big Data Analysis with Python by Ivan Marin(5363)
Data Engineering with dbt by Roberto Zagni(4361)
Solidity Programming Essentials by Ritesh Modi(4009)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3867)
Pandas Cookbook by Theodore Petrou(3578)
Blockchain Basics by Daniel Drescher(3294)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2905)
Feature Store for Machine Learning by Jayanth Kumar M J(2814)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2796)
Mastering Python for Finance by Unknown(2744)
