AData Types and Some Basic Statistics
We often try to make sense of the world by trying to make sense of data about the world—naturally quantitative data such as heights, weights, incomes, and prices; quantitative indices of things such as inflation and unemployment; and, quantifications of qualitative things such as peoples' attitudes, beliefs, and opinions.
A fundamental aspect of data is its measurement type. The type of measurement determines how we can interpret the associated data, how we can manipulate and analyze it, and, in general, how much information it can relate. Figure A.1 outlines the commonly used types.
- Nominal data, also called categorical data, have values that signify different categories. As examples, sex and political affiliation are both nominal variables: Sex is a binomial when there are only two categories allowed, “female” and “male”; political affiliation is a multinomial when there are more than two categories allowed, “Democrat”, “Republican”, and “Independent.” The values of a nominal variable simply signify category membership.
The basic computation we can do is counting: We can count the number of occurrences in the various categories and analyze the counts. Related to counts, we can also determine proportions. For example, based on counts of the number of people who ...
Get Illuminating Statistical Analysis Using Scenarios and Simulations 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.