hanegreefs.com/Statistics I
Chapter 8 of 10

Surveys, sampling and experiments

Population and sample, parameters and statistics, the three ideas of sampling, sampling designs (simple random, stratified, cluster, systematic), sampling variability, what makes a valid survey, the main sources of bias, and observational studies versus randomized experiments.

Textbook: Ch. 8 and ch. 9 (sections 9.1 and 9.2) · Sessions: Module 8, lecture 11, tutorial 12 · About 45 minutes

Population, sample, parameter and statisticImportant

Inferential statistics uses a sample to learn about a population. The population is the whole group we want to know about (all Belgian adults aged 16 to 64); the sample is the part we actually examine. A parameter is a number that describes the population, usually unknown (the population proportion p, the population mean μ); a statistic is a number computed from the sample (p̂, ȳ) to estimate it. The sampling frame is the list from which the sample is actually drawn.

PopulationSample
Proportionparameter pstatistic p̂
Meanparameter μstatistic ȳ
Standard deviationparameter σstatistic s

Three ideas of samplingImportant

  1. Examine a part of the whole. The sample must be representative; a sample that systematically over- or under-represents a group is biased, and no sample size repairs bias.
  2. Randomize. Let chance pick the cases. Randomizing protects against the influences you know about and also those you do not know about; it matches the sample to the population better than any hand-picking.
  3. The sample size is what matters. The precision of an estimate depends on the number of cases sampled, not on the fraction of the population. A random sample of 1,000 says about as much about Belgium as about the whole EU.

Different random samples give different values of a statistic: sampling variability. The difference between a statistic and the parameter (p̂ ≠ p) is called sampling error; it is not a mistake, and chapters 9 and 10 show how to measure it.

Sampling designsImportant

DesignHowWhen useful
Simple random sample (SRS)every set of n cases has the same chance (in R: sample(frame, size = n))the basic design behind all formulas in this course
Stratifiedsplit the population into homogeneous groups (strata) and draw an SRS in eachgroups differ a lot; guarantees each group is represented
Clustersplit into groups that each look like the population, randomly pick whole clusterswhen a list of individuals is costly but a list of groups exists
Systematictake every k-th case from the list after a random startwhen the list has no pattern that repeats every k cases
Multistagecombine designs, for example regions, then towns, then householdslarge national surveys
Worked example

Planning two designs

A firm has 12,000 customers, of whom 60% are private persons and 40% are companies. It wants a sample of 400.

1

Systematic sample

step k = 12,000/400 = 30: pick a random start between 1 and 30, then every 30th customer
2

Stratified sample, proportional allocation

400 × 0.60 = 240 private customers and 400 × 0.40 = 160 companies, each drawn by SRS within its stratum
Answer

Stratifying makes sure both customer types are represented in the right proportion, and gives more precise estimates when the strata differ.

Common trapDo not confuse strata and clusters. Strata are different from each other and you sample inside every stratum; clusters resemble each other and you sample whole clusters.

The valid survey and sources of biasImportant

A valid survey answers four questions: what do I want to know; who are the right respondents (the right sampling frame); what are the right questions; and what will be done with the results? The usual ways a survey goes wrong:

BiasWhat happensExample
Voluntary responsepeople choose themselves, so strong opinions dominatean online poll, a survey with a reward for anyone who joins
Convenience samplecases that are easy to reachinterviewing people at one train station
Bad sampling frame (undercoverage)the list misses part of the populationa landline phone book for a survey of students
Nonresponsethose who do not answer differ from those who doa 10% response rate to a mailed questionnaire
Response biasthe wording or the situation pushes answersa leading question, or asking about illegal behaviour face to face

Always pilot the questionnaire on a small group first: unclear or leading questions show up quickly.

Observational studies and experimentsNeutral

In an observational study the researcher only records what happens: who chose a product, who saves more. It can show association, but a lurking (confounding) variable can always explain it. In an experiment the researcher assigns treatments to the subjects. In a randomized controlled trial, the subjects are randomly assigned to a treatment group and a control group, and the outcomes are compared. Because chance decides who gets what, the groups are alike in everything except the treatment, so a clear difference can be attributed to it: experiments can show causation.

Online businesses run the same design as an A/B test: visitors are randomly shown version A or version B of a page, and the share that buys is compared.

Key takeaways

  • Parameter (population, unknown) versus statistic (sample, computed).
  • Examine a part, randomize, and remember that sample size, not the fraction sampled, drives precision.
  • SRS, stratified, cluster, systematic and multistage designs.
  • Bias (voluntary response, convenience, bad frame, nonresponse, response bias) is not fixed by a larger sample.
  • Sampling error is natural variation, not a mistake.
  • Only randomized experiments can show causation.

Loading cards
Question
Click, tap or press space to flip
Answer

Multiple choice (8)

Question 1 · Chapter 8

A firm offers a voucher to anyone who completes its online survey. The sample is...

Why: Respondents choose themselves.
Question 2 · Chapter 8

The mean income of all households in a city is a...

Why: It describes the population.
Question 3 · Chapter 8

Pick 20 schools at random and interview every teacher in them. This is...

Why: Whole groups are sampled.
Question 4 · Chapter 8

A sample of 1,500 is drawn from a country of 10 million and one of 1,500 from a country of 80 million. Precision is...

Why: Sample size matters, not the fraction.
Question 5 · Chapter 8

"Don't you agree that taxes are already far too high?" is an example of...

Why: The wording pushes the answer.
Question 6 · Chapter 8

Which study can show that a savings product causes higher savings?

Why: Random assignment removes confounding.
Question 7 · Chapter 8

From a list of 5,000 invoices you take every 50th one after a random start. This is...

Why: Fixed step after a random start.
Question 8 · Chapter 8

Different random samples give different values of p̂. This is called...

Why: It is natural, not a mistake.

Exam-style open questions (2)

Open question · Chapter 8

Criticise a survey

A city wants to know how residents travel to work. It places a poll on its website for one week; 3,400 people respond. Name two problems and propose a better design.

Show the worked outline
  • Voluntary response: those with strong opinions (for example about cycling lanes) respond more.
  • Bad frame: website visitors are not all residents and miss those who rarely use the website.
  • Better: an SRS (or stratified by district) from the population register, with reminders to limit nonresponse.
Open question · Chapter 8

Design an experiment

A web shop wants to know whether free shipping above 50 euro raises the average order value. Describe a randomized experiment.

Show the worked outline
  • Randomly assign visitors to version A (current rules) or version B (free shipping above 50 euro).
  • Run both versions in the same period and record order values.
  • Compare the mean order values of the two groups; random assignment makes the groups comparable, so a clear difference can be attributed to the offer.

LabSampling design and bias sorter

Two exercises of six items each.