library("matchatr")
case_cohort(subcohort = "in_subcohort", time = "t")<matchatr_design>
Type: Case-cohort
Time: t
Subcohort: in_subcohort
Weights: inclusion-probability
Declares a case-cohort sample: a random subcohort drawn from the full cohort at baseline, augmented by every case occurring in the cohort (including cases outside the subcohort). The design-faithful analyses are the Prentice, Self-Prentice, and Borgan pseudo-likelihood Cox estimators (survival::cch), whose controls are reused across failure times so the variance comes from a robust / asymptotic correction, not the information matrix.
case_cohort(subcohort, time)
subcohort
|
A single character string naming the 0/1 (or logical) column flagging subcohort membership. |
time
|
A single character string naming the event/follow-up time column. |
A matchatr_design object of type “case_cohort” carrying the subcohort and time columns, with a weight_spec flagged for inclusion-probability weighting.
nested_cc(), matcha()
Other design constructors: counter_matched(), matched_cc(), nested_cc(), two_phase(), unmatched_cc()