Module 3/5 · Weeks 7–9 · 27 h

Research design and sampling

UAT 309 Introduction to Research in Unmanned Aircraft Systems and Automation Technology

About 85 minDraft, awaiting reviewLast updated 2 October 2026

Lesson

By the end of this module you will be able to

  1. Choose a research design suited to the question, among experiments, quasi-experiments, surveys and case studies
  2. Distinguish a population from a sample and choose a sampling method
  3. Compute sample sizes with the Yamane and the Krejcie and Morgan formulas, then allocate them proportionally across strata
  4. Randomise the order of experimental runs reproducibly

Prerequisites: Modules 1–2 research questions and conceptual framework

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.
Decision tree. First question: can the researcher set the independent variable? If yes, can groups or order be randomised? Yes leads to experiment, no to quasi-experiment. If no, broad picture or in depth? Broad leads to survey or correlational, deep to case study
Figure 1 Choosing a research design from two questions

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.

MethodHowUse when
Simple randomEveryone has an equal chanceA complete list exists and the population is fairly uniform
StratifiedDivide into subgroups, then sample within eachSubgroups differ, such as districts or organisation size
ClusterSample whole groups, such as sub-districts, and survey everyone in themThe population is spread out and hard to reach
PurposiveSelect people with specific qualitiesCase studies or expert interviews
ConvenienceCollect from whoever is easy to reachPilot 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.

A population box of 1,250 at the top with arrows to three boxes, district A 610, district B 390 and district C 250, each with an arrow down to a green box: sample 143, sample 92 and sample 59
Figure 2 Stratified sampling with proportional allocation, 294 in total

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

  1. Identify the research design for your group’s question with the tree in Figure 1, and justify it.
  2. Define the population precisely and say where the list or sampling frame will come from.
  3. Compute the sample size as in Example 1 and adjust for the expected response rate.
  4. For an experiment, write the randomised run order and record the seed.
  5. 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

  1. A population of 800 with an acceptable error of 0.05: what is Yamane’s sample size?
  2. From question 1, if one district has 300 people, how many should be sampled there under proportional allocation?
  3. Comparing two districts that started using drones at different times is which design, and why?
  4. Why can a questionnaire given at a drone exhibition not be generalised to all officials in the province?
  5. Why record the seed used to randomise the experimental order?
Answers
  1. , rounded up to 267
  2. A quasi-experiment: there is a change to compare, but the researcher did not randomise which district started first
  3. It is a convenience sample; people at a drone exhibition are more interested in drones than most, so they are not representative
  4. 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

  1. Creswell, J. W., & Creswell, J. D. (2022). Research design: Qualitative, quantitative, and mixed methods approaches (6th ed.). SAGE. link
  2. Box, G. E. P., Hunter, J. S., & Hunter, W. G. (2005). Statistics for experimenters: Design, innovation, and discovery (2nd ed.). Wiley. link
  3. Yamane, T. (1967). Statistics: An introductory analysis (2nd ed.). Harper & Row. link
  4. 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

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Mission planning, flight and simulation · Mathematics, physics and statistics