Items are in mutually-exclusive categories, and can only belong to a single category
There is no natural order - quantitative comparisons don’t make sense
Species | 🐌 🌲 🦡 |
Sex | |
Boolean / Logical | TRUE FALSE |
Observer name | Layla Miguel |
Does density differ between land-cover classes?
Does detectability depend on team size or equipment?
Ordinal categories occur along a scale from low to high, where the order of categories has meaning
The absolute value does not have meaning because the intervals between values are not equal. For example, ‘big’ is not twice the size of ‘medium’. Therefore it doesn’t make sense to make numerical calculations such as averaging
Age class | 🌱 🌿 🌳 |
Dominance rank | Dominant Subordinate |
Are experienced observers more likely to detect the species than novices?
Density declines from primary forest through secondary forest into agricultural land
Quantitative variables can be discrete or continuous
Discrete values are used when only whole numbers (integers) make sense and intermediate values are impossible
For example, number of parasites or offspring
Continuous values can have decimals, and there is theoretically an infinite number of values between any two integers
For example: weight or area
Interval variables have an equal-interval ordering1, i.e. the difference between 1 and 2 is the same as the difference between 4 and 5
It makes sense to calculate averages
There is no natural zero point: zero is placed at an arbitrary point (for example the date when the calendar year begins). This means that calculating a ratio isn’t meaningful, i.e. 20°C is not twice as hot as 10°C
Temperature in Celsius | 0°C 23°C |
Calendar date | 📆 |
Ratio variables have equal-interval ordering and a true zero point
A zero implies the absence of the variable being measured, quite literally ‘none’
This means it makes sense to calculate ratios, e.g. a breeding pair with four offspring has twice as many as a pair with two
Temperature in Kelvin | 0°K 287°K |
Survey effort | 🚶 🚶 |
Species diversity | 🐬 🐠 🐢 |
Is density correlated with food availability?
In cyclic1 variables, the highest number on the scale falls next to the lowest
For example, 23:59 is followed by 00:00, or December is followed by January
Cyclic variables need to be treated differently to other continuous data, to take into account they are circular
Bearing or azimuth | 🧭 |
Time | ⌚ |
Season | 🍃 🍂 |
Does detectability vary with time of day?
R treats Quantitative variables as:
You need to apply the factor()
function to convert numeric codes to categories, and use the ordered
subcommand to impose the correct order of categories for ordinal variables
Qualitative variables in R:
unmarked also deals with categorical covariates intuitively:
factor()
if R hasn’t automatically recognised categorical variables as factors when you imported your data