Hersi Maths WhatsApp me

Understand · explore · practise

Plan a data collection investigation

Plan a sampling investigation, calculate estimates from an original small dataset and judge the design. Includes a learner-operated comparison and downloadable spreadsheet.

Before you startSampling methods, means and data types.

01 / Turn a question into a plan

Specify the evidence before collecting it.

Question → population → variable → frame → selection → analysis → conclusion.

Write the design before looking for a result you prefer.

Our invented library dataset contains twenty enquiries: twelve in a morning session and eight in an evening session. We will estimate their mean duration using a sample of five, then compare it with the known full-population mean.

The complete values are available for learning, so we can check estimation error. In a real investigation, the population result is usually unknown.

Compare a sample with the known populationExplore
Mean duration in minutesThe population mean is 10.8 minutes. Change the selection plan to compare its sample mean.01020Population mean: 10.8 minSample mean: 7.6 min

Selected IDs: 1, 2, 3, 4, 5.

38 minutes ÷ 5 records = 7.6 minutes.

Opportunity selection from the start of the list: all five are morning records.

All data are invented for this lesson. Closeness in one sample does not prove that a selection method is reliable.

02 / Define the target and measurement

Be precise about what one row represents.

The target population for this exercise is the twenty invented enquiries listed here. The unit is one enquiry, the variable is its duration in minutes and the session is a grouping variable. Duration is an underlying continuous measurement even though the teaching values are whole numbers.

For a real study, specify the library, dates, eligible enquiry types and how duration starts and ends. An enquiry spanning closing time needs a stated handling rule, not an improvised decision.

01 · Identify the unit

Why is “the library” not the sampling unit in this exercise?

Hint

What object is selected and measured each time?

Worked solution

We select individual enquiries. Each enquiry supplies one duration, so the enquiry is the sampling unit.

02 · Limit the population

Would a census of these twenty invented enquiries establish the mean for all libraries?

Hint

The source and scope are much narrower.

Worked solution

No. These are synthetic teaching records, and even a real one-library period would not automatically represent all libraries.

03 / Choose and justify a design

Connect the method to the available frame.

Take a proportional stratified sample of five.Worked example

Morning allocation = 5 × 12/20 = 3

The morning group is 60% of the population.

Evening allocation = 5 × 8/20 = 2

The evening group is 40%.

Choose three distinct IDs from 1–12 and two from 13–20 randomly

The allocation alone is not a random selection method.

A simple random sample of five from all twenty is also a legitimate design, but its group counts vary. Selecting the first five records is convenient and excludes evening records completely.

03 · Explain the allocation

Why would two morning and three evening selections not be proportional here?

Hint

Compare sample shares with population shares.

Worked solution

The sample would be 40% morning and 60% evening, reversing the population’s 60%/40% split.

04 · Keep it random

A learner chooses the three shortest morning enquiries and two shortest evening enquiries. Is that stratified random sampling?

Hint

The selection uses the outcome values.

Worked solution

No. Choosing the shortest is deliberately selective within each stratum. Select by a fair random process on IDs, not by preferred durations.

04 / Record the actual selected IDs

A reproducible report needs the realised sample.

State the method and record the resulting IDs. If generating integers with replacement, reject duplicate or out-of-range labels. Do not redraw simply because the first result looks inconvenient.

The model contains fixed illustrative selections. The “random outcome” labels mean these sets could result from the stated random designs; choosing the menu option is not itself a random draw.

05 · Remove repeats correctly

Random labels for a sample of five arrive as 2, 2, 15, 9, 21, 12, 5. The valid IDs are 1–20. Which five distinct valid IDs are accepted?

Hint

Reject the repeated 2 and the out-of-range 21.

Worked solution

2, 15, 9, 12 and 5.

06 · Repeated attempts

Why should you not keep redrawing until the sample mean is close to the population mean?

Hint

You would be selecting outcomes based on the answer.

Worked solution

That changes the procedure and hides sampling variation. Keep and report the result from the planned selection, even if its estimate is less accurate.

05 / Try the spreadsheet investigation

Choose records and inspect the arithmetic.

Download the sampling investigation workbook (.xlsx). It contains only the original invented data, selection cells and transparent formulas. Set Include to 1 for selected rows and 0 for the others.

  1. Select five distinct IDs using your chosen method.
  2. Check the selected count and total duration.
  3. Calculate mean = selected total ÷ selected count.
  4. Compare with the twenty-record population mean.
  5. Record your design, IDs and conclusion before trying another sample.

You can also use the table below without a spreadsheet. In the workbook, the formulas calculate from your 0/1 selection. A zero selection shows “No selection” instead of dividing by zero.

Invented data: library enquiry durations.

IDSessionMinutes
1Morning5
2Morning7
3Morning9
4Morning11
5Morning6
6Morning8
7Morning10
8Morning12
9Morning7
10Morning9
11Morning11
12Morning13
13Evening10
14Evening12
15Evening14
16Evening16
17Evening11
18Evening13
19Evening15
20Evening17

07 · Check one sample

For IDs 2, 5, 9, 12 and 15, calculate the mean duration.

Hint

The durations are 7, 6, 7, 13 and 14 minutes.

Worked solution

Total 47 minutes; mean 47/5 = 9.4 minutes.

08 · Check the stratified example

For IDs 2, 6, 10, 15 and 18, calculate the mean and its difference from 10.8 minutes.

Hint

The durations are 7, 8, 9, 14 and 13.

Worked solution

Total 51; mean 51/5 = 10.2 minutes. Sample mean minus population mean = −0.6 minutes.

06 / Compare results without overclaiming

One fortunate sample does not validate a method.

Different samples give different estimates. The first five records average 7.6 minutes; our illustrative simple random outcome gives 9.4 and our stratified outcome gives 10.2. In these particular examples the stratified estimate is closer to 10.8, but that does not prove that every stratified sample beats every simple random sample.

Repeated samples help reveal how a design behaves. Keep the sampling rule fixed and examine all results rather than displaying only the closest estimate.

Watch: different selections give different means

Pause, replay or seek freely. The notes explain the same idea and stay in view.

09 · Compare signed and absolute error

An estimate is 9.4 minutes and the known population mean is 10.8. Give its signed difference and absolute error.

Hint

Subtract estimate minus true value, then take the magnitude.

Worked solution

Signed difference −1.4 minutes; absolute error 1.4 minutes.

07 / Plan for practical problems

Keep missingness and measurement error visible.

In a real enquiry study, a missing end time means the duration is unknown. A zero-duration replacement is not justified. State the handling policy and report the usable sample size. Record durations consistently and keep identifiers with their measurements when sorting.

If human participants are involved in an actual investigation, follow your school’s or institution’s privacy and consent arrangements. This exercise uses no real personal records.

10 · Missing duration

Five selected records include one unknown duration. What should the report say if the mean uses the other four?

Hint

Distinguish selected and usable records.

Worked solution

Five were selected but only four known durations contributed. Explain the missing-data rule and note that the four may not represent the missing enquiry.

11 · A sorting mistake

Why is sorting the duration column alone, while leaving IDs and sessions fixed, damaging?

Hint

A row’s fields belong together.

Worked solution

It assigns durations to the wrong enquiries and sessions. Sort the whole table so each record stays intact.

08 / Write a defensible conclusion

Include design, evidence and limits.

A useful report names the population, method, selected IDs, usable count, numerical estimate and limitations. The answer should match the original question.

12 · Report the stratified example

Write a short conclusion for IDs 2, 6, 10, 15 and 18.

Hint

Include the allocation, mean and scope.

Worked solution

This illustrative proportional stratified sample contains three morning and two evening enquiries. Its five durations total 51 minutes, giving a mean of 10.2 minutes, 0.6 below the known twenty-record mean. The data are invented; this single outcome does not establish that the method always gives the closest estimate.

Section 1 of 8 · Turn a question into a plan