Data Types and Collection (AA HL)
Data are discrete if they take separate, countable values, and continuous if they can take any value in a range, such as a measurement. Whatever the type, data are only useful when the source is reliable, so you check for bias, missing data and recording errors. It also covers outliers and what makes a good questionnaire. It's part of the broader Sampling & Data Collection topic.
19 questions on this sub-topic.
Syllabus
| Code | Syllabus content |
|---|---|
| SL4.1 | Concepts of population, sample, random sample, discrete and continuous data. Reliability of data sources and bias in sampling - dealing with missing data and errors in recording. Interpretation of outliers, defined as a data item more than the interquartile range (IQR) from the nearest quartile - with awareness that some outliers are valid while others may be recording errors. Sampling techniques and their effectiveness: simple random, convenience, systematic, quota and stratified sampling methods. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Skills practised on this page:
- Distinguish between a population and a sample, and identify sources of bias or unreliability in a sampling scenario.
- Identify the sampling method used in a given scenario (simple random, convenience, systematic, quota, or stratified).
Key ideas
Discrete vs continuous data
Discrete data can only take specific, separate values (number of pets, goals scored). Continuous data can take any value in a range (mass, time, height).
Not in the formula booklet - definitionOutliers
A data item is an outlier if it lies more than the interquartile range (IQR) from the nearest quartile. Some outliers are genuine values; others are recording errors, and exam questions expect you to judge which given the context.
Not in the formula booklet - definitionNeed the full syllabus wording and sampling methods table? See Sampling & Data Collection.
Key terms
What are a population and a sample?
A population is the whole group being studied, and a sample is the part of it that is actually measured. Conclusions about the population are only reliable if the sample is representative.
e.g. To study the heights of all students in a school, measuring of them gives a sample of from a population of .
What is bias in sampling?
Bias occurs when the sampling method systematically favours some members of the population, so the sample does not represent it. A larger sample does not remove bias.
e.g. Surveying only people leaving a gym about how much exercise people take is biased, because they are more likely to exercise than the general population.
How do you test whether a value is an outlier?
Find the interquartile range, . A data item is an outlier if it is more than times the interquartile range below or above .
e.g. If and , the interquartile range is , so values below or above are outliers. Hence is an outlier but is not.
How should missing data and recording errors be treated?
Missing data should be noted, because it can make the sample unrepresentative. A value that is clearly a recording error can be corrected or removed, but a genuine extreme value should be kept.
e.g. A recorded age of years for a student is clearly a recording error, so it can be corrected or removed.
Worked examples
State two features of a well-designed questionnaire question.
Worked solution
Any two of: it is clear and unambiguous; A1
it is not leading, and offers appropriate, non-overlapping response options. A1
A survey about internet habits is conducted only through an online form.
Explain why the results may be biased.
Worked solution
Only people who already use the internet can respond, R1
so the sample is not representative of the whole population. A1
A council emails an online survey to all residents and uses only the replies.
(a) State the type of bias most likely present.
(b) Suggest one improvement to reduce this bias.
Worked solution
(a) Non-response (self-selection) bias - those with strong opinions or internet access are over-represented. A1
(b) Take a random sample and follow up non-respondents, or offer multiple channels. R1
Common mistakes
- Assuming every outlier should be removed. An outlier flagged by the rule might be a genuine, valid data point rather than a recording error - the syllabus expects you to comment on which is more likely in context, not to delete it automatically.
- Mixing up discrete and continuous. "Number of siblings" is discrete even though it could theoretically grow large; "height measured to the nearest mm" is continuous because it's still an approximation of an underlying value that could fall anywhere in a range.
- Treating unreliability as only about sample size. A data source can be untrustworthy for several separate reasons at once - how recent it is, how it was collected, and whether the source has an interest in the result - not just how many people were asked.
Using your GDC
Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.
Lists let you store data sets, generate sequences, and compute statistics without re-entering values - essential for grouped data and frequency tables when checking a sample.
- Enter data manually: go to the list editor and type values one by one.
- 2nd → STAT (LIST) → OPS → 5:seq(expression, variable, start, end) generates a list from a formula, e.g. seq(X², X, 1, 10). For grouped data, put midpoints in L1 and frequencies in L2, then run 1-Var Stats L1, L2.TI-84
- In a Lists & Spreadsheet page, type a formula in the header row (e.g. = seq(x², x, 1, 10)) to fill the column automatically. Use two columns for midpoints and frequencies.Nspire
- In Statistics list editor, enter data directly; OPTN → LIST → Seq( builds a list from a formula. For frequency data, put midpoints in List 1 and frequencies in List 2.Casio
- For frequency data (grouped), enter midpoints in one list and frequencies in another, then reference both lists when running 1-Var Stats.
- To sort a list ascending: SortA(L1) on TI-84; menu → List → Sort Ascending on Nspire.
- Sum a list: sum(L1) on TI-84; sum() on Nspire; OPTN → LIST → Sum on Casio.
Tip: Building your sample data as a list first makes every later calculation (mean, quartiles, outlier check) a single menu command rather than a re-entry.
Instant summary statistics from a list - no formulas to compute by hand. Useful once your sample is entered, to check its mean, median or quartiles.
- Enter the data into a list.
- STAT → Edit → type values into L1. Then STAT → CALC → 1:1-Var Stats, choose L1, Calculate.TI-84
- Add a Lists & Spreadsheet page, name a column and enter data; then a Calculator page → menu → Statistics → Stat Calculations → One-Variable Statistics.Nspire
- Statistics menu → enter data in List 1 → CALC (F2) → 1-VAR.Casio
- Read x̄ (mean), Sx (sample sd) or σx (population sd), and the five-number summary (min, Q1, median, Q3, max).
- For frequency data, put values in one list and frequencies in another and set the frequency list.
Tip: Sx vs σx: use σx (population) for a complete data set, Sx (sample) for a sample. IB usually wants σx.
See the full GDC guide for more calculator models and topics.
Quick questions
What is the difference between discrete and continuous data?
Discrete data can only take specific, separate values, such as the number of pets someone owns. Continuous data can take any value within a range, such as mass, time or height.
What counts as an outlier in IB Maths?
A data item that is more than the interquartile range (IQR) from the nearest quartile. Some outliers are genuine, valid values; others are recording errors, and you're expected to comment on which is more likely given the context.
What is a random sample?
A random sample is one in which every member of the population has an equal chance of being selected. This helps to avoid bias.
Is a larger sample always better?
A larger sample usually gives more reliable results, but only if it is representative. A large sample chosen in a biased way is still biased.
Is the number of goals scored discrete or continuous?
It is discrete, because goals can only be counted in whole numbers. The time taken to run a race is continuous, because it can take any value in a range.
Ready to practise properly?
19 data-types-and-collection questions, marked instantly like the real exam.