Skip to the content

Topics Covered

Stratification Estimator of Mean Variance Proportional Allocation Optimum Allocation Comparison with SRSWOR Neyman Allocation Derived Cost-Optimum Allocation
On this page
  1. 1. Concept of Stratified Sampling
  2. 2. Notation
  3. 3. Estimator of Population Mean
  4. 4. Variance of \(\bar y_{st}\) (under SRSWOR within strata)
  5. 5. Allocation of the Sample
  6. 6. Comparison: SRSWOR vs Stratified
  7. Summary Table
  8. Worked Problems on Stratified Sampling
  9. Key Take-aways

1. Concept of Stratified Sampling

DEFINITION

The population of size \(N\) is divided into \(L\) non-overlapping strata (homogeneous groups) of sizes \(N_1, N_2, \ldots, N_L\) with \(N = \sum N_h\). From each stratum, an independent SRSWOR of size \(n_h\) is drawn, with \(n = \sum n_h\). This is stratified random sampling.

Population divided into 3 strata Stratum 1 N₁ = 60 n₁ = 3 selected Stratum 2 N₂ = 30 n₂ = 2 selected Stratum 3 N₃ = 10 n₃ = 1 selected
Fig 3.1 — Independent SRS from each stratum (red = selected)

Why Stratify?

Advantages

  1. Higher precision than SRS (when strata are homogeneous within).
  2. Each stratum's results can be reported separately.
  3. Administrative convenience — can be carried out within each region/branch.
  4. Operational flexibility — different methods in different strata.

Disadvantages

  1. Requires a known stratification variable / frame.
  2. Determining stratum sizes \(N_h\) and SDs \(S_h\) in advance.
  3. Allocation problem: deciding \(n_h\) for each stratum.

The Two Principles of Stratification

Stratification means division into layers. Auxiliary information (past data, or another variable related to the one under study) is used to divide the population so that

  1. the units within each stratum are as homogeneous as possible, and
  2. the stratum means are as different (heterogeneous) as possible.

A survey of the cost of living across a state is the typical case: with SRS one cannot be sure that the high-, middle- and low-income groups are all represented; stratifying by income guarantees each its share. The strata must be formed properly and given suitable sample sizes, or the stratified sample may be no better than a simple random one (§6). Administrative convenience comes chiefly when the strata are geographical (districts, branches): then the field work of each stratum is compact and can be supervised locally.

Notation. This page writes \(L\) strata indexed by \(h\), with weights \(W_h = N_h/N\); some books write \(k\) strata indexed by \(i\), with weights \(p_i\).

2. Notation

SymbolMeaning
\(N_h\)Size of stratum \(h\)
\(n_h\)Sample size in stratum \(h\)
\(W_h = N_h/N\)Stratum weight (proportion)
\(\bar Y_h\)Population mean of stratum \(h\)
\(S_h^2\)Population mean square of stratum \(h\)
\(\bar y_h\)Sample mean from stratum \(h\)
\(s_h^2\)Sample mean square from stratum \(h\)

The overall population mean: \(\bar Y = \sum_h W_h \bar Y_h\).

3. Estimator of Population Mean

\[ \bar y_{st} \;=\; \sum_{h=1}^{L} W_h\, \bar y_h. \]

This is unbiased: \(E(\bar y_{st}) = \sum W_h E(\bar y_h) = \sum W_h \bar Y_h = \bar Y\).

Why the Weights Matter

UNBIASEDNESS, FOR ANY ALLOCATION

Each \(\bar y_h\) comes from an SRSWOR within stratum \(h\), so \(E(\bar y_h) = \bar Y_h\). Then

\[ E(\bar y_{st}) = E\Big(\frac1N\sum_h N_h\bar y_h\Big) = \frac1N\sum_h N_h\bar Y_h = \bar Y , \]

whatever the sample sizes \(n_h\) are.

\(\bar y_{st}\) AND THE PLAIN SAMPLE MEAN

The plain average of all \(n\) observations is \(\bar y_n = \frac1n\sum_h n_h\bar y_h\). The estimator \(\bar y_{st} = \sum_h W_h\bar y_h\) is defined for every allocation; it coincides with the plain average only under proportional allocation. With any other allocation the plain average is biased, because it over-weights the strata that were sampled heavily.

Example. Strata \(\{1, 2, 4\}\) and \(\{6, 9, 10, 13\}\), so \(\bar Y = 45/7 = 6.43\), with \(n_1 = n_2 = 2\). Over all \(3 \times 6 = 18\) stratified samples, \(\bar y_{st}\) averages exactly \(45/7\), but the plain average of the four observations averages \(71/12 = 5.92\): the small stratum, with 3 of the 7 units, supplies half the sample.

4. Variance of \(\bar y_{st}\) (under SRSWOR within strata)

\[ \text{Var}(\bar y_{st}) \;=\; \sum_{h=1}^{L} W_h^2 \cdot \dfrac{N_h - n_h}{N_h\, n_h}\, S_h^2 \;=\; \sum_{h=1}^{L} \dfrac{W_h^2 S_h^2}{n_h}\left(1 - \dfrac{n_h}{N_h}\right). \]

Estimator of variance:

\[ \widehat{\text{Var}}(\bar y_{st}) \;=\; \sum_h W_h^2\, \dfrac{N_h - n_h}{N_h\, n_h}\, s_h^2. \]

Deriving the Variance

PROOF

The samples in different strata are drawn independently, so the covariances between the \(\bar y_h\) vanish and

\[ \text{Var}(\bar y_{st}) = \frac{1}{N^2}\sum_h N_h^2\,\text{Var}(\bar y_h) = \frac{1}{N^2}\sum_h N_h^2\,\frac{N_h - n_h}{N_h}\cdot\frac{S_h^2}{n_h} \] \[ = \frac{1}{N^2}\sum_h N_h(N_h - n_h)\frac{S_h^2}{n_h} , \]

which is \(\sum_h W_h^2 S_h^2(1/n_h - 1/N_h)\). Only the within-stratum mean squares \(S_h^2\) appear: the differences between strata have been designed out.

Check by listing. For the strata \(\{1, 2, 4\}\), \(\{6, 9, 10, 13\}\) with \(n_1 = n_2 = 2\), the 18 values of \(\bar y_{st}\) have variance exactly \(221/294 = 0.752\), which is what the formula gives.

5. Allocation of the Sample

Given total sample size \(n\), we must decide \(n_h\) for each stratum. Two important schemes:

5.1 Proportional Allocation

\[ n_h \;=\; n\, W_h \;=\; n \cdot \dfrac{N_h}{N}. \]

Sample size proportional to stratum size; ignores within-stratum variance.

Variance under proportional allocation:

\[ \text{Var}_{prop}(\bar y_{st}) \;=\; \dfrac{1 - f}{n}\sum_h W_h\, S_h^2, \quad f = n/N. \]

Proof. Under proportional allocation \(n_h/N_h = n/N\), that is \(n_h = nN_h/N\). Put this in \(\text{Var}(\bar y_{st}) = \sum_h\Big(\dfrac{1}{n_h} - \dfrac{1}{N_h}\Big)W_h^2S_h^2\):

\[ \begin{aligned} \text{Var}_{prop}(\bar y_{st}) &= \sum_h\Big(\frac{N}{nN_h} - \frac{1}{N_h}\Big)\frac{N_h^2}{N^2}S_h^2 = \sum_h\frac{N - n}{nN_h}\cdot\frac{N_h^2}{N^2}S_h^2 \\ &= \frac{N - n}{nN}\sum_h\frac{N_h}{N}S_h^2 = \Big(\frac1n - \frac1N\Big)\sum_h W_hS_h^2 . \end{aligned} \]

5.2 Optimum (Neyman) Allocation

Allocates more to strata that are larger and more variable. Minimises variance for a given total sample size.

\[ n_h \;=\; n\cdot \dfrac{N_h\, S_h}{\sum_k N_k\, S_k} \;=\; n\cdot \dfrac{W_h\, S_h}{\sum_k W_k\, S_k}. \]

Variance under optimum allocation:

\[ \text{Var}_{opt}(\bar y_{st}) \;=\; \dfrac{1}{n}\left(\sum_h W_h S_h\right)^2 - \dfrac{1}{N}\sum_h W_h S_h^2. \]

5.3 Allocation with Cost

If sampling cost in stratum \(h\) is \(c_h\): \(n_h \propto N_h S_h / \sqrt{c_h}\) — the cost-optimal version.

5.4 Equal Allocation

\(n_h = n/L\) — used when no prior information on \(S_h\); rarely optimal.

EXAMPLE 1 (Proportional)

\(N_1 = 600,\; N_2 = 400\); \(n = 100\). Then \(n_1 = 60, n_2 = 40\).

EXAMPLE 2 (Optimum)

Two strata: \(N_1 = 600, S_1 = 4;\; N_2 = 400, S_2 = 9\). Total sample 100.

\(N_1 S_1 = 2400,\; N_2 S_2 = 3600\), sum = 6000.

\(n_1 = 100 \cdot 2400/6000 = 40,\; n_2 = 100 \cdot 3600/6000 = 60\). Note: stratum 2 has fewer units but more variability — gets a bigger sample share.

Neyman Allocation Derived

MINIMUM VARIANCE FOR FIXED \(n\)

Minimise \(V = \frac{1}{N^2}\sum_h N_h(N_h/n_h - 1)S_h^2\) subject to \(\sum_h n_h = n\). With a Lagrange multiplier \(\lambda\), \(\phi = V + \lambda(\sum n_h - n)\), and only the \(h\)th term depends on \(n_h\):

\[ \frac{\partial\phi}{\partial n_h} = -\frac{N_h^2S_h^2}{N^2n_h^2} + \lambda = 0 \;\Longrightarrow\; n_h = \frac{N_hS_h}{N\sqrt\lambda} . \]

Summing over \(h\), \(n = \sum N_hS_h/(N\sqrt\lambda)\), so \(\sqrt\lambda = \sum N_hS_h/(Nn)\) and

\[ n_h = n\,\frac{N_hS_h}{\sum_k N_kS_k} . \]

It is a minimum because \(\partial^2\phi/\partial n_h^2 = 2N_h^2S_h^2/(N^2n_h^3) > 0\).

The optimum variance. Write \(\text{Var}(\bar y_{st}) = \sum_h \dfrac{W_h^2S_h^2}{n_h} - \dfrac1N\sum_h W_hS_h^2\) and put \(n_h = nN_hS_h/\sum_k N_kS_k\) in the first sum:

\[ \sum_h \frac{N_h^2S_h^2}{N^2}\cdot\frac{\sum_k N_kS_k}{nN_hS_h} = \frac{1}{nN^2}\Big(\sum_h N_hS_h\Big)\Big(\sum_k N_kS_k\Big) = \frac1n\Big(\sum_h W_hS_h\Big)^2 , \]

so \(\text{Var}_{opt}(\bar y_{st}) = \dfrac1n\Big(\sum_h W_hS_h\Big)^2 - \dfrac1N\sum_h W_hS_h^2\), the formula of §5.2.

Cost and the Total Sample Size

MINIMUM VARIANCE FOR FIXED COST

With cost function \(C = a + \sum_h c_hn_h\) (overhead \(a\), cost \(c_h\) per unit in stratum \(h\)), the same Lagrange argument with the constraint \(\sum c_hn_h = C - a\) gives \(n_h = N_hS_h/(N\sqrt{\lambda c_h})\), i.e.

\[ n_h \;\propto\; \frac{N_hS_h}{\sqrt{c_h}} . \]

Take a larger sample in a stratum that is larger, more variable, or cheaper to survey.

The total \(n\) is fixed by the budget. Putting \(n_h = n\,(N_hS_h/\sqrt{c_h})/\sum_k(N_kS_k/\sqrt{c_k})\) into the cost equation,

\[ n = \frac{(C - a)\sum_h N_hS_h/\sqrt{c_h}}{\sum_h N_hS_h\sqrt{c_h}} . \]

If every \(c_h = c_0\), then \(n = (C - a)/c_0\) and the allocation is Neyman's; if moreover every \(S_h\) is equal, it is proportional.

MINIMUM COST FOR A FIXED VARIANCE \(V_0\)

Setting \(\text{Var}(\bar y_{st}) = V_0\) with the same allocation and solving for \(n\):

\[ n = \frac{\big(\sum_h N_hS_h\sqrt{c_h}\big)\big(\sum_h N_hS_h/\sqrt{c_h}\big)}{N^2V_0 + \sum_h N_hS_h^2}, \]

which for equal costs is \(n = \big(\sum N_hS_h\big)^2/\big(N^2V_0 + \sum N_hS_h^2\big)\).

ROUNDING AN ALLOCATION

The formulas rarely give whole numbers. Round each \(n_h\) down, then give the units still needed to the strata with the largest fractional parts, so that the \(n_h\) add up to \(n\). Every stratum keeps at least one unit (two, if its variance is to be estimated).

6. Comparison: SRSWOR vs Stratified (Proportional vs Optimum)

Define population variance decomposition:

\[ S^2 \;\approx\; \sum_h W_h S_h^2 \;+\; \sum_h W_h(\bar Y_h - \bar Y)^2. \]

Within-stratum variance \(\sum W_h S_h^2\) plus between-stratum variance.

Variance ordering (for the same total \(n\)):

\[ \text{Var}_{opt}(\bar y_{st}) \;\le\; \text{Var}_{prop}(\bar y_{st}) \;\le\; \text{Var}_{SRS}(\bar y). \]

Equality holds only when:

Gain in Efficiency

Relative efficiency of stratified over SRSWOR:

\[ \text{RE} \;=\; \dfrac{\text{Var}_{SRS}}{\text{Var}_{st}}. \]
EXAMPLE 1 (Compare proportional with SRSWOR)

From Example 2 of Section 5: \(W_1 = 0.6,\; W_2 = 0.4;\; S_1^2 = 16, S_2^2 = 81\).

\(\sum W_h S_h^2 = 0.6(16) + 0.4(81) = 9.6 + 32.4 = 42.0\). Here \(N = 1000\) and \(n = 100\), so \(f = 0.1\):

\(\text{Var}_{prop} = (1 - 0.1)\times 42.0/100 = 0.378\). The SRSWOR variance needs \(S^2\), which needs the stratum means. If the between-strata term \(\sum W_h(\bar Y_h - \bar Y)^2\) is, say, 10, then \(S^2 \approx 42 + 10 = 52\) and \(\text{Var}_{SRS} = 0.9 \times 52/100 = 0.468\). Efficiency \(0.468/0.378 = 1.24\): a gain of about 24%.

EXAMPLE 2 (Optimum vs Proportional)

Continuing: \(\sum W_h S_h = 0.6(4) + 0.4(9) = 2.4 + 3.6 = 6\). \(\text{Var}_{opt} = 6^2/100 - 42.0/1000 = 0.360 - 0.042 = 0.318\).

So \(\text{Var}_{opt} = 0.318 < \text{Var}_{prop} = 0.378 < \text{Var}_{SRS} = 0.468\). Optimum allocation reduces variance further when stratum SDs differ.

Proof of the Variance Ordering

OPTIMUM VERSUS PROPORTIONAL (EXACT)

With \(\bar S = \sum W_hS_h\),

\[ \text{Var}_{prop} - \text{Var}_{opt} = \Big(\frac1n - \frac1N\Big)\sum W_hS_h^2 - \frac1n\Big(\sum W_hS_h\Big)^2 + \frac1N\sum W_hS_h^2 \] \[ = \frac1n\Big[\sum W_hS_h^2 - \bar S^2\Big] = \frac1n\sum_h W_h(S_h - \bar S)^2 \;\ge\; 0 , \]

with equality only when all the \(S_h\) are equal.

PROPORTIONAL VERSUS SRS (APPROXIMATE)

The exact analysis of variance of the population is

\[ (N-1)S^2 = \sum_h (N_h - 1)S_h^2 + \sum_h N_h(\bar Y_h - \bar Y)^2 . \]

If every \(N_h\) is large, \(N_h - 1 \approx N_h\) and \(N - 1 \approx N\), so \(S^2 \approx \sum W_hS_h^2 + \sum W_h(\bar Y_h - \bar Y)^2\), and

\[ \text{Var}_{SRS} \approx \text{Var}_{prop} + \Big(\frac1n - \frac1N\Big)\sum_h W_h(\bar Y_h - \bar Y)^2 \;\ge\; \text{Var}_{prop} . \]

Without the approximation the difference is

\[ \text{Var}_{SRS} - \text{Var}_{prop} = \frac{N-n}{nN(N-1)}\Big[\sum_h N_h(\bar Y_h - \bar Y)^2 - \frac1N\sum_h (N - N_h)S_h^2\Big], \]

which can be negative when the stratum means hardly differ. For example, strata \(\{1, 5, 9\}\) and \(\{2, 5, 8\}\) have equal means, and with \(n = 2\): \(\text{Var}_{SRS} = 10/3\) but \(\text{Var}_{prop} = 25/6\). Stratification pays when the strata really differ.

EFFICIENCY AND GAIN

The efficiency of a stratified design over SRS is the ratio \(E = \text{Var}_{SRS}/\text{Var}_{st}\); the gain in efficiency is \(E - 1 = (\text{Var}_{SRS} - \text{Var}_{st})/\text{Var}_{st}\), usually given as a percentage. The worked problems below give both.

Summary Table

Allocation\(n_h\)Variance of \(\bar y_{st}\)
Equal\(n/L\)\(\dfrac{L}{n}\sum W_h^2 S_h^2 (1 - n/(LN_h))\)
Proportional\(n W_h\)\((1 - f)/n \sum W_h S_h^2\)
Optimum (Neyman)\(n \dfrac{W_h S_h}{\sum W_k S_k}\)\(\dfrac{1}{n}\left(\sum W_h S_h\right)^2 - \dfrac{1}{N}\sum W_h S_h^2\)

Worked Problems on Stratified Sampling

Two problems, the first with proportional allocation only, the second comparing SRS, proportional and optimum allocation, followed by three exercises with answers. Each needs the same four quantities: the stratum weights, the within-stratum mean squares \(S_h^2\), the overall \(S^2\) (from the analysis of variance of §6), and the variance formulas of §§4–5. \(\bar Y\) is carried at full precision: \(S^2\) is a difference of large, nearly equal numbers, and rounding \(\bar Y\) first visibly moves it.

WORKED PROBLEM 1 — two schools, proportional allocation

A population of 400 pupils belongs to two schools:

SchoolPupils \(N_h\)Mean score \(\bar Y_h\)SD \(\sigma_h\)
I2406215
II160489

Draw a sample of 40 by proportional allocation, find the variance of the estimated mean, and compare with SRSWOR.

Allocation. \(n_h = nN_h/N\): \(n_1 = \tfrac{40}{400}\times 240 = 24\), \(n_2 = \tfrac{40}{400}\times 160 = 16\).

Mean squares. The SDs are population SDs (divisor \(N_h\)), so \(S_h^2 = \frac{N_h}{N_h - 1}\sigma_h^2\): \(S_1^2 = \tfrac{240}{239}(225) = 225.94\), \(S_2^2 = \tfrac{160}{159}(81) = 81.51\). Also \(\bar Y = (14880 + 7680)/400 = 56.4\), and since \((N_h - 1)S_h^2 = N_h\sigma_h^2\),

\[ S^2 = \frac{1}{N-1}\Big[\sum N_h\sigma_h^2 + \sum N_h\bar Y_h^2 - N\bar Y^2\Big] \] \[ = \frac{66960 + 1291200 - 400(56.4)^2}{399} = 214.98 . \]

Variances.

\[ \text{Var}_{prop} = \frac{N-n}{N^2n}\sum N_hS_h^2 = \frac{360}{400^2 \times 40}(67267.45) = 3.784, \] \[ \text{Var}_{SRS} = \frac{N-n}{N}\cdot\frac{S^2}{n} = \frac{360}{400}\cdot\frac{214.98}{40} = 4.837 . \]

Efficiency \(4.837/3.784 = 1.278\): a gain of 27.8%. Stratifying by school helps a good deal here because the two school means (62 and 48) differ by much more than the spread within the second school.

WORKED PROBLEM 2 — insurance policies: SRS, proportional and optimum

Policies held in a town, stratified by the holder's age (sums assured in lakh rupees):

StratumAge groupPolicies \(N_h\)Mean \(\bar Y_h\)\(S_h\)
1below 25120102.4
225–45260185.0
345–6515091.5
465 and above7050.8

For a sample of 60 policies find (i) the sampling variance of the estimated total under (a) SRSWOR, (b) proportional and (c) optimum allocation; (ii) the stratum sample sizes; (iii) the gains in efficiency over SRS.

Working table.

\(h\)\(N_h\bar Y_h\)\(N_h\bar Y_h^2\)\(N_hS_h\)\(N_hS_h^2\)\((N_h-1)S_h^2\)
1120012000288691.2685.44
2468084240130065006475
3135012150225337.5335.25
435017505644.844.16
Total758011014018697573.57539.85

\(N = 600\), \(\bar Y = 7580/600 = 12.6333\), and

\[ S^2 = \frac{7539.85 + 110140 - 600(12.6333)^2}{599} = 36.593 . \]

(i) Variances. The total is estimated by \(N\bar y\), so its variance is \(N^2 = 360000\) times that of the mean.

\[ \text{(a)}\;\; \text{Var}_{SRS}(\bar y) = \frac{540}{600}\cdot\frac{36.593}{60} = 0.5489, \qquad \text{Var}(\hat Y) = 197602.0 , \] \[ \text{(b)}\;\; \text{Var}_{prop} = \frac{540}{600^2 \times 60}(7573.5) = 0.1893, \qquad \text{Var}(\hat Y) = 68161.5 , \] \[ \begin{gathered} \text{(c)}\;\; \text{Var}_{opt} = \frac{(1869)^2}{60 \times 600^2} - \frac{7573.5}{600^2} = 0.1617 - 0.0210 = 0.1407, \\ \text{Var}(\hat Y) = 50645.8 . \end{gathered} \]

Both terms of the optimum variance are needed; the second is the finite-population correction.

(ii) Sample sizes. Proportional: \(n_h = 60N_h/600 = 12.00, 26.00, 15.00, 7.00\), rounded (largest fractions first) to 12, 26, 15, 7. Optimum: \(n_h = 60N_hS_h/1869 = 9.25, 41.73, 7.22, 1.80\), rounded to 9, 42, 7, 2.

(iii) Gains. Proportional: \((0.5489 - 0.1893)/0.1893 = 1.90\), i.e. 190% (efficiency 2.90). Optimum: \((0.5489 - 0.1407)/0.1407 = 2.90\), i.e. 290% (efficiency 3.90). Stratifying by age removes most of the variation, because the four mean amounts are far apart.

0 10 20 30 40 12 9 below 25 26 42 25–45 15 7 45–65 7 2 65+ proportional, nₕ ∝ Nₕ optimum, nₕ ∝ NₕSₕ age group (stratum)
Fig 3.2 — Worked Problem 2. Proportional allocation follows the stratum sizes alone; Neyman's optimum allocation also weighs each stratum's standard deviation, so the large and variable 25–45 group takes 42 of the 60 policies and the small, steady 65+ group only 2.

Exercises on Stratified Sampling, with Answers Checked

PRACTICE
  1. 400 students in two colleges: A, \(N = 250\), mean 40, SD 12; B, \(N = 150\), mean 70, SD 30. A sample of 40 by proportional allocation, treating the SDs as population SDs. Ans. (i) \(n_1 = 25\), \(n_2 = 15\); (ii) \(\text{Var}_{SRS} = 14.40\), \(\text{Var}_{prop} = 9.68\); (iii) gain 48.8%. (Reading the SDs as \(S_h\) instead gives \(\text{Var}_{prop} = 9.62\) and \(\text{Var}_{SRS} = 14.34\): say which reading is used.)
  2. 600 households: A, \(N = 400\), mean 55, \(S_h = 12\); B, \(N = 200\), mean 40, \(S_h = 24\). A sample of 40 by optimum allocation. Ans. \(n_1 = 20\), \(n_2 = 20\); \(\text{Var}_{opt} = 5.920\). Equal stratum totals \(N_hS_h\) give equal samples, whatever the stratum sizes.
  3. 1760 farms in seven size strata (\(N_h\) = 300, 420, 360, 280, 150, 120, 130; mean cropped area 6, 15, 25, 33, 41, 52, 60 acres; \(S_h\) = 7, 12, 16, 18, 22, 27, 32), sample of 120. Ans. \(\text{Var}_{SRS}(\bar y) = 4.4055\), \(\text{Var}_{prop} = 2.4322\), \(\text{Var}_{opt} = 2.0287\) (multiply by \(N^2 = 3,097,600\) for the total). Proportional \(n_h\): 20, 29, 25, 19, 10, 8, 9; optimum: 9, 21, 24, 21, 14, 14, 17. Gains: 81.1% (proportional), 117.2% (optimum).

Key Take-aways