← Back to the lesson

Probability & Statistics 1 (9709) · Measures of variation · Quick revision

Range, quartiles and raw-data variance

Use centre and spread together. Keep quartile positions and squared deviations distinct.

Range and quartiles describe different spans

range=xmax⁡−xmin⁡,IQR=Q3−Q1.\text{range}=x_{\max}-x_{\min},\qquad \mathrm{IQR}=Q_3-Q_1.

Order all records and retain repeats. Quartiles are medians of the two halves. For odd nn, exclude only the single overall middle record. For even nn, keep all records in equal halves. Follow any different rule in the question.

Range uses extremes. An extreme can move while the quartiles and IQR stay fixed.

Variance averages squared deviations

V=∑(x−xˉ)2n,σ=V,n>0.V=\frac{\sum(x-\bar{x})^2}{n},\qquad \sigma=\sqrt{V},\qquad n>0.

Use the full count nn for these descriptive summaries. Variance has squared units; SD uses the original units. Signed deviations sum to zero at the mean, even when spread is positive. Variance and SD are zero exactly when every observation is equal.

Moment totals give the same spread

T=∑x,Q=∑x2,xˉ=Tn,V=Qn−xˉ 2.T=\sum x,\quad Q=\sum x^2,\quad \bar{x}=\frac{T}{n},\quad V=\frac{Q}{n}-\bar{x}^{\,2}.∑(x−xˉ)2=Q−T2n≥0.\sum(x-\bar{x})^2=Q-\frac{T^2}{n}\ge0.

The centred sum is a total: divide by nn before taking the square root for SD. Do not confuse ∑x2\sum x^2 with (∑x)2(\sum x)^2. An exact negative variance means an arithmetic error or inconsistent information. Keep full precision until the final answer.

The mean minimises squared distance

∑(x−a)2=nV+n(a−xˉ)2.\sum(x-a)^2=nV+n(a-\bar{x})^2.

The minimum total is nVnV, only at a=xˉa=\bar{x}, and is positive for unequal observations. Moving the reference leaves the data and variance fixed. Averaging squared distances about any other reference does not give variance.

Compare centre and spread with units and context. Equal means or equal IQRs do not prove identical distributions. Limit conclusions to the evidence supplied.