Section 11.2

Estimand and estimator

Definition

An estimand is the quantity that a study sets out to learn: one precisely described number about a population, such as the mean response time §9.32 over all requests. An estimator is the rule, usually a formula, that computes an approximation of the estimand from the data. The number that the rule returns for one data set is called an estimate. The difference that matters: the estimand is fixed by the question before any data exist, while the estimator is a calculation whose result changes from sample to sample.

The idea

Four file transfers are logged on two devices, and a report has to state “the throughput”, the amount of data moved per second. Averaging the four transfer rates gives 650 bytes per second. Averaging the two device averages gives 500. Dividing all bytes by all seconds gives 560. The worked example shows the arithmetic. The three numbers answer three different questions, and until the question is fixed nobody can say which number is right.

The estimand is that question, turned into one exactly defined number. The word is built like multiplicand, the number to be multiplied: the estimand is the quantity to be estimated. In archery terms, the estimand is the center of the target, the estimator is the archer’s technique, and one estimate is the spot where one arrow lands. A technique is judged by where its arrows land on average and by how widely they scatter. The picture stops being accurate in one respect. In a real study nobody can see the center of the target, so the quality of one estimate cannot be seen directly. It has to be argued from the properties of the estimator and from the way the data were collected.

How it works

Step 1: state the estimand. It is complete when it fixes all of the following.

A guideline for clinical trials, adopted in 2019 by the International Council for Harmonisation of Technical Requirements for Pharmaceuticals for Human Use (ICH) and known as ICH E9(R1), describes the estimand as “what is to be estimated” [466]. It requires five things to be specified in advance: the treatment conditions, the population, the variable, the population-level summary, and the handling of events that prevent a measurement or change its meaning.

Step 2: choose the estimator. Pick a calculation whose results center on the estimand. Two properties describe an estimator. Its bias is the gap between the estimand and the average of the estimates over all the samples that the collection procedure could have produced. Its standard error §11.15 is the typical distance between one estimate and that average. For the usual estimators, such as a mean, more independent data make the standard error smaller. More data do not shrink a bias that comes from aiming the calculation at a different estimand.

Step 3: compute the estimate, and report it together with its estimand.

Worked example

Device A completes three transfers. Each moves 800 bytes in 1 second (s), a rate of 800 bytes per second. Device B completes one transfer of 400 bytes in 2 s, a rate of 400/2=200400/2 = 200 bytes per second.

Per-event average. Every transfer counts once: 800+800+800+2004=26004=650 bytes per second.\frac{800 + 800 + 800 + 200}{4} = \frac{2600}{4} = 650 \text{ bytes per second}. This estimates the rate of a transfer picked at random.

Per-device average. Average within each device first, then across devices. Device A averages 800 and device B averages 200, so the result is (800+200)/2=500(800 + 200)/2 = 500 bytes per second. This estimates the rate of a device picked at random. In the result, the single transfer on B counts with weight 1/21/2. The three transfers on A share the other half, so each counts with weight 1/61/6.

Ratio of totals §11.40. Divide all bytes by all seconds: 800+800+800+4001+1+1+2=28005=560 bytes per second.\frac{800 + 800 + 800 + 400}{1 + 1 + 1 + 2} = \frac{2800}{5} = 560 \text{ bytes per second}. This is the number of bytes moved per second of transfer time. It equals an average of the four rates in which each transfer is weighted by its duration: (1×800+1×800+1×800+2×200)/5=2800/5=560(1 \times 800 + 1 \times 800 + 1 \times 800 + 2 \times 200)/5 = 2800/5 = 560.

The same four rows give 650, 500 and 560. If the estimand is the per-device mean, the per-event calculation aims at the wrong target: device A supplies three of the four rows and pulls the result from 500 toward its own rate of 800.

Stated precisely

Let θ\theta (theta) be the estimand, a fixed number. Let θ̂\hat{\theta} (theta-hat) be the estimator, a function of the sample; before the data are collected, its value is uncertain. Write E[θ̂]\mathrm{E}[\hat{\theta}] for the average of θ̂\hat{\theta} over all the samples that the collection procedure can produce, each weighted by its probability. Then bias=E[θ̂]−θ,standard error=E[(θ̂−E[θ̂])2].\text{bias} = \mathrm{E}[\hat{\theta}] - \theta, \qquad \text{standard error} = \sqrt{\mathrm{E}\big[(\hat{\theta} - \mathrm{E}[\hat{\theta}])^2\big]}. The estimator is unbiased for θ\theta when the bias is zero. The average squared distance between estimate and estimand combines both properties: E[(θ̂−θ)2]=bias2+(standard error)2\mathrm{E}[(\hat{\theta} - \theta)^2] = \text{bias}^2 + (\text{standard error})^2. These statements describe the estimator as a procedure. They do not say how far one particular estimate lies from θ\theta, and an unbiased estimator can still return an estimate far from it.

The three targets of the worked example are weighted means of one form. Let event jj on device ii have a numerator aija_{ij}, here bytes, and a denominator tijt_{ij}, here seconds, and let rij=aij/tijr_{ij} = a_{ij}/t_{ij} be its ratio. Let there be kk devices, nin_i events on device ii and nn events in all. Write ∑i,j\sum_{i,j} for the sum over all events of all devices, ∑i\sum_{i} for the sum over the devices and ∑j\sum_{j} for the sum over the events of one device. per-event mean=1n∑i,jrij,per-device mean=1k∑i1ni∑jrij,ratio of totals=∑i,jaij∑i,jtij=∑i,jtijTrij,where T=∑i,jtij.\begin{aligned} \text{per-event mean} &= \frac{1}{n} \sum_{i,j} r_{ij}, \\ \text{per-device mean} &= \frac{1}{k} \sum_{i} \frac{1}{n_i} \sum_{j} r_{ij}, \\ \text{ratio of totals} &= \frac{\sum_{i,j} a_{ij}}{\sum_{i,j} t_{ij}} = \sum_{i,j} \frac{t_{ij}}{T}\, r_{ij}, \quad \text{where } T = \sum_{i,j} t_{ij}. \end{aligned} Applied to every event in the population, each formula defines an estimand. Applied to the sample, the same formula is the usual estimator of that estimand. The three agree when every device has the same number of events and every event has the same denominator. Otherwise they generally differ.

Limits and common mistakes

A confidence interval §11.18, a range computed from the data to express the uncertainty of an estimate, describes uncertainty about a stated estimand. It cannot repair an estimand that was never stated.

Dropping failed or timed-out requests changes the estimand from all requests to the requests that succeeded. That is a different population.

The estimand comes from the question and is fixed before the data are examined. It is not chosen afterwards by which calculation gives the preferred number.

Summaries cannot be freely reordered. A ratio of two means is generally not the mean of the ratios, and the median of differences is generally not the difference of two medians. The entry on ratio of aggregates versus aggregate of ratios works through the first case.

Two numbers can be compared only if they estimate the same estimand.

Questions answered

Is the target a per-event average, per-device average, or ratio of totals?

The target has to be exactly one of the three, chosen and written down before the analysis, because they are three different quantities that usually have different values. The question being asked decides which one.

Take three transfers of 800 bytes that last 1 second each on one device, and one transfer of 400 bytes that lasts 2 seconds on another device. The per-event average is 650 bytes per second, the per-device average is 500, and the ratio of totals is 560.

Related entries: Ratio of aggregates versus aggregate of ratios (§11.40), Missing data and attrition (§11.29), Survivorship bias (§11.30), Population and sample (§11.1), Standard error (§11.15). Further reading: [466].