Study Guide

Data types, sampling, bias

IB Mathematics: Applications and Interpretation HLΒ· 30 min read

1. Classifying Data Typesβ˜…β˜†β˜†β˜†β˜†β± 10 min

πŸ“˜ Definition

Data Classification

All statistical data is classified by type, which determines what analysis can be performed. Data is first split into qualitative (categorical) and quantitative (numerical). Quantitative data is further split into discrete (countable) and continuous (measurable).

Example:

Eye color = qualitative, number of cars owned = discrete, distance traveled = continuous

πŸ“ Worked Example

Classify each of the following as qualitative, discrete quantitative, or continuous quantitative: (a) The weight of oranges in a shipment, (b) The number of correct answers on a 20-question quiz, (c) The brand of phone owned by a student, (d) The temperature of a cup of coffee.

  1. 1

    Recall the definitions: Qualitative = categorical non-numerical, discrete = distinct countable values, continuous = any value in an interval.

  2. 2

    (a) Weight is a numerical measurement that can take any value between a range (e.g. 120.5g, 120.54g).

  3. 3

    Classification: (a) = continuous quantitative.

  4. 4

    (b) Number of correct answers is numerical, only whole number values between 0 and 20.

  5. 5

    Classification: (b) = discrete quantitative.

  6. 6

    (c) Phone brand is a non-numerical category.

  7. 7

    Classification: (c) = qualitative.

  8. 8

    (d) Temperature can take any value within a range, so it is a continuous measurement.

  9. 9

    Classification: (d) = continuous quantitative.

βœ“ Quick check

Test your understanding

  1. What type of data is the number of goals scored in a soccer season?

    • Qualitative

    • Discrete quantitative

    • Continuous quantitative

    Reveal answer
    Discrete quantitative β€”

    Goals are counted as whole numbers, so they are discrete, even though they are numerical.

2. Common Sampling Methodsβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Population vs Sample

A population is the full set of individuals/items you want to draw conclusions about in a study. A sample is a smaller subset selected to collect data from, when studying the full population is impractical.

Sampling Method

Description

Typical Use Case

Simple Random

Every member of the population has equal chance of selection

Small, accessible populations

Systematic

Select every th member from an ordered list of the population

Large populations with a pre-existing list

Stratified

Divide population into strata (groups by a key characteristic), sample from each stratum

Ensure proportional representation of important subgroups

Cluster

Divide population into geographically similar clusters, randomly select entire clusters to sample

Large, geographically dispersed populations

Convenience

Select easily accessible members

Pilot studies or preliminary research

πŸ“ Worked Example

A researcher wants to study student satisfaction with campus food, and needs to ensure representation of undergraduate, graduate, and international student groups. What sampling method is most appropriate, and how would they implement it?

  1. 1

    The study requires representation of predefined subgroups, so stratified random sampling is the most appropriate method.

  2. 2

    Step 1: Split the full population of students into 3 strata: undergraduates, graduates, international students.

  3. 3

    Step 2: Calculate the proportion of the total population each stratum makes up, to get proportional sample sizes for each group.

  4. 4

    Step 3: Use simple random sampling to select the required number of students from each stratum, then send the satisfaction survey.

3. Identifying Sampling Biasβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Sampling Bias

Bias is a systematic error in sampling that makes the sample unrepresentative of the target population. Common types include selection bias, voluntary response bias, non-response bias, and response bias.

πŸ“ Worked Example

A researcher conducts a survey about weekly exercise habits by standing outside a gym and asking people entering to complete the survey. What type of bias is present, and how will it affect results?

  1. 1

    The sample is selected only from people entering a gym, which systematically excludes people who do not go to this gym.

  2. 2

    This is selection bias: people who go to a gym exercise more regularly on average than the general population.

  3. 3

    The results will systematically overestimate the average amount of weekly exercise for the general population.

4. Common Pitfalls

Wrong move:

Confusing stratified and cluster sampling

Why:

Both methods split the population into groups, so they are often mixed up

Correct move:

Remember: Stratified sampling groups by shared characteristic, you sample from every group. Cluster sampling groups by location, you sample entire groups at random.

Wrong move:

Calling shoe size or IQ continuous data

Why:

They are numerical measurements, so they are often misclassified as continuous

Correct move:

Any variable that only takes distinct, separated values (whole/half shoe sizes, whole IQ points) is discrete quantitative.

Wrong move:

Assuming a large sample eliminates bias

Why:

Bias is caused by the sampling method, not sample size

Correct move:

A large biased sample is still systematically unrepresentative. Always check the sampling method for bias first, regardless of sample size.

Wrong move:

Calling coded categorical data quantitative

Why:

Coded qualitative data is stored as a number, leading to misclassification

Correct move:

Classify data based on what it measures, not how it is stored. A number that just labels a category (e.g. 1 = New York, 2 = London) is still qualitative.

5. Quick Reference Cheatsheet

Concept

Quick Reference

Data Types

Qualitative = categorical; Discrete = countable values; Continuous = any measurable value

Sampling Methods

Simple Random = equal chance; Systematic = every nth; Stratified = sample each subgroup; Cluster = sample whole groups; Convenience = easy access

Common Bias Types

Selection = groups excluded; Voluntary = self-selected respondents; Non-response = missing participants; Response = inaccurate answers

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    Data classification multiple choice

  • 2024 Β· 1

    Identify bias in a sampling method

  • 2023 Β· 2

    Justify choice of sampling method

What's Next

This foundational sub-topic underpins all statistical work in IB AI HL. Correct classification of data and identification of bias is required for every topic from descriptive statistics to hypothesis testing, and exam questions regularly test these foundational concepts in both paper 1 and paper 2.

After mastering data types, sampling, and bias, you will move on to organizing and visualizing data, then learn to summarize data with measures of center and spread, before moving on to probability and inferential statistics.