VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Mathematics? | Hájek Ratio Estimation: Normalized Weights and Stable Survey Means

Why is mathematics important when survey weights do not add exactly to the population size? The Hájek ratio estimator divides a weighted outcome total by the weighted population count. This normalization often gives a stable estimate of a finite-population mean while making the scale of the weights cancel.

Did You Know? Multiplying every weight by the same positive constant leaves a Hájek mean unchanged. The numerator and denominator scale together.

Full chapter index

Chapters 1–7 · Understand the question
  1. The normalized-mean question
  2. The Hájek mean
  3. An official formulation
  4. A worked sample
  5. Calculate the numerator
  6. Calculate the denominator
  7. Compare the unweighted mean
Chapters 8–14 · Reproduce the example
  1. Scale invariance
  2. Normalizing for software
  3. Ratio bias
  4. Consistency and large samples
  5. Known population size
  6. Domain means
  7. Zero and negative weights
Chapters 15–21 · Check assumptions
  1. Variance needs the design
  2. Linearisation idea
  3. Comparison with Horvitz–Thompson
  4. Comparison with calibration
  5. Diagnostics
  6. Validation plan
  7. Limits
Chapters 22–28 · Explore applications
  1. A spreadsheet workflow
  2. A coding workflow
  3. Applications and careers
  4. A student investigation
  5. Common misconceptions
  6. Connection to recent mathematics articles
  7. Guidance for students and parents
Chapters 29–34 · Study and verify
  1. Practice questions
  2. Frequently asked questions
  3. A reporting checklist
  4. The ratio mechanism
  5. Final Hájek audit
  6. Useful next reading

CHAPTER 1 OF 34 · Understand the question

1. The normalized-mean question

Back to contents

Unequal-probability samples need weights, yet the sum of inverse-probability weights can fluctuate across samples. A weighted ratio estimates the mean on the sample’s represented scale.

Contents · Next chapter

CHAPTER 2 OF 34 · Understand the question

2. The Hájek mean

Back to contents

For sampled values y_i and weights w_i=1/pi_i, the Hájek estimator is sum(w_i y_i)/sum(w_i). It is the Horvitz–Thompson outcome total divided by the Horvitz–Thompson population-size estimate.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 34 · Understand the question

3. An official formulation

Back to contents

Statistics Canada gives the Hájek mean as the estimated total divided by the estimated population count. Read the official direct-estimator section.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 34 · Understand the question

4. A worked sample

Back to contents

Suppose values are 10, 20 and 40 with weights 2, 1 and 3.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 34 · Understand the question

5. Calculate the numerator

Back to contents

The weighted outcome total is 2×10+1×20+3×40=160.

ValueWeightWeighted outcome
10220
20120
403120
Weighted outcome contributions.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 34 · Understand the question

6. Calculate the denominator

Back to contents

The sum of weights is 2+1+3=6. The Hájek mean is 160/6=26.6667.

NumeratorDenominatorWeighted mean
160626.6667
Hájek mean.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 34 · Understand the question

7. Compare the unweighted mean

Back to contents

The unweighted mean is (10+20+40)/3=23.3333. The difference occurs because the value 40 represents more population units under the design.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 34 · Reproduce the example

8. Scale invariance

Back to contents

If all weights are divided by their mean 2, the normalized weights are 1, 0.5 and 1.5. The mean remains 80/3=26.6667.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 34 · Reproduce the example

9. Normalizing for software

Back to contents

Statistics Canada explains normalization as dividing weights by their subpopulation mean. Read the official weighting appendix. Normalization can help some analyses, but it does not recreate the survey design variance.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 34 · Reproduce the example

10. Ratio bias

Back to contents

A ratio of two unbiased estimators is not generally exactly unbiased. The Hájek estimator trades a small ratio bias for normalization and often useful stability.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 34 · Reproduce the example

11. Consistency and large samples

Back to contents

Under regularity conditions, numerator and denominator concentrate around their targets, so the ratio can be consistent and its bias becomes lower order.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 34 · Reproduce the example

12. Known population size

Back to contents

For a total, multiply the Hájek mean by a known population size N. The result differs from the raw Horvitz–Thompson total when sum(w_i) differs from N.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 34 · Reproduce the example

13. Domain means

Back to contents

For a subgroup, include only domain contributions in both numerator and denominator. Normalizing over the full sample rather than the analyzed domain can produce the wrong scale.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 34 · Reproduce the example

14. Zero and negative weights

Back to contents

Base design weights are positive when inclusion probabilities are positive. Later calibration can sometimes produce nonpositive weights; then the ratio needs careful diagnostic review.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 34 · Check assumptions

15. Variance needs the design

Back to contents

Treating normalized weights as frequency counts ignores stratification, clustering and finite-population selection. Use design-aware linearisation or replicate weights.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 34 · Check assumptions

16. Linearisation idea

Back to contents

Approximate the ratio around its expected numerator and denominator. The resulting influence variable resembles w_i(y_i minus the estimated mean), divided by the estimated population count.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 34 · Check assumptions

17. Comparison with Horvitz–Thompson

Back to contents

HT totals preserve exact design unbiasedness when probabilities are correct. Hájek ratios normalize by an estimated count and are commonly used for means and rates.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 34 · Check assumptions

18. Comparison with calibration

Back to contents

Hájek normalization imposes one count constraint. Calibration can impose many auxiliary constraints and uses an explicit distance from base weights.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 34 · Check assumptions

19. Diagnostics

Back to contents

Verify positive inclusion probabilities, inspect sum of weights, calculate both numerator and denominator, compare HT and Hájek estimates, and use the correct domain and replicate design.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 34 · Check assumptions

20. Validation plan

Back to contents

Reproduce 160, 6 and 26.6667; rescale weights; enumerate tiny repeated samples; compare empirical bias and variance; and test the domain calculation.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 34 · Check assumptions

21. Limits

Back to contents

Normalization does not fix frame errors, nonresponse bias, measurement error or unsupported population groups. A stable ratio can still target the wrong population.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 34 · Explore applications

22. A spreadsheet workflow

Back to contents

Store y, pi, w, w×y and normalized w. Put numerator, denominator and ratio in separate labelled cells.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 34 · Explore applications

23. A coding workflow

Back to contents

Unit-test scale invariance, calculate HT and Hájek side by side, and use replicate or linearised variance rather than ordinary weighted formulas.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 34 · Explore applications

24. Applications and careers

Back to contents

Survey statisticians, epidemiologists, economists and policy analysts use normalized design-weighted means.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 34 · Explore applications

25. A student investigation

Back to contents

Build a six-unit population, assign unequal inclusion probabilities and compare HT and Hájek sampling distributions by enumeration.

Contents · Previous chapter · Next chapter

CHAPTER 26 OF 34 · Explore applications

26. Common misconceptions

Back to contents

Normalized weights are not automatically frequency weights, small ratio bias is not the same as invalidity, and a weighted mean does not prove causality.

Contents · Previous chapter · Next chapter

CHAPTER 27 OF 34 · Explore applications

27. Connection to recent mathematics articles

Back to contents

The Horvitz–Thompson guide develops inverse-probability totals. The survey-domain guide explains subgroup estimation.

Contents · Previous chapter · Next chapter

CHAPTER 28 OF 34 · Explore applications

28. Guidance for students and parents

Back to contents

Students should show numerator and denominator before dividing. Parents can ask whether a published weighted average used the full sample or a defined domain.

Contents · Previous chapter · Next chapter

CHAPTER 29 OF 34 · Study and verify

29. Practice questions

Back to contents

  • Reproduce 160/6.
  • Normalize all weights.
  • Prove scale invariance.
  • Explain ratio bias.
  • Choose a design-aware variance method.

Contents · Previous chapter · Next chapter

CHAPTER 30 OF 34 · Study and verify

30. Frequently asked questions

Back to contents

### Is the Hájek mean exactly design-unbiased? Not generally.

### Does weight scale matter? Not for the point estimate.

### Does normalization fix nonresponse? No.

### Can ordinary standard errors be used? Usually not for a complex design.

Contents · Previous chapter · Next chapter

CHAPTER 31 OF 34 · Study and verify

31. A reporting checklist

Back to contents

Report target population, domain, inclusion probabilities, weight stages, numerator, denominator, normalization, variance method and limitations.

Contents · Previous chapter · Next chapter

CHAPTER 32 OF 34 · Study and verify

32. The ratio mechanism

Back to contents

The weighted numerator estimates the outcome total while the weighted denominator estimates population size; their ratio estimates the mean.

Contents · Previous chapter · Next chapter

CHAPTER 33 OF 34 · Study and verify

33. Final Hájek audit

Back to contents

Confirm the target and domain, positive weights, correct numerator and denominator, scale invariance, ratio-bias language, design-aware variance and no automatic bias-removal claim.

Contents · Previous chapter · Next chapter

CHAPTER 34 OF 34 · Study and verify

34. Useful next reading

Back to contents

Continue through the Mathematics Learning Hub. Recalculate one weighted estimate, state its target population and explain the assumption that makes the adjustment useful.

Contents · Previous chapter · Mathematics Learning Hub

Extended practice laboratory

Practice case 1: Define population

Setup: Start from the article’s Hajek-ratio mechanism for case 1. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 2: List values

Setup: Start from the article’s Hajek-ratio mechanism for case 2. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 3: List probabilities

Setup: Start from the article’s Hajek-ratio mechanism for case 3. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 4: Invert probabilities

Setup: Start from the article’s Hajek-ratio mechanism for case 4. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 5: Calculate weighted outcomes

Setup: Start from the article’s Hajek-ratio mechanism for case 5. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 6: Sum numerator

Setup: Start from the article’s Hajek-ratio mechanism for case 6. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 7: Sum denominator

Setup: Start from the article’s Hajek-ratio mechanism for case 7. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 8: Calculate ratio

Setup: Start from the article’s Hajek-ratio mechanism for case 8. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 9: Normalize weights

Setup: Start from the article’s Hajek-ratio mechanism for case 9. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 10: Verify invariance

Setup: Start from the article’s Hajek-ratio mechanism for case 10. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 11: Calculate HT total

Setup: Start from the article’s Hajek-ratio mechanism for case 11. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 12: Use known N

Setup: Start from the article’s Hajek-ratio mechanism for case 12. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 13: Create domain

Setup: Start from the article’s Hajek-ratio mechanism for case 13. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 14: Linearise ratio

Setup: Start from the article’s Hajek-ratio mechanism for case 14. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 15: Add clustering

Setup: Start from the article’s Hajek-ratio mechanism for case 15. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 16: Add strata

Setup: Start from the article’s Hajek-ratio mechanism for case 16. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 17: Use replicates

Setup: Start from the article’s Hajek-ratio mechanism for case 17. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 18: Compare calibration

Setup: Start from the article’s Hajek-ratio mechanism for case 18. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 19: Change weight scale

Setup: Start from the article’s Hajek-ratio mechanism for case 19. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 20: Add tiny probability

Setup: Start from the article’s Hajek-ratio mechanism for case 20. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 21: Audit target

Setup: Start from the article’s Hajek-ratio mechanism for case 21. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 22: Audit domain

Setup: Start from the article’s Hajek-ratio mechanism for case 22. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 23: Audit variance

Setup: Start from the article’s Hajek-ratio mechanism for case 23. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 24: Name limits

Setup: Start from the article’s Hajek-ratio mechanism for case 24. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 25: Write conclusion

Setup: Start from the article’s Hajek-ratio mechanism for case 25. Task: Change the named quantity, recompute the dependent result and compare with the original.

Check: Preserve the target population and sampling design, verify the weighting identity, state one diagnostic, record units and compare one defensible alternative with clear reasoning. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.