I am trying to deal with a time-to-event analysis using repeated binary outcomes. Suppose that time-to-event is measured in days but for the moment we discretize time to weeks. I want to approximate a Kaplan-Meier estimator (but allow for covariates) using repeated binary outcomes. This will seem like a roundabout way to go but I'm exploring how this extends to ordinal outcomes and recurrent events.
If you create a binary sequence that looks like 000 for someone censored at 3 weeks, 0000 for someone censored at 4w, and 0000111111111111.... for a subject who failed at 5w (the 1s extend to the point at which the last subject was followed in the study), when you compute week-specific proportions of 1s you can get ordinary cumulative incidences (until you get to variable censoring times, where this only approximates but doesn't equal Kaplan-Meier cumulative incidence estimates).
I can fit the repeated binary observations with a binary logistic model using GEE, instead of making time discrete as above but instead using a spline in time. The cluster sandwich covariance estimator works reasonably well. But I'd like to get more exact inference by using a mixed effects model. The problem is the that the 1's after the first 1 are redundant. Does anyone know of a way to specify random effects or to specify a model that takes the redundancies into account so that standard errors will not be deflated?
Note that this setup differs from Efron's because he was using logistic models to estimate conditional probabilities in risk sets. I'm estimating unconditional probabilities.