Definition
An observational unit is the smallest thing on which one value is measured and recorded, such as one request, one file transfer or one start-up. Each observational unit supplies one row of the data. It is defined by the act of measuring. An experimental unit §11.3, by contrast, is defined by the act of applying a condition: it is the smallest thing that receives one of the compared conditions as a whole. One experimental unit often contains many observational units, so the rows can far outnumber the separately treated things.
Where it fits
Main entry: Experimental unit (§11.3).
The experimental unit entry explains why the two counts play different roles. The number of experimental units limits what can be concluded about a difference between conditions. The number of observational units inside an experimental unit determines how exactly that one unit is known. The two kinds of unit coincide when one value is recorded per treated unit. More often an experimental unit contains several observational units, as when a board receives one software version and then logs 10,000 requests. A value recorded across several experimental units that received different conditions cannot be credited to any one condition.
Data are usually nested in more than two levels, and every level needs its own count. Take a measurement campaign, meaning one complete planned series of runs, with 3 boots. A boot is one run of a device from start-up to the next restart. In each boot the device opens 2 links, a link being one connection to another device. Over each link it receives 5 software updates, and it records 10 events, such as handled requests, per update. The counts multiply: links, updates and events. The event is the observational unit, and there are 300: 100 in each boot, 50 on each link and 10 for each update.
The 300 rows are not 300 independent pieces of evidence, because rows from the same boot or link share its circumstances. Every row should therefore carry the identifiers of its update, link and boot. Without them the rows cannot be grouped later, and a correct uncertainty calculation needs the grouping.
Questions answered
How many observations belong to each boot, link, or campaign?
The number is found by grouping the rows by their boot, link and campaign identifiers, and it has to be reported for each level separately, because it differs from level to level. A boot is one run of a device from start-up to the next restart, a link is one connection between two devices, and a campaign is one complete planned series of runs. In a campaign of 3 boots with 2 links per boot, 5 updates per link and 10 recorded events per update, 300 observations belong to the campaign, 100 to each boot and 50 to each link.
Count every planned observation, including those that failed or returned no value; otherwise the counts describe only the successes. The counts matter in two ways. Unequal group sizes give large groups more weight in any average over rows. And rows that share a boot or a link share its circumstances, so an uncertainty calculation has to keep them together.
Related entries: Experimental unit (§11.3), Estimand and estimator (§11.2), Pseudoreplication (§11.6), Cluster bootstrap (§11.21).