4.1 Populations, samples and data collection

4.1 Populations, samples and data collection

IB Maths: Analysis and Approaches SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Population versus sample; random means equal chance for every member.
  • Discrete data are counted; continuous data are measured.
  • Five sampling techniques: simple random, systematic, stratified, quota, convenience.
  • Stratified numbers: stratumpopulation×sample size\frac{\text{stratum}}{\text{population}}\times\text{sample size}.
  • Outlier boundaries: Q1−1.5 IQRQ_1-1.5\,\text{IQR} and Q3+1.5 IQRQ_3+1.5\,\text{IQR}.
  • Outliers can be genuine or errors; missing values are excluded, never set to 0.

Populations, samples and data types

The population is the whole group of interest; a sample is the part you collect data from.

A random sample gives every member of the population an equal chance of being chosen, independently. Data are discrete if counted and continuous if measured. Continuous data are recorded to some accuracy, but that does not make them discrete.

  1. 1

    Population

    every student in the school

  2. 2

    Sample

    the 60 students you collect data from

  3. 3

    Data

    qualitative or quantitative; discrete or continuous

From population to data

Discrete

How obtained:
Counted
Possible values:
Particular values only
Examples:
Number of people in a household, shoe sizes

Continuous

How obtained:
Measured
Possible values:
Any value in a range
Examples:
Time, mass, electricity use

The number of goals scored in a football match is:

Sampling techniques

Random methods give everyone a known chance; quota and convenience sampling are chosen non-randomly and are open to bias.

Simple random needs a complete list (a sampling frame). Systematic picks every kkth member after a random start, k=populationsamplek=\frac{\text{population}}{\text{sample}}; it can be biased if the list has a repeating pattern. Stratified splits the population into groups (strata) and samples each in proportion: stratum sizepopulation size×sample size\frac{\text{stratum size}}{\text{population size}}\times\text{sample size}.

051015202530Year 10Year 11Year 12Year groupStudents sampled
Stratified sample of 60 from 600 students (300 in Year 10, 200 in Year 11, 100 in Year 12): each year is represented in proportion

Random

  • Simple random: numbered list, random number generator
  • Systematic: every kkth member
  • Stratified: proportional random sample from each group

Non-random

  • Quota: fixed numbers per group, chosen non-randomly
  • Convenience: whoever is easiest to reach

Worked example

There are 330 DP1 and 270 DP2 students. Take a sample of 40 stratified by year.

A surveyor interviews the first 20 people who walk past in each age group. This is:

Bias and reliability

Name who is left out or over-represented and why that matters for the variable being measured.

A method is biased if it tends to over- or under-represent part of the population, so results are systematically wrong. "It is not random" alone earns little credit.

Reliability depends on who collected the data, how and why: a railway-station sample at 8 a.m. says little about people who drive or work nights. Stratified sampling improves the estimate when the variable differs between groups, because each group appears in proportion.

  1. 1

    Who is left out or over-represented?

    e.g. people who drive or work nights

  2. 2

    Which variable is affected?

    e.g. how people travel to work

  3. 3

    In which direction is the estimate pushed?

    e.g. car use is underestimated

A full comment on bias

Which comment about a railway-station survey of how people travel to work earns most credit?

Outliers, errors and missing data

An outlier lies more than 1.5×1.5\timesIQR beyond a quartile; whether to keep it depends on context.

An outlier satisfies x<Q1−1.5×IQRx<Q_1-1.5\times\text{IQR} or x>Q3+1.5×IQRx>Q_3+1.5\times\text{IQR}. Being an outlier does not mean a value is wrong. A genuine extreme (a very tall player in a basketball squad) should be kept; an error (a negative electricity reading, a typing mistake) should be corrected or removed.

Missing data is left out of calculations, not replaced by 0, which would distort the mean. Report how many values were excluded.

120140160180200220240260280300320340360160Q₁Q₃320

Q1=220Q_1=220, Q3=260Q_3=260: IQR =40=40, so outliers are below 160 or above 320.

Q1=30Q_1=30 and Q3=50Q_3=50. Is 85 an outlier?

Try an exam question

A school has 480 students in Year 10 and 320 in Year 11. A stratified sample of 50 students is taken. (a) Find the number of students sampled from each year. (b) Give one reason why a stratified sample is better than a simple random sample here.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

The sample is stratified by year group, in proportion to the size of each year group. Find the number of DP1 students in the sample.

1 mark, marked against the mark scheme

Revision notes