Tutorials › Survey Sampling › Diagnosing the Influence of Large Weights

Weighted Descriptive Analysis · Tutorial 715 of 998

Diagnosing the Influence of Large Weights

Assess how much influential records affect weighted descriptive estimates, and distinguish a useful sensitivity diagnostic from a justification for changing the survey weights.

Intermediate 11 min read

What You'll Learn

  • Calculate each record’s share of the total survey weight and its contribution to a weighted total.
  • Compare weighted means and proportions with and without a potentially influential record.
  • Explain why a large weight alone does not establish that a record has a large effect on an estimate.
  • Diagnose quantile sensitivity by recomputing the weighted empirical distribution.
  • Interpret leave-one-record-out comparisons without treating them as corrected estimates.
  • Identify appropriate follow-up checks before changing or excluding weights.

Why Examine Large Weights?

Survey weights allow sampled records to represent different numbers of population units. A record with a large weight can therefore have a substantial effect on a weighted description—but the size of the effect also depends on the record’s measured value and on the statistic being calculated. A large weight attached to an outcome close to the weighted mean may have little effect on that mean, while a less extreme weight attached to an unusual outcome may matter considerably.

Diagnosing influence means asking how much the estimate depends on particular weighted records. It is a sensitivity analysis, not a procedure for deciding that a record is wrong or for automatically reducing its weight. The weight may be large for a legitimate design reason, such as a low probability of selection, or because of a documented adjustment. Any proposed change requires investigation of the survey design and weight construction.

Definition: Let \(w_i>0\) be the survey weight for eligible sampled record \(i\), and let \(y_i\) be its measured value. A record is influential for a particular weighted estimate when its weighted contribution is large enough that including or excluding it materially changes that estimate. Influence is statistic-specific: the same record can strongly affect a total, weakly affect a mean, and have a discontinuous effect on a quantile.

Start With Weight Shares and Contributions

For \(n\) eligible records, the sum of the weights is \(\sum_{i=1}^{n} w_i\). The normalized weight share of record \(i\) is its weight divided by that sum. This describes how much of the total weighted mass is assigned to the record; it does not by itself describe the record’s influence on every outcome.

$$ q_i=\frac{w_i}{\sum_{j=1}^{n}w_j} $$

Useful initial summaries include the largest individual weight shares and the combined share held by the largest few weights. These are descriptive flags, not universal cutoffs: whether a share is concerning depends on the purpose of the estimate, the outcome, and the design. For a weighted total, the relevant record-level contribution is \(w_i y_i\), since the total estimate is the sum of those contributions.

$$ \widehat{T}_w=\sum_{i=1}^{n}w_i y_i $$

If \(y_i\) is nonnegative, a contribution share can be calculated as \(w_i y_i/\widehat{T}_w\), provided the total is positive. When outcomes can be negative or the total is near zero, such shares may be misleading or undefined; report the signed contributions instead, and consider their magnitudes in context. For category totals, the corresponding contribution is \(w_i\) when record \(i\) belongs to the category and zero otherwise.

Worked Example: A Large Weight’s Contribution to a Total

Suppose a hypothetical survey has four eligible records. Each \(y_i\) is a count of enrolled participants at a sampled site, and the weights are shown below. The target is the weighted total of enrolled participants represented by the sampled sites.

RecordWeight \(w_i\)Count \(y_i\)Contribution \(w_i y_i\)
A5210
B5315
C5420
D25125

The total weight is \(5+5+5+25=40\), so record D has weight share \(25/40=0.625\), or 62.5%. The weighted total is

$$ \widehat{T}_w=(5)(2)+(5)(3)+(5)(4)+(25)(1)=10+15+20+25=70 $$

Record D contributes 25 enrolled participants to the estimated total of 70. Removing it while leaving all other weights unchanged gives \(10+15+20=45\), a difference of 25. This is a substantial contribution, but the value 45 is only a diagnostic comparison: it is not automatically a better estimate of the population total. If the outcome were zero for D, its large weight would contribute zero to this total, even though it would still account for 62.5% of the total weight.

Compare Means and Proportions by Leaving Out a Record

A weighted mean is a ratio of a weighted outcome total to the corresponding total weight. For a particular record \(i\), define the leave-one-record-out mean by removing that record from both sums while retaining the other records’ original weights. Comparing this estimate with the full weighted mean shows the record’s effect on the ratio. The comparison is descriptive; it does not establish that the record should be removed.

$$ \bar{x}_w=\frac{\sum_{i=1}^{n}w_i x_i}{\sum_{i=1}^{n}w_i}, \qquad \bar{x}_{w,-i}= \frac{\sum_{j\ne i}w_j x_j}{\sum_{j\ne i}w_j} $$

The difference has a useful exact form. Let \(W=\sum_{j=1}^{n}w_j\) and \(T=\sum_{j=1}^{n}w_jx_j\), so that \(\bar{x}_w=T/W\). Removing record \(i\) gives \((T-w_i x_i)/(W-w_i)\). Subtracting the full estimate and combining terms gives:

$$ \begin{aligned} \bar{x}_{w,-i}-\bar{x}_w &=\frac{T-w_i x_i}{W-w_i}-\frac{T}{W}\\ &=\frac{W(T-w_i x_i)-T(W-w_i)}{W(W-w_i)}\\ &=\frac{w_i(T-Wx_i)}{W(W-w_i)} =\frac{w_i(\bar{x}_w-x_i)}{W-w_i}. \end{aligned} $$

Thus, a record changes a weighted mean more when its weight is large and its value is far from the full weighted mean. The sign also has a direct interpretation: if \(x_i\) is above \(\bar{x}_w\), removing it lowers the mean; if it is below \(\bar{x}_w\), removing it raises the mean. The same calculation applies to a weighted proportion by setting \(x_i=1\) for records in the category and \(x_i=0\) otherwise.

Worked Example: Influence on a Mean and a Proportion

Consider four hypothetical respondents with weights \(1,1,1,7\). Their measured times are \(20,25,30,80\) minutes. The last respondent also belongs to a category of interest; the first three do not.

The weighted mean time is

$$ \bar{x}_w=\frac{(1)(20)+(1)(25)+(1)(30)+(7)(80)}{1+1+1+7} =\frac{635}{10}=63.5\text{ minutes}. $$

Leaving out the last respondent, while keeping the other weights unchanged, gives

$$ \bar{x}_{w,-4}=\frac{20+25+30}{3}=25.0\text{ minutes}. $$

The full estimate is 38.5 minutes higher than the leave-one-out estimate. This occurs because the respondent has both a large weight and a time above the full weighted mean. The comparison signals strong sensitivity; it does not show that either value is erroneous.

For the category indicator, the weighted proportion is

$$ \hat{p}_w=\frac{(1)(0)+(1)(0)+(1)(0)+(7)(1)}{10} =\frac{7}{10}=0.700. $$

After leaving out the last respondent, no remaining respondent is in the category, so \(\hat{p}_{w,-4}=0/3=0\). Here the full-minus-deleted difference is 0.700, or 70 percentage points. This large change is consistent with the category being represented by only one sampled record, whose weight is large. It is a reason to examine the record and the survey context, not a basis for silently changing the estimate.

Quantiles Require Recomputing the Weighted Distribution

A weighted empirical cumulative distribution function (ECDF) records the fraction of total weight at or below each value. For a quantitative outcome \(x_i\), it is defined as the sum of weights for records with \(x_i\leq t\), divided by the total weight. A weighted quantile can then be defined as the smallest value at which this ECDF reaches or exceeds the desired probability. This convention handles discrete data and ties by using the cumulative weight at each distinct value.

$$ \widehat{F}_w(t)= \frac{\sum_{i=1}^{n}w_i\,\mathbf{1}(x_i\leq t)} {\sum_{i=1}^{n}w_i}, \qquad \hat{Q}_w(p)=\inf\{t:\widehat{F}_w(t)\geq p\} $$

To assess a record’s influence on a quantile, remove it, recalculate the total weight and ECDF from the remaining records, and find the quantile again using the same definition. Unlike the mean, a quantile does not generally have a simple contribution formula: its value can stay unchanged over a range of weight changes and then jump when a cumulative-weight threshold is crossed.

Worked Example: A Large Weight Changes the Weighted Median

Suppose a hypothetical sample has four measured values, in minutes, with weights as follows: 10 has weight 1, 20 has weight 1, 30 has weight 1, and 40 has weight 7. Use the smallest-value-at-or-above-0.5 definition of the weighted median.

The total weight is 10. The cumulative weights at the ordered values are 1, 2, 3, and 10, so the ECDF reaches 0.5 when the cumulative weight first reaches 5. That occurs at 40; hence \(\hat{Q}_w(0.5)=40\) minutes.

$$ \widehat{F}_w(30)=\frac{1+1+1}{10}=0.300, \qquad \widehat{F}_w(40)=\frac{10}{10}=1.000 $$

Now leave out the record with value 40 and weight 7. The remaining total weight is 3, and the cumulative weights at 10, 20, and 30 are 1, 2, and 3. The ECDF first reaches 0.5 at 20, because \(1/3<0.5\) and \(2/3\geq0.5\). The leave-one-out weighted median is therefore 20 minutes, a difference of 20 minutes from the full estimate. This large change reflects the chosen weighted-quantile definition and the concentrated weight at 40; it is not an estimate of what the population median would be if the record were invalid.

How to Use the Diagnostic Responsibly

A practical assessment combines weight concentration with outcome-specific comparisons. First verify that the records are eligible and that the same denominator and analytic population are used throughout. Then identify large weight shares, inspect their weighted contributions for totals, and recompute the relevant mean, proportion, or quantile after excluding each flagged record in turn. Report the full estimate, the comparison estimate, and their difference in meaningful units. For a mean or proportion, a relative change can also be useful when the full estimate is not near zero; always state the reference used to calculate it.

For totals, preserve the original weights when computing the simple leave-one-record-out comparison. Renormalizing the remaining weights changes the total’s scale, so it no longer isolates the removed record’s contribution. For means and proportions, multiplying every remaining weight by the same positive constant leaves the ratio unchanged, but keeping the original weights still makes the comparison procedure explicit and consistent.

A large leave-one-out change should prompt checks of the record, its outcome, eligibility, and the documented construction of its weight. The record may be correct and essential to representing a sparsely sampled part of the population. Conversely, a small change in one estimate does not show that the weights are correct for every other outcome. The diagnostic concerns the estimate and records examined; it does not replace design-based uncertainty assessment or justify a general rule for trimming weights.

Common Pitfall

Common mistake: “This record has the largest weight, so it must be removed or its weight reduced.” A large weight alone is not enough: influence depends on the statistic and, for totals and ratios, on the outcome attached to that weight. Correction: calculate the record’s weight share and relevant weighted contribution, compare the full estimate with the leave-one-record-out estimate, and investigate the design and weight construction before proposing any change. Treat the comparison as a sensitivity diagnostic, not as a corrected estimate.
Key takeaway: Weight concentration is a useful warning signal, but influence is specific to the statistic. Examine weighted contributions for totals, outcome contrasts for means and proportions, and changes in the weighted ECDF for quantiles. A large diagnostic effect calls for careful investigation, not automatic deletion or weight reduction.

Check Your Understanding

Use the definitions and comparisons in this tutorial to answer the following questions.

  1. What does a normalized weight share describe, and why is it not by itself a measure of influence on a weighted mean?
  2. A record has a large weight but an outcome of zero. Explain how it may affect a weighted total and what its weight share still tells you.
  3. For a weighted mean, what two features of a record determine the size and direction of its leave-one-record-out change?
  4. Why can removing a high-weight record cause a weighted median to jump rather than change gradually?
  5. Why should a leave-one-record-out comparison not be reported as evidence that the omitted record should be excluded from the survey estimate?
Clinical Biostats