Population: \(U_1, U_2, \ldots, U_N\); values \(Y_1, Y_2, \ldots, Y_N\). Sample of size \(n\) observes \(y_1, y_2, \ldots, y_n\).
Note: \(\sigma^2 = \dfrac{N - 1}{N} S^2\).
At each draw, every unit has equal probability \(1/N\) of selection. Selected unit is replaced before next draw, so the same unit can appear multiple times.
Probability of any particular sample of size \(n\): \(1/N^n\).
Each unit can be selected at most once. Probability of any particular ordered sample is \(\dfrac{1}{N(N-1)\cdots(N-n+1)}\). Probability of any particular unordered sample of size \(n\) is \(\dfrac{1}{\binom{N}{n}}\).
| SRSWR | SRSWOR | |
|---|---|---|
| P(any unit drawn at draw r) | 1/N | 1/N |
| P(unit included in sample of size n) | 1 − (1 − 1/N)n | n/N |
| P(any specific sample) | 1/Nn | 1 / C(N, n) |
In SRSWOR the draws are dependent, but identically distributed.
In SRSWR the draws are both independent and identically distributed: the unit is replaced, so every draw starts from the same population.
| SRSWOR | SRSWR | |
|---|---|---|
| Selected unit replaced? | No | Yes, before the next draw |
| Draws | dependent, identically distributed | independent and identically distributed |
| Number of possible samples | \(\binom{N}{n}\) (unordered) | \(N^n\) (ordered) |
| Probability of one sample | \(1/\binom{N}{n}\) | \(1/N^n\) |
| \(P(\text{unit } i \text{ at draw } r)\) | \(1/N\) (\(1/(N-r+1)\) given it is not yet drawn) | \(1/N\) |
| \(\bar y\) | unbiased for \(\bar Y\) | unbiased for \(\bar Y\) |
| \(s^2\) | unbiased for \(S^2\) | unbiased for \(\sigma^2\) |
| \(\text{Var}(\bar y)\) | \(\dfrac{N-n}{N}\cdot\dfrac{S^2}{n}\) | \(\dfrac{N-1}{N}\cdot\dfrac{S^2}{n} = \dfrac{\sigma^2}{n}\) |
Merits. (1) Personal bias is eliminated: every unit has the same chance, so the sample is more representative than a judgement sample. (2) The theory is complete: \(\bar y\) is unbiased, and its variance and standard error can be estimated from the sample itself.
Limitations. (1) It needs an up-to-date frame (a list of every unit), which often does not exist. (2) If the selected units are scattered, collecting the data is costly and slow. (3) By chance, some groups can be over-represented and others missed altogether (a middle-income group, say). (4) For the same precision it usually needs a larger sample than stratified sampling (Unit 3).
Other practical methods: pseudo-random numbers from calculators or computers, systematic random selection.
From 50 students, draw a sample of 5. Number them 1–50, write on chits, draw 5 chits without replacement.
For \(N = 200\) (3-digit numbers 001–200): from random number table read 145, 287 (skip), 092, 388 (skip), 050, 156, 173. Sample = {145, 92, 50, 156, 173}.
A random number table is a long list of digits in which each of \(0, 1, \ldots, 9\) occurs with the same frequency, independently of the others. For \(N \le 99\) the digits are read in pairs (00–99), for \(N \le 999\) in threes, and so on; a number above \(N\) (or 00, 000) is skipped, and in SRSWOR so is a repeat. The classical tables are:
Properties:
\[ E(\bar y) = \bar Y, \qquad \text{Var}(\bar y) = \dfrac{\sigma^2}{n}. \](Sample mean is unbiased; variance ignores \(N\) because units are independent.)
The factor \((N - n)/N\) is the finite population correction (FPC).
So \(s^2\) is unbiased for \(S^2\).
\(\text{SE}(\bar y) = \sqrt{\text{Var}(\bar y)}\).
Population values \(Y_1, Y_2, \dots, Y_N\), with mean \(\bar Y_N = \dfrac{1}{N}\sum_{i=1}^{N} Y_i\), population mean square \(S^2 = \dfrac{1}{N-1}\sum_{i=1}^{N}(Y_i - \bar Y_N)^2 = \dfrac{1}{N-1}\Big[\sum_{i=1}^{N} Y_i^2 - N\bar Y_N^2\Big]\) and population variance \(\sigma^2 = \dfrac{1}{N}\sum_{i=1}^{N}(Y_i - \bar Y_N)^2\), so that \((N-1)S^2 = N\sigma^2 = \sum_{i=1}^{N}(Y_i - \bar Y_N)^2\). Sample values \(y_1, \dots, y_n\), with \(\bar y_n = \dfrac1n\sum_{i=1}^{n} y_i\) and \(s^2 = \dfrac{1}{n-1}\sum_{i=1}^{n}(y_i - \bar y_n)^2\). For each population unit,
\[ a_i = \begin{cases} 1, & \text{if the } i\text{th unit is included in the sample},\\ 0, & \text{if the } i\text{th unit is not included in the sample},\end{cases} \qquad \bar y_n = \frac{1}{n}\sum_{i=1}^{N} a_i\, Y_i . \]In simple random sampling without replacement, the sample mean is an unbiased estimator of the population mean.
Proof.
\[ E(\bar y_n) = E\Big[\frac{1}{n}\sum_{i=1}^{N} a_i Y_i\Big] = \frac{1}{n}\sum_{i=1}^{N} E(a_i)\,Y_i . \qquad \ldots(1) \]\(a_i\) takes the values 1 and 0, so
\[ \begin{aligned} E(a_i) &= 1 \cdot P(a_i = 1) + 0 \cdot P(a_i = 0) \\ &= 1 \cdot P(i\text{th unit is included in the sample of size } n) \\ &\quad + 0 \cdot P(i\text{th unit is not included}) \\ &= 1 \cdot \frac{n}{N} + 0 \cdot \Big(1 - \frac{n}{N}\Big) = \frac{n}{N} . \qquad \ldots(2) \end{aligned} \](Unit \(i\) lies in \(\binom{N-1}{n-1}\) of the \(\binom{N}{n}\) equally likely samples, and \(\binom{N-1}{n-1}/\binom{N}{n} = n/N\).) Substituting (2) in (1),
\[ E(\bar y_n) = \frac{1}{n}\sum_{i=1}^{N}\frac{n}{N}Y_i = \frac{1}{N}\sum_{i=1}^{N} Y_i = \bar Y_N . \;\square \]In SRSWOR, the sample mean square is an unbiased estimator of the population mean square.
Proof.
\[ \begin{aligned} s^2 &= \frac{1}{n-1}\Big[\sum_{i=1}^{n} y_i^2 - n\bar y_n^2\Big] = \frac{1}{n-1}\Big[\sum_{i=1}^{n} y_i^2 - \frac1n\Big(\sum_{i=1}^{n} y_i\Big)^2\Big] \qquad \ldots(1) \\ &= \frac{1}{n-1}\Big[\sum_{i=1}^{n} y_i^2 - \frac1n\Big(\sum_{i=1}^{n} y_i^2 + \sum_{i \ne j} y_iy_j\Big)\Big] \\ &= \frac{1}{n-1}\Big[\Big(1 - \frac1n\Big)\sum_{i=1}^{n} y_i^2 - \frac1n\sum_{i \ne j} y_iy_j\Big] \\ s^2 &= \frac1n\sum_{i=1}^{n} y_i^2 - \frac{1}{n(n-1)}\sum_{i \ne j} y_iy_j . \qquad \ldots(2) \end{aligned} \]Therefore
\[ E(s^2) = \frac1n E\Big(\sum_{i=1}^{n} y_i^2\Big) - \frac{1}{n(n-1)}E\Big[\sum_{i \ne j} y_iy_j\Big] . \qquad \ldots(3) \]Now \(\sum_{i=1}^{n} y_i^2 = \sum_{i=1}^{N} a_iY_i^2\), so
\[ E\Big(\sum_{i=1}^{n} y_i^2\Big) = \sum_{i=1}^{N} E(a_i)\,Y_i^2 = \sum_{i=1}^{N}\frac nN Y_i^2 = \frac nN\sum_{i=1}^{N} Y_i^2 , \qquad \ldots(4) \] \[ E\Big[\sum_{i \ne j} y_iy_j\Big] = E\Big[\sum_{i \ne j} a_ia_jY_iY_j\Big] = \sum_{i \ne j} E(a_ia_j)\,Y_iY_j . \qquad \ldots(5) \]For \(i \ne j\),
\[ \begin{aligned} E(a_ia_j) &= 1 \cdot P(a_ia_j = 1) + 0 \cdot P(a_ia_j = 0) = P(a_i = 1 \cap a_j = 1) \\ &= P(a_i = 1)\,P(a_j = 1 \mid a_i = 1) \\ &= P(i\text{th unit is included}) \\ &\quad \times P(j\text{th unit is included, given the } i\text{th already is}) \\ &= \frac nN \cdot \frac{n-1}{N-1} . \qquad \ldots(6) \end{aligned} \]So from (5), \(E\big[\sum_{i \ne j} y_iy_j\big] = \dfrac{n(n-1)}{N(N-1)}\sum_{i \ne j} Y_iY_j\) …(7). Substituting (4) and (7) in (3),
\[ \begin{aligned} E(s^2) &= \frac1n\cdot\frac nN\sum_{i=1}^{N} Y_i^2 - \frac{1}{n(n-1)}\cdot\frac{n(n-1)}{N(N-1)}\sum_{i \ne j} Y_iY_j \\ &= \frac1N\sum_{i=1}^{N} Y_i^2 - \frac{1}{N(N-1)}\sum_{i \ne j} Y_iY_j . \end{aligned} \]Compare with (2) and (1) for the sample: this is the same expression with capital letters and \(N\) in place of \(n\), so it equals \(\dfrac{1}{N-1}\Big[\sum_{i=1}^{N} Y_i^2 - N\bar Y_N^2\Big] = S^2\). Hence \(E(s^2) = S^2\). \(\square\)
Proof. \(\text{Var}(\bar y_n) = E(\bar y_n^2) - [E(\bar y_n)]^2 = E(\bar y_n^2) - \bar Y_N^2\) …(1). Now
\[ \begin{gathered} \begin{aligned} E(\bar y_n^2) &= \frac{1}{n^2}E\Big[\sum_{i=1}^{n} y_i\Big]^2 = \frac{1}{n^2}E\Big[\sum_{i=1}^{n} y_i^2 + \sum_{i \ne j} y_iy_j\Big] \\ &= \frac{1}{n^2}\Big[E\Big(\sum_{i=1}^{n} y_i^2\Big) + E\Big(\sum_{i \ne j} y_iy_j\Big)\Big] . \end{aligned} \qquad \ldots(2) \end{gathered} \]From Theorem 2, \(E\big(\sum y_i^2\big) = \dfrac nN\sum_{i=1}^{N} Y_i^2\) …(3) and \(E\big(\sum_{i \ne j} y_iy_j\big) = \dfrac{n(n-1)}{N(N-1)}\sum_{i \ne j} Y_iY_j\) …(4). From the definition of \(S^2\), \((N-1)S^2 = \sum Y_i^2 - N\bar Y_N^2\), so \(\sum_{i=1}^{N} Y_i^2 = (N-1)S^2 + N\bar Y_N^2\) …(5). Then (3) gives
\[ E\Big(\sum_{i=1}^{n} y_i^2\Big) = \frac nN\big[(N-1)S^2 + N\bar Y_N^2\big] = n\Big[\frac{N-1}{N}S^2 + \bar Y_N^2\Big] , \qquad \ldots(6) \]and (4), with \(\sum_{i \ne j} Y_iY_j = \big(\sum Y_i\big)^2 - \sum Y_i^2\), gives
\[ \begin{aligned} E\Big(\sum_{i \ne j} y_iy_j\Big) &= \frac{n(n-1)}{N(N-1)}\Big[\Big(\sum_{i=1}^{N} Y_i\Big)^2 - \sum_{i=1}^{N} Y_i^2\Big] \\ &= \frac{n(n-1)}{N(N-1)}\big[(N\bar Y_N)^2 - \big((N-1)S^2 + N\bar Y_N^2\big)\big] \\ &= \frac{n(n-1)}{N(N-1)}\big[N(N-1)\bar Y_N^2 - (N-1)S^2\big] \\ &= n(n-1)\Big[\bar Y_N^2 - \frac{S^2}{N}\Big] . \qquad \ldots(7) \end{aligned} \]Substituting (6) and (7) in (2),
\[ \begin{aligned} E(\bar y_n^2) &= \frac{1}{n^2}\Big\{n\Big[\frac{N-1}{N}S^2 + \bar Y_N^2\Big] + n(n-1)\Big[\bar Y_N^2 - \frac{S^2}{N}\Big]\Big\} \\ &= \frac1n\Big\{\frac{N-1}{N}S^2 + \bar Y_N^2 + (n-1)\bar Y_N^2 - (n-1)\frac{S^2}{N}\Big\} \\ &= \frac1n\Big\{\frac{N-1-n+1}{N}S^2 + (1 + n - 1)\bar Y_N^2\Big\} = \frac1n\Big\{\frac{N-n}{N}S^2 + n\bar Y_N^2\Big\} \\ &= \frac{N-n}{N}\cdot\frac{S^2}{n} + \bar Y_N^2 . \qquad \ldots(8) \end{aligned} \]Substituting (8) in (1),
\[ \text{Var}(\bar y_n) = \frac{N-n}{N}\cdot\frac{S^2}{n} + \bar Y_N^2 - \bar Y_N^2 = \frac{N-n}{N}\cdot\frac{S^2}{n} . \;\square \]Hence \(\text{S.E.}(\bar y_n) = \sqrt{\dfrac{N-n}{N}}\,\dfrac{S}{\sqrt n}\); when \(S^2\) is unknown it is estimated by \(s^2\) (Theorem 2), giving the estimate \(\sqrt{\dfrac{N-n}{N}}\,\dfrac{s}{\sqrt n}\). The sampling fraction is \(f = n/N\) and the finite population correction is \(1 - f\); if the population is very large, \(f \to 0\) and the f.p.c. \(\to 1\).
For \(N = 6\), \(Y = 4, 6, 8, 10, 12, 14\), \(n = 2\): \(\bar Y = 9\), \(S^2 = 14\). Averaging \(\bar y\) over all \(\binom{6}{2} = 15\) samples gives \(E(\bar y) = 9 = \bar Y\) (Theorem 1), and the variance of those 15 sample means is \(14/3 = 4.67\), exactly \(\dfrac{N-n}{N\,n}S^2 = \dfrac{4}{12}\cdot 14 = \dfrac{14}{3}\) (Theorem 3).
1. \(E(\bar y_n) = \bar Y_N\). The units \(y_1, \ldots, y_n\) are drawn from \(Y_1, \ldots, Y_N\) with probability \(1/N\) at every draw, so
\[ E(y_i) = \sum_{i=1}^{N} Y_i\,P(Y_i) = \sum_{i=1}^{N} Y_i\cdot\frac1N = \bar Y_N \quad \text{for every } i \qquad \ldots(1) \](the \(y_i\) are identically distributed and independent), and
\[ E(\bar y_n) = E\Big[\frac1n\sum_{i=1}^{n} y_i\Big] = \frac1n\sum_{i=1}^{n} E(y_i) = \frac1n\sum_{i=1}^{n}\bar Y_N = \frac1n\cdot n\bar Y_N = \bar Y_N . \]2. \(\text{Var}(\bar y_n) = \dfrac{N-1}{N}\cdot\dfrac{S^2}{n}\) or \(\dfrac{\sigma^2}{n}\). The \(y_i\) are independent and identically distributed with \(\text{Var}(y_i) = \sigma^2\), so
\[ \begin{aligned} \text{Var}(\bar y_n) &= \text{Var}\Big(\frac1n\sum_{i=1}^{n} y_i\Big) = \frac{1}{n^2}\sum_{i=1}^{n}\text{Var}(y_i) = \frac{1}{n^2}\sum_{i=1}^{n}\sigma^2 = \frac{n\sigma^2}{n^2} = \frac{\sigma^2}{n} \\ &= \frac{N-1}{N}\cdot\frac{S^2}{n} , \end{aligned} \]the covariance terms vanishing because the draws are independent, and the last step using \((N-1)S^2 = N\sigma^2\).
3. \(E(s^2) = \sigma^2\). In SRSWR, \(E(y_i) = \bar Y_N\), \(\text{Var}(y_i) = \sigma^2\) for all \(i\), and \(E(\bar y_n) = \bar Y_N\), \(\text{Var}(\bar y_n) = \sigma^2/n\) …(1). Now
\[ E(s^2) = E\Big[\frac{1}{n-1}\Big(\sum_{i=1}^{n} y_i^2 - n\bar y_n^2\Big)\Big] = \frac{1}{n-1}\Big[\sum_{i=1}^{n} E(y_i^2) - nE(\bar y_n^2)\Big] . \qquad \ldots(2) \]Since \(\text{Var}(y_i) = E(y_i^2) - [E(y_i)]^2\), \(E(y_i^2) = \sigma^2 + \bar Y_N^2\) …(3); and \(E(\bar y_n^2) = \text{Var}(\bar y_n) + [E(\bar y_n)]^2 = \dfrac{\sigma^2}{n} + \bar Y_N^2\) …(4). Substituting (3) and (4) in (2),
\[ \begin{aligned} E(s^2) &= \frac{1}{n-1}\Big[\sum_{i=1}^{n}(\sigma^2 + \bar Y_N^2) - n\Big(\frac{\sigma^2}{n} + \bar Y_N^2\Big)\Big] = \frac{1}{n-1}\big[n\sigma^2 + n\bar Y_N^2 - \sigma^2 - n\bar Y_N^2\big] \\ &= \frac{1}{n-1}\big[(n-1)\sigma^2\big] = \sigma^2 . \end{aligned} \]We know \(\text{Var}(\bar y_n) = \dfrac{N-n}{N}\cdot\dfrac{S^2}{n}\) in SRSWOR and \(\text{Var}(\bar y_n) = \dfrac{N-1}{N}\cdot\dfrac{S^2}{n}\) in SRSWR. For \(n > 1\), \(N - n < N - 1\), so \(\text{Var}_{WOR}(\bar y) < \text{Var}_{WR}(\bar y)\): SRSWOR is more efficient than SRSWR. (At \(n = 1\) the two schemes are the same.)
So when \(n/N\) is large (high sampling fraction), SRSWOR is markedly better.
\(N = 6\) units with values \(Y = 4, 6, 8, 10, 12, 14\). \(\bar Y = 9\); deviations \(\pm5, \pm3, \pm1\), so \(\sum(Y_i - \bar Y)^2 = 25 + 9 + 1 + 1 + 9 + 25 = 70\). Hence \(\sigma^2 = 70/6 = 11.67,\; S^2 = 70/5 = 14\).
SRSWR with \(n = 2\): \(\text{Var}(\bar y) = 11.67/2 = 5.83\). SRSWOR with \(n = 2\): \((6-2)/(6 \cdot 2) \cdot 14 = (4/12) \cdot 14 = 4.67\). WOR is more precise.
\(N = 100\) farms, sample of 10 yields \(\bar y = 250\) kg. \(\hat Y = 100 \cdot 250 = 25\,000\) kg. If sample SD = 30, \(\text{SE}(\bar y) = \sqrt{(90/100)(30^2/10)} = \sqrt{81} = 9\); SE(total) = 100 × 9 = 900 kg.
\(E(s^2) = S^2\) in SRSWOR is Theorem 2, and \(E(s^2) = \sigma^2\) in SRSWR is Result 3 of SRSWR, both in §4.7.
Since \((N-1)S^2 = N\sigma^2\): in SRSWOR \(E(s^2) = S^2 = \frac{N}{N-1}\sigma^2\), so \(\hat\sigma^2 = \frac{N-1}{N}s^2\); in SRSWR \(\hat\sigma^2 = s^2\). The estimators of the mean (\(\bar y\)), the total (\(N\bar y\)) and the proportion (\(p\)) are the same under both schemes; only their variances, and the estimator of \(\sigma^2\), differ.
When is SRSWOR better? \(\text{Var}_{WOR}/\text{Var}_{WR} = (N-n)/(N-1)\), which is below 1 exactly when \(n > 1\); at \(n = 1\) the two schemes are the same thing.
To estimate the mean within a margin \(d\) with confidence \((1-\alpha)\):
For finite populations (apply FPC):
\[ n \;=\; \dfrac{n_0}{1 + n_0/N}, \quad n_0 = (z_{\alpha/2}\sigma/d)^2. \]For estimating a proportion within margin \(d\):
Take \(p = 0.5\) for the most conservative (largest) sample size.
Estimate population mean with σ ≈ 10 to within ±2 at 95 %: \(n_0 = (1.96 \cdot 10/2)^2 = 96.04\), rounded up to 97. With \(N = 1000\) the correction is applied to the unrounded \(n_0\): \(n = 96.04/(1 + 96.04/1000) = 87.6\), rounded up to 88 — a sample size is always rounded up, or the precision asked for is not met.
Estimate proportion to within ±0.05 at 95 %: \(n = 1.96^2 \cdot 0.25/0.0025 = 384.16\) ⇒ 385.
Ask that \(\bar y\) fall within \(d\) of \(\bar Y\) with probability \(1-\alpha\): \(P(|\bar y - \bar Y| \ge d) = \alpha\). For large \(n\), \(\bar y\) is approximately normal with standard error \(S\sqrt{1/n - 1/N}\), so
\[ d = z_{\alpha/2}\,S\sqrt{\frac1n - \frac1N} \;\Longrightarrow\; \frac1n = \frac{d^2}{z_{\alpha/2}^2S^2} + \frac1N \;\Longrightarrow\; n = \frac{N z_{\alpha/2}^2 S^2}{N d^2 + z_{\alpha/2}^2S^2} . \]Dividing through by \(Nd^2\) gives the form above, \(n = n_0/(1 + n_0/N)\) with \(n_0 = z_{\alpha/2}^2S^2/d^2\). At 95%, \(z^2 = 1.96^2 = 3.8416\), often rounded to 3.84.
For small \(n\), 1.96 is replaced by \(t_\alpha\) on \(n-1\) degrees of freedom. The \(t\) statistic \((\bar y - \bar Y)/\big(s\sqrt{1/n - 1/N}\big)\) has the sample \(s\) in its denominator (with the known \(S\) it is normal), and the \(t\) distribution needs a normal population. In practice \(S\) is replaced by \(s\) from a pilot survey, \(n = t_\alpha^2 s^2/(d^2 + t_\alpha^2 s^2/N)\); and since \(t_\alpha\) itself depends on \(n\), the formula is solved by trial: guess \(n\), look up \(t_\alpha\), recompute \(n\), and repeat until it settles.
Suppose \(M\) of the \(N\) population units possess an attribute (so population proportion \(P = M/N\)). Let \(m\) be the count in the sample and \(\hat p = m/n\).
where \(Q = 1 - P\).
Estimator of variance: \(\widehat{\text{Var}}(\hat p) = \dfrac{N - n}{N\, n}\cdot \dfrac{n \hat p \hat q}{n - 1} = \dfrac{(N - n)\hat p \hat q}{N(n - 1)}\).
From a population of 500 voters, an SRSWOR of 50 yields 30 in favour. \(\hat p = 0.6\). \(\widehat{\text{Var}} = (450/500)(0.6 \cdot 0.4/49) = 0.00441\). SE = 0.0664.
If \(N = 10\,000, n = 100, m = 18\): \(\hat p = 0.18\). With FPC ≈ 1, \(\widehat{\text{Var}} \approx 0.18(0.82)/99 = 0.00149\); SE = 0.0386.
Classify the units into \(A\) (possessing the attribute) and \(\alpha\) (not), and put \(Y_i = 1\) for \(A\), \(0\) for \(\alpha\). Then \(\sum Y_i = X\), the number in \(A\), and \(\bar Y = X/N = P\); likewise \(\bar y = x/n = p\). Because \(Y_i^2 = Y_i\),
\[ S^2 = \frac{1}{N-1}\Big[\sum Y_i^2 - N\bar Y^2\Big] = \frac{NP - NP^2}{N-1} = \frac{NPQ}{N-1}, \qquad s^2 = \frac{npq}{n-1} . \]So \(E(p) = P\) (under both schemes), \(Np\) is unbiased for the number \(X\), and \(\text{Var}_{WOR}(p) = \frac{N-n}{N}\cdot\frac{S^2}{n} = \frac{N-n}{N-1}\cdot\frac{PQ}{n}\).
When an auxiliary variable \(X\), correlated with the study variable \(Y\) and with known population mean \(\bar X\), is available, estimation can be sharpened using the ratio and regression methods.
The ratio estimator of the population mean is
It is (slightly) biased but often far more precise than \(\bar y\) when \(Y\) is roughly proportional to \(X\) (the regression line passes near the origin). Its approximate variance is
The ratio estimator beats the mean-per-unit estimator when the correlation \(\rho > \tfrac12\,(C_x/C_y)\) (ratio of coefficients of variation).
A sample of 5 gives \(y = 9,11,14,8,13\) and \(x = 10,12,15,9,14\), with known \(\bar X = 12.5\). Then \(\bar y = 11,\ \bar x = 12\), so \(\hat R = 11/12 = 0.917\) and \(\hat{\bar Y}_R = 0.917\times12.5 = 11.46\).
The linear regression estimator corrects \(\bar y\) using the deviation of the sample auxiliary mean from its known population value:
Its approximate variance is \(\text{Var}(\hat{\bar Y}_{lr}) \approx \dfrac{N-n}{Nn}\,S_y^2(1-\rho^2)\), so it is never worse than the mean-per-unit estimator and is at least as efficient as the ratio estimator. The ratio estimator is the special case \(b = \hat R\) (line through the origin).
For the data above, \(b = \dfrac{\sum(x-\bar x)(y-\bar y)}{\sum(x-\bar x)^2} = 1.0\), so \(\hat{\bar Y}_{lr} = 11 + 1.0\,(12.5 - 12) = 11.5\).
| Quantity | SRSWR | SRSWOR |
|---|---|---|
| \(E(\bar y)\) | \(\bar Y\) | \(\bar Y\) |
| \(\text{Var}(\bar y)\) | \(\sigma^2/n\) | \((N-n)S^2/(Nn)\) |
| \(E(s^2)\) | \(\sigma^2\) | \(S^2\) |
| \(\text{Var}(\hat p)\) | \(PQ/n\) | \((N-n)PQ/[(N-1)n]\) |
Three problems: a sample drawn from a table of random numbers, and two small populations in which every possible sample is listed, so that unbiasedness and the variance formulas can be seen to hold exactly rather than taken on trust. Every figure is computed exactly, as a fraction, by listing all the samples. Exercises follow, with answers.
Draw a random sample of size 8 from a population of 600 units without replacement.
Number the units 001 to 600. Since \(N\) has three digits, read the random number table in groups of three, skipping any number above 600 (and 000) and, because sampling is without replacement, any number already drawn. Take these 30 four-digit random numbers:
| 1824 | 0409 | 4506 | 4012 | 3657 | 2286 |
| 1679 | 8935 | 1424 | 9674 | 6912 | 0520 |
| 0488 | 1535 | 3582 | 3811 | 8279 | 9863 |
| 0434 | 9195 | 3257 | 8928 | 6873 | 3611 |
| 7359 | 9654 | 4557 | 0106 | 2615 | 6924 |
Run the digits together row by row and cut them into threes: 182, 404, 094, 506, 401, 236, 572, 286. The sample is
182, 404, 94, 506, 401, 236, 572, 286.
Any starting point and any direction (rows, columns, diagonals) is allowed, provided it is fixed before the numbers are read.
A population has the 5 values 2, 4, 5, 9, 10. Write all samples of size 2 drawn without replacement, and verify that (i) \(\bar y\) is unbiased for \(\bar Y\); (ii) the variance of the sample means equals the formula for \(\text{Var}(\bar y)\); (iii) \(\text{Var}_{WOR}(\bar y) < \text{Var}_{WR}(\bar y)\); (iv) \(s^2\) is unbiased for \(S^2\).
Population constants. \(\sum Y_i = 30\), \(\sum Y_i^2 = 4 + 16 + 25 + 81 + 100 = 226\), so
\[ \bar Y = \frac{30}{5} = 6, \qquad S^2 = \frac{226 - 5(6^2)}{4} = 11.5, \qquad \sigma^2 = \frac{226}{5} - 6^2 = 9.2 . \]All \(\binom52 = 10\) samples:
| Sample | Values | \(\bar y\) | \(s^2\) | \((\bar y - \bar Y)^2\) |
|---|---|---|---|---|
| 1 | (2, 4) | 3 | 2 | 9 |
| 2 | (2, 5) | 3.5 | 4.5 | 6.25 |
| 3 | (2, 9) | 5.5 | 24.5 | 0.25 |
| 4 | (2, 10) | 6 | 32 | 0 |
| 5 | (4, 5) | 4.5 | 0.5 | 2.25 |
| 6 | (4, 9) | 6.5 | 12.5 | 0.25 |
| 7 | (4, 10) | 7 | 18 | 1 |
| 8 | (5, 9) | 7 | 8 | 1 |
| 9 | (5, 10) | 7.5 | 12.5 | 2.25 |
| 10 | (9, 10) | 9.5 | 0.5 | 12.25 |
| Total | 60 | 115 | 34.5 |
(i) \(E(\bar y) = 60/10 = 6 = \bar Y\).
(ii) The variance of the 10 sample means is \(34.5/10 = 3.45\); the formula gives \(\dfrac{N-n}{N}\cdot\dfrac{S^2}{n} = \dfrac35\cdot\dfrac{11.5}{2} = 3.45\).
(iii) \(\text{Var}_{WR}(\bar y) = \dfrac{N-1}{N}\cdot\dfrac{S^2}{n} = \dfrac45\cdot\dfrac{11.5}{2} = 4.6 > 3.45\). (Listing all 25 ordered with-replacement samples gives exactly 4.6 too.) The ratio is \(4.6/3.45 = 4/3 = (N-1)/(N-n)\).
(iv) \(E(s^2) = 115/10 = 11.5 = S^2\).
A population has the values 1, 4, 7. Considering all samples of size 2 drawn with replacement, verify that (i) \(\bar y\) is unbiased for \(\bar Y\); (ii) \(s^2\) is unbiased for \(\sigma^2\); (iii) the variance of the sample means equals \(\text{Var}(\bar y)\).
\(\sum Y_i = 12\), \(\sum Y_i^2 = 66\), \(N = 3\):
\[ \bar Y = 4, \qquad \sigma^2 = \frac{66}{3} - 4^2 = 6, \qquad S^2 = \frac{66 - 3(4)^2}{2} = 9 . \]With replacement there are \(N^n = 3^2 = 9\) ordered samples:
| Sample | Values | \(\bar y\) | \(s^2\) | \((\bar y - \bar Y)^2\) |
|---|---|---|---|---|
| 1 | (1, 1) | 1 | 0 | 9 |
| 2 | (1, 4) | 2.5 | 4.5 | 2.25 |
| 3 | (1, 7) | 4 | 18 | 0 |
| 4 | (4, 1) | 2.5 | 4.5 | 2.25 |
| 5 | (4, 4) | 4 | 0 | 0 |
| 6 | (4, 7) | 5.5 | 4.5 | 2.25 |
| 7 | (7, 1) | 4 | 18 | 0 |
| 8 | (7, 4) | 5.5 | 4.5 | 2.25 |
| 9 | (7, 7) | 7 | 0 | 9 |
| Total | 36 | 54 | 27 |
(i) \(E(\bar y) = 36/9 = 4 = \bar Y\). (ii) \(E(s^2) = 54/9 = 6 = \sigma^2\). (iii) The variance of the sample means is \(27/9 = 3\), and \(\text{Var}(\bar y) = \dfrac{\sigma^2}{n} = \dfrac{6}{2} = 3\), or equally \(\dfrac{N-1}{N}\cdot\dfrac{S^2}{n} = \dfrac23\cdot\dfrac{9}{2} = 3\).
Here \(s^2\) (divisor \(n - 1\)) is unbiased for \(\sigma^2\), not for \(S^2\): with replacement the units are independent draws from the population, whose variance is \(\sigma^2\). Keep fractions throughout; a mean like 4 rounded before squaring spoils the last decimal.
Additional worked problems with step-by-step procedures to support self-study, matching this unit's topics.
Population of 200 students numbered 1–200; select 5 at random. Because the population size is a 3-digit number, read the first 3 digits of each 5-digit entry in the random-number table; discard any > 200 and any repeats. Starting at one entry and moving down the column gives 200, 023, 108, 070, 126 → students 23, 70, 108, 126, 200. Each unit had an equal chance of selection.
Diseased plants in 24 areas: 1, 4, 1, 2, 5, 1, 1, 1, 7, 2, 3, 3, 2, 2, 3, 1, 2, 7, 2, 6, 3, 5, 3, 4. Select a sample of size 6 by SRSWR and SRSWOR; compare with the population mean.
Population mean \(= \dfrac{\sum y_i}{24} = \dfrac{71}{24} = 2.96\).
SRSWR (2-digit reading; repeats allowed) → areas 02, 10, 11, 12, 17, 17 with values 4, 2, 3, 3, 2, 2 → sample mean \(= \dfrac{16}{6} = 2.67\).
SRSWOR (repeats not allowed) → areas 01, 04, 12, 19, 20, 22 with values 1, 2, 3, 2, 6, 5 → sample mean \(= \dfrac{19}{6} = 3.17\).
Both sample means (2.67, 3.17) are close to the population mean (2.96) — illustrating that the sample mean estimates the population mean.
Population units 1, 2, 3, 4, 5; draw all samples of size \(n=3\) under SRSWOR.
Number of samples \(= \binom{5}{3} = 10\). Population mean \(\bar Y = 15/5 = 3\). The 10 sample means total 30.0, so \(E(\bar y) = \dfrac{\sum \bar y}{\binom{5}{3}} = \dfrac{30}{10} = 3 = \bar Y\).
Hence the sample mean is an unbiased estimate of the population mean under SRSWOR.
Population units 1, 2, 3, 4, 5; draw all samples of size \(n=2\) under SRSWR.
Number of samples \(= N^n = 5^2 = 25\). The 25 sample means total 75.0, so \(E(\bar y) = \dfrac{75}{25} = 3 = \bar Y\). The sample mean is unbiased under SRSWR as well.