| cox_family | R Documentation |
Creates a family-like object for Cox PH models. The link function is
log (the linear predictor is log-relative-hazard), but unlike
standard GLM families there is no dispersion parameter and no closed-form
mean-variance relationship.
The family provides $loglik and $aic methods compatible
with logLik.lgspline.
cox_family()
Cox PH is semiparametric: the baseline hazard is unspecified. The
partial log-likelihood depends only on the order of event times and the
linear predictor \eta = \mathbf{X}\boldsymbol{\beta}. Consequently:
No dispersion parameter is estimated (sigmasq_tilde is
fixed at 1).
dev.resids returns martingale-style residuals for GCV
tuning compatibility.
The response variable is survival time (positive), and the link
is log.
A list with family components used by lgspline.
fam <- cox_family()
fam$family
fam$link
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.