Research design and sampling
UAT 309 Introduction to Research in Unmanned Aircraft Systems and Automation Technology
Lesson
By the end of this module you will be able to
- Choose a research design suited to the question, among experiments, quasi-experiments, surveys and case studies
- Distinguish a population from a sample and choose a sampling method
- Compute sample sizes with the Yamane and the Krejcie and Morgan formulas, then allocate them proportionally across strata
- Randomise the order of experimental runs reproducibly
Why this matters
A good research question is worthless if data collection is designed badly: surveying only people who are keen on drones and concluding the whole province is ready, or flying the experiment from light to heavy so that the effect of weight mixes with the stronger afternoon wind. This lesson chooses the design and sample for the course’s two studies, the payload experiment and the local government survey. All figures are hypothetical.
Choosing a research design
A research design is the plan for collecting and comparing data to answer a question. Creswell and Creswell group the main quantitative designs as follows.
- Experiment: the researcher sets the independent variable and randomises groups or order, giving the strongest basis for cause and effect.
- Quasi-experiment: the variable can be set but not randomised, for example comparing two districts that started using drones at different times.
- Survey and correlational study: variables are measured as they are, giving a broad picture from many people, but only associations.
- Case study: one or a few units studied in depth, often with qualitative data as well.
The payload study is an experiment, because we choose the payload and can randomise the order. The local government study is a correlational survey, because we cannot set officials’ knowledge or attitudes.
Population, sample and sampling methods
The population is every unit you want to draw conclusions about, here all 1,250 local government officials in the province. The sample is the part you actually collect data from. If it is chosen to be representative, results from the sample can be generalised to the population.
| Method | How | Use when |
|---|---|---|
| Simple random | Everyone has an equal chance | A complete list exists and the population is fairly uniform |
| Stratified | Divide into subgroups, then sample within each | Subgroups differ, such as districts or organisation size |
| Cluster | Sample whole groups, such as sub-districts, and survey everyone in them | The population is spread out and hard to reach |
| Purposive | Select people with specific qualities | Case studies or expert interviews |
| Convenience | Collect from whoever is easy to reach | Pilot studies only; cannot be generalised |
Sample size
For surveys of proportions, the formula most often used in Thai research is Yamane’s (1967) , where is the acceptable error. Another option is the table of Krejcie and Morgan (1970), based on with (0.05 significance) and , which gives the largest sample. Once the total is known, stratified sampling allocates it to each stratum in proportion: .
Example 1 Sample size for the local government survey
import math
N = 1250 # local government officials in the province (hypothetical population)
e = 0.05 # acceptable error
yamane = N / (1 + N * e ** 2)
chi2, P = 3.841, 0.5 # chi-square for df = 1 at 0.05, and population proportion
km = chi2 * N * P * (1 - P) / (e ** 2 * (N - 1) + chi2 * P * (1 - P))
print(f"Yamane: {yamane:.1f} -> {math.ceil(yamane)} Krejcie & Morgan: {km:.1f} -> {math.ceil(km)}")
n = math.ceil(km)
strata = {"district A": 610, "district B": 390, "district C": 250} # strata by district
alloc = {k: round(n * v / N) for k, v in strata.items()} # proportional allocation
print("proportional allocation:", alloc, "total", sum(alloc.values()))
Yamane: 303.0 -> 304 Krejcie & Morgan: 294.0 -> 294
proportional allocation: {'district A': 143, 'district B': 92, 'district C': 59} total 294
Both methods give similar sizes, about 300 people. The report must state which method and parameters were used. This is the number of questionnaires that must be returned; if about 80% are expected back, more must be sent out.
Randomising experimental order
In an experiment, randomisation spreads what cannot be controlled, such as wind that changes through the day, evenly across all levels of the independent variable, and replication lets the variability be estimated. Box, Hunter and Hunter treat these two principles as the heart of experimental design.
Example 2 Randomising the flight order for the payload experiment
Four payload levels, three flights each, twelve flights in all.
import random
random.seed(2570) # record the seed in the report so it can be repeated
payloads = [0, 200, 400, 600] # grams, levels of the independent variable
REPEATS = 3
runs = [p for p in payloads for _ in range(REPEATS)]
random.shuffle(runs) # randomise the flight order
for i in range(0, len(runs), 4):
print("flights", f"{i + 1:>2}-{i + 4:>2}:", " ".join(f"{p:>3} g" for p in runs[i:i + 4]))
flights 1- 4: 200 g 600 g 0 g 400 g
flights 5- 8: 200 g 0 g 200 g 400 g
flights 9-12: 400 g 600 g 0 g 600 g
Setting the random seed and recording it in the report lets others recreate the same order. Flying from 0 g to 600 g level by level would put the heavy loads in the windy afternoon, and the effect of weight could no longer be separated from the effect of wind.
Class activity
Activity: design the data collection
- Identify the research design for your group’s question with the tree in Figure 1, and justify it.
- Define the population precisely and say where the list or sampling frame will come from.
- Compute the sample size as in Example 1 and adjust for the expected response rate.
- For an experiment, write the randomised run order and record the seed.
- State one weakness of the chosen design and how you will reduce it.
Common mistakes
Watch out
- Using a convenience sample and generalising to the whole population
- Using Yamane’s formula for everything, including experiments comparing means, which should be sized from the effect to be detected
- Not allowing for the response rate of a questionnaire
- Not randomising experimental order, so results mix with time and weather
- Not recording the seed, so the randomisation cannot be repeated
Summary
- Choose the design by asking whether the variable can be set and whether it can be randomised.
- The population is every unit you want to generalise to; the sample must be chosen to be representative.
- Survey sample size comes from Yamane’s or Krejcie and Morgan’s formula, allocated proportionally across strata.
- Experiments must randomise order and replicate runs, with the seed recorded.
Check your understanding
- A population of 800 with an acceptable error of 0.05: what is Yamane’s sample size?
- From question 1, if one district has 300 people, how many should be sampled there under proportional allocation?
- Comparing two districts that started using drones at different times is which design, and why?
- Why can a questionnaire given at a drone exhibition not be generalised to all officials in the province?
- Why record the seed used to randomise the experimental order?
Answers
- , rounded up to 267
- A quasi-experiment: there is a change to compare, but the researcher did not randomise which district started first
- It is a convenience sample; people at a drone exhibition are more interested in drones than most, so they are not representative
- So that others can recreate the same order and check or repeat the experiment
Key formulas
| Yamane sample size | |
| Krejcie and Morgan sample size | |
| Proportional allocation |
Key references
- Creswell, J. W., & Creswell, J. D. (2022). Research design: Qualitative, quantitative, and mixed methods approaches (6th ed.). SAGE. link
- Box, G. E. P., Hunter, J. S., & Hunter, W. G. (2005). Statistics for experimenters: Design, innovation, and discovery (2nd ed.). Wiley. link
- Yamane, T. (1967). Statistics: An introductory analysis (2nd ed.). Harper & Row. link
- Krejcie, R. V., & Morgan, D. W. (1970). Determining sample size for research activities. Educational and Psychological Measurement, 30(3), 607–610. link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
In class / field
Lecture, case discussion and in-class problem solving
Learning evidence: Quiz results and submitted exercises