How a Case-Cohort Sample Is Formed
A case-cohort design starts with a defined cohort. A subcohort is sampled at baseline, before the outcome period, and outcomes are then ascertained for the entire cohort. The analysis data consist of the sampled subcohort together with every case in the cohort. Thus, cases outside the subcohort are included, while noncases outside it are not. A case who belongs to the subcohort appears only once in the analysis data.
The design affects how much information each observed record represents. A sampled noncase stands in for noncases who were not sampled. By contrast, case ascertainment includes every case, so an observed case does not need to stand in for cases omitted by the design: none were omitted. This difference determines the inverse-probability weights for the full-cohort likelihood criterion.
The last statement assumes the subcohort is sampled before outcomes and that all cases in the defined cohort are ascertained. The subcohort sampling probability \(\pi_i\) may be common to everyone or may depend on a sampling stratum known under the design. If a case is also in the subcohort, its analysis-sample inclusion probability is still one: it is observed through the union, not counted twice.
From Inclusion Probabilities to Weighted Likelihood
Suppose the full-cohort model gives individual \(i\) a log-likelihood contribution \(\ell_i(\theta)\), based on the outcome and covariates that would be available for that individual in a complete-cohort analysis. The full-cohort log-likelihood is \(\ell(\theta)=\sum_{i=1}^N\ell_i(\theta)\). When only the case-cohort sample is observed, an inverse-probability weighted criterion replaces each missing contribution by an observed contribution multiplied by the reciprocal of its inclusion probability.
This is a Horvitz–Thompson weighted log-likelihood criterion. It is generally a weighted or pseudo-likelihood criterion, not the ordinary likelihood of the observed sample conditional on the sampling design. Its purpose here is to recover the full-cohort likelihood criterion in expectation over the sampling design.
Why the Weighted Criterion Recovers the Full-Cohort Criterion
The key calculation is design-based: condition on the fixed cohort outcomes, covariates, and their likelihood contributions, and take expectation over the subcohort sampling. For any individual, the expected weighted inclusion indicator is one.
Proof. Conditional on the cohort data, \(\ell_i(\theta)\) and \(\rho_i\) are fixed, while \(I_i\) is random under the sampling design. Since \(E_{\mathrm{design}}[I_i]=P_{\mathrm{design}}(I_i=1)=\rho_i\),
Summing this equality over the finite cohort and using linearity of expectation gives \(E_{\mathrm{design}}[\ell_{\mathrm{IPW}}(\theta)]=\sum_{i=1}^N\ell_i(\theta)=\ell(\theta)\). No independence among the inclusion indicators is needed for this expectation identity. In particular, fixed-size sampling can make subcohort indicators dependent without invalidating the result. \(\square\)
The result is about the sampling-design expectation of the criterion at a fixed \(\theta\). It does not say that a realized weighted criterion equals the full-cohort criterion, nor by itself guarantee that its maximizer is unbiased or has a particular variance.
Worked Example: Weights in a Simple Random Subcohort
Worked Example: Weights in a Simple Random Subcohort
A cohort has \(N=1{,}000\) people. A simple random subcohort of \(m=200\) is drawn at baseline, and all 80 cases arising in the cohort are ascertained. The observed subcohort contains 16 cases and 184 noncases; the remaining 64 cases are outside the subcohort. Find the weights and show the total weighted contribution when an intercept-only logistic model assigns case probability \(p=0.70\) to everyone.
The subcohort inclusion probability is \(\pi=200/1{,}000=0.20\). Each sampled noncase therefore has weight \(1/\pi=5\). Every case has analysis-sample inclusion probability one, whether or not it is in the subcohort, so each of the 80 cases has weight one. The 16 subcohort cases are not duplicated.
For a case, the Bernoulli log-likelihood contribution is \(\log(0.70)=-0.3566749439\ldots\), and its weighted contribution is \(-0.3566749439\ldots\). For a noncase, the contribution is \(\log(1-0.70)=\log(0.30)=-1.2039728043\ldots\); its weighted contribution is \(5\log(0.30)=-6.0198640215\ldots\).
The weighted sum contains all 80 cases and represents the 920 cohort noncases through the 184 sampled noncases, each multiplied by five:
The full-cohort log-likelihood at this probability is \(80\log(0.70)+920\log(0.30)\), which is the same value. In the realized data, the weighted criterion happens to reproduce the full-cohort criterion because the observed noncase count, 184, multiplied by five equals the full-cohort noncase count, 920.
Worked Example: Different Sampling Fractions by Stratum
Worked Example: Different Sampling Fractions by Stratum
Suppose a cohort is divided into two baseline strata. In the low-risk stratum, 100 of 1,000 people are sampled; in the high-risk stratum, 80 of 200 are sampled. All cases in both strata are ascertained. Find the weights for noncases in each stratum and for cases inside and outside the subcohort.
In the low-risk stratum, \(\pi_{\mathrm{low}}=100/1{,}000=0.10\), so each sampled noncase has weight \(1/0.10=10\). In the high-risk stratum, \(\pi_{\mathrm{high}}=80/200=0.40\), so each sampled noncase has weight \(1/0.40=2.5\). These weights differ because each sampled person represents a different number of cohort members.
A low-risk case has weight one whether it is in the subcohort or not; the same is true of a high-risk case. For example, if there are 12 high-risk cases in the subcohort and 7 additional high-risk cases outside it, all 19 contribute once with weight one. A sampled high-risk noncase contributes with weight 2.5, while a sampled low-risk noncase contributes with weight 10.
The weighted noncase count estimates the cohort noncase count separately within each stratum. If the sample contains 88 low-risk noncases and 50 high-risk noncases, their weighted counts are \(88(10)=880\) and \(50(2.5)=125\), respectively. The weights should not be replaced by one pooled reciprocal sampling fraction: doing so would fail to represent the two strata at their respective sampling rates.
Worked Example: Weighted Logistic Contributions and Score
Worked Example: Weighted Logistic Contributions and Score
Consider a logistic model with \(\eta_i=\beta_0+\beta_1x_i\) and \(p_i=\exp(\eta_i)/(1+\exp(\eta_i))\). A simple random subcohort has \(\pi=0.20\), so sampled noncases have weight five and all cases have weight one. For illustration, suppose the observed records are: a case with \(x=0\) in the subcohort; a case with \(x=1\) outside it; a noncase with \(x=1\) in the subcohort; and a noncase with \(x=0\) in the subcohort. Evaluate their weighted contributions at \(\beta_0=0\), \(\beta_1=\log(3)\).
For \(x=0\), \(\eta=0\) and \(p=1/2\). For \(x=1\), \(\eta=\log(3)\), so \(p=3/(1+3)=3/4\). A case contributes \(\log(p)\); a noncase contributes \(\log(1-p)\). Thus the four weighted contributions, in the order listed, are
Numerically, these are \(-0.693147\), \(-0.287682\), \(-6.931472\), and \(-3.465736\), respectively, for a total of approximately \(-11.378037\). The case outside the subcohort still has weight one because it is observed through case ascertainment.
For a logistic model, differentiating a weighted Bernoulli log-likelihood gives weighted score \(\sum_i w_i x_i^{*}(y_i-p_i)\), where \(x_i^{*}=(1,x_i)^\mathsf{T}\). Here the intercept component is \(1(1-1/2)+1(1-3/4)+5(0-3/4)+5(0-1/2)=0.5+0.25-3.75-2.5=-5.5\). The slope component uses only records with \(x=1\), giving \(1(1-3/4)+5(0-3/4)=0.25-3.75=-3.5\). These are the gradient components at the stated parameter values; no claim that the values maximize the criterion is being made.
Deriving the Logistic Score
For clarity, the score formula used above follows directly from the weighted criterion. Write \(x_i^{*}\) for an individual’s design vector, \(\eta_i=(x_i^{*})^\mathsf{T}\beta\), and \(p_i=\exp(\eta_i)/(1+\exp(\eta_i))\). The weighted Bernoulli log-likelihood is
Derivation. For one record, use \(\log(p_i)=\eta_i-\log(1+\exp(\eta_i))\) and \(\log(1-p_i)=-\log(1+\exp(\eta_i))\). Its unweighted contribution becomes \(y_i\eta_i-\log(1+\exp(\eta_i))\). Differentiating with respect to \(\beta\), and using \(\partial\eta_i/\partial\beta=x_i^{*}\), gives
Multiplication by the fixed design weight \(w_i\) multiplies this derivative by \(w_i\). Summing over observed records gives \(\partial\ell_{\mathrm{IPW}}(\beta)/\partial\beta=\sum_i w_i x_i^{*}(y_i-p_i)\). This derivation concerns the weighted criterion; uncertainty estimation must also account for the sampling design.
Interpretation and Common Pitfalls
Inverse-probability weighting restores the full-cohort contribution in expectation by expanding the contribution of sampled noncases. It does not mean that the observed sample has become a simple random sample of the cohort. Nor does the weighted criterion automatically provide ordinary likelihood-based standard errors: design dependence, including dependence induced by fixed-size subcohort sampling, matters for variance estimation.
- Giving every case weight \(1/\pi\). This incorrectly treats cases as observed only when sampled into the subcohort. Under complete case ascertainment their overall inclusion probability is one, so their weight is one.
- Counting subcohort cases twice. The observed data are a union. A case appearing in both the subcohort and the case list contributes once.
- Giving noncases weight one. This underrepresents cohort noncases when only a fraction \(\pi\) is sampled. Their inverse-probability weight is \(1/\pi\).
- Using the same weight across unequal sampling strata. When \(\pi_i\) differs by stratum, use the reciprocal of the individual’s applicable inclusion probability.
- Calling the weighted criterion the exact selected-sample likelihood. It is an inverse-probability weighted full-cohort criterion. A likelihood conditional on a sampling scheme is a different object.
Check Your Understanding
Use the inclusion-probability argument to answer each question.
- A subcohort of 300 is sampled from a cohort of 1,500. What are the weights for sampled noncases and for cases inside and outside the subcohort, assuming all cases are ascertained?
- Explain why a case who belongs to the subcohort has analysis-sample inclusion probability one rather than being counted twice.
- In a stratum where \(\pi_i=0.25\), what is a sampled noncase’s weight? What is a case’s weight under complete case ascertainment?
- State the design-expectation identity for \(I_i\ell_i(\theta)/\rho_i\), and name the condition on \(\rho_i\) needed to use it.
- Why is the inverse-probability weighted criterion not automatically the ordinary likelihood conditional on observing the case-cohort sample?