Module 02 · Lesson 1 of 4

Independent, dependent and controlled variables

about 4 min read

Worked examples and assessment values retain the manuscript’s own units (°C, K and W/m²), including temperature differences.

Audio for this lesson — a quick overview and a full narration — will be added as recordings are completed.

In this lesson · 7 sections

Translating a question into a study

Experimental design is the process of deciding how evidence will be collected to answer a research question. A good design links the proposed mechanism, intervention, measurements and analysis. Before purchasing equipment or recruiting participants, identify what will change, what will be measured and which other factors could influence the outcome. This prevents a common problem: collecting large amounts of data that cannot answer the original question.

In an experiment, the independent variable is the factor deliberately manipulated or assigned. In a roof coating trial, it could be the assigned coating type. The dependent variable is the measured outcome, such as mean indoor air temperature. A study can measure several outcomes, but specifying a primary outcome helps prevent selective emphasis on whichever result appears most favourable. Secondary outcomes may include roof surface temperature, humidity, thermal comfort or electricity consumption.

Controlled variables and covariates

Controlled variables are conditions held comparable where feasible. Test houses might have the same dimensions, roof material, insulation, orientation and sensor placement. In occupied buildings, many conditions cannot be held constant. Researchers can record relevant covariates such as outdoor temperature, solar irradiance, wind, occupancy and ventilation. A covariate is a measured characteristic that may help explain variation or improve analysis. Recording it does not automatically remove bias; its role must be understood before statistical adjustment.

Distinguish a controlled variable from a control group. A controlled variable is a condition kept comparable; a control group is a set of experimental units providing a reference comparison. Both contribute to interpretation but perform different functions. In an observational study, researchers may measure an exposure, such as existing roof colour, without assigning it. Such studies require additional assumptions for causal interpretation.

Operational definitions and measurement quality

An operational definition specifies exactly how a concept is measured. “Indoor temperature” is insufficiently precise for a research protocol. A definition might specify hourly mean air temperature from a calibrated, appropriately shielded sensor positioned 1.1 metres above the floor, away from direct sunlight and heat sources, with readings logged every five minutes. This is an illustrative protocol, not a universal placement standard. The correct height and shielding depend on the research question and applicable measurement guidance.

Accuracy concerns closeness to a reference value, while precision concerns agreement among repeated measurements under specified conditions. A sensor may give very consistent readings that are systematically too high. Calibration compares instrument indications with reference values under defined conditions. Resolution is the smallest change that can be meaningfully distinguished by the instrument or display. These properties should inform the selection of equipment and interpretation of small differences.

Units, scales and data structure

Record numerical measurements with units. Temperature differences expressed in degrees Celsius have the same numerical magnitude as differences in kelvin, although absolute temperatures differ by 273.15. Solar irradiance is power per unit area in W/m²; energy accumulated over time may be expressed in Wh/m² or J/m². Confusing power with energy can lead to incorrect calculations. Categorical variables, such as roof treatment type, require consistent labels. Ordinal variables, such as a five-point comfort scale, have ordered categories but not necessarily equal intervals.

A data dictionary should define each variable, its units, permitted values, missing-value conventions and collection method. Assign unique identifiers to buildings and sensors, and record timestamps consistently. Good data structure makes later analysis easier and reduces avoidable mistakes.

Worked example: defining a cooling outcome

A sensor records 30, 31, 32 and 31°C at equally spaced times within a defined interval. The arithmetic mean is (30 + 31 + 32 + 31) ÷ 4 = 31°C. If readings are irregularly spaced, a simple mean may not represent the time average; a suitable time-weighted method may be needed. Define the aggregation procedure and missing-data rule before analysing results.

Practical exercise

Apply your learning

Design a study of whether shade affects soil moisture. Identify the treatment, primary outcome, controlled conditions and recorded covariates.

Suggested response

assigned shade treatment; volumetric soil water content at a specified depth; comparable soil and irrigation; recorded rainfall, air temperature and crop cover. Specify instrument calibration and measurement timing.

Key terminology

Independent variable
assigned or manipulated factor.
Dependent variable
measured outcome.
Controlled variable
condition held comparable.
Covariate
measured characteristic relevant to analysis.
Operational definition
precise measurement or classification procedure.
Calibration
comparison of instrument indications with reference values.
Primary outcome
main prespecified outcome.

Quick knowledge check

What is the dependent variable in a trial investigating the effect of roof treatment on indoor temperature?

Show the answer

Indoor temperature, defined using the study's measurement protocol.