Simulated longitudinal dataset suitable for illustrating the `dcee()` function. Each row corresponds to one decision point for one subject. The distal outcome `Y` is constant within subject (because it is measured at the end of the study, and here we append it to the long format data as an extra column to conform with the `dcee()` function requirement.
data_distal_continuousa data frame with 1500 observations and 11 variables
Subject identifier
Decision point (1..T)
Endogenous continuous time-varying covariate
Endogenous binary time-varying covariate
Availability indicator (0/1)
Treatment (0/1)
Randomization probability P(A=1|H_t)
Lagged treatment
Distal continuous outcome (constant per subject)