Skip to contents

Compute the fraction of the units a rotation puts in sample that it carries from one period to another, at every lag the rotation reaches. This is the overlap of the issued sample, a property of the rotation alone. It is the overlap that n_change(), prec_change(), power_mean(), power_prop() and power_did() take when response is complete, replacing a number the planner would otherwise have to know. See Details for what a response rate below 1 does to that reading.

Usage

design_overlap(rotation, max_lag = NULL, window = NULL)

Arguments

rotation

A svyplan_rotation from design_rotation(), or anything that function accepts, which is wrapped for you. The pattern vocabulary, the two notations and every refusal live on design_rotation(). A rotating n_panel() plan gives the overlap among respondents instead. See the section on respondent overlap in Details.

max_lag

Largest lag to report. Defaults to one less than the life, which is the largest lag at which any overlap is possible.

window

Optional number of consecutive periods, such as 4 for a year of quarterly periods. When given, the result also carries the mean number of periods a unit is in sample within such a window. See the section on visits in Details. Not available for a panel plan, the visits being those of issued units.

Value

A svyplan_overlap object: a numeric vector of issued-sample overlap fractions named by lag, so x[1] is the consecutive-period overlap and x[12] the overlap a year apart on monthly periods. Subsetting returns a plain number, which is what the overlap arguments take, and arithmetic returns bare numerics. It also carries:

$shared

Units in sample in both periods, at each lag. For a panel plan, expected respondents per entrant.

$in_sample

Units in sample at one period, or for a panel plan expected respondents per entrant.

$basis

"issued" for a rotation, "respondent" for a panel plan.

$rotation

The design_rotation() it was computed from, which carries the life, the per-period takes and the units in sample at any one period.

$window, $visits

The window length and the mean number of periods a unit is in sample within it, NA when window is not given.

Details

One cohort enters at every period, so once the full sample is in the field the cohorts alive span every stage of the life and the sample at period \(t\) is \(\sum_s w_s\), writing \(w\) for the rotation. Units in sample at both \(t\) and \(t + m\) are those whose cohort is in sample at stages \(s\) and \(s + m\), so

$$\mathrm{shared}(m) = \sum_{s = 1}^{L - m} \min(w_s, w_{s + m}), \qquad \mathrm{overlap}(m) = \mathrm{shared}(m) / \sum_s w_s.$$

The min is the count when the smaller take at the two periods is a subset of the larger, which is what attrition and planned subsampling both give, including a design that subsamples an interim wave and returns to the whole cohort afterward. Nesting is an assumption about the design and is not identifiable from the takes. Where the two periods measure partly disjoint subsamples of the cohort, min is the largest overlap the takes admit rather than the overlap the design has.

These are the overlaps of the design with the full sample in the field, which a rotation reaches once every stage of the life is represented at one period. Which period that is depends on how the design is started, and the overlaps themselves do not: shared(m) sums over stages, and entry dates do not enter it. A design that recruits one cohort a period reaches the full sample at the period that spans the life, the overlaps before it being those of a design no cohort has yet aged out of. A design whose first period selects a start-up cohort for every possible remaining life length has the full sample from the first period, and these figures hold throughout. For an unbroken equal-take life, those are equal panels planned for lives from the full life down to one period, all at their first interview.

Covering every stage is the exact requirement, and for a life with a gap it is more than one cohort per remaining length. Under "1-1-0-0-1-1" the stages a full sample covers include two that are out of sample, so the cohorts starting there are selected but not interviewed until they reach their first in-sample stage. Splitting the first period's interviewed sample alone puts six cohorts in sample where the design holds four, and gives a consecutive overlap of 0.83 against the rotation's 0.50. plot.svyplan_rotation() draws either start and marks the first period with the full sample.

The overlap has one direction here, and that is a property of the full sample rather than a simplification. Elsewhere in the package overlap is n12 / n1 and is not symmetric when the periods differ in size. Under a stationary rotation every period holds the same mix of life stages, so \(n_t\) is the same at every period and the two directions coincide. A design whose cohorts differ in size by entry date never holds the same mix at every period and is outside what this function describes.

Issued overlap, and the overlap a variance formula reads

What a rotation fixes is which units are issued in both periods. The overlap argument of n_change(), prec_change() and the power family is the fraction of the first period's responding sample measured again, those functions netting each period down by resp_rate before the covariance forms. The two are the same number at resp_rate = 1, and this function's result can be passed straight through there. Those functions call the two times compared occasions, the textbook word for any time a survey is taken, whatever its level (Cochran, 1977, sections 12.10 to 12.12). For an overlap read from a rotation, an occasion is a period of that rotation and the lag counts periods.

Below full response they are not, and converting one into the other needs an assumption about how response persists across periods, which neither function makes. Under response independent between periods at rate \(r\), an issued overlap \(f\) leaves a responding overlap of about \(fr\): a shared unit responds in both periods with probability \(r^2\), against the \(r\) of issued units responding at the first. A panel whose wave-1 respondents are much likelier to respond again sits above that, reaching \(f\) itself when response persists perfectly. Pass the figure you expect among respondents, and say which assumption produced it.

Respondent overlap from a panel plan

A rotating n_panel() plan states the second assumption, loss that is permanent: a unit that stops responding does not return. Then a unit responding at the later of two stages of its life responded at the earlier one, and with \(q_s\) the probability of still responding at stage \(s\) (zero out of sample),

$$\mathrm{overlap}(m) = \sum_{s:\, w_s > 0,\, w_{s + m} > 0} q_{s + m} \Big/ \sum_s q_s.$$

Recruitment response and eligibility multiply every \(q_s\) and cancel, so at retention 1 this is the issued overlap whatever resp_rate is. Retention below 1 lowers it, and more at long lags. The result can be passed as the overlap of n_pooled() and prec_pooled() at any resp_rate, and one lag of it to n_change() and prec_change(). Passed whole, it tells prec_pooled() and n_pooled() that the occasions are cohorts of one rotation, which as.numeric() discards. It describes equal cohorts at equilibrium and does not model response that recovers after a loss, nor units joining a sampled dwelling.

Visits per unit in a window

A window of \(W\) consecutive periods holds \(W \sum_s w_s\) interviews with the full sample in the field. The units behind them are fewer, since a unit in sample at several periods of the window is counted once. A cohort sees a run of at most \(W\) consecutive stages of its life inside the window, and with its units nested across stages, as for the overlap, it contributes the largest take in that run. Summing over the cohorts the window touches gives the distinct units, and

$$\mathrm{visits}(W) = W \sum_s w_s \Big/ \sum_k \max_{s \in [k, k + W - 1] \cap [1, L]} w_s,$$

with \(k\) running over the \(L + W - 1\) cohorts whose life meets the window. Under "2-2-2" on quarterly periods, a year holds 16 interviews of 9 distinct panels, so 16/9 = 1.78.

The figure is a property of the rotation. Some labor force survey methodologies use it to scale the cluster size when a yearly estimate pools quarterly interviews, which folds the correlation between a unit's repeated interviews into the intraclass correlation. prec_pooled() treats the average over periods with that correlation stated separately, as overlap_cor.

What it does not give you

The correlation between periods. overlap is a property of the rotation and is fixed once the design is declared, whereas overlap_cor is a property of the variable being measured and has to come from a previous round of the same survey. Both enter the variance of a change, and only their product buys precision, so a rotation alone does not say what a rotation is worth.

References

Cochran, W. G. (1977). Sampling Techniques, 3rd ed. Wiley. Sections 12.10 to 12.12, sampling on successive occasions.

U.S. Census Bureau and U.S. Bureau of Labor Statistics (2019). Current Population Survey: Design and Methodology. Technical Paper 77. The 4-8-4 rotation and its 75% and 50% overlaps.

Lynn, P. (2012). Longitudinal Survey Methods for the Household Finances and Consumption Survey. Report prepared for the European Central Bank. The one-flag-per-period notation, and the 1-1-0-0-1-1 design whose lag profile the examples reproduce.

See also

design_rotation() for the pattern this reads, plot.svyplan_overlap() for the bar chart by lag, plot.svyplan_rotation() for the rotation chart, n_panel() for the plan a respondent overlap comes from, n_change() and prec_change(), which take the result as their overlap, and design_effect() and design_df() for the other quantities a planned design determines.

Other repeated survey functions: design_rotation(), design_schedule(), n_change(), n_panel(), n_pooled(), prec_change(), prec_panel(), prec_pooled()

Examples

# CPS 4-8-4: 75 percent month to month, 50 percent a year apart
cps <- design_overlap(design_rotation("4-8-4"))
cps[1]
#> [1] 0.75
cps[12]
#> [1] 0.5

# A string is wrapped for you, which is the one-liner form
design_overlap("5")[1]
#> [1] 0.8

# Feed it straight into a change requirement, response being complete here
n_change(p = c(0.30, 0.36), moe = 0.02,
         overlap = cps[1], overlap_cor = 0.5)
#> Sample size for change (proportion scale)
#> n = 2646 per occasion (p = 0.3 to 0.36, moe = 0.02, deff = 1)
#> overlap = 0.75, overlap_cor = 0.5 (62.5% of the independent variance)

# The annual lag is the one a year-on-year change uses
n_change(p = c(0.30, 0.36), moe = 0.02,
         overlap = cps[12], overlap_cor = 0.5)
#> Sample size for change (proportion scale)
#> n = 3174 per occasion (p = 0.3 to 0.36, moe = 0.02, deff = 1)
#> overlap = 0.5, overlap_cor = 0.5 (75.0% of the independent variance)

# Under response independent between periods at 80 percent, the overlap
# among respondents is the issued one scaled by the response rate
n_change(p = c(0.30, 0.36), moe = 0.02, resp_rate = 0.8,
         overlap = cps[1] * 0.8, overlap_cor = 0.5)
#> Sample size for change (proportion scale)
#> n = 3703 per occasion (net: 2962) (p = 0.3 to 0.36, moe = 0.02, deff = 1, resp_rate = 0.80)
#> overlap = 0.6, overlap_cor = 0.5 (70.0% of the independent variance)

# Under permanent loss, the panel plan gives it: recruitment response
# cancels and retention lowers the overlap, more at the annual lag
plan <- n_panel(n_prop(p = 0.3, moe = 0.02), resp_rate = 0.8,
                retention = c(0.97, 0.97, 0.97, 0.85, 0.97, 0.97, 0.97),
                design = "rotating", rotation = "4-8-4")
resp <- design_overlap(plan)
c(resp[1], resp[12])
#> [1] 0.7384645 0.4368647
n_change(p = c(0.30, 0.36), moe = 0.02, resp_rate = 0.8,
         overlap = resp[1], overlap_cor = 0.5)
#> Sample size for change (proportion scale)
#> n = 3337 per occasion (net: 2670) (p = 0.3 to 0.36, moe = 0.02, deff = 1, resp_rate = 0.80)
#> overlap = 0.738, overlap_cor = 0.5 (63.1% of the independent variance)

# One flag per period, the other notation in use: in for two, out for
# two, in for two. Change is estimable at lags 1, 3, 4 and 5 but not 2
design_overlap("1-1-0-0-1-1")
#> Rotation overlap (planning)
#> 
#>   life: 6 periods, 4 in sample each period
#>   rotation: 2 in, 2 out, 2 in
#> 
#>  lag shared overlap
#>  1   2      0.5    
#>  2   0      0      
#>  3   1      0.25   
#>  4   2      0.5    
#>  5   1      0.25   

# The same design as spell lengths
identical(as.double(design_overlap("2-2-2")),
          as.double(design_overlap("1-1-0-0-1-1")))
#> [1] TRUE

# An explicit take vector, halving the take at later waves
design_overlap(c(1, 1, 0.5, 0.5))
#> Rotation overlap (planning)
#> 
#>   life: 4 periods, 3 in sample each period
#>   rotation: 2 in, 2 in at 0.5
#> 
#>  lag shared overlap
#>  1   2.0    0.6667 
#>  2   1.0    0.3333 
#>  3   0.5    0.1667 

# Interviews per unit over a year of quarterly periods
lfs <- design_overlap("2-2-2", window = 4)
lfs$visits
#> [1] 1.777778

# An annual estimate that counts each unit once rests on the distinct
# units of the year: four quarters of 1600 interviews, 16/9 per unit
distinct <- 4 * 1600 / lfs$visits
prec_prop(p = 0.3, n = distinct)
#> Sampling precision for proportion (wald)
#> n = 3600
#> se = 0.0076, moe = 0.0150, cv = 0.0255, rmoe = 0.0499
#> expected cases = 1080.0

# The overlap at each lag, and the rotation chart it comes from
ov <- design_overlap("1-1-0-0-1-1")
plot(ov)

plot(ov$rotation)