morie_cox_frailty under its statistical name. The gamma
is conjugate to the Poisson likelihood the Cox model implies, which
is why the frailty update is closed-form rather than an inner
optimisation.
Arguments
- time
follow-up times, non-negative.
- event
1 for an event, 0 for right-censored.
- X
covariate matrix, one row per subject.
- cluster
cluster label per subject.
- ...
passed to
morie_cox_frailty.
Value
list as morie_cox_frailty plus
marginal_attenuation.
Details
The consequence worth remembering is that the MARGINAL hazard ratio – what you get from a model that ignores the clustering – is attenuated toward 1 relative to the conditional one estimated here. The two are answers to different questions, not an estimate and a better estimate.
