Lecture01 pipeline-7-12

Table of contents

  1. Definition: Data Definition: Data
  2. Types of variables
  3. Example: A small dataset of students I

1. Definition: Data Definition: Data

1.1 Data

Data are recorded values that describe the characteristics of objects, individuals, or events. Each value is a result of a measurement, observation, count, or declaration, and it is associated with a named characteristic of the object it describes.

The term "data" originates from the Latin word "datum," meaning "that which is given" 2 3.

1.2 Structure of a dataset

Three fundamental concepts structure every dataset:

  • Statistical unit: This is the entity being described, which could be a person, a transaction, a plot of land, or a day 3.
  • Characteristic: This is the named attribute of the statistical unit that is being measured or observed.
  • Recorded value: This is the specific measurement, observation, count, or declaration associated with a characteristic of a statistical unit 2.

A key implicit assumption in the tabular format of data is that the rows are exchangeable. This means the order of the rows conveys no information, and any subset of rows is as representative as any other 3.

This diagram categorizes variables into Quantitative and Qualitative types, further subdividing them into Continuous, Discrete, Nominal, and Ordinal with their definitions and examples.

1.3 Types of variables

Variables, which represent the characteristics being measured, can be broadly categorized into quantitative and qualitative types .

Variable TypeSubtypeDefinitionExamples
QuantitativeContinuousCan take any value within a given range.Height, weight, temperature
QuantitativeDiscreteCan only take specific, separate values, often counts.Number of siblings, number of cars, number of defects
QualitativeNominalCategories with no inherent order.Gender, color, country of origin
QualitativeOrdinalCategories with a meaningful order.Education level (e.g., High School, Bachelor's, Master's), satisfaction rating (e.g., Poor, Fair, Good, Excellent)

1.4 Example dataset

A dataset can be visualized as a table where each row represents a statistical unit and each column represents a characteristic. For instance, a dataset might include information about students, detailing their age, region, mark, and grade .

A table displaying data for three students, including their age, region, mark, and grade.

2. Types of variables

2.1 Variable classification

The type of a variable dictates the meaningful operations and applicable analytical methods. Variables are broadly categorized into quantitative and qualitative types, each with specific subtypes that define the nature of their values and the statistical treatments they can undergo.

Understanding these distinctions is crucial for appropriate data analysis and interpretation 4 5.

TypeSubtypeDefinitionExample
QuantitativeContinuousAny real value within an interval; means and distances are meaningful.Mark, temperature
QuantitativeDiscreteCountable values, usually integers.Number of children
QualitativeNominalCategories without order; only equality is meaningful.Region, colour
QualitativeOrdinalCategories with a natural order; ranks are meaningful, differences are not.Grade, satisfaction level

2.2 Admissible summary statistics

The scale of measurement for a variable determines the admissible summary statistics. Different variable types support different levels of statistical summarization, ranging from simple counts to complex measures of central tendency and dispersion 5.

  • Nominal variables: Allow for the calculation of the mode (the most frequent category).
  • Ordinal variables: Support the calculation of the median and quantiles, reflecting the ordered nature of their categories.
  • Quantitative variables: Enable the calculation of the mean, variance, and correlation, as their numerical values allow for arithmetic operations and the assessment of relationships 5.

3. Example: A small dataset of students I

3.1 Dataset structure

This section illustrates a small dataset containing information about three students. The dataset comprises statistical units, which are the individual students, and variables, which are the characteristics measured for each student.

The value of a specific variable for a particular unit is the data point 6.

  • Statistical units: The individual entities within a dataset, in this case, the three students (s1, s2, s3).
  • Variables: The characteristics or attributes measured for each statistical unit. Here, the variables are Age, Region, Mark, and Grade.
  • Data point: A specific value of a variable for a given statistical unit. For example, the Mark for student s2 is 9.0 6.
StudentAgeRegionMarkGrade
s122North14.5Good
s223South9.0Fail
s321East16.0Very good

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also