haya.Learning made clear
Unit I · Introduction to research
8 min readConcept sheetUsually a 2- or 5-mark answer, sometimes 10

Sample size and variables

Sample size depends on precision, variability and resources. Variables are the measurable features you study: the independent variable is the cause, the dependent is the effect.

VariableA feature that can take different values (Hb, age, diet type)
Operational definitionSays exactly how a variable is measured, e.g. anaemia = Hb below 12 g/dL
Formula for a proportionn = Z² × p × q ÷ d²
Rule of thumbMore precision or more variation needs a bigger sample

What decides sample size

  • Precision: the smaller the error you accept, the larger the sample.
  • Variability: a mixed population (different incomes, diets) needs a larger sample than a uniform one.
  • Confidence level: 95% (Z = 1.96) is usual; 99% needs more people.
  • Expected frequency: a rare condition needs a larger sample, because the allowed error must be small compared with p (e.g. ±1 point when p = 5%).
  • Design and analysis: more subgroups to compare means a larger sample.
  • Resources: time, money and staff set the upper limit.
  • Non-response: add about 10% for those who refuse or drop out.

Sample size for an anaemia survey

Problem

You want to estimate how common anaemia is among adolescent girls in Chennai schools. Taking the all-India NFHS-5 figure, assume about 60% are anaemic. You want the answer within ±5 percentage points at 95% confidence. How many girls should you test?

Working
  1. Formula for a proportion: n = Z² × p × q ÷ d²
  2. Z = 1.96 (95% confidence), p = 0.60, q = 1 − p = 0.40, d = 0.05
  3. Z² = 1.96 × 1.96 = 3.8416
  4. Z² × p × q = 3.8416 × 0.60 × 0.40 = 0.9220
  5. d² = 0.05 × 0.05 = 0.0025
  6. n = 0.9220 ÷ 0.0025 = 368.8, rounded up to 369
  7. Allow 10% non-response: 369 ÷ 0.9 = 410
Answer

Test about 410 girls (369 before allowing for non-response). Books that round Z² to 4 use n = 4pq ÷ d², which gives 384.

Types of variables by their role (anaemia study)

VariableMeaningExample
IndependentThe cause or factor the researcher changes or comparesIron intake, or an iron-rich diet given to one group
DependentThe outcome that is measured; it changes with the independent variableHaemoglobin level
ExtraneousAny other factor that can affect the outcome but is not being studiedWorm infestation, heavy menstrual loss
ConfoundingAn extraneous variable linked to both cause and outcome; it can create a false linkFamily income: affects both diet and access to health care
InterveningComes between cause and effect and carries the linkIron absorbed from the meal, between iron intake and Hb

Quantitative vs qualitative variables

QuantitativeMeasured in numbers. Continuous variables can take any value (weight 48.5 kg, Hb 11.2 g/dL). Discrete variables take whole numbers (meals eaten a day).
Qualitative (categorical)Described by categories or attributes, not amounts: sex, diet type (vegetarian or non-vegetarian), anaemia status (yes/no), socio-economic class.

Ranjit Kumar links these to measurement scales: nominal and ordinal scales for categorical variables, interval and ratio scales for continuous ones.

In nutrition research

In a mid-day meal study, the meal is the independent variable and the child's weight, height or Hb is the dependent variable. Illness, worm infestation and home diet are extraneous variables; deworming all children before the study controls one of them.

Exam angle

2 marks: “What is a dependent variable? Give an example.” The outcome that is measured and changes with the independent variable, e.g. haemoglobin level in a study of iron intake.

5 marks: “Explain the factors that decide the sample size of a study.” Precision, variability, confidence level, expected frequency, number of subgroups, resources and non-response, with the formula n = Z²pq ÷ d².

10 marks: “Explain the factors that decide sample size and the types of variables used in research.” Sample-size factors with a worked formula; define variable and operational definition; independent, dependent, extraneous, confounding; quantitative vs qualitative.

Remember it

Independent = Input, the cause you change. Dependent = Depends on it, the outcome you measure.