Section 10 R Atomic Class
10.1 Types of Variables
Quantitative
Qualitative
10.2 Quantitative (Numerical)
- Continuous
- continuum of values
- Example: temperature, height, weight, body mass index
- Discreet
- integer values - finite
- Example: number of patients, number of children
- Logical
TRUE
(1)FALSE
(0)
10.3 Qualitative (Categorical)
- Nominal
- Categories that cannot be ranked – two or more levels
- Example: eye colour, gender, identification number, sample number
- Ordinal
- Categories with possible natural order/ranking
- Can assign number but no numerical meaning of differences
- Example: grades, satisfaction level