Chapter 1 Types of variables
Before we begin learning how to make sense of data via methods such as frequency tables, charts, and statistical summary measures, let's first consider two main types of variables: categorical (qualitative) variables, and numerical (quantitative) variables. Both of these variable types have two different sub-types:
Categorical (qualitative) Variable
A variable that is separated into groups. Categorical variables can be either:
- Nominal: Where the groups are characterised by names, labels or categories. For example, eye colour (blue, brown, green, etc.), car brand (Hyundai, Toyota, Holden, etc.), or state (VIC, NSW, SA, etc.).
- Ordinal: Where the groups can be arranged into a specific order. For example, how much a person smokes (never, occasional, regular, heavy), or level of exercise (none, some, frequent).
Numerical (quantitative) Variable
A numerical variable is one that represents counts or measurements. The two types of numerical variables we will be looking at are:
- Discrete: Where the set of all possible values is countable. For example, the number of heartbeats per minute, or the number of heads observed when flipping a coin five times.
- Continuous: Where the variable can take an infinite number of values within a certain range. For example, height, weight or age.
Test your knowledge
- The number of children in your family would be considered what type of variable?
- Your grade in this subject (A, B, C, D, N) would be considered what type of variable?
- Your height would be considered what type of variable?
- Descriptive statistics ...
- Inferential statistics ...
- Place the following words into the correct boxes: "population", "inferences", "sample"
Normally, we use the data available to us in the to make about the .
- Numerical > Discrete
- Categorical > Ordinal
- Numerical > Continuous
- Descriptive statistics involves summarising and displaying data via graphical and numerical means.
- Inferential statistics involves drawing conclusions from data.
- Normally, we use the data available to us in the sample to make inferences about the population.