Skip to content
IB Diploma ProgrammeSL & HL

Data collection and reliability

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Data collection and reliability notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Data collection and reliability notes as text: skim, search, and jump between subtopics.

~15 min read

1. Designing a valid survey or questionnaire

A survey is only as good as its questions. A biased question is worded to push the respondent towards one answer. An unbiased question is neutral and gives no hint of the answer wanted.

A structured question offers fixed answer choices, so every respondent answers in the same way and the answers are easy to count. An unstructured question lets the respondent write freely, which is harder to analyse. Take care with personal questions, such as income or health: respondents may not answer them honestly, or at all.

Ask precise questions. Name the quantity, the unit and the time period. Answer choices must not overlap and must cover every possible answer.

Worked example 13 marks

A school wants to find out how long students spend on homework. One survey question reads: "Do you agree that homework is a waste of your valuable time?"

(a) Explain why this question is biased.

(b) Suggest a better question, with answer choices.

  1. 1

    (a) R1: the words "waste of your valuable time" lead the respondent towards agreeing [1]

  2. 2

    (b) A1: a precise question with a time period, for example "How many hours of homework did you do last week?" [1]

  3. 3

    A1: structured choices that do not overlap and cover every answer, such as 0 to 2, 3 to 5, 6 to 8, more than 8 [1]

2. Choosing relevant variables and data

A data set can hold many variables. Choose only the variables that can plausibly affect the question being asked. A variable with no link to the question only adds noise.

An identifier, such as a student number, is a label. Its numerical size has no meaning, so it is not analysed as a measurement.

Choose appropriate data as well. Use the records that match the population the question is about. Data from a different group can give a misleading result.

Worked example 13 marks

A researcher wants to know whether the number of hours of revision affects test score. A database has these variables for each student: revision hours, test score, favourite colour, student number and hours of sleep.

(a) State the two variables that must be analysed.

(b) Explain why favourite colour and student number are not used.

  1. 1

    (a) A1: revision hours and test score [1]

  2. 2

    (b) R1: favourite colour has no plausible link to test score [1]

  3. 3

    R1: a student number is a label, so its size carries no information about the score [1]

3. Categorising data for a chi-squared table

The chi² test needs data in categories. Numerical data, such as times or counts, must be grouped into categories first.

Choose categories so that every expected frequency is greater than 5. If a category is too small, combine it with an adjacent category.

Justify the choice: say which expected frequencies were not greater than 5, which categories were combined, and how many remain.

E_i > 5 for every category

Worked example 13 marks

A model predicts the following expected frequencies, out of 100, for six categories: 18.4, 31.2, 28.5, 14.2, 5.1 and 2.6, in that order.

(a) Identify the category that is too small and explain why.

(b) Combine categories so that the test can be carried out, and write down the new expected frequencies.

  1. 1

    (a) R1: 2.6 is not greater than 5, and every expected frequency must be greater than 5 for the chi² test [1]

  2. 2

    (b) M1: combine 2.6 with the adjacent category 5.1, giving 5.1 + 2.6 = 7.7 [1]

  3. 3

    A1: 18.4, 31.2, 28.5, 14.2, 7.7 in 5 categories, which still add to 100 [1]

4. Degrees of freedom when parameters are estimated

In a chi² goodness of fit test with k categories, the degrees of freedom are normally k - 1. The -1 is because the observed frequencies must add to the fixed total.

Sometimes a parameter of the model is estimated from the data, for example the mean of a Poisson distribution or the mean and standard deviation of a normal distribution. Each of the p estimated parameters removes one more degree of freedom. Count k after combining categories. A parameter given in the question is not estimated, so it does not reduce the degrees of freedom.

nu = k - 1 - p

Worked example 14 marks

A manager tests H₀: the number of calls per minute follows a Poisson distribution. The mean is estimated from the data. After combining categories there are 5 categories and chi²_calc = 6.21.

(a) Determine the number of degrees of freedom.

(b) The 5% critical value for this number of degrees of freedom is 7.815. State the conclusion.

  1. 1

    (a) M1: one parameter, the mean, is estimated, so nu = 5 - 1 - 1 [1]

  2. 2

    A1: nu = 3 [1]

  3. 3

    (b) M1: compare 6.21 < 7.815 [1]

  4. 4

    R1: do not reject H₀; the data are consistent with a Poisson distribution [1]

5. Reliability and validity

Reliability is the consistency of a measurement or test. A reliable test gives similar results when it is repeated under the same conditions.

Validity is whether a test measures what it is intended to measure.

The two are different. A test can be reliable but not valid: it gives the same wrong kind of answer every time. A test that is not reliable cannot be valid, because its results are not consistent enough to mean anything.

Worked example 14 marks

A quiz is meant to measure skill in algebra, but all of its questions are about probability. Students who sit the quiz twice get almost the same scores each time.

(a) State whether the quiz is reliable, giving a reason.

(b) State whether the quiz is valid, giving a reason.

  1. 1

    (a) A1: the quiz is reliable [1]

  2. 2

    R1: the scores are consistent when the quiz is repeated [1]

  3. 3

    (b) A1: the quiz is not valid [1]

  4. 4

    R1: it does not measure what it is intended to measure, which is algebra [1]

6. Reliability tests: test-retest and parallel forms

In a test-retest, the same test is given to the same group twice, a short time apart. Compare the two sets of scores.

In a parallel forms test, two different versions of the test are written to measure the same thing. The same group sits both versions. Compare the two sets of scores.

In each method, find the correlation coefficient r between the two sets of scores on the GDC. A value of r close to 1 means the scores are consistent, so the test is reliable.

r close to 1 ⇒ reliable

Worked example 13 marks

Six students sit the same test twice, one week apart. Their scores out of 20 are

first sitting: 12, 15, 9, 18, 14, 11

second sitting: 13, 14, 10, 17, 15, 10

(a) Calculate the correlation coefficient between the two sets of scores.

(b) Interpret your answer.

  1. 1

    (a) M1: enter the two lists into the GDC and find the correlation coefficient r [1]

  2. 2

    A1: r = 0.942 [1]

  3. 3

    (b) R1: r is close to 1, so the scores are consistent and the test is reliable [1]

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Which of these survey questions is unbiased? A. "Don't you agree that canteen food is too expensive?" B. "How would you rate the canteen food: very poor, poor, fair, good or very good?" C. "How much do you love the new canteen menu?" D. "Most students think the canteen is too expensive. Do you?"1 mark
    Answer
    1. B. It is neutral and gives structured choices from very poor to very good.
    2. A and D lead towards agreeing; C assumes the respondent loves the menu.

    Trap: Choosing D because it gives information: the opening sentence pushes the respondent towards one answer.

  2. A shop asks: "How much do you enjoy our excellent customer service?" Explain why this is a poor survey question.2 marks
    Answer
    1. The word "excellent" leads the respondent towards a positive answer, so the question is biased.
    2. "How much do you enjoy" assumes the respondent enjoys the service, so there is no neutral or negative answer.

    Trap: Saying only that the question is "unclear" earns nothing: name the words that lead the respondent.

  3. A survey asks for age with these choices: 10 to 20, 20 to 30, 30 to 40. Identify two problems with the choices.2 marks
    Answer
    1. The choices overlap (20, 30) and leave gaps (under 10, over 40).

    Trap: Checking only for overlap misses the gaps at both ends: under 10 and over 40.

  4. A researcher investigates whether screen time affects sleep in 15-year-olds. A database holds 1800 records of students aged 12 to 17, with 300 records at each age. State how many records should be analysed and justify your answer.2 marks
    Answer
    1. 300 records, those for age 15: other ages are not the population.

    Trap: Using all 1800 records because "more data is better" mixes in the wrong group.

  5. A model gives expected frequencies of 4.2, 9.8, 22.0, 31.5, 20.3, 9.7 and 2.5, out of 100. Combine categories so that every expected frequency is greater than 5, and write down the new frequencies.3 marks
    Answer
    1. 4.2 and 2.5 are not greater than 5.
    2. Combine 4.2 with the adjacent 9.8 to get 14.0, and 2.5 with the adjacent 9.7 to get 12.2.
    3. The new frequencies are 14.0, 22.0, 31.5, 20.3 and 12.2 in 5 categories, which add to 100.

    Trap: Deleting the small categories instead of combining them loses part of the total of 100.

  6. (a) A binomial model with n known has p estimated from the data. After combining categories there are 6 categories. Determine the number of degrees of freedom. (b) A normal model has both its mean and standard deviation estimated from the data, with 8 categories. Determine the number of degrees of freedom.3 marks
    Answer
    1. (a)
    2. nu = 6 - 1 - 1 = 4.
    3. (b)
    4. nu = 8 - 1 - 2 = 5.

    Trap: Using k - 1 and forgetting the estimated parameters gives 5 and 7.

  7. A scale is used five times to weigh the same object. It gives 3.20 kg every time. The object's mass is later confirmed to be 3.50 kg by a standard balance. Discuss the reliability and validity of the scale.3 marks
    Answer
    1. Reliable: the five results are consistent, 3.20 kg every time.
    2. Not valid: it does not measure the true mass, since 3.20 kg is 0.30 kg below 3.50 kg.
    3. So the scale is consistently wrong: it is reliable but not fit for its purpose.

    Trap: Reliable does not mean valid. Consistent results can be consistently wrong.

  8. Eight students sit a test twice, two weeks apart. Their scores out of 50 are in the table. (a) State the name of this method of testing reliability. (b) Calculate the correlation coefficient between the two sets of scores. (c) Interpret your answer. | Student | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | First sitting | 34 | 28 | 45 | 39 | 22 | 41 | 30 | 36 | | Second sitting | 36 | 25 | 44 | 41 | 26 | 38 | 33 | 35 |4 marks
    Answer
    1. (a)
    2. Test-retest.
    3. (b)
    4. Enter the two lists on the GDC: r = 0.933.
    5. (c)
    6. r is close to 1: consistent, so reliable.

    Trap: Comparing means ignores whether each student scored consistently.

  9. A call centre records the number of complaints in each of 100 one-hour periods. No hour had more than 5 complaints. The manager tests at the 5% significance level whether the number of complaints in an hour follows a Poisson distribution, with the mean estimated from the data. (a) State the null hypothesis. (b) Calculate the mean number of complaints per hour. (c) Find the expected frequencies, and combine categories where needed. (d) Determine the number of degrees of freedom. (e) The critical values at the 5% level are 5.991 for 2 degrees of freedom and 7.815 for 3. Find chi²_calc and state the conclusion of the test. | Complaints in an hour | 0 | 1 | 2 | 3 | 4 | 5 | | --- | --- | --- | --- | --- | --- | --- | | Number of hours | 37 | 24 | 26 | 9 | 3 | 1 |9 marks
    Answer
    1. (a)
    2. H₀: the number of complaints in an hour follows a Poisson distribution.
    3. (b)
    4. Mean =(0×37+1×24+2×26+3×9+4×3+5×1)÷100=120÷100=1.2
    5. (c)
    6. With X∼Po(1.2), expected frequency =100×P(X=x): 30.12, 36.14, 21.69, 8.67, 2.60, and 100×P(X≥5)=0.77 for 5 or more.
    7. 2.60 and 0.77 are not greater than 5. Together they make 3.38, still not greater than 5, so combine them with 3: "3 or more" has expected 12.05 and observed 9+3+1=13.
    8. (d)
    9. 4 categories and 1 estimated parameter: nu=4-1-1=2.
    10. (e)
    11. GDC, observed 37, 24, 26, 13 against expected 30.12, 36.14, 21.69, 12.05 with nu=2: chi²_calc=6.58.
    12. 6.58>5.991, so reject H₀: the Poisson distribution is not a good model for the complaints.

    Trap: Forgetting the estimated mean gives nu=3, and 6.58<7.815 would wrongly accept the Poisson model.

  10. A company writes two versions, A and B, of a 30-question theory test to predict driving ability. Both have 18 questions on road signs, 12 on speed limits and none on junctions or parking, which the company also wants to test. Eight drivers sit both versions and an on-road test, the established measure of driving ability. (a) State the name of the reliability method used by giving versions A and B. (b) Calculate the correlation coefficient between the scores on A and B, and interpret it. (c) Calculate the correlation coefficient between the scores on A and the on-road scores. State what it suggests about the criterion-related validity of version A. (d) The company claims that the high correlations show the test is valid. Evaluate this claim. | Driver | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Version A (out of 30) | 22 | 25 | 18 | 28 | 15 | 27 | 20 | 24 | | Version B (out of 30) | 21 | 26 | 17 | 27 | 17 | 25 | 22 | 23 | | On-road (out of 100) | 68 | 72 | 55 | 81 | 50 | 78 | 60 | 75 |7 marks
    Answer
    1. (a)
    2. Parallel forms.
    3. (b)
    4. GDC: r=0.944. Close to 1, so the two versions give consistent scores: the test is reliable.
    5. (c)
    6. GDC: r=0.986. The on-road test is the criterion; a strong positive correlation suggests good criterion-related validity.
    7. (d)
    8. The correlation between A and B shows reliability only, not validity.
    9. Junctions and parking have no questions, so content validity is poor.
    10. The claim is only partly justified: the criterion-related evidence supports it, but the test should cover all the intended content.

    Trap: Using the A–B correlation as evidence of validity: two versions can agree with each other and still miss part of the content.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
"That question is bad."The question is biased: its wording leads the respondent towards one answer.
"The test is reliable because it is accurate."The test is reliable because it gives consistent results when repeated.
"The test is valid because it gave the same result each time."The test is valid if it measures what it is intended to measure.
nu = k - 1 when the mean was estimated from the datanu = k - 1 - p, so with one estimated parameter nu = k - 2

Frequently asked questions

What makes a survey question biased, and what should an unbiased question look like?
A biased question is worded to push the respondent towards one answer, for example with words such as "waste of your valuable time". An unbiased question is neutral and gives no hint of the answer wanted. Make it precise by naming the quantity, the unit and the time period, with structured choices that do not overlap and cover every possible answer.
How do you combine categories so that a chi-squared test can be carried out?
Every expected frequency must be greater than 5. If a category is too small, combine it with an adjacent category, then check that the new expected frequencies still add to the total. Justify the choice by saying which expected frequencies were not greater than 5, which categories were combined, and how many remain.
How do you check whether a test is reliable using test-retest or parallel forms?
In a test-retest, the same test is given to the same group twice, a short time apart. In parallel forms, two different versions of the test measure the same thing. In both methods, find the correlation coefficient r between the two sets of scores on the GDC. A value of r close to 1 means the scores are consistent, so the test is reliable.
What is the difference between reliability and validity?
Reliability is the consistency of a measurement or test, while validity is whether a test measures what it is intended to measure. A test can be reliable but not valid, because it gives the same wrong kind of answer every time. A test that is not reliable cannot be valid.
How do you check whether a test is valid?
Content validity asks whether the test covers all of the content it is meant to measure, in sensible proportions. Criterion-related validity compares the test with an established measure of the same thing, the criterion, and a strong correlation supports validity. A valid test must be reliable, so check reliability too.
Why do I get the wrong degrees of freedom in a chi-squared goodness of fit test?
Use nu = k - 1 - p, where k is counted after combining categories and p is the number of parameters estimated from the data. Students often use k - 1 and forget the estimated mean or standard deviation. A parameter given in the question is not estimated, so it does not reduce the degrees of freedom.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters