1.1 Review of data types
Table 1 below reminds you of the definitions of data types previously described in the module Fundamentals of data for AMR.
Term | Definition |
---|---|
Variable | A variable is an attribute used to characterise a data unit. They are called variables because their values vary from one data unit to another and may change over time. Commonly used variables for AMR data may include date of admission, sex, species, production type, sample type and Variables can be classified into numeric (quantitative) and categorical (qualitative) variables. The classification of variables as numeric or categorical has implications for how data is analysed and visualised. |
Numeric variables | Numeric variables contain only numbers and have meaning as a measurement or a count. Numeric data can be represented as integers (1, 2, 3), fractions (½, ¼), decimals (377, 39.134) or percentages (20%, 50%). Numeric data can be further defined as either discrete or continuous. Numeric data can be split into categories by applying one or more |
Categorical variables | Categorical variables represent characteristics of distinct groups. Categorical data is represented by a name, a string of alphanumeric characters or numeric values. A numerical code may be given to a categorical variable for analysis purposes (e.g. 1 for female and 0 for male), but these numbers have no mathematical meaning. Categorical data can be further defined as nominal or ordinal. |
You need to first understand the types of data you have (i.e. discrete, continuous, nominal or ordinal) before preparing to present it in visual formats. This is because the data type will determine the formats you can use to summarise and display findings.
To understand your dataset, first begin by examining individual records and summarising the data in tables. You may find that summary tables are sufficient for presenting the data, especially if the dataset is small. If the data are more complex, then graphs or maps can help highlight important findings, trends or errors that need to be corrected (such as data entry errors).
Activity 2: Reviewing data types used in AMR analysis
1 Recap: AMR data and analysis