Tutorials › Pattern-Mixture and Selection Models › A Two-Visit Workshop on Restriction-Based Identification

Identifying Restrictions · Tutorial 267 of 499

A Two-Visit Workshop on Restriction-Based Identification

Work from observed two-visit pattern summaries to restricted means, comparing complete-case and available-case assignments and verifying the resulting weighted calculations.

Advanced 12 min read

What You'll Learn

  • Define the four response patterns for two visits and identify which visit outcomes are observed in each.
  • Calculate complete-case and available-case reference means from pattern-specific observed summaries.
  • Use pattern proportions to calculate an overall mean under each restriction.
  • Verify the contribution from observed and missing patterns separately.
  • Distinguish a restriction used for identification from a testable fact about missing outcomes.
  • Diagnose empty reference patterns, arithmetic errors, and inappropriate conditional pooling.

From a Two-Visit Pattern Table to an Overall Mean

With two visits, each participant belongs to one of four response patterns. A pattern table records how many participants have each observation history, and which visit outcomes are available within it. This makes restriction-based identification a direct calculation: observed means supply some pattern-specific quantities, a stated restriction supplies the missing pattern-specific means, and the pattern proportions determine how those means contribute to the overall mean.

The key is to keep the steps separate. First identify which outcomes are observed in each pattern. Then define the reference mean required by the restriction. Finally, weight every pattern-specific mean by that pattern's proportion. A restriction does not change the observed data or the pattern proportions; it specifies values for outcome means that the data alone do not reveal.

Definition: Let \(Y_1\) and \(Y_2\) denote outcomes at visits 1 and 2. Write a response pattern as \(r_1r_2\), where \(r_j=1\) means \(Y_j\) is observed and \(r_j=0\) means it is missing. Thus, pattern 11 has both outcomes observed, 10 has only \(Y_1\) observed, 01 has only \(Y_2\) observed, and 00 has neither outcome observed. Let \(p_{r_1r_2}\) be the proportion in that pattern, and let \(\mu_{j,r_1r_2}\) be the mean of \(Y_j\) in that pattern.

The four proportions satisfy \(p_{11}+p_{10}+p_{01}+p_{00}=1\). Some pattern-specific means are observed directly: \(Y_1\) is observed in patterns 11 and 10, while \(Y_2\) is observed in patterns 11 and 01. The remaining pattern-specific means are missing from the observed data. For example, the full-population mean at visit 1 can be written as

$$ \mu_1 =p_{11}\mu_{1,11}+p_{10}\mu_{1,10} +p_{01}\mu_{1,01}+p_{00}\mu_{1,00}. $$

The first two terms involve observed means; the last two do not. A restriction-based calculation supplies values for those two missing means. The analogous decomposition applies to \(\mu_2\).

Two Restrictions and Their Reference Means

A complete-case restriction uses pattern 11 as the reference for a visit outcome that is missing in another pattern. An available-case restriction instead uses the mean among everyone whose outcome at that visit is observed, pooling across the patterns where it is observed. These are marginal mean restrictions: they do not automatically adjust for covariates or other history.

Definition: Under the complete-case mean restriction, the mean of a missing visit outcome in each pattern is set equal to that outcome's mean in pattern 11. Thus \(\mu_{1,01}=\mu_{1,00}=\mu_{1,11}\), and \(\mu_{2,10}=\mu_{2,00}=\mu_{2,11}\). Under the available-case mean restriction, each missing mean is set equal to the pooled mean among all patterns where that outcome is observed: \(\mu_{1,01}=\mu_{1,00}=(p_{11}\mu_{1,11}+p_{10}\mu_{1,10})/(p_{11}+p_{10})\), and \(\mu_{2,10}=\mu_{2,00}=(p_{11}\mu_{2,11}+p_{01}\mu_{2,01})/(p_{11}+p_{01})\).

Both restrictions require the relevant reference mean to be defined. For a complete-case restriction, \(p_{11}>0\) is needed. For the available-case restriction at visit 1, \(p_{11}+p_{10}>0\) is needed; at visit 2, \(p_{11}+p_{01}>0\) is needed. These are positivity conditions, not evidence that the restrictions are substantively plausible. In a sample calculation, the corresponding sample pattern counts must also be nonzero.

The available-case reference is a weighted mean, not an unweighted average of the pattern means. If one observed pattern is much larger than another, it contributes more to the mean of all available outcomes. Likewise, an overall mean is not an average of four pattern means unless the four pattern proportions are equal.

Worked Example: Both Restrictions From One Pattern Table

Consider a hypothetical sample of 200 participants. The pattern counts and observed visit means are shown below. Outcomes are measured in points.

PatternCountProportionObserved mean \(Y_1\)Observed mean \(Y_2\)
111000.501012
10400.208Missing
01300.15Missing9
00300.15MissingMissing

The proportions sum to \(0.50+0.20+0.15+0.15=1.00\). Pattern 11 supplies both complete-case reference means: 10 points for \(Y_1\) and 12 points for \(Y_2\).

Complete-case restriction for visit 1. The observed \(Y_1\) contributions are from patterns 11 and 10. The restriction assigns 10 points to each missing-pattern mean. Therefore,

$$ \widehat{\mu}_1^{CC} =(0.50)(10)+(0.20)(8)+(0.15)(10)+(0.15)(10) =5+1.6+1.5+1.5 =9.60\text{ points}. $$

Available-case restriction for visit 1. The observed-case reference mean is calculated over patterns 11 and 10, which together contain 140 participants:

$$ \bar{Y}_{1,\mathrm{avail}} =\frac{(100)(10)+(40)(8)}{100+40} =\frac{1320}{140} =9.429\text{ points}. $$

Assign this mean to patterns 01 and 00. Their combined proportion is \(0.15+0.15=0.30\), so the overall mean is

$$ \widehat{\mu}_1^{AC} =(0.50)(10)+(0.20)(8)+(0.30)(9.429) =5+1.6+2.829 =9.429\text{ points}, $$

up to rounding. The observed contribution is \(6.60\) points on the proportion-weighted scale; the missing-pattern contribution is approximately \(2.829\), for a total of \(9.429\).

Visit 2. The complete-case restriction assigns 12 points to patterns 10 and 00. Thus

$$ \widehat{\mu}_2^{CC} =(0.50)(12)+(0.20)(12)+(0.15)(9)+(0.15)(12) =6+2.4+1.35+1.8 =11.55\text{ points}. $$

For the available-case restriction, patterns 11 and 01 contain 130 observed \(Y_2\) values. Their pooled mean is

$$ \bar{Y}_{2,\mathrm{avail}} =\frac{(100)(12)+(30)(9)}{100+30} =\frac{1470}{130} =11.31\text{ points}. $$

The missing patterns for \(Y_2\) have combined proportion \(0.20+0.15=0.35\). The weighted calculation is

$$ \widehat{\mu}_2^{AC} =(0.50)(12)+(0.15)(9)+(0.35)(11.3077) =6+1.35+3.9577 =11.3077\text{ points}. $$

The small displayed difference between 11.31 and 11.3077 is rounding only. This table illustrates that complete-case and available-case restrictions can yield different overall means, even though they use the same observed data and pattern proportions.

Why the Available-Case Calculation Reproduces Its Reference Mean

The equality between the available-case reference mean and the resulting overall mean is not a coincidence. It follows directly from the restriction and the fact that all missing patterns for a given visit are assigned the same available-case mean.

Justification: For visit 1, define \(q_1=p_{11}+p_{10}\), the proportion with \(Y_1\) observed, and let \(a_1=(p_{11}\mu_{1,11}+p_{10}\mu_{1,10})/q_1\). Under the available-case restriction, both missing-pattern means equal \(a_1\). Therefore,
$$ \begin{aligned} \mu_1 &=p_{11}\mu_{1,11}+p_{10}\mu_{1,10} +(p_{01}+p_{00})a_1\\ &=q_1a_1+(1-q_1)a_1\\ &=a_1. \end{aligned} $$

The same argument applies to visit 2, with \(q_2=p_{11}+p_{01}\). In a finite sample, the available-case overall mean is therefore exactly the mean among participants with that outcome observed, apart from numerical rounding. This identity is also a useful arithmetic check. The complete-case overall mean need not equal the complete-case mean: its observed-pattern contributions can include a different mean, as pattern 10 does for \(Y_1\) in the example.

Worked Example: Checking Pattern Weights and a Restricted Mean

In a second hypothetical two-visit sample, the pattern proportions are \(p_{11}=0.40\), \(p_{10}=0.30\), \(p_{01}=0.20\), and \(p_{00}=0.10\). The observed \(Y_1\) means are 6 points in pattern 11 and 10 points in pattern 10. Assume the complete-case mean restriction for \(Y_1\).

First check the table: \(0.40+0.30+0.20+0.10=1.00\), and \(p_{11}>0\), so the complete-case reference mean exists. The restriction assigns 6 points to both missing-pattern \(Y_1\) means. Hence

$$ \widehat{\mu}_1^{CC} =(0.40)(6)+(0.30)(10)+(0.20)(6)+(0.10)(6) =2.4+3.0+1.2+0.6 =7.20\text{ points}. $$

A useful check is to group terms by observed versus missing pattern. The observed contribution is \(2.4+3.0=5.4\) points on the weighted scale. The missing proportion is \(0.20+0.10=0.30\), contributing \((0.30)(6)=1.8\) points. Their sum is \(5.4+1.8=7.20\), agreeing with the four-term calculation. This check verifies both the pattern weights and the assignment.

Diagnostics, Comparisons, and Limits

A careful calculation begins with an observation map: for each visit, mark the patterns where its outcome is observed. Then verify that the pattern proportions sum to one, that the reference group has positive size, and that each observed mean is paired with the correct pattern proportion. A useful final check is to separate the observed and missing contributions and confirm that their weights sum to one.

The two restrictions answer different assumptions about the unobserved pattern means. Complete-case restrictions borrow the pattern-11 mean, even when an outcome is observed in another incomplete pattern. Available-case restrictions borrow the pooled observed mean, which reflects the observed pattern composition for that visit. Neither rule is established by having a large sample, and neither can generally be verified from the observed pattern table: the missing outcome means are precisely the quantities not observed.

These are marginal restrictions. If patterns differ in baseline covariates or other measured history, equality of marginal means does not imply equality within levels of those variables. Pooling can then conceal differences in composition. Conversely, replacing a marginal rule with a conditional rule changes the assumption and the calculation; it is not a harmless arithmetic refinement. The earlier material on covariate imbalance across patterns and on marginal versus conditional equality is relevant when deciding whether this simple table-level restriction is scientifically defensible.

The calculation identifies a marginal mean only under the stated restriction and the pattern definitions used. It does not identify the full distribution of missing outcomes, their variances, or their correlations with outcomes at the other visit. Nor does equality of means imply equality of distributions. If the intended estimand is conditional, or concerns a nonlinear quantity such as a threshold probability, these mean restrictions alone may be insufficient.

Common pitfall: It is incorrect to assign the complete-case mean to missing outcomes and then report the complete-case mean as the overall mean. The overall mean must include all four pattern proportions and all observed pattern means. It is also incorrect to average the observed pattern means equally: use the pattern counts or proportions. Under the available-case restriction the overall mean does equal the available-case mean, but that equality follows from assigning that same mean to every missing pattern, not from ignoring the pattern weights.
1
Map observation status.
For each visit, list the patterns with observed outcomes and those with missing outcomes.
2
Check reference availability.
Confirm the complete-case or available-case denominator is positive before calculating its reference mean.
3
State the restriction.
Write which missing pattern means are set equal to which observed reference mean.
4
Weight and verify.
Multiply every pattern-specific mean by its proportion, add the contributions, and check the result by grouping observed and missing patterns.

Check Your Understanding

Try each question, then compare your work with the solutions below. All values are hypothetical.

  1. In a two-visit study, what outcomes are observed in pattern 10, and what outcomes are missing?
  2. Suppose \(p_{11}=0.25\), \(p_{10}=0.25\), \(p_{01}=0.30\), and \(p_{00}=0.20\). The observed \(Y_1\) means are 4 points in pattern 11 and 8 points in pattern 10. Under the available-case restriction, calculate the reference mean and overall mean for \(Y_1\).
  3. Using the same pattern proportions, suppose the observed \(Y_2\) means are 10 points in pattern 11 and 6 points in pattern 01. Under the complete-case restriction, calculate the overall mean for \(Y_2\).
  4. Why is an available-case overall mean equal to its reference mean under the stated restriction?
  5. A sample has no participants in pattern 11. Can the complete-case restriction as defined here be used? Explain.

Solutions. (1) Pattern 10 has \(Y_1\) observed and \(Y_2\) missing. (2) The available-case reference mean is \(\{(0.25)(4)+(0.25)(8)\}/(0.50)=3/0.50=6\) points. The missing-\(Y_1\) proportion is \(0.30+0.20=0.50\), so the overall mean is \((0.25)(4)+(0.25)(8)+(0.50)(6)=1+2+3=6\) points. (3) The complete-case restriction assigns 10 points to patterns 10 and 00. Thus the mean is \((0.25)(10)+(0.25)(10)+(0.30)(6)+(0.20)(10)=2.5+2.5+1.8+2.0=8.80\) points. (4) The observed-pattern weighted contribution equals the observed proportion times the available-case mean; the missing-pattern contribution equals the missing proportion times that same mean. The proportions add to one, so the total is the reference mean. (5) No. With \(p_{11}=0\), the complete-case reference mean is unavailable, so this particular restriction cannot be calculated without changing the reference rule or adding information.

Clinical Biostats